joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a0b74
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4a0b8b
add esp, 0xfffffff0
call fcn.00403f60
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00426738
mov eax, dword [0x5d4ffc]
cmp word [eax + 2], 0
jne 0x4a0bb3
mov eax, dword [0x5d4ffc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a22f4
mov eax, dword [0x5d5224]
cmp word [eax + 2], 0
jne 0x4a0bcd
mov eax, dword [0x5d5224]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a24ec
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41ae50]
call fcn.00403bcc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41ae50]
call fcn.00403bcc
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x428e5c]
call fcn.00431784
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4a0d54
mov eax, dword [0x5d4dac]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00431b54
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4a2a9c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5d4dac]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040e94c
test eax, eax
je 0x4a0cc2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a438
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e974
test eax, eax
je 0x4a0cd6
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404ca0
mov eax, dword [0x5d4a2c]
cmp byte [eax], 0
jne 0x4a0d0a
mov eax, ebx
call fcn.004a0e7c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004a2c78
mov eax, ebx
call fcn.004a363c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a0d4a
call fcn.00403fb8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a10fc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5d6bf0]
cmp dword [eax + 0x30], 0
je 0x4a11a6
cmp dword [ebx + 0x94], 0
jne 0x4a11a0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a108c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4a11a0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4a1166
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a11a0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041d784
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a1175
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4a1d08
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4a1d3d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404b20
jmp 0x4a1d4a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a84
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4a2e54
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a2e95
mov eax, esi
call fcn.00487a18
test al, al
je 0x4a2e95
mov eax, dword [ebx + 0x84]
call fcn.00487714
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a2e95
push 0
mov eax, dword [ebx + 0x84]
call fcn.00487714
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4a4c44
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a4ea4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4a4ca7
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004a470c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e420
cmp al, 1
jne 0x4a4ca7
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004a4a24
test al, al
je 0x4a4e33
cmp dword [ebp - 8], 0
jge 0x4a4cc5
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004a470c
mov eax, dword [ebp - 0x210]
call fcn.00404cf0
cmp ebx, eax
jge 0x4a4d0f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004a470c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5d5630]
and eax, 0xff
bt dword [edx], eax
jae 0x4a4d0f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4a4d23
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004a4c20
cmp ebx, dword [ebp - 8]
je 0x4a4e25
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4a4d4f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403df8
and eax, 0x7f
movzx eax, word [eax*2 + 0x5cd5a4]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4a4e12
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403df8
and eax, 0x7f
movzx eax, word [eax*2 + 0x5cd5a4]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00487714
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403df8
and eax, 0x7f
movzx eax, word [eax*2 + 0x5cd5a4]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00487714
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4e19
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4a4e86
cmp dword [ebp - 8], 0
jge 0x4a4e3e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004a470c
mov eax, dword [ebp - 0x218]
call fcn.00404cf0
cmp eax, dword [ebp - 8]
jg 0x4a4e78
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004a470c
mov eax, dword [ebp - 0x21c]
call fcn.00404cf0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004a4c20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4eab
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404a54
ret
Function at 0x4b3074
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 0x4b30c5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4b30ac
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4b309c
jmp 0x4b30c5
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 0x4b30ad
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c22ec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x4c231b
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x4c239a
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004c0ba8
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4c2368
mov cx, word [esp]
sub cx, si
jmp 0x4c236a
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4c2351
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4c2390
mov cx, word [esp]
sub cx, si
jmp 0x4c2392
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4c2379
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4c23f7
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.004c1fc0
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x4c23e2
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x4c23f7
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4c22f6
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c89a0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5d6c44
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4c89c2
shr eax, 1
xor eax, 0xedb88320
jmp 0x4c89c4
shr eax, 1
dec edx
jne 0x4c89b0
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4c89a9
mov byte [0x5d7044], 1
pop esi
pop ebx
ret

Function at 0x4c89e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5d7044], 0
jne 0x4c89f7
call fcn.004c89a0
mov eax, edi
dec eax
test eax, eax
jl 0x4c8a20
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5d6c44]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4c8a01
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4cb7b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4cb7e1
dec al
je 0x4cb81d
dec al
je 0x4cb861
dec al
je 0x4cb8cc
jmp 0x4cb956
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4cb956
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4cb7f1
jmp 0x4cb956
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4cb956
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4cb82d
jmp 0x4cb956
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4cb956
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4cb88f
xor ebp, ebp
jmp 0x4cb8a0
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4cb8a9
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4cb871
jmp 0x4cb956
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4cb956
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4cb924
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004c8a28
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4cb8e0
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4d22c0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4d22ee
mov eax, ebx
call fcn.004d2d74
cmp dword [ebx + 0x40], 0
je 0x4d22e7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4d235f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4d2351
cmp dword [ebx + 8], 0
je 0x4d2310
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4d2322
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4d2351
cmp dword [ebx + 8], 0
je 0x4d2303
cmp eax, 3
je 0x4d2335
dec eax
jne 0x4d2303
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4d2303
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4d2303
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4d237d
cmp dword [ebx + 0x14], 0xcc
je 0x4d237d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004d2388
pop ebx
ret

Function at 0x4e81c0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe5c
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 0x1a0], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4e8311
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x9c], 0x94
lea eax, [ebp - 0x9c]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x4e820c
cmp dword [ebp - 0x8c], 1
je 0x4e8210
xor ebx, ebx
jmp 0x4e8212
mov bl, 1
mov dl, 1
mov eax, dword [0x444994]
call fcn.00444a64
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e82ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 4]
call fcn.00444b04
test bl, bl
je 0x4e824f
mov edx, 0x4e8328
mov eax, dword [ebp - 4]
call fcn.00444c8c
jmp 0x4e825c
mov edx, 0x4e835c
mov eax, dword [ebp - 4]
call fcn.00444c8c
lea ecx, [ebp - 0x1a0]
mov edx, 0x4e8394
mov eax, dword [ebp - 4]
call fcn.00444ebc
mov edx, dword [ebp - 0x1a0]
lea eax, [esi + 0x1c]
call fcn.00404a84
lea ecx, [ebp - 0x1a4]
mov edx, 0x4e83ac
mov eax, dword [ebp - 4]
call fcn.00444ebc
mov edx, dword [ebp - 0x1a4]
lea eax, [esi + 0x20]
call fcn.00404a84
mov eax, dword [ebp - 4]
call fcn.00444ad4
cmp dword [esi + 0x1c], 0
jne 0x4e82d6
mov dword [ebp - 8], 0xff
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x19c]
push eax
call sub.advapi32.dll_GetUserNameA
lea eax, [esi + 0x1c]
lea edx, [ebp - 0x19c]
mov ecx, pe_nt_image_headers32
call fcn.00404ca0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e82f3
mov eax, dword [ebp - 4]
call fcn.00403bfc
ret
Function at 0x4efc90
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41a3a0]
call fcn.00405448
xor eax, eax
push ebp
push 0x4efdd4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5d18a8], 0
jne 0x4efce3
mov ecx, dword [0x5d4a88]
mov dl, 1
mov eax, dword [0x40852c]
call fcn.0040dae0
call fcn.004043c8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004033fc
mov eax, ebx
call fcn.00405298
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4efde4
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406720
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004052a8
test eax, eax
jle 0x4efd7b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4efd74
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404cb8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404ca0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004093d8
test eax, eax
jne 0x4efd74
mov ebx, 0x15
jmp 0x4efd80
mov ebx, 0x10
jmp 0x4efd80
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x5d18a8]
call fcn.004efbe8
mov eax, dword [ebp - 8]
call fcn.004efbe8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406738
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4efddb
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404a54
lea eax, [ebp - 0x10]
mov edx, dword [0x41a3a0]
call fcn.00405518
ret
Function at 0x4f7f98
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x4f7fb1
add esp, 0xfffffff0
call fcn.00403f60
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x4f80c9
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.00426738
lea eax, [ebx + 0x30]
mov edx, dword [ebp + 8]
call fcn.00404a84
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebx + 0x30]
call fcn.00404ef0
push eax
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
mov dword [ebx + 0x34], esi
cmp esi, 0xffffffff
jne 0x4f801a
mov ecx, dword [ebx + 0x30]
lea eax, [ebp - 8]
mov edx, 0x4f80fc
call fcn.00404d3c
mov eax, dword [ebp - 8]
call fcn.004f7f80
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebx + 0x34]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov esi, eax
mov dword [ebx + 0x38], esi
test esi, esi
jne 0x4f8040
mov eax, 0x4f8114
call fcn.004f7f80
push 0
push 0
push 0
push 4
mov eax, dword [ebx + 0x38]
push eax
call sub.kernel32.dll_MapViewOfFile
mov esi, eax
mov dword [ebx + 0x3c], esi
test esi, esi
jne 0x4f8064
mov eax, 0x4f8138
call fcn.004f7f80
mov eax, dword [ebx + 0x3c]
mov dword [ebx + 0x40], eax
mov ax, word [eax]
not ax
cmp ax, 0x5a4d
jne 0x4f8080
mov eax, 0x4f8158
call fcn.004f7f80
mov eax, dword [ebx + 0x40]
mov edx, dword [ebx + 0x40]
add eax, dword [edx + 0x3c]
mov dword [ebx + 0x44], eax
push 0xf8
mov eax, dword [ebx + 0x44]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x4f80a9
mov eax, dword [ebx + 0x44]
cmp dword [eax], 0x4550
je 0x4f80b3
mov eax, 0x4f817c
call fcn.004f7f80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f80d0
lea eax, [ebp - 8]
call fcn.00404a30
ret
Function at 0x4f9aa0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4f9be1
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, esi
mov eax, dword [ebp + 8]
call fcn.004f7c38
lea eax, [ebp - 8]
push eax
mov eax, esi
call fcn.00404ef0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x4f9bc6
mov eax, dword [ebp - 8]
call fcn.00409174
mov ebx, eax
push ebx
mov eax, dword [ebp - 8]
push eax
push 0
mov eax, esi
call fcn.00404ef0
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4f9bf4
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4f9b32
mov eax, edi
mov edx, dword [ebp - 0x10]
call fcn.00404c28
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4f9c1c
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4f9b54
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.00404c28
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4f9c40
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4f9b76
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00404c28
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00402860
lea edx, [ebp - 0x14]
mov eax, dword [edi]
call fcn.00409448
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.00404a84
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00409448
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00404a84
lea edx, [ebp - 0x1c]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
call fcn.00409448
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 0xc]
call fcn.00404a84
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f9be8
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404a54
ret

Function at 0x4fae50
Capabilities:
Get file version info

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov ebx, eax
mov eax, edi
call fcn.00404a30
mov eax, ebx
call fcn.00409c9c
test al, al
je 0x4faecc
push esp
mov eax, ebx
call fcn.00404ef0
mov ebp, eax
push ebp
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [esp], eax
cmp dword [esp], 0
jbe 0x4faecc
mov eax, dword [esp]
call fcn.00409174
mov esi, eax
push esi
mov eax, dword [esp + 4]
push eax
push 0
push ebp
call sub.version.dll_GetFileVersionInfoA
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
push 0x4faed4
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4faec2
mov eax, edi
mov edx, dword [esp + 8]
call fcn.00404c28
mov edx, dword [esp]
mov eax, esi
call fcn.00402860
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret