joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452125
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45223d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45223d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004742d0
mov esi, eax
test esi, esi
je 0x45223d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45223d
mov ecx, esi
call fcn.00452090
cmp edi, eax
jge 0x45223d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4521c3
mov dword [esp + 0x34], 1
jmp 0x45221e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45223d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00451690
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x454030
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x454096
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x454096
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x454077
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x454bd0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00454d20
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x454bf0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x454bd1
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00454d20
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x454bf0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x454c20
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x454c77
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x454c8d
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.00454cb0
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x454cb0
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x454d40
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x454d89
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4
Function at 0x455200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x483730
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00454db0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00454e30
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00454e30
lea ecx, [esi + 0xc]
call fcn.0047280f
lea ecx, [esi + 0x10]
call fcn.0047280f
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00457660
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00457660
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00457660
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00472884
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00472884
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x455ea8
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x483958
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x455eb8
call fcn.004563d0
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x455f9b
cmp byte [edi], 0
je 0x455f9b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x455edd
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.00454bd0
test eax, eax
jne 0x455efd
push 0x52f4c8
lea ecx, [esi + 0x38]
call fcn.00472a0d
jmp 0x455f9b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.00454c20
test eax, eax
jne 0x455f2c
mov ecx, esi
call fcn.00454d20
push edi
add esi, 0x38
push 0x52f4a4
push esi
call fcn.00470257
add esp, 0xc
jmp 0x455f9b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.00456c50
test eax, eax
je 0x455f94
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.00456070
test eax, eax
jne 0x455fb0
push edi
lea eax, [esi + 0x38]
push 0x52f480
push eax
call fcn.00470257
add esp, 0xc
mov ecx, esi
call fcn.004563d0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x456058
mov ecx, dword [0x530170]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.00470257
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.00454cd0
test eax, eax
jne 0x45601a
push 0x52f464
lea ecx, [esi + 0x38]
call fcn.00472a0d
jmp 0x45602a
push 0xfa
mov ecx, esi
call fcn.00456c50
test eax, eax
jne 0x456047
mov ecx, esi
call fcn.004563d0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00472884
jmp 0x455f9b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00472884
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x474c74
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x474cac
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00472d2b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00472d03
jmp 0x474cb8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x476362
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4763a4
call fcn.0047c14e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4763a4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47639b
xor eax, eax
jmp 0x4763ac
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004763b2
pop edi
pop esi
pop ebx
ret 4

Function at 0x47c67e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47c6ac
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47c6ca
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047c5e4
jmp 0x47c6ca
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47c6ca
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047c5e4
test edi, edi
mov eax, edi
jne 0x47c6b4
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x431072
nop
nop
nop
nop
mov ebx, 0x40915c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x339e30e4
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x431060
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4310d2
mov ebx, 0x42f3f8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5fdc1a4d
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
lea eax, [esp + 8]
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSID73C037E7_E5D9_4954_876A_6DA81D6E5768InprocServer32
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x401038
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret 4
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x40105a
mov edx, dword [0x4d28ec]
push 0x4d25f0
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x104
push eax
push ecx
push 0
push 0
push str.ThreadingModel
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401089
mov esi, 1
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x4104fd
Capabilities:
Encode data using xor

Disassembly:
add ch, byte [ebp + ebp*4 + 0x49]
push cs
outsb dx, byte [esi]
add eax, 0x4a9aaf69
sbb byte [ecx], bh
xchg edi, eax
ret
dec ebx
dec ebp
loopne 0x41048b
dec edx
ret
adc eax, 0xca003611
pop ds
lodsb al, byte [esi]
jns 0x4104bc
inc dword [esi]
invalid

Function at 0x472cb6
Capabilities:
Authenticate hmac

Disassembly:
mov esi, 0xfe3b7750
xchg ecx, eax
sal dword [ebx + 0x77], 1
inc ecx
mov ebp, 0xf75d1d8d
mov byte [0x93c474cf], al
push eax
bound esi, qword [ebp - 0x1d]
daa
push ecx
xor ch, bl
adc al, 0x99
mov eax, dword [0xb8e341b3]
inc edi
retf
mov bl, 0x64
xchg edi, eax
mov al, byte [0x5a046b92]
pop esp
imul eax, dword [edx + ebx*2], 0x5c
ja 0x472c2a
scasb al, byte es:[edi]
jmp 0x76d42f87
retf 0x6cf
adc byte [esi], 0x36
push 0x89045806
jne 0x472c43
jnp 0x472bda
test byte [eax - 0x3eb0b516], dl
jnp 0x472c25
dec ebp
fcom qword [edi + ebx*8 + 0x71]
lodsb al, byte [esi]
sub al, 0xa7
mov ecx, dword [esi]
or byte [esi + 0x7a], bl
aas
jmp 0x472cd2
scasd eax, dword es:[edi]
cmc
pop ss
pop ebx
imul edx, ebx, 0xffffffed
and dword [ebp - 0x6f], 0x13
je 0x472c2e
mov ah, 0x67
popal
mov byte [ebp + 0x37c34a1b], ch
sbb ecx, dword [edx - 0x3d]
aaa
jae 0x472c48
mov ch, 0x93
add eax, edi
aaa
loopne 0x472d2d
add al, 0xb2
push 8
jge 0x472c97
cli
je 0x472ca9
xor cl, 0x7d
sub eax, 0x94d195ee
imul ch
sbb dh, dl
xchg edx, eax
pop ss
in eax, dx
jne 0x472cf9
ret 0x306a
xor byte [ebp + edx + 0x51], bl
ret
iretd
ljmp 0xe71d:0xbaa8812

Function at 0x47c265
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
xor byte [edx + 0x78d4952], 0xb2
dec eax
cmp esp, dword [edx + 0x7a]
or byte [edx + 0x4688653a], 0xc8
cmp ah, byte [ebp - 0x78]
inc esi
invalid
cmp ah, byte [ebp - 0x78]
inc esi
enter 0xffffffffffff99bc, 0x37
cmp eax, 0x9b77f148
mov esp, 0x483d3799
int1
ja 0x47c20d
inc esp
imul ebp, dword [edx + 0x11], 0xdca2082c
push 0x11
sub al, 8
invalid
fdiv qword [edi + 0x72]
out 0xd5, eax
ja 0x47c260
test esp, edi
jp 0x47c211
Function at 0x48def9
Capabilities:
Encode data using xor

Disassembly:
jnp 0x48df2a
xor ecx, dword [ebp + 0x66b78490]
cmp al, 0x27
jge 0x48df14
invalid
invalid
jl 0x48df8c
push eax
lcall 0xcd54, 0xea03150b
push 0xffffffffffffff8c
or byte [esp - 0x7b], dl
xor byte [edi], bl
xchg ecx, eax
push 0x3c4ab197
insd dword es:[edi], dx
inc edx
aam 0x2b
dec ebp
dec edi
in al, dx
stosd dword es:[edi], eax
invalid
cmpsd dword [esi], dword es:[edi]
xchg ebp, eax
scasd eax, dword es:[edi]
inc edx
mov dl, 0x79
int1
jb 0x48e003
lahf
add al, al
insd dword es:[edi], dx
insd dword es:[edi], dx
fmul qword gs:[ebx]
daa
hlt
mov dl, 0xdf
dec edi
sbb esp, dword [esp + ecx*8 + 0x75]
dec esp
jle 0x48e03e
or edx, dword [esi]
sbb dword [eax], ebx
invalid
invalid

Function at 0x4c80ee
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cf490
cmp edx, dword [eax]
je 0x4c8110
add eax, 8
inc ecx
cmp eax, 0x4cf520
jl 0x4c8101
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cf490]
jne 0x4c823e
mov eax, dword [0x4d3b7c]
cmp eax, 1
je 0x4c8218
test eax, eax
jne 0x4c8141
cmp dword [0x4cf3d0], 1
je 0x4c8218
cmp edx, 0xfc
je 0x4c823e
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c8178
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c8800
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c8a30
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c81bb
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c8a30
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4cc898
push edi
call fcn.004ca200
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c8800
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c8810
lea eax, [ebp - 0xa0]
push 0x4cc878
push eax
call fcn.004c8810
push dword [esi + 0x4cf494]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c8810
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004ca174
add esp, 0x2c
pop edi
jmp 0x4c823e
lea eax, [ebp + 8]
lea esi, [esi + 0x4cf494]
push 0
push eax
push dword [esi]
call fcn.004c8a30
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 0x402a30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45bfa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x45e83c
push 0x46308c
push 2
push 1
push 2
push 3
push 0x86
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xfffffffffffffff1
mov dword [esp + 0x58], 0
call dword [sym.imp.gdi32.dll_CreateFontA]
push eax
lea ecx, [esp + 0x14]
call sub.mfc42.dll_CGdiObject::Attach
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x30]
mov edx, dword [esi]
push 0xff0000
mov ecx, esi
mov ebp, eax
call dword [edx + 0x38]
lea ecx, [esp + 0xc]
call sub.mfc42.dll_CString::CString_2
mov eax, dword [edi + 0x48]
mov byte [esp + 0x20], 1
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
push ecx
push edx
lea eax, [esp + 0x14]
push 0x463070
push eax
call sub.mfc42.dll_CString::Format
mov eax, dword [esp + 0x1c]
mov edx, dword [esi]
add esp, 0x10
mov ecx, dword [eax - 8]
push ecx
push eax
push 4
push 4
mov ecx, esi
call dword [edx + 0x64]
lea eax, [esp + 0xc]
push 0x46305c
push eax
call sub.mfc42.dll_CString::Format
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
add esp, 8
mov ecx, dword [eax - 8]
push ecx
push eax
push 0x14
push 4
mov ecx, esi
call dword [edx + 0x64]
mov eax, dword [esi]
push ebp
mov ecx, esi
call dword [eax + 0x30]
lea ecx, [esp + 0x10]
call sub.mfc42.dll_CGdiObject::DeleteObject
mov byte [esp + 0x20], 0
lea ecx, [esp + 0xc]
call sub.mfc42.dll_CString::CString
mov dword [esp + 0x10], 0x45e814
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 2
call sub.mfc42.dll_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x406fb0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x45c506
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x208
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
call sub.mfc42.dll_CString::CString_2
lea ecx, [esp + 0x10]
mov dword [esp + 0x220], 0
call sub.mfc42.dll_CString::Empty
mov eax, dword [esp + 0x228]
mov esi, eax
cmp byte [eax], 0
je 0x407063
cmp byte [esi], 0x5c
jne 0x40704f
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
lea edx, [eax - 1]
mov eax, edx
test eax, eax
jl 0x407018
cmp byte [eax + ecx], 0x20
jne 0x407018
dec eax
jns 0x40700f
cmp eax, edx
je 0x40704f
inc eax
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call sub.mfc42.dll_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x224], 1
call fcn.0045baec
lea ecx, [esp + 0x14]
mov byte [esp + 0x220], 0
call sub.mfc42.dll_CString::CString
mov cl, byte [esi]
push ecx
lea ecx, [esp + 0x14]
call sub.mfc42.dll_CString::operator
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x406ffa
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call sub.mfc42.dll_CString::Empty
mov al, byte [esp + 0x18]
mov edi, dword [sym.imp.msvcrt.dll__access]
mov ebp, dword [sym.imp.kernel32.dll_CreateDirectoryA]
lea esi, [esp + 0x18]
test al, al
je 0x4070f2
mov bl, byte [esi]
lea ecx, [esp + 0x10]
push ebx
call sub.mfc42.dll_CString::operator
cmp bl, 0x5c
jne 0x4070ec
mov ecx, dword [esp + 0x10]
push 0
push ecx
call edi
add esp, 8
cmp eax, 0xffffffff
jne 0x4070d8
mov edx, dword [esp + 0x10]
push 0
push edx
call ebp
test eax, eax
je 0x407126
cmp bl, 0x5c
jne 0x4070e5
mov bl, byte [esi + 1]
inc esi
test bl, bl
jne 0x4070d8
cmp byte [esi], 0
je 0x40713e
jmp 0x4070ed
inc esi
cmp byte [esi], 0
jne 0x4070a9
mov eax, dword [esp + 0x10]
push 0
push eax
call edi
or esi, 0xffffffff
add esp, 8
cmp eax, esi
jne 0x40714b
mov ecx, dword [esp + 0x10]
push 0
push ecx
call ebp
test eax, eax
jne 0x40714b
lea ecx, [esp + 0x10]
mov dword [esp + 0x220], esi
call sub.mfc42.dll_CString::CString
xor eax, eax
jmp 0x407160
lea ecx, [esp + 0x10]
mov dword [esp + 0x220], 0xffffffff
call sub.mfc42.dll_CString::CString
xor eax, eax
jmp 0x407160
mov dword [esp + 0x220], 0xffffffff
jmp 0x407152
mov dword [esp + 0x220], esi
lea ecx, [esp + 0x10]
call sub.mfc42.dll_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x214
ret
Function at 0x414565
Capabilities:
Packed with generic packer

Disassembly:
call dword [ebp + 0x4c]
shl si, 0x20
mov ecx, dword [ebp + 0x30]
mov edx, dword [ebp + 0x34]
mov esi, dword [ebp + 0x44]
mov edi, dword [ebp + 0x48]
jno 0x40f1ce
jo 0x4102b9
dec ecx
cpuid
ret
jo 0x40f1ce
pop dword [esp - 4]
mov ebx, dword [ebp + 0x38]
jne 0x41029d
je 0x414578
xchg byte [edx], ah
popfd
ja 0x414588
je 0x41029d
test byte [edi], bl
mov ebp, 0xe305ffff
add eax, 0x418b66e3
add ah, byte [esi - 0x7f]
shr dword [eax + 0x62], 0x66
sub ecx, 0xc1816268
add al, byte [eax]
add byte [eax], al
bound esp, qword [esi - 0x7f]
jmp 0xc1c2a7f8
cmp ax, 0xffff
jne 0x41a0b7
je 0x428dc7
cpuid
cld
ret
mov cl, cl
cmp word [edx + edx + 0x4636a8], 0xffff
je 0x42c544
jne 0x428ddf
inc esi
and byte [edi + 0x6a], bh
add bh, bh
imul al
push ebp
dec ebp
invalid
push 2
push esi
call fcn.0040db3d
add esp, 8
mov ax, 2
pop edi
push 0x42c536
ret
Function at 0x425a8a
Capabilities:
Packed with generic packer

Disassembly:
push edi
call fcn.00427702
add esp, 4
and eax, 0xffff
jb 0x40cc22
shr edx, 0x40
mov dword [esi + 0x2c], eax
xchg cl, dh
xchg dh, cl
jmp fcn.004137db
pop dword [esp - 4]
mov dword [esi + 0x30], ebx
jno 0x408771
jo 0x425a9d
nop
cpuid
ret 0x800f
jo 0x408771
fmul dword [edi - 0x73]
insd dword es:[edi], dx
add byte [esi - 0x3f], ah
jmp 0x14e2ef