joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4befe3
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x502ae0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
cmp byte [edi + 4], 0
je 0x4bf05d
mov eax, dword [edi]
call dword [eax + 0xc]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4bf05d
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
lea eax, [esi + esi]
call fcn.0044eb10
mov ebx, esp
test ebx, ebx
je 0x4bf05d
push esi
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [edi + 8]
test eax, eax
je 0x4bf05d
push ebx
lea ecx, [eax + 0xd8]
call fcn.004116d4
mov ecx, dword [edi + 8]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.textchanged
call fcn.0048568f
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044d74d
leave
ret 0x10

Function at 0x4c283b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x4c2860
cmp eax, edi
jge 0x4c2858
mov eax, esi
call fcn.004c20f4
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edi, dword [esi + 8]
xor ecx, ecx
test edi, edi
jle 0x4c288d
mov eax, dword [esi + 0xc]
push ebx
mov dl, byte [esi + 0xc]
sub edi, 8
mov byte [ebp + ecx - 4], dl
shr eax, 8
mov ebx, edi
inc ecx
mov dword [esi + 0xc], eax
test ebx, ebx
jg 0x4c286d
mov dword [esi + 8], ebx
pop ebx
cmp ecx, 4
jge 0x4c28ac
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x4c289a
xor eax, eax
jmp 0x4c28a2
mov dl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, dl
mov byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 4
jl 0x4c2890
movzx edi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl edi, 8
add edi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, edi
xor ecx, 0xffff
cmp eax, ecx
je 0x4c28e0
mov dword [0x506660], str.zlib_corrupt
xor eax, eax
jmp 0x4c2920
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x4c28f5
mov dword [0x506660], str.read_past_buffer
jmp 0x4c28dc
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x4c290a
mov ecx, edi
call fcn.004c2227
test eax, eax
je 0x4c28dc
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.0044cad0
add dword [esi], edi
add dword [esi + 0x10], edi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret
Function at 0x4090a6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push esi
mov esi, eax
mov eax, dword [esi + 0x4140]
cmp eax, dword [ebp + 8]
push edi
je 0x409131
push 3
pop eax
cmp dword [esi + 0x14], eax
mov dword [ebp - 4], eax
jl 0x409128
lea edi, [esi + 0x4c]
mov eax, dword [edi]
test eax, eax
je 0x40911a
cmp byte [eax + 0x78], 0xb
je 0x40911a
mov cl, byte [eax + 0x7a]
movzx edx, cl
cmp edx, dword [esi + 0x4140]
je 0x4090fc
cmp byte [esi + 0x4148], 0
je 0x40911a
cmp cl, 0xff
je 0x40911a
cmp byte [eax + 0x78], 0xa
je 0x40911a
push 0
push dword [eax]
call ebx
mov eax, dword [edi]
test byte [eax + 0x79], 0x40
je 0x40911a
cmp byte [eax + 0x78], 0x1a
jne 0x40911a
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add edi, 4
cmp eax, dword [esi + 0x14]
jle 0x4090ce
mov eax, dword [ebp + 8]
mov dword [esi + 0x4140], eax
push 3
pop eax
cmp dword [esi + 0x14], eax
mov dword [ebp - 4], eax
jl 0x409191
lea edi, [esi + 0x4c]
mov eax, dword [edi]
test eax, eax
je 0x409183
cmp byte [eax + 0x78], 0xb
je 0x409183
movzx ecx, byte [eax + 0x7a]
cmp ecx, dword [esi + 0x4140]
jne 0x409183
test byte [eax + 0x79], 0x20
jne 0x409183
push 0
push dword [eax]
call ebx
mov eax, dword [edi]
push 4
push dword [eax]
call ebx
mov eax, dword [edi]
test byte [eax + 0x79], 0x40
je 0x409183
cmp byte [eax + 0x78], 0x1a
jne 0x409183
push 1
push dword [eax]
call dword [sym.imp.USER32.dll_EnableWindow]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add edi, 4
cmp eax, dword [esi + 0x14]
jle 0x40913f
add esi, 0x4138
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push dword [ebp + 8]
push 0x130c
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40b99c
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x454ea7
call fcn.00454158
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esi + 0x24]
call fcn.00413036
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [ebp - 4], ebx
call fcn.00413036
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 1
call fcn.00413036
mov edi, 0x459596
push edi
lea eax, [esi + 0x24]
mov byte [ebp - 4], 2
push eax
mov dword [esi + 0x48], ebx
mov byte [esi + 0x20], bl
call fcn.0041316e
fld qword [0x45cb30]
or eax, 0xffffffff
fstp qword [esi + 0x18]
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi], eax
mov dword [esi + 4], eax
push edi
lea eax, [esi + 0x30]
push eax
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
call fcn.0041316e
push edi
lea eax, [esi + 0x3c]
push eax
call fcn.0041316e
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40e35d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
mov eax, dword [esi + 0xc]
test al, 0xf
je 0x40e4ac
push ebx
xor ebx, ebx
cmp dword [esi + 0x10], ebx
push edi
jne 0x40e3cd
test al, 8
mov edi, dword [sym.imp.USER32.dll_keybd_event]
je 0x40e390
xor eax, eax
mov al, byte [esi + 0x20]
push ebx
push ebx
push eax
push 0x5b
call edi
test byte [esi + 0xc], 2
je 0x40e3a2
xor eax, eax
mov al, byte [esi + 0x1c]
push ebx
push ebx
push eax
push 0x10
call edi
test byte [esi + 0xc], 4
je 0x40e3b4
xor eax, eax
mov al, byte [esi + 0x14]
push ebx
push ebx
push eax
push 0x11
call edi
test byte [esi + 0xc], 1
je 0x40e4a2
xor eax, eax
mov al, byte [esi + 0x18]
push ebx
push ebx
push eax
push 0x12
jmp 0x40e4a0
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov eax, dword [esi + 0xc]
test al, 8
je 0x40e3e8
or byte [ebp - 0xa5], 0x80
test al, 2
je 0x40e3f3
or byte [ebp - 0xf0], 0x80
test al, 4
je 0x40e3fe
or byte [ebp - 0xef], 0x80
test al, 1
je 0x40e409
or byte [ebp - 0xee], 0x80
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
test byte [esi + 0xc], 8
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
mov ebx, 0x100
je 0x40e439
mov eax, dword [esi + 0x20]
shl eax, 0x10
or eax, 1
push eax
push 0x5b
push ebx
push dword [esi + 0x10]
call edi
test byte [esi + 0xc], 2
je 0x40e451
mov eax, dword [esi + 0x1c]
shl eax, 0x10
or eax, 1
push eax
push 0x10
push ebx
push dword [esi + 0x10]
call edi
test byte [esi + 0xc], 4
je 0x40e469
mov eax, dword [esi + 0x14]
shl eax, 0x10
or eax, 1
push eax
push 0x11
push ebx
push dword [esi + 0x10]
call edi
mov eax, dword [esi + 0xc]
mov ecx, eax
and ecx, 1
je 0x40e48c
test al, 0x44
jne 0x40e48c
mov eax, dword [esi + 0x18]
test ecx, ecx
je 0x40e4a2
mov eax, dword [esi + 0x18]
shl eax, 0x10
or eax, 1
push eax
push 0x12
push ebx
Function at 0x42bb6d
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
mov word [esi], 2
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
jne 0x42bb89
xor eax, eax
push 0
inc eax
jmp 0x42bbb0
cmp dword [ebp + 0x10], 0
mov dword [esi + 4], eax
jle 0x42bbab
cmp dword [ebp + 0x10], 0xffff
jg 0x42bbab
push dword [ebp + 0x10]
call sub.WSOCK32.dll_htons
mov word [esi + 2], ax
mov al, 1
jmp 0x42bbba
push 0
push 2
pop eax
mov ecx, dword [ebp + 8]
call fcn.0041da7b
xor al, al
pop ebp
ret 0xc

Function at 0x42c99c
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x454f1a
call fcn.00454158
sub esp, 0x158
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0x80004002
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0x28
call fcn.00413036
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push str.interface
mov dword [ebp - 4], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, SysReAllocString
push edi
call esi
test eax, eax
je 0x42c9f8
mov esi, 0x80004002
jmp 0x42cae2
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x42cad6
mov eax, dword [ebp - 0x10]
mov byte [ebp + eax - 0x60], bl
push str.interface_
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x10], 0xff
call fcn.0041316e
lea eax, [ebp - 0x60]
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00413379
lea eax, [ebp - 0x20]
push eax
push 0x20019
push ebx
push dword [ebp - 0x30]
push edi
call esi
test eax, eax
jne 0x42cac2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x164]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42cab9
mov eax, dword [ebp - 0x10]
push dword [ebp + 0xc]
mov byte [ebp + eax - 0x164], bl
lea eax, [ebp - 0x164]
push eax
call fcn.0044857e
test eax, eax
pop ecx
pop ecx
jne 0x42cab9
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.00412a6f
pop ecx
pop ecx
push dword [ebp + 8]
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.ole32.dll_IIDFromString]
push dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
call fcn.0044624a
pop ecx
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], ebx
je 0x42cad6
inc dword [ebp - 0x14]
mov dword [ebp - 0x10], 0x28
jmp 0x42c9f8
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x30]
call fcn.0044624a
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42cb00
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x454f1a
call fcn.00454158
sub esp, 0x148
push ebx
push esi
push edi
lea ecx, [ebp - 0x30]
call fcn.00413036
fld1
lea eax, [ebp - 0x1c]
fstp qword [ebp - 0x3c]
push eax
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 0xff
call dword [sym.imp.ole32.dll_StringFromIID]
mov esi, eax
cmp esi, ebx
jl 0x42cc9c
push ebx
push dword [ebp - 0x1c]
call fcn.00412abc
pop ecx
pop ecx
mov esi, eax
push str.interface_
lea eax, [ebp - 0x30]
push eax
call fcn.0041316e
push esi
or eax, 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00413379
push str.TypeLib
or eax, 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00413379
push esi
call fcn.0044624a
pop ecx
push dword [ebp - 0x1c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x18]
push eax
push 0x20019
push ebx
push dword [ebp - 0x30]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, ebx
jne 0x42cc9c
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x154]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
call edi
mov esi, eax
cmp esi, ebx
jne 0x42cc93
mov eax, dword [ebp - 0x14]
mov byte [ebp + eax - 0x154], bl
lea eax, [ebp - 0x154]
push ebx
push eax
call fcn.00412a6f
pop ecx
pop ecx
lea ecx, [ebp - 0x4c]
push ecx
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
push dword [ebp - 0x24]
mov esi, eax
call fcn.0044624a
cmp esi, ebx
pop ecx
jl 0x42cc93
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x154]
push eax
push ebx
push ebx
push str.Version
push dword [ebp - 0x18]
call edi
test eax, eax
jne 0x42cc3e
mov eax, dword [ebp - 0x14]
mov byte [ebp + eax - 0x154], bl
lea eax, [ebp - 0x154]
push eax
call fcn.0044675b
fstp qword [ebp - 0x3c]
pop ecx
lea eax, [ebp - 0x20]
fld1
push eax
push ebx
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x3c]
fstp qword [esp]
call fcn.00448900
add esp, 0x10
call fcn.00454178
fld qword [ebp - 0x3c]
push eax
call fcn.00454178
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_RegisterTypeLib]
mov esi, eax
cmp esi, ebx
jl 0x42cc93
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x20]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x30]
call fcn.0044624a
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4390a8
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push edi
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 8], 0xff
call esi
mov edi, 0x103
jmp 0x43915d
xor eax, eax
cmp byte [0x46dfe8], bl
je 0x4390f1
mov eax, 0x100
lea ecx, [ebp - 0xc]
push ecx
or eax, 0x20019
push eax
push ebx
lea eax, [ebp - 0x114]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x439165
push dword [ebp - 0xc]
call fcn.004390a8
pop ecx
push dword [ebp - 0xc]
mov byte [ebp - 1], al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 1], bl
je 0x439165
lea eax, [ebp - 0x114]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x439165
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 8], 0xff
call esi
cmp eax, edi
jne 0x4390e2
mov al, 1
jmp 0x439167
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x441aca
Capabilities:
Encode data using base64
Parse credit card information

Disassembly:
push ebp
lea ebp, [esp - 0x54]
sub esp, 0xb4
mov eax, dword [ebp + 0x5c]
mov edx, dword [eax]
mov eax, dword [ebp + 0x64]
push ebx
mov ebx, dword [eax]
mov eax, dword [ebp + 0x68]
mov ecx, dword [eax]
mov eax, edx
shr eax, 9
and eax, 1
push esi
mov dword [ebp - 0x38], eax
xor eax, 1
push edi
mov dword [ebp - 0x3c], eax
xor esi, esi
push 0xfffffffffffffffe
pop eax
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x38], eax
mov eax, edx
and eax, 1
shl eax, 8
mov dword [ebp + 0x24], esi
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x30], edx
mov dword [ebp], esi
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp + 0x50], ecx
mov dword [ebp + 0x40], esi
mov dword [ebp + 0xc], esi
mov dword [ebp - 8], eax
Function at 0x4486b7
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
xor ebx, ebx
test edi, edi
jne 0x4486d3
call fcn.0044b662
mov dword [eax], 0x16
or eax, 0xffffffff
jmp 0x448745
push esi
imul ecx, dword [eax + eax + 0x16a0000], 0x4bde8
add byte [ebx + 0x59f685f0], cl
pop ecx
je 0x44872b
salc
call fcn.0044ab8a
mov eax, dword [esp + 0x1c]
pop ecx
push esi
push 4
push esi
push 0x448625
push dword [esp + 0x24]
mov dword [esi + 0x4c], edi
push 0
mov dword [esi + 0x50], eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov edi, eax
test edi, edi
mov esi, edi
add al, 0x74
or al, 0x57
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
cmp eax, 0xffffffff
jne 0x448742
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
push esi
call fcn.00446be1
test ebx, ebx
pop ecx
je 0x44873d
push ebx
call fcn.0044b674
pop ecx
or eax, 0xffffffff
jmp 0x5f0a1247
mov eax, ebp
pop esi
pop edi
pop ebx
ret

Function at 0x44896b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ch, ah
push esi
mov esi, dword [ebp + 8]
cmp dword [esi], 0
jge 0x44897e
xor eax, eax
jmp 0x448ab0
call 0x54edcf
mov eax, dword [esi]
cmp eax, 0x3f480
jle 0x4489e4
cmp eax, 0x7ffc0b7f
jge 0x4489e4
cmp eax, dword [0x461be0]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
jmp 0x44ee59
push esi
call 0x44ee59
cmp dword [0x461be4], 0
pop ecx
mov esi, eax
je 0x448a1e
push esi
in al, dx
pop ds
add byte fs:[eax], al
test eax, eax
pop ecx
je 0x448a1e
mov eax, dword [esi]
sub eax, dword [0x461be8]
sub edx, dword [0x461be0]
mov dword [ebp + 8], eax
mov dword [esi + 0x20], 1
mov eax, dword [ecx + 8]
jmp 0x448a29
mov eax, dword [esi]
sub eax, dword [0x461be0]
mov dword [ebp + 8], eax
inc ebx
push 0x3c
pop ecx
cdq
retf
pop esi
pop ebp
ret
mov eax, dword [esp + 0x44]
push ebx
push esi
mov esi, dword [eax]
push edi
xor ebx, dword [ebx - 0x42cb18]
inc dword [ebp + 0x7df88bf6]
pop es
xor eax, eax
jmp fcn.0044ef6c
Function at 0x448e60
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x60
push 0x457fa0
call fcn.0044972c
mov edi, 0x94
mov eax, edi
call fcn.0044f570
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x4634ec], ecx
mov eax, dword [esi + 4]
mov dword [0x4634f8], eax
mov edx, dword [esi + 8]
mov dword [0x4634fc], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x4634f0], esi
cmp ecx, 2
je 0x448ec0
or esi, 0x8000
mov dword [0x4634f0], esi
shl eax, 8
add eax, edx
mov dword [0x4634f4], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x448efb
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x448efb
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x448f13
cmp eax, 0x20b
je 0x448f00
mov dword [ebp - 0x1c], esi
jmp 0x448f27
cmp dword [ecx + 0x84], 0xe
jbe 0x448efb
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x448f21
cmp dword [ecx + 0x74], 0xe
jbe 0x448efb
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00449dad
pop ecx
test eax, eax
jne 0x448f3b
push 0x1c
call fcn.00448e3c
pop ecx
call fcn.0044ad84
test eax, eax
jne 0x448f4c
push 0x10
call fcn.00448e3c
pop ecx
call fcn.0044c448
mov dword [ebp - 4], esi
call fcn.0044c792
test eax, eax
jge 0x448f65
push 0x1b
call fcn.00448e17
pop ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x472f84], eax
call fcn.0044f443
mov dword [0x463534], eax
call fcn.0044f3a1
test eax, eax
jge 0x448f8b
push 8
call fcn.00448e17
pop ecx
call fcn.0044f16e
test eax, eax
jge 0x448f9c
push 9
call fcn.00448e17
pop ecx
invalid
Function at 0x44d3f1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x44d5c7
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x472c20]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x44d5c7
test cl, 0x48
je 0x44d45c
cmp byte [eax + 5], 0xa
je 0x44d45c
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x44d4ae
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x44d496
call fcn.0044b662
mov dword [eax], 9
call fcn.0044b66b
mov dword [eax], esi
jmp 0x44d4a6
cmp eax, 0x6d
je 0x44d5c7
push eax
call fcn.0044b674
pop ecx
or eax, 0xffffffff
jmp 0x44d5c9
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x44d5c2
test eax, eax
je 0x44d4d5
cmp byte [ebx], 0xa
jne 0x44d4d5
mov eax, ecx
lea eax, [eax + esi + 4]
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
xor eax, eax

Function at 0x44d4d0
Capabilities:
Read file on windows

Disassembly:
or byte [eax], 4
jmp 0x44d4de
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x44d5bc
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x44d5ac
cmp al, 0xd
je 0x44d510
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x44d59e
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x44d52a
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x44d525
add dword [ebp + 0x10], 2
jmp 0x44d57e
mov dword [ebp + 0x10], eax
jmp 0x44d59a
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x44d552
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x44d59a
cmp dword [ebp - 0xc], 0
je 0x44d59a
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x44d573
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x44d57e
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x44d59d
cmp ebx, dword [ebp + 0xc]
jne 0x44d583
cmp byte [ebp - 1], 0xa
jne 0x44d583
mov byte [ebx], 0xa
jmp 0x44d59d
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0045156e
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x44d59e
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x44d4f4
jmp 0x44d5bc
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x44d5bc
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x44d5c9
pop edi
pop esi
pop ebx
leave
ret