joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428c30
Capabilities:
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x46759c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0x10
mov dword [ebp - 4], 1
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call sub.WS2_32.dll_accept
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xffffffff
jne 0x428c6f
jmp 0x428d5d
mov ecx, dword [ebp - 0x50]
push ecx
call sub.WS2_32.dll_ntohl
push eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.00422730
add esp, 8
test eax, eax
jne 0x428ccc
lea eax, [ebp - 0x54]
push eax
push 0x32
lea ecx, [ebp - 0x40]
push ecx
call fcn.0041f6b0
add esp, 0xc
lea edx, [ebp - 0x40]
push edx
push str.accept_new_connection
push str._s:__s_is_not_allowed_to_connect
mov eax, dword [ebp + 0xc]
push eax
call fcn.00421d00
add esp, 4
push eax
call fcn.0041f500
add esp, 0x10
mov ecx, dword [ebp - 0x68]
push ecx
call sub.WS2_32.dll_closesocket
jmp 0x428d5d
mov edx, dword [ebp - 0x68]
push edx
call fcn.00421030
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
and ecx, 1
and ecx, 1
mov edx, dword [ebp - 0x44]
and edx, 0xfffffffe
or edx, ecx
mov dword [ebp - 0x44], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
shr ecx, 1
and ecx, 1
and ecx, 1
shl ecx, 1
mov edx, dword [ebp - 0x44]
and edx, 0xfffffffd
or edx, ecx
mov dword [ebp - 0x44], edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x68]
push edx
call sub.WS2_32.dll_getsockname
push 4
lea eax, [ebp - 4]
push eax
push 8
push 0xffff
mov ecx, dword [ebp - 0x68]
push ecx
call sub.WS2_32.dll_setsockopt
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x64]
push eax
call fcn.00438e0c
add esp, 4
push eax
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.00428e50
add esp, 8
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00428d70
add esp, 8
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004320d5
mov esp, ebp
pop ebp
ret
Function at 0x42d0c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.00429b00
mov dword [ebp - 8], eax
push str.center_relative_to_parent
push str.popup_window
mov ecx, dword [ebp - 8]
call fcn.00406640
mov ecx, eax
call fcn.00406640
mov ecx, eax
call fcn.004066b0
mov byte [ebp - 1], al
push 0
mov eax, dword [0x468d20]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0xcf0000
push 0
push 0x468b20
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0xc], eax
push 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4320d5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46759c]
jne 0x4320df
repz ret
jmp fcn.0043da3c

Function at 0x446bdc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x446c03
call fcn.00438f19
mov dword [eax], esi
call fcn.00438f06
push 0x16
pop esi
mov dword [eax], esi
call fcn.0043e1ca
mov eax, esi
jmp 0x446c58
test dword [ebp + 0xc], 0xfffffff9
jne 0x446be9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x446c30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00438f2c
pop ecx
call fcn.00438f06
mov eax, dword [eax]
jmp 0x446c58
test al, 0x10
jne 0x446c56
test al, 1
je 0x446c56
test byte [ebp + 0xc], 2
je 0x446c56
call fcn.00438f19
mov dword [eax], 5
call fcn.00438f06
mov dword [eax], 0xd
jmp 0x446c27
xor eax, eax
pop esi
pop ebp
ret
Function at 0x44b617
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46759c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0043d43c
and dword [ebp - 0x14], 0
cmp dword [0x46a558], 0
mov dword [ebp - 0x18], eax
jne 0x44b6ca
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x44b772
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x45d8cc
push ebx
call edi
test eax, eax
je 0x44b772
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46a558], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46a55c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46a560], eax
call edi
push eax
call esi
mov dword [0x46a568], eax
test eax, eax
je 0x44b6ca
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46a564], eax
mov eax, dword [0x46a564]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x44b723
cmp dword [0x46a568], ecx
je 0x44b723
push eax
call esi
push dword [0x46a568]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x44b723
test ebx, ebx
je 0x44b723
call edi
test eax, eax
je 0x44b71a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x44b71a
test byte [ebp - 8], 1
jne 0x44b723
or dword [ebp + 0x10], 0x200000
jmp 0x44b756
mov eax, dword [0x46a55c]
cmp eax, dword [ebp - 0x18]
je 0x44b756
push eax
call esi
test eax, eax
je 0x44b756
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x44b756
mov eax, dword [0x46a560]
cmp eax, dword [ebp - 0x18]
je 0x44b756
push eax
call esi
test eax, eax
je 0x44b756
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46a558]
call esi
test eax, eax
je 0x44b772
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x44b774
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004320d5
leave
ret
Function at 0x1000f721
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1000f730
pop dword [ebp - 0x38]
mov eax, 0x16f1939a
sub eax, 0x6f09c6a
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x2eb0076b
sub dword [ebp - 0x48], 0xe05dc220
mov dword [ebp - 0x44], 0x4a9d073
add dword [ebp - 0x44], 0x2d897bd2
mov dword [ebp - 0x40], 0x792b93af
sub dword [ebp - 0x40], 0x2cdf4f81
mov dword [ebp - 0x3c], 0x41aeb8f0
add dword [ebp - 0x3c], 0xbe514710
lea eax, [ebp - 0x48]
push eax
mov eax, 0x297b1d85
sub eax, 0x1979dd95
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x8ead4ea8
add dword [ebp - 0x48], 0xe5c51aae
mov dword [ebp - 0x44], 0xda1cd6c0
add dword [ebp - 0x44], 0x674f8ab5
mov dword [ebp - 0x40], 0x7520fc27
add dword [ebp - 0x40], 0xee4e7045
mov dword [ebp - 0x3c], 0xeca0eef4
add dword [ebp - 0x3c], 0x135f110c
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xcf36f418
sub eax, 0xbf35b420
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3722e
push 0
call eax
mov ecx, 0x3a68dc19
add ecx, 0xc5976e30
xor edi, edi
add edi, eax
mov edx, 0xe8e05549
sub edx, 0xd8debb49
add edx, dword [ebp - 0x38]
mov esi, 0x7ee5f5e2
sub dword [ebp - 0x14], 0x6ad92d8d
mov ebx, dword [edx]
xor dword [ebp - 0x18], ecx
sub ebx, esi
sub dword [ebp - 0x24], 0x1bba5199
mov dword [edi], ebx
xor dword [ebp - 8], ebx
add edi, 0x9eae6b26
add edi, 0x615194de
add edx, 4
loop 0x1000f84e
add eax, 0x11bf7
xor ebx, ebx
add ebx, eax
add eax, 0x8a9c5ef5
add eax, 0x7563a110
mov ecx, 0x66e6df50
sub ecx, 0x56e6df50
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0xdded44
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdded4e
pushal
call 0xdded54
pop ebp
sub ebp, 0x10
sub ebp, 0x9ded44
jmp 0xdded6a
mov eax, 0x9ded44
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c5
mov edx, 0x4a88cbab
xor byte [eax], dl
inc eax
dec ecx
jne 0xdded81
jmp 0xdded94
and byte [esi + 0x20], ah
and dl, byte [edi + 0x2aababab]
push 0x53
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test al, 0x66
adc ebp, dword [edi + 0x11ababab]
sub dword [ebx + 0x495cabab], 0xffffffa8
arpl word [eax], sp
sub ah, byte [edi - 0x57545455]
outsb dx, byte [esi]
sti
iretd
Function at 0x402b68
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404340
test esi, esi
jne 0x402b9e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404430
jmp 0x402bbc
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a1c
mov edi, eax
test esi, esi
je 0x402bbc
cmp dword [ebx], 0
je 0x402bbc
dec esi
jmp 0x402ba5
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4032fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4bc020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403394
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403374
xor eax, eax
push ebp
push 0x40336d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4033b0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403374
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4bc020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4bc020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404140
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4c204c], 0
je 0x4041a1
cmp word [0x4c2220], 0xd7b2
jne 0x404169
cmp dword [0x4c2228], 0
jbe 0x404169
mov eax, 0x4c221c
call dword [0x4c2238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4bc06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4041c8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4bc030], 0
jne 0x4041bd
push 0
push 0x4bc064
push 0x4bc06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4042f4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004027e0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4c204d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4042bc
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406610
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406676
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004045b0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ec0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406660
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40667d
lea eax, [ebp - 0x10]
call fcn.00404340
ret

Function at 0x40c01c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c055
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404430
jmp 0x40c05e
mov eax, ebx
mov edx, esi
call fcn.00404394
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c068
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c089
mov al, byte [esp]
jmp 0x40c08b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c710
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c588
mov eax, dword [0x4c0fd0]
cmp byte [eax], 0
je 0x40c78c
mov eax, dword [0x4c0cd4]
call fcn.00402c84
call fcn.00402948
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004091c8
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c7d4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c7c2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4c0c60]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4c2668]
call fcn.00405b08
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40d094
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d16a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004043d8
lea eax, [ebp - 8]
call fcn.00404850
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404800
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d154
mov eax, ebx
call fcn.004027e0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d14d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404800
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d137
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d17c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d137
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d154
mov eax, dword [ebp - 0x10]
call fcn.00402800
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d171
lea eax, [ebp - 8]
call fcn.00404340
ret

Function at 0x40d67c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d6e0
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004045b0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408cf0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d6e7
lea eax, [ebp - 0xc]
call fcn.00404340
ret

Function at 0x4236d0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x42371d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00423528
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x423735
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x42373c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00423528
dec esi
jne 0x42375e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x424ec0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4c288c
cmp dword [edi], 0
jne 0x424f3c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4c2888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4bc6cc
mov ecx, 2
call fcn.004029dc
mov edx, 0x424e98
lea eax, [esi + 5]
call fcn.00424eb8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00424eb8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x424f11
mov dword [0x4c2888], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x426590
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x426596
ret

Function at 0x428a64
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x428ab5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x428a9c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x428a8c
jmp 0x428ab5
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x428a9d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43159c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004047f0
xor eax, eax
push ebp
push 0x4316ca
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43169d
xor eax, eax
push ebp
push 0x431696
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404600
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43166b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x43165a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404600
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404800
mov edx, ebx
pop ecx
call fcn.004029dc
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431661
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4c0bc0]
mov dl, 1
mov eax, dword [0x407a38]
call fcn.0040c8b8
call fcn.00403cdc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4316d1
lea eax, [ebp - 4]
call fcn.00404340
ret
Function at 0x4316d8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x431889
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004049f0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4318a0
call fcn.0040464c
mov eax, ebx
call fcn.00423e34
mov edi, eax
dec edi
test edi, edi
jl 0x431790
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00423e08
mov edx, dword [0x438208]
call fcn.00403618
test al, al
je 0x43178c
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00423e08
lea edx, [ebp - 0x14]
call fcn.00440050
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004049f0
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004046c0
inc esi
dec edi
jne 0x43173e
mov al, byte [0x4318a4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4318b0
mov eax, dword [ebp - 0xc]
call fcn.0040dc54
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004043d8
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00440050
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4318a0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00440050
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4318a0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x4318a0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x4318bc
call fcn.004098d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431890
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404364
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404364
lea eax, [ebp - 0x14]
call fcn.00404340
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404364
ret

Function at 0x43aa1c
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x43a968
call sub.user32.dll_EnumWindows
ret