joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401720
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov eax, dword [0x40cf34]
mov cx, word [0x40cf40]
mov word [0x40d566], ax
and eax, 0xffff
mov word [0x40d560], 0
push esi
mov byte [eax + 0x40d568], cl
xor eax, eax
mov al, ch
xor ecx, ecx
mov cx, word [0x40d566]
push edi
mov edi, 1
push 0x40a2c0
mov byte [ecx + 0x40d569], al
mov dword [0x40a034], edi
call fcn.004020a7
mov edx, dword [0x40d340]
xor esi, esi
mov si, word [0x40d566]
add esp, 4
add esi, 0xa
push 0
push esi
push 0x40d560
push edx
call sub.WSOCK32.dll_send
cmp eax, esi
je 0x4017b1
push eax
push esi
push 0x40a2a4
call fcn.004020a7
add esp, 0xc
mov dword [0x40a030], edi
mov eax, edi
pop edi
pop esi
ret
mov eax, dword [0x40d340]
push 0
push 0x200
push 0x40d360
push eax
call sub.WSOCK32.dll_recv
test eax, eax
jg 0x4017e5
push eax
push 0x40a28c
call fcn.004020a7
add esp, 8
mov dword [0x40a030], edi
mov eax, edi
pop edi
pop esi
ret
mov eax, dword [0x40d360]
mov dword [0x40d150], 0x40d360
and eax, 0xffff
mov ecx, eax
sub ecx, 2
je 0x401823
push eax
push 0x40a270
call fcn.004020a7
add esp, 8
mov dword [0x40a030], edi
mov eax, edi
mov dword [0x40a03c], 9
pop edi
pop esi
ret
mov ecx, dword [0x40d362]
mov eax, dword [0x40d562]
cmp ecx, eax
je 0x401856
push eax
push ecx
push 0x40a24c
call fcn.004020a7
add esp, 0xc
mov dword [0x40a030], edi
mov eax, edi
mov dword [0x40a03c], 7
pop edi
pop esi
ret
mov dx, word [0x40d566]
cmp word [0x40d366], dx
je 0x401888
push 0x40a234
call fcn.004020a7
add esp, 4
mov dword [0x40a030], edi
mov eax, edi
mov dword [0x40a03c], 8
pop edi
pop esi
ret
mov esi, dword [0x40cf38]
cmp eax, dword [esi*8 + 0x40d160]
jae 0x40189e
mov dword [esi*8 + 0x40d160], eax
mov edi, dword [esi*8 + 0x40d164]
xor ecx, ecx
mov cx, dx
lea esi, [esi*8 + 0x40d164]
lea edx, [ecx + eax]
cmp edx, edi
jbe 0x4018ce
and eax, 0xffff
add eax, ecx
cmp eax, 0x10000
jb 0x4018cc
add edx, 0xfff0000
mov dword [esi], edx
pop edi
xor eax, eax
pop esi
ret
Function at 0x401950
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x658
push esi
push edi
push 0x40a2e4
mov word [esp + 0x5c], 4
call fcn.004020a7
lea eax, [esp + 0xc]
push eax
push 0x40a2e0
call fcn.004023a8
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x14], 0x20
lea ecx, [esp + ecx + 0x15]
push ecx
call fcn.004018e0
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x60]
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [0x40d340]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 1
mov word [esp + 0x62], cx
mov esi, dword [esp + 0x62]
and esi, 0xffff
lea ecx, [esp + 0x5c]
add esi, 8
mov dword [0x40a034], edi
push esi
push ecx
push edx
call sub.WSOCK32.dll_send
cmp eax, esi
je 0x401a1f
push eax
push esi
push 0x40a2a4
call fcn.004020a7
add esp, 0xc
mov dword [0x40a030], edi
mov eax, edi
pop edi
pop esi
add esp, 0x658
ret
mov ecx, dword [0x40d340]
push 0
lea eax, [esp + 0x264]
push 0x400
push eax
push ecx
call sub.WSOCK32.dll_recv
test eax, eax
jg 0x401a5d
push eax
push 0x40a28c
call fcn.004020a7
add esp, 8
mov dword [0x40a030], edi
mov eax, edi
pop edi
pop esi
add esp, 0x658
ret
mov eax, dword [esp + 0x260]
and eax, 0xffff
cmp eax, 5
je 0x401a97
push eax
push 0x40a270
call fcn.004020a7
add esp, 8
mov dword [0x40a030], edi
mov eax, edi
mov dword [0x40a03c], 9
pop edi
pop esi
add esp, 0x658
ret
mov dword [0x40cf24], edi
pop edi
xor eax, eax
pop esi
add esp, 0x658
ret

Function at 0x401ba0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x608
mov ecx, dword [0x40d340]
push esi
push 0
lea eax, [esp + 8]
push 8
mov esi, 1
push eax
push ecx
mov word [esp + 0x14], 5
mov dword [0x40a034], esi
call sub.WSOCK32.dll_send
cmp eax, 8
je 0x401bf3
push eax
push 8
push 0x40a2a4
call fcn.004020a7
add esp, 0xc
mov dword [0x40a030], esi
mov eax, esi
pop esi
add esp, 0x608
ret
mov eax, dword [0x40d340]
push 0
lea edx, [esp + 0x210]
push 0x400
push edx
push eax
call sub.WSOCK32.dll_recv
test eax, eax
jg 0x401c2f
push eax
push 0x40a28c
call fcn.004020a7
add esp, 8
mov dword [0x40a030], esi
mov eax, esi
pop esi
add esp, 0x608
ret
mov eax, dword [esp + 0x20c]
and eax, 0xffff
mov ecx, eax
sub ecx, 4
je 0x401c7d
dec ecx
je 0x401c6d
push eax
push 0x40a270
call fcn.004020a7
add esp, 8
mov dword [0x40a030], esi
mov eax, esi
mov dword [0x40a03c], 9
pop esi
add esp, 0x608
ret
mov dword [0x40cf24], esi
xor eax, eax
pop esi
add esp, 0x608
ret
call fcn.00401950
xor eax, eax
pop esi
add esp, 0x608
ret
Function at 0x401c90
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
mov ebx, dword [0x40cf38]
push esi
push edi
test ebx, ebx
mov word [0x40d560], 1
jle 0x401cf7
mov ecx, 0x40d160
mov esi, ebx
mov edx, dword [ecx]
add ecx, 8
mov eax, edx
and edx, 0xffff
shr eax, 0xc
and eax, 0xffff0
add eax, edx
mov edx, dword [ecx - 4]
mov edi, edx
and edx, 0xffff
shr edi, 0xc
and edi, 0xffff0
add edi, edx
mov edx, eax
and edx, 0xf0000
sub edi, eax
shl edx, 0xc
and eax, 0xffff
mov dword [ecx - 4], edi
add edx, eax
dec esi
mov dword [ecx - 8], edx
jne 0x401cad
lea ecx, [ebx*8]
test ecx, ecx
jle 0x401d1a
mov eax, ecx
mov esi, 0x40d160
mov edi, 0x40d562
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x40d340]
lea esi, [ebx*8 + 2]
push 0
push esi
push 0x40d560
push ecx
call sub.WSOCK32.dll_send
cmp eax, esi
je 0x401d4f
push eax
push esi
push 0x40a2f0
call fcn.004020a7
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
mov dword [0x40cf38], 0
mov dword [0x40cf34], 0
mov dword [0x40cf30], 0
pop ebx
ret

Function at 0x404db5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40abd8
cmp edx, dword [eax]
je 0x404dd7
add eax, 8
inc ecx
cmp eax, 0x40ac68
jl 0x404dc8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40abd8]
jne 0x404f05
mov eax, dword [0x40cf98]
cmp eax, 1
je 0x404edf
test eax, eax
jne 0x404e08
cmp dword [0x40a660], 1
je 0x404edf
cmp edx, 0xfc
je 0x404f05
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x404e3f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00406d80
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00406540
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x404e82
lea eax, [ebp - 0x1a4]
push eax
call fcn.00406540
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40947c
push edi
call fcn.004079d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00406d80
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00406d90
lea eax, [ebp - 0xa0]
push 0x40945c
push eax
call fcn.00406d90
push dword [esi + 0x40abdc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00406d90
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00407938
add esp, 0x2c
pop edi
jmp 0x404f05
lea eax, [ebp + 8]
lea esi, [esi + 0x40abdc]
push 0
push eax
push dword [esi]
call fcn.00406540
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x402dfc
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x402e55
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402c98
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402c98
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402e3f
inc ebx
jmp 0x402e28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402e5c
lea eax, [ebp - 8]
call fcn.004044e0
ret

Function at 0x402e64
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004044e0
test esi, esi
jne 0x402e9b
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.004045d0
jmp 0x402ebc
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402c98
mov dword [esp], eax
test esi, esi
je 0x402ebc
cmp dword [ebx], 0
je 0x402ebc
dec esi
jmp 0x402ea3
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403544
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x458020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4035dc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4035bc
xor eax, eax
push ebp
push 0x4035b5
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 0x4035f8
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 0x4035bc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x458020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x458020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4042d8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45a048], 0
je 0x404339
cmp word [0x45a21c], 0xd7b2
jne 0x404301
cmp dword [0x45a224], 0
jbe 0x404301
mov eax, 0x45a218
call dword [0x45a234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45806c
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 0x404360
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x458030], 0
jne 0x404355
push 0
push 0x458064
push 0x45806c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404494
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.00402a38
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x45a049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40445c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40616c
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 0x4061d2
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.00404750
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403108
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4061bc
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4061d9
lea eax, [ebp - 0x10]
call fcn.004044e0
ret

Function at 0x40b39c
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 0x40b3d5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004045d0
jmp 0x40b3de
mov eax, ebx
mov edx, esi
call fcn.00404534
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b3e8
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 0x40b409
mov al, byte [esp]
jmp 0x40b40b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40baa0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b908
mov eax, dword [0x459120]
cmp byte [eax], 0
je 0x40bb1c
mov eax, dword [0x458f1c]
call fcn.00402f74
call fcn.00402bc4
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.00408b60
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 0x40bb64
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bb52
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x458ecc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45a664]
call fcn.004055d8
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 0x40c3c0
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 0x40c496
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404578
lea eax, [ebp - 8]
call fcn.004049f0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004049a0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c480
mov eax, ebx
call fcn.00402a38
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c479
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.004049a0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c463
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c4a8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c463
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 0x40c480
mov eax, dword [ebp - 0x10]
call fcn.00402a68
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c49d
lea eax, [ebp - 8]
call fcn.004044e0
ret

Function at 0x40ca04
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 0x40ca68
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.00404750
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408694
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ca6f
lea eax, [ebp - 0xc]
call fcn.004044e0
ret

Function at 0x41ad30
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 0x41ad7d
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.0041ab88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41ad95
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x41ad9c
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.0041ab88
dec esi
jne 0x41adbe
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41c520
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45a888
cmp dword [edi], 0
jne 0x41c59c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45a884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4583ec
mov ecx, 2
call fcn.00402c58
mov edx, 0x41c4f8
lea eax, [esi + 5]
call fcn.0041c518
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041c518
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 0x41c571
mov dword [0x45a884], 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 0x41dbf0
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 0x41dbf6
ret

Function at 0x4200bc
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 0x42010d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4200f4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4200e4
jmp 0x42010d
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 0x4200f5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428c28
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.00404990
xor eax, eax
push ebp
push 0x428d56
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x428d29
xor eax, eax
push ebp
push 0x428d22
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004047a0
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x428cf7
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 0x428ce6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004047a0
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004049a0
mov edx, ebx
pop ecx
call fcn.00402c58
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 0x428ced
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x458e70]
mov dl, 1
mov eax, dword [0x407534]
call fcn.0040bc24
call fcn.00403e70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428d5d
lea eax, [ebp - 4]
call fcn.004044e0
ret
Function at 0x428d64
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 0x428f15
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404b90
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x428f2c
call fcn.004047ec
mov eax, ebx
call fcn.0041b494
mov edi, eax
dec edi
test edi, edi
jl 0x428e1c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041b468
mov edx, dword [0x42c40c]
call fcn.00403868
test al, al
je 0x428e18
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041b468
lea edx, [ebp - 0x14]
call fcn.00433750
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404b90
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404860
inc esi
dec edi
jne 0x428dca
mov al, byte [0x428f30]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x428f3c
mov eax, dword [ebp - 0xc]
call fcn.0040cfe0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404578
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.00433750
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x428f2c
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.00433750
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x428f2c
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, 0x428f2c
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, 0x428f48
call fcn.00409298
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428f1c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404504
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404504
lea eax, [ebp - 0x14]
call fcn.004044e0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404504
ret

Function at 0x42e2c0
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 0x42e20c
call sub.user32.dll_EnumWindows
ret