joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48fef0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x10
push ebp
push esi
mov esi, dword [esp + 0x20]
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 8], ebp
je 0x49001b
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0xc]
push edi
mov edi, dword [esp + 0x24]
push eax
push 0x40000
push ebp
push esi
push edi
call ebx
test eax, eax
jne 0x49000a
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
push ecx
push 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
test eax, eax
jne 0x49000a
mov eax, dword [esp + 0x30]
test eax, eax
je 0x490005
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push ecx
push 0x20019
push ebp
push esi
push edi
call ebx
test eax, eax
jne 0x49000a
push eax
push eax
lea edx, [esp + 0x2c]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x30]
push ebp
lea eax, [esp + 0x40]
push edx
push eax
push ebp
push ebp
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x49000a
push 0x20a
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov eax, dword [esp + 0x2c]
add esp, 4
xor edi, edi
test eax, eax
jbe 0x48fffc
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edx, dword [esp + 0x10]
push 0x105
push esi
push edi
push edx
call ebx
test eax, eax
jne 0x48ffec
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push 1
push eax
push esi
push ecx
call fcn.0048fef0
add esp, 0x10
jmp 0x48fff3
cmp eax, 0x103
je 0x48fffc
mov eax, dword [esp + 0x28]
inc edi
cmp edi, eax
jb 0x48ffc3
push esi
call fcn.004d4cc1
add esp, 4
mov ebp, 1
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
pop ebx
je 0x49001b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
pop esi
pop ebp
add esp, 0x10
ret

Function at 0x490130
Capabilities:
Enumerate browser history

Disassembly:
sub esp, 0x34
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x4df998
push 3
push 0
push str._J7_
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [esp]
lea edx, [esp + 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [esp + 4]
mov dword [esp + 0xc], 0x28
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
mov edx, dword [eax]
push ecx
push 1
push eax
call dword [edx + 0xc]
test eax, eax
jne 0x4901ba
mov eax, dword [esp]
mov ecx, dword [esp + 0x10]
push 0
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
mov edx, dword [eax]
push ecx
push 1
push eax
call dword [edx + 0xc]
test eax, eax
je 0x49018f
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp]
push eax
mov edx, dword [eax]
call dword [edx + 8]
push 3
mov ecx, 0x6f9e04
call fcn.004089b0
mov eax, 1
add esp, 0x34
ret
Function at 0x4901f0
Capabilities:
Delete internet cache
Enumerate internet cache
Get common file path

Disassembly:
sub esp, 0x430
push ebx
push esi
push edi
push 0xa000
mov dword [esp + 0x10], 0xa000
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x49037c
mov ecx, 0x2800
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push ecx
push esi
push str.cookie:
mov dword [esi], eax
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov ebx, eax
test ebx, ebx
jne 0x490253
push esi
call fcn.004d4cc1
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x430
ret
push ebp
mov ebp, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
mov eax, dword [esp + 0x444]
test eax, eax
jne 0x490292
push 1
push 0
push 0
lea edx, [esp + 0x20]
push 0
push edx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x490292
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov edx, dword [esi + 4]
push edx
call ebp
test eax, eax
jne 0x4902b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4902b9
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.WININET.dll_UnlockUrlCacheEntryFileA]
mov ecx, dword [esi + 4]
push ecx
call ebp
mov ecx, 0x2800
xor eax, eax
mov edi, esi
mov dword [esp + 0x10], 0xa000
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push esi
push ebx
mov dword [esi], edx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
jne 0x49025a
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push esi
call fcn.004d4cc1
push 0x7274f0
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 8
test eax, eax
pop ebp
jne 0x49037c
xor edx, edx
mov ecx, 0x81
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x236]
mov word [esp + 0x234], dx
rep stosd dword es:[edi], eax
push edx
lea ecx, [esp + 0x30]
push 0x21
push ecx
push edx
stosw word es:[edi], ax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x49037c
lea edx, [esp + 0x2c]
push str._.txt
push edx
push 0x4ed130
lea eax, [esp + 0x240]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [esp + 0x248]
push 1
push ecx
call fcn.00437330
add esp, 0x1c
pop edi
pop esi
pop ebx
add esp, 0x430
ret
Function at 0x490390
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
push 0x14000
mov dword [esp + 0x10], 0xa000
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x490489
mov ecx, 0x5000
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push ecx
push esi
push 0
mov dword [esi], eax
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov ebx, eax
test ebx, ebx
jne 0x4903ea
push esi
call fcn.004d4cc1
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x20
ret
push ebp
mov ebp, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x490426
push 1
push 0
push 0
lea edx, [esp + 0x20]
push 0
push edx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x490426
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
test dword [esi + 0xc], 0x100000
jne 0x49044a
mov edx, dword [esi + 4]
push edx
call ebp
test eax, eax
jne 0x49044a
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WININET.dll_UnlockUrlCacheEntryFileW]
mov ecx, dword [esi + 4]
push ecx
call ebp
lea edx, [esp + 0x10]
mov ecx, 0x5000
xor eax, eax
mov edi, esi
push edx
push esi
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], 0xa000
push ebx
mov dword [esi], 0xa000
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
jne 0x4903f1
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push esi
call fcn.004d4cc1
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x20
ret
Function at 0x491940
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x208
push esi
push edi
mov edi, dword [esp + 0x214]
push str._setupopen
push edi
call dword [sym.imp.MSVCRT.dll_wcscmp]
mov esi, eax
add esp, 8
neg esi
sbb esi, esi
inc esi
je 0x49196c
mov word [edi], 0
mov eax, dword [0x722ab8]
test eax, eax
jne 0x4919e3
mov eax, dword [0x727928]
test eax, eax
jne 0x4919e3
push edi
call fcn.00438f30
add esp, 4
test eax, eax
jne 0x491a7a
push edi
call fcn.00438f80
add esp, 4
test eax, eax
jne 0x491a7a
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x491a7a
mov ecx, 0x6f2878
call fcn.00457ea0
test eax, eax
je 0x491a7a
push edi
call fcn.00491870
add esp, 4
test eax, eax
je 0x491a7a
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
lea eax, [esp + 8]
push 0x68e238
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea ecx, [esp + 0x10]
push ecx
call fcn.004a8f90
add esp, 0xc
lea edx, [esp + 8]
push edx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
mov dword [0x73c1b4], eax
je 0x491a7a
test esi, esi
jne 0x491a7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x491a7a
mov eax, dword [0x73c1b4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
mov dword [0x73c1b4], esi
call fcn.00438f30
add esp, 4
test eax, eax
jne 0x491a70
push edi
call fcn.00438f80
add esp, 4
test eax, eax
jne 0x491a70
push edi
call fcn.00491870
add esp, 4
test eax, eax
je 0x491a70
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret
mov dword [0x68c308], 1
pop edi
xor eax, eax
pop esi
add esp, 0x208
ret
Function at 0x498040
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xa2c
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
rep stosd dword es:[edi], eax
mov ecx, dword [0x73ff28]
push 0x104
stosw word es:[edi], ax
lea eax, [esp + 0x220]
push eax
push 0x76
push ecx
call esi
mov eax, dword [0x73ff28]
lea edx, [esp + 0x424]
push 0x104
push edx
push 0x4c
push eax
call esi
lea ecx, [esp + 0x21c]
push ecx
call fcn.004a94a0
mov ebx, dword [esp + 0xa44]
lea edx, [esp + 0x18]
push 0x104
push edx
push ebx
call fcn.004a98d0
push 0
push 0
push 0x80802
lea eax, [esp + 0x30]
push 0x4fda5c
lea ecx, [esp + 0x23c]
push eax
mov eax, dword [ebp + 4]
lea edx, [esp + 0x448]
push ecx
mov ecx, dword [0x73ff2c]
push edx
push eax
push ecx
call fcn.004a9650
add esp, 0x34
test eax, eax
je 0x4981d1
lea edx, [esp + 0x14]
push 0x4ef214
push edx
xor edi, edi
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x4981af
push esi
push 1
lea eax, [esp + 0x18]
push 2
push eax
mov dword [esp + 0x20], 0xfeff
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
push ebx
call dword [sym.imp.MSVCRT.dll_fputws]
add esp, 0x18
cmp eax, 0xffffffff
je 0x498145
mov edi, 1
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
test edi, edi
je 0x4981af
lea ecx, [esp + 0x14]
push ecx
push 0x62
call fcn.004afb70
add esp, 4
lea edx, [esp + 0x630]
push eax
push 0x208
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, dword [0x6f287c]
add esp, 0x10
lea eax, [esp + 0x62c]
mov word [esp + 0xa3a], 0
push eax
push 0x7d0
push 0x4402
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa2c
ret 4
push 0x10
mov ecx, 0x6f2878
call fcn.004bbe20
push eax
push 0x65
call fcn.004afb70
mov edx, dword [ebp + 4]
add esp, 4
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa2c
ret 4
Function at 0x49af70
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [edx]
push edi
mov edi, dword [esp + 0x14]
mov ecx, esi
xor ecx, eax
and ecx, 0xff
shr esi, 8
mov ecx, dword [edi + ecx*4]
xor ecx, esi
mov esi, dword [edx + 4]
mov dword [edx], ecx
and ecx, 0xff
add ecx, esi
mov esi, dword [edx + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov ebx, esi
mov dword [edx + 4], ecx
and ebx, 0xff
shr ecx, 0x18
xor ecx, ebx
shr esi, 8
mov ecx, dword [edi + ecx*4]
pop edi
xor ecx, esi
pop esi
mov dword [edx + 8], ecx
pop ebx
ret
Function at 0x49c320
Capabilities:
Delete file
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db410
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1558
call fcn.004d4ce0
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov eax, dword [ebx + 0x418]
push edi
cmp eax, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
je 0x49c370
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [ebx + 0x418], esi
lea edi, [ebx + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4ef214
push edi
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 8
cmp eax, esi
mov dword [ebx + 0x418], eax
je 0x49c509
mov ecx, dword [ebx + 0x420]
cmp ecx, esi
jne 0x49c3a5
xor eax, eax
jmp 0x49c3b0
mov eax, dword [ebx + 0x424]
sub eax, ecx
sar eax, 2
mov ecx, eax
shl ecx, 6
add ecx, eax
lea edx, [eax + ecx*8]
lea eax, [edx*8 + 0x500]
lea eax, [eax + eax + 0x12]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
mov word [ebp - 0x22], si
add esp, 4
mov dword [ebp - 0x1c], edi
mov word [edi], 0xfeff
mov ecx, dword [ebx + 0x424]
mov esi, dword [ebx + 0x420]
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], esi
cmp esi, eax
je 0x49c46e
mov eax, dword [esi]
test eax, eax
je 0x49c469
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax]
mov eax, dword [eax + 4]
push ecx
push edx
push eax
push str._d::_d::_d::_d::_s::_s_r_n
lea ecx, [ebp - 0x1568]
push 0xaa3
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x24
cmp eax, 0xaa4
ja 0x49c469
test eax, eax
jle 0x49c469
mov edx, dword [ebp - 0x18]
add eax, eax
mov ecx, eax
add edi, edx
mov edx, ecx
lea esi, [ebp - 0x1568]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
add ecx, eax
mov dword [ebp - 0x18], ecx
add esi, 4
jmp 0x49c3f2
mov eax, dword [ebp - 0x18]
cmp eax, 2
jle 0x49c480
push eax
push edi
call fcn.0049c2e0
add esp, 8
mov eax, dword [ebx + 0x418]
mov esi, dword [sym.imp.MSVCRT.dll_fwrite]
push eax
push 1
push 7
push str.TW.2.10
call esi
mov ecx, dword [ebx + 0x418]
mov edx, dword [ebp - 0x18]
push ecx
push 1
push edx
push edi
call esi
add esp, 0x20
jmp 0x49c4d6
mov ecx, dword [ebx + 0x418]
push ecx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea edx, [ebx + 0x14]
push 2
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test edi, edi
je 0x49c4ff
push edi
call fcn.004d4cc1
add esp, 4
mov dword [ebx + 0x418], 0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49d510
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1024]
mov eax, dword [esi + 4]
inc ecx
test eax, eax
mov dword [esi + 0x1024], ecx
jne 0x49d563
push edi
mov ecx, 0x400
xor eax, eax
lea edi, [esi + 0x20]
mov dword [esi + 0x1020], 0
rep stosd dword es:[edi], eax
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push esi
push 0x49d5b0
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 4], eax
pop edi
pop esi
ret

Function at 0x49d570
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x1024]
dec eax
mov dword [esi + 0x1024], eax
jne 0x49d5a2
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
pop esi
ret
Function at 0x49d644
Capabilities:
Terminate thread

Disassembly:
sub esp, 0x18
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 8]
push edi
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x1020]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x18], ebp
jle 0x49d7aa
lea eax, [esi + 0x30]
lea ecx, [esi + 0x2c]
mov dword [esp + 0x14], eax
lea eax, [esi + 0x28]
push ebx
lea ebx, [esi + 0x20]
lea edi, [esi + 0x24]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
cmp dword [ebx], 0
je 0x49d768
mov ecx, dword [eax]
test ecx, ecx
jle 0x49d69d
add ecx, 0xfffffa24
mov dword [eax], ecx
cmp dword [eax], 0
jg 0x49d768
mov eax, dword [edi]
test eax, eax
je 0x49d70e
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x49d705
cmp dword [esp + 0x20], 0x103
jne 0x49d705
mov eax, dword [esi + 0x1028]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x49d764
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
test eax, eax
je 0x49d6e7
call eax
mov edx, dword [edi]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [edi]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov edx, dword [edi]
push edx
jmp 0x49d708
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x18]
mov ecx, 0xff0
sub ecx, ebp
push ecx
push edx
push ebx
call dword [sym.imp.MSVCRT.dll_memmove]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
add esp, 0xc
dec eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, 0x10
sub edx, eax
sub ebp, eax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x18]
sub ecx, eax
sub edi, eax
sub edx, eax
sub ebx, eax
mov eax, dword [esi + 0x1020]
mov dword [esp + 0x10], ecx
dec eax
mov dword [esp + 0x18], edx
mov dword [esi + 0x1020], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
add edx, 0x10
inc ecx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x18]
add edx, 0x10
add ebp, 0x10
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x1020]
add eax, 0x10
add edi, 0x10
add ebx, 0x10
cmp ecx, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
jl 0x49d686
mov edi, dword [esp + 0x24]
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x49d840
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x2c]
push esi
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [esp + 0x1c]
mov esi, eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0xc]
push ecx
push eax
shr eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea edx, [esp + 4]
lea eax, [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea ecx, [esp + 4]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 8]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0x28
ret
Function at 0x49f340
Capabilities:
Create thread
Terminate thread

Disassembly:
mov eax, dword [esp + 0x18]
sub esp, 0x1c
mov dx, word [esp + 0x24]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x2c]
push edi
mov dword [esi + 0x2580], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x25f4], ecx
lea ecx, [esi + 0x25ac]
push eax
push ecx
mov word [esi + 0x25a8], dx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x25c0], eax
mov eax, dword [esi + 0x2580]
xor edi, edi
mov dword [esi + 0x25bc], edx
cmp eax, edi
jne 0x49f3af
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x48]
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x18
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x34], edi
lea eax, [esi + 0x25a4]
push eax
push 0
push esi
push 0x49ef70
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x25a0], eax
mov eax, dword [esi + 0x25f0]
test eax, eax
jne 0x49f48b
push 1
push 0x210
push 0x210
lea eax, [esp + 0x1c]
push 0
push eax
call ebx
test eax, eax
je 0x49f420
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x49f42d
push 1
call ebp
inc edi
cmp edi, 0x1b58
ja 0x49f44f
mov ecx, dword [esi + 0x25a0]
lea eax, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x49f48b
cmp dword [esp + 0x44], 0x103
jne 0x49f48b
jmp 0x49f3e1
call fcn.0049e890
mov edx, dword [esi + 0x25a0]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, esi
call fcn.0049e950
mov eax, dword [esp + 0x34]
inc eax
cmp eax, 2
mov dword [esp + 0x34], eax
jae 0x49f47f
xor edi, edi
jmp 0x49f3bf
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 0x18
mov eax, dword [esi + 0x2590]
test eax, eax
je 0x49f4af
lea ecx, [esi + 0x30]
push ecx
push 0x4dfcf8
push eax
call dword [sym.imp.ole32.dll_CoGetInterfaceAndReleaseStream]
mov dword [esi + 0x2590], 0
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x18
Function at 0x49f570
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x2094
call fcn.004d4ce0
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 8], edi
call fcn.004a0d10
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push eax
call dword [ecx + 0x78]
mov eax, dword [esp + 8]
cmp eax, edi
jne 0x49f5a9
pop edi
xor eax, eax
pop esi
add esp, 0x2094
ret 4
cmp dword [esp + 0x20a0], edi
je 0x49f5c8
mov ecx, esi
call fcn.004a0d10
push eax
call fcn.004a9d80
add esp, 4
test eax, eax
je 0x49f608
jmp 0x49f603
push eax
push str.mailto:_subjectFrom_Browserbody_s
lea eax, [esp + 0x14]
push 0x1048
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea ecx, [esp + 0xc]
push 5
push 0x500df0
push 0x500df0
push ecx
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x49f608
mov edi, 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, edi
pop edi
pop esi
add esp, 0x2094
ret 4

Function at 0x49fe74
Capabilities:
Get keyboard layout
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi + 0x2578], eax
sub eax, 0
mov dword [esi + 0x28], 0xffffffff
je 0x49fed9
sub eax, 2
jne 0x49ff6a
mov ecx, dword [esi + 0x25ec]
mov eax, dword [ecx + 0x34]
test eax, eax
je 0x49febd
call fcn.004b3a80
test eax, eax
je 0x49febd
push 0x73d278
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
test eax, eax
jne 0x49febd
mov word [0x73d278], ax
mov ecx, dword [esi + 0x25ec]
push esi
call fcn.004b3890
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4
mov ecx, dword [esi + 0x25ec]
mov eax, dword [ecx + 0x34]
test eax, eax
je 0x49ff0f
call fcn.004b3a80
test eax, eax
je 0x49ff0f
push 0x73d278
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x49ff0f
mov eax, dword [esi + 0x40]
test eax, eax
je 0x49ff0f
mov ecx, esi
call fcn.004a24d0
mov ecx, dword [esi + 0x25ec]
push esi
call fcn.004b3880
mov ecx, dword [esi + 0x25ec]
mov eax, dword [esi + 4]
push 0x2043
push 0
mov edx, dword [ecx + 0x40]
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [esi + 0x25c8]
test ecx, ecx
je 0x49ff57
mov eax, dword [ecx]
push 0x500df0
call dword [eax + 8]
mov ecx, dword [esi + 4]
push 0
push 1
push 0x9411
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret 4