joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x40172e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x60]
push edi
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jne 0x40182e
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0xf003f
lea eax, [esi + 0x1a0]
push ebx
push eax
push 0x80000002
mov dword [ebp - 8], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 8]
push eax
push edi
push ebx
lea eax, [esi + 0x220]
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x401806
lea eax, [ebp - 0x12c]
mov byte [ebp - 0x12c], bl
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], 0x4052f4
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp - 0x12c]
push eax
call sub.MSVCRT.dll_strlen
cmp eax, 2
pop ecx
jae 0x4017f7
push 0x30
push 0x405070
push 0x4052d4
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [edi], bl
jmp 0x40182e
lea eax, [ebp - 0x12c]
push eax
push edi
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [esi + 0xe0]
push eax
push edi
call sub.MSVCRT.dll_strcat
add esi, 0x120
push edi
push esi
call sub.MSVCRT.dll_strcpy
push str..bak
push esi
call sub.MSVCRT.dll_strcat
add esp, 0x18
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401833
Capabilities:
Copy file
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push ebx
push esi
push edi
mov edi, ecx
call fcn.0040172e
lea esi, [edi + 0x60]
push esi
mov dword [ebp - 4], esi
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
je 0x401956
lea eax, [ebp - 0x204]
push esi
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [edi + 0xe0]
push eax
call sub.MSVCRT.dll_strlen
lea esi, [ebp - 0x204]
sub esi, eax
lea eax, [ebp - 0x204]
push eax
call sub.MSVCRT.dll_strlen
xor ebx, ebx
push str.ComDllsLinkSimulate.dll
mov byte [esi + eax], bl
lea eax, [ebp - 0x204]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x18
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x404]
push str._u__s___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x404]
push 1
push ebx
push eax
push str.regsvr32
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x204]
push eax
call esi
add edi, 0x120
push 0x405338
push edi
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
cmp eax, ebx
pop ecx
jne 0x401909
push 0x30
push 0x405070
push 0x40530c
jmp 0x40194f
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
push dword [ebp - 4]
call esi
test eax, eax
jne 0x401934
push 0x30
push 0x405070
push 0x4050c0
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 4]
mov byte [eax], bl
jmp 0x401956
push 1
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push edi
call esi
push 0x40
push 0x405070
push 0x405088
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40195b
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x402618
call fcn.00402360
sub esp, 0x408
push ebx
push esi
push edi
mov esi, ecx
call fcn.0040172e
lea edi, [esi + 0x60]
push edi
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
je 0x401a47
lea eax, [ebp - 0x214]
push edi
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [esi + 0xe0]
push eax
call sub.MSVCRT.dll_strlen
lea edi, [ebp - 0x214]
sub edi, eax
lea eax, [ebp - 0x214]
push eax
call sub.MSVCRT.dll_strlen
xor ebx, ebx
push str.ComDllsLinkSimulate.dll
mov byte [edi + eax], bl
lea eax, [ebp - 0x214]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x14
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x405378
call fcn.004022fc
push 0x85
push ecx
lea eax, [ebp - 0x214]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov dword [ebp - 4], ebx
call fcn.004022fc
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00401d6d
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x414]
push str._s___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x414]
push 1
push ebx
push eax
push str.regsvr32
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x40
push 0x405070
push 0x405088
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x401ce2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call sub.MFC42.DLL_AfxGetModuleState
mov esi, dword [eax + 0xc]
push dword [ebp + 0xc]
movzx eax, word [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
xor edi, edi
push ebx
push edi
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push dword [ebp + 0xc]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 4]
push eax
push edi
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push edi
push dword [ebp - 4]
call fcn.00401f5a
pop ecx
pop ecx
mov ecx, dword [ebp + 0x10]
push esi
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x401d6d
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov eax, 0x40262c
call fcn.00402360
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
push 0x80
push 2
push esi
push 2
push 0x40000000
push dword [ebp + 8]
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push dword [ebp + 0x10]
mov edi, eax
movzx eax, word [ebp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push ebx
push esi
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [ebp - 0x10]
push esi
push ecx
push eax
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x10167aa0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x20]
push ebx
push ebp
push esi
mov ebx, dword [eax]
push edi
push 0x800
push 0x40
mov dword [esp + 0x1c], ebx
call dword [ebx + 0x2c]
mov edi, eax
test edi, edi
jne 0x10167acc
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push 0
push 0
push ecx
push edx
call dword [ebx + 0x24]
mov eax, dword [esp + 0x2c]
mov ebp, 0xff765eda
test eax, eax
je 0x10167b90
jmp 0x10167af4
mov eax, dword [esp + 0x2c]
cmp eax, 0x800
jb 0x10167b00
mov eax, 0x800
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push 0
push ecx
push eax
push edi
push edx
call dword [ebx + 0x14]
test eax, eax
je 0x10167ba0
mov edx, dword [esp + 0x10]
test edx, edx
je 0x10167be2
xor esi, esi
test edx, edx
jle 0x10167b67
mov ecx, ebp
xor ecx, 0xfff45367
mov eax, ecx
mov ebx, ecx
shr eax, 0x18
shr ebx, 0x10
xor al, bl
mov ebx, ecx
shr ebx, 8
xor al, bl
mov bl, byte [esi + edi]
xor al, bl
xor al, cl
mov byte [esi + edi], al
and eax, 0xff
shl ebp, 8
add ebp, eax
inc esi
cmp esi, edx
jl 0x10167b2b
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push 0
push eax
push edx
push edi
push ecx
call dword [ebx + 0x18]
test eax, eax
je 0x10167bc2
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
sub eax, edx
mov dword [esp + 0x2c], eax
jne 0x10167af0
push edi
call dword [ebx + 0x30]
pop edi
pop esi
pop ebp
mov ax, 1
pop ebx
add esp, 0xc
ret
push 0
call dword [ebx + 0x78]
push eax
mov eax, dword [esp + 0x38]
push eax
call fcn.10168810
add esp, 0xc
push edi
call dword [ebx + 0x30]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0xc
ret
call dword [ebx + 0x78]
mov ecx, dword [esp + 0x30]
push eax
push ecx
call fcn.10168880
add esp, 8
push edi
call dword [ebx + 0x30]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0xc
ret
push 0
call dword [ebx + 0x78]
mov edx, dword [esp + 0x34]
push eax
push edx
call fcn.10168810
add esp, 0xc
push edi
call dword [ebx + 0x30]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0xc
ret

Function at 0x10168680
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
mov al, byte [ecx]
xor edi, edi
mov byte [esi], al
mov al, byte [ecx]
test al, al
je 0x101686ba
mov edx, esi
push ebx
sub edx, ecx
mov al, byte [ecx + 1]
mov bl, byte [edx + ecx]
inc edi
inc ecx
dec al
xor al, bl
mov byte [edx + ecx], al
mov al, byte [ecx]
test al, al
jne 0x1016869b
mov byte [edi + esi], 0
pop ebx
mov eax, esi
pop edi
pop esi
ret
mov byte [edi + esi], 0
mov eax, esi
pop edi
pop esi
ret
Function at 0x401021
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
jmp 0x401043
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push edx
mov edx, 1
mov edx, 2
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 5
pop edx
fninit
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x1bc
call fcn.004b9d60
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4010e4
push ebx
call fcn.004b91a0
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00401238
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0x101
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x401125
push 0xa8
push 0x4037161
push 6
call fcn.004b91a6
add esp, 0xc
push 0x80000301
push 0
push 8
push reloc.WS2_32.dll_connect
push 0
push 0x4ca200
push 2
mov ebx, 0x138
call fcn.004b9d90
add esp, 0x1c
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00401259
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40116e
push ebx
call fcn.004b91a0
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [0x4d22ae], eax
push 0x80000301
push 0
push 0x80
push 0x80000301
push 0
push 8
push 2
mov ebx, 0xc8
call fcn.004b9df0
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
call fcn.004013bf
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4011c8
push ebx
call fcn.004b91a0
add esp, 4
push 0
mov ebx, 4
mov eax, 0x4bfd70
call fcn.004b9cc0
add esp, 4
mov dword [0x4d22b2], eax
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x40120d
nop
nop
nop
nop
nop
nop
call fcn.004014bf
mov eax, 0
jmp 0x401222
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401233
push ebx
call fcn.004b91a0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x404a61
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x404a7f
mov eax, 0x4ca252
push eax
push 1
mov ebx, 0x194
call fcn.004ba4b0
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x404aa9
mov eax, 0
jmp 0x404b1d
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x404b0a
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x404af3
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x404ae2
xor ecx, eax
xor edx, ebx
dec edi
jne 0x404ad3
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4
Function at 0x40b24c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
nop
nop
cmp dword [ebp - 4], esp
je 0x40b283
push 0x24
push 0x40372f3
push 6
call fcn.004b91a6
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
mov eax, 0
setne al
jmp 0x40b297
mov esp, ebp
pop ebp
ret 4

Function at 0x40b902
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push 0x1c
call fcn.004b919a
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
jmp 0x40b941
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push edx
mov edx, 1
mov edx, 2
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 5
pop edx
mov dword [ebp - 0xc], esp
mov eax, 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x1c
push dword [ebp - 4]
push 3
xor eax, eax
call dword [0x4d2646]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40b9ed
push 0x30
push 0x4037168
push 6
call fcn.004b91a6
add esp, 0xc
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0xc]
fild qword [ebx]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
mov ebx, dword [ebp - 0x10]
fild qword [ebx]
fstp qword [ebp - 0x20]
fsub qword [ebp - 0x20]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fdiv qword [0x4cab25]
fstp qword [ebp - 0x30]
push 0x80000601
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 1
mov ebx, 0x9dc
call fcn.004bb180
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x40ba78
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.004b91a0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x40ccb2
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x40
call fcn.004b919a
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0x40
mov dword [ebp - 8], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
nop
nop
cmp dword [ebp - 8], esp
je 0x40cd13
push 0x2c
push 0x40372aa
push 6
call fcn.004b91a6
add esp, 0xc
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
fild qword [ebx]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fdiv qword [0x4cab49]
fstp qword [ebp - 0x18]
push 0x80000601
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 1
mov ebx, 0x9dc
call fcn.004bb180
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.004b9f30
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
jmp 0x40cd72
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.004b91a0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x4126ff
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [0x4d26b2]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x412742
push 0x19
push 0x4037187
push 6
call fcn.004b91a6
add esp, 0xc
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.004ba9a0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x412778
push ebx
call fcn.004b91a0
add esp, 4
pop eax
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x4ca46e]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], esp
fld qword [ebp - 0x18]
call fcn.00402005
push eax
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4127c6
push 0x88
push 0x4037187
push 6
call fcn.004b91a6
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x4127e2
push eax
mov ebx, eax
call fcn.00401354
inc eax
push eax
call fcn.004b919a
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4127e7
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4127f8
push ebx
call fcn.004b91a0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x41577d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x4157bb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push edx
mov edx, 1
mov edx, 2
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 5
pop edx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x415841
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004b919a
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x415852
push ebx
call fcn.004b91a0
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x415869
mov eax, 0x4ca252
push eax
push 1
mov ebx, 0x194
call fcn.004ba4b0
add esp, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.00401238
mov dword [ebp - 0xc], eax
push 1
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.004159f3
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push 0x40
push 0x1000
push 0x64
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4158d8
push 0x165
push 0x40371ac
push 6
call fcn.004b91a6
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0x14]
push 0xa0000101
push 0
push 0x4cad39
push 3
mov ebx, 0x914
call fcn.004bc6f0
add esp, 0x28
push dword [ebp - 8]
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x14]
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x415957
push 0xbc5
push 0x40371ac
push 6
call fcn.004b91a6
add esp, 0xc
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x41598d
push 0xbf1
push 0x40371ac
push 6
call fcn.004b91a6
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x4159a7
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004b919a
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4159db
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4159ec
push ebx
call fcn.004b91a0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14
Function at 0x416f22
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
jmp 0x416f44
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
mov dword [ebp - 4], 0
nop
push eax
push ecx
push edx
push ebx
push esi
push edi
nop
nop
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getsockname
cpuid
shr ecx, 0x10
mov esi, ecx
nop
pop edx
pop ecx
pop ebx
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getpeername
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
add esi, edx
nop
pop edx
pop ecx
pop ebx
nop
nop
nop
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x64]
add esi, eax
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, al
add esi, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, dl
add esi, ebx
nop
nop
imul esi, esi, 0x88
nop
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getpeername
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
imul edx, edx, 6
add esi, edx
nop
nop
nop
pop edx
pop ecx
pop ebx
nop
nop
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getsockname
cpuid
shr ecx, 0x10
imul ecx, ecx, 9
add esi, ecx
pop edx
pop ecx
pop ebx
nop
nop
nop
xor esi, 0x124254
mov dword [ebp - 4], esi
pop edi
pop esi
pop ebx
pop edx
pop ecx
pop eax
nop
nop
nop
mov eax, dword [ebp - 4]
jmp 0x41707f
mov esp, ebp
pop ebp
ret