joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b500
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x468948
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00461700
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043aea0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046162e
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0045def2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0045def2
push 1
push 0
push 0
mov ecx, esi
call fcn.0045de9a
push 1
push 0
push 1
mov ecx, esi
call fcn.0045de9a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00461772
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43b680
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x468968
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00461700
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043aea0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046162e
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43b744
cmp dword [esp + 0x40], 1
jne 0x43b742
cmp ecx, eax
jge 0x43b744
mov eax, ecx
cmp eax, 0xc8
jge 0x43b750
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043b500
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00461772
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43bed0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4689d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045c312
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004619a8
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00462ec4
test eax, eax
je 0x43bfec
mov ecx, dword [esp + 0x3c]
call fcn.004619d5
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43bfb0
push edi
mov ecx, esi
call fcn.0045f039
mov ecx, esi
call fcn.0043c150
cmp dword [esp + 0x38], 1
jne 0x43bfe5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045f174
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43ea10
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43ea43
push esi
call fcn.00441b00
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43ea3c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43eac9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43eab2
mov eax, dword [esi + 8]
test eax, eax
je 0x43ea67
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43eaae
cmp eax, 2
je 0x43eab2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43ea5a
cmp eax, 3
je 0x43ea8d
cmp eax, 1
jne 0x43ea5a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43ea5a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43ea5a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043eaf0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43ead8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043eaf0
add esp, 4
pop esi
ret

Function at 0x45d108
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45d140
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.0045b1bc
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045b194
jmp 0x45d14c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45e7f6
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 0x45e838
call fcn.004642af
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45e838
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45e82f
xor eax, eax
jmp 0x45e840
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045e846
pop edi
pop esi
pop ebx
ret 4

Function at 0x4647df
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 0x46480d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46482b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00464745
jmp 0x46482b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46482b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00464745
test edi, edi
mov eax, edi
jne 0x464815
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402f30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d798
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x45fbf0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
mov dword [ebp - 4], 0
test edi, edi
je 0x403026
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea edx, [ebp + 0x10]
mov dword [esi + 0x248], ecx
push edx
lea ecx, [esi + 0x24c]
mov dword [esi + 0x240], edi
mov dword [esi + 0x244], eax
call fcn.00411a92
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
push 0
push Ordinal_4
push Ordinal_4
push Ordinal_4
push Ordinal_4
push 0x80
push Ordinal_4
push 0
mov ecx, edi
call edx
mov ecx, eax
call fcn.004118d8
push eax
mov ecx, esi
call fcn.00412538
mov edi, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push edi
call ebx
test eax, eax
je 0x402fec
lea esp, [esp]
push edi
call ebx
mov edi, eax
push edi
call ebx
test eax, eax
jne 0x402fe0
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 0x94]
test eax, eax
jle 0x403026
push eax
push 0xb
lea ecx, [esi + 0x14]
call fcn.00415da6
push eax
lea ecx, [esi + 0x14]
call fcn.00415434
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.0041192e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x90
Function at 0x403fe0
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44de7b
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x45fbf0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xfffffffffffffff0
mov esi, ecx
call fcn.00411c84
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov eax, dword [esi + 4]
lea edi, [esi + 0x14]
push eax
mov ecx, edi
call fcn.0041619c
lea ecx, [ebp - 0x158]
call fcn.0041da00
mov dword [ebp - 4], 0
mov dword [ebp - 0x160], 0x458d10
call fcn.004150b5
mov ecx, eax
call fcn.00411a59
test al, al
je 0x404105
push 0x458688
push 0x69
call fcn.004150a0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
mov dword [ebp - 0x15c], ebx
test ebx, ebx
je 0x404189
push ebx
call fcn.004150a0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x164], eax
push ebx
test eax, eax
jne 0x4040a2
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x404189
call fcn.004150a0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x404189
push ebx
call fcn.0043b998
add esp, 4
mov dword [0x462308], eax
test eax, eax
je 0x4040e8
mov ecx, dword [ebp - 0x164]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [0x462308]
push eax
push edx
call fcn.0043d530
add esp, 0xc
mov eax, dword [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [0x462308]
push ebx
push ecx
call fcn.0041511b
add esp, 8
push 0
push edi
lea edx, [ebp - 0x160]
push edx
push 0
push ecx
mov eax, esp
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x15c], esp
mov dword [eax], 0x458698
call fcn.0041e3f1
push eax
mov ecx, edi
call fcn.0041812e
lea eax, [esi + 0x10]
push eax
mov ecx, edi
call fcn.004156bf
push str.closebtn
mov ecx, edi
call fcn.00415daa
mov ecx, dword [esi + 4]
push 0
mov dword [esi + 0x240], eax
push 0x1a
lea eax, [esi + 0x51c]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [esi + 0x724]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x28
add esi, 0x92c
mov eax, str.http:__produce.tienc.com.cn:9090_action_
call fcn.00408850
lea ecx, [ebp - 0x158]
mov dword [ebp - 4], 0xffffffff
call fcn.00410c5b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043bc52
mov esp, ebp
pop ebp
ret
Function at 0x404a60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x45fbf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x69], 0x43
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
shr eax, 2
mov dword [ebp - 0x70], eax
test eax, eax
je 0x404c21
push ebx
push esi
push edi
test al, 1
je 0x404c0d
mov edx, dword [ebp - 0x69]
push str.TiencMPLib
lea ecx, [ebp - 0x24]
push ecx
push edx
mov byte [ebp - 0x65], 0
or ebx, 0xffffffff
call dword [sym.imp.tcudisk.dll_MPIsProducibleKey]
add esp, 0xc
mov dword [ebp - 0x78], eax
test eax, eax
js 0x404c0d
mov esi, dword [ebp - 0x74]
xor edi, edi
add esi, 0x29c
lea esp, [esp]
cmp byte [esi], 0
jne 0x404add
test ebx, ebx
jns 0x404b1d
mov ebx, edi
jmp 0x404b1d
cmp dword [esi + 0x1c], 0x10
jb 0x404ae8
mov edx, dword [esi + 8]
jmp 0x404aeb
lea edx, [esi + 8]
lea ecx, [ebp - 0x24]
mov edi, edi
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x404b10
test al, al
je 0x404b0c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x404b10
add ecx, 2
add edx, 2
test al, al
jne 0x404af0
xor eax, eax
jmp 0x404b15
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x404b1d
mov byte [ebp - 0x65], 1
inc edi
add esi, 0x28
cmp edi, 0x10
jl 0x404ad0
cmp byte [ebp - 0x65], 0
jne 0x404c0d
test ebx, ebx
js 0x404c0d
mov edi, dword [ebp - 0x74]
mov cl, byte [ebp - 0x69]
mov edx, dword [ebp - 0x78]
lea eax, [ebx + ebx*4]
lea esi, [edi + eax*8]
lea eax, [ebp - 0x24]
mov byte [esi + 0x29d], cl
mov byte [esi + 0x29c], 1
mov dword [esi + 0x2a0], edx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404b60
sub eax, ecx
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [esi + 0x2a4]
call fcn.00408f50
push ebx
push str.checkbox.udisk_d
lea edx, [ebp - 0x64]
mov byte [esi + 0x2c0], 0
call fcn.0040aaf0
add esp, 8
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [edi + 0x14]
call fcn.00415daa
mov esi, eax
test esi, esi
je 0x404bde
mov edx, dword [esi]
mov eax, dword [edx + 0xd0]
push 1
mov ecx, esi
call eax
push 1
push 1
mov ecx, esi
call fcn.00419502
movsx ecx, byte [ebp - 0x69]
push ecx
push 0x458714
lea edx, [ebp - 0x64]
call fcn.0040aaf0
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
add esp, 8
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
call edx
push ebx
push str.label.udisk_d.status
lea edx, [ebp - 0x64]
call fcn.0040aaf0
add esp, 8
lea eax, [ebp - 0x64]
push eax
lea ecx, [edi + 0x14]
call fcn.00415daa
test eax, eax
je 0x404c0d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x2c]
push 0x45871c
call eax
shr dword [ebp - 0x70], 1
mov eax, dword [ebp - 0x70]
inc byte [ebp - 0x69]
test eax, eax
jne 0x404a91
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bc52
mov esp, ebp
pop ebp
ret 4
Function at 0x405610
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x45fbf0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
lea ebx, [edi + 0x29c]
lea ecx, [ecx]
cmp byte [ebx], 0
je 0x40569a
push esi
lea eax, [ebp - 0x88]
push str.checkbox.udisk_d
push eax
call fcn.0040aab0
add esp, 0xc
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [edi + 0x14]
call fcn.00415daa
test eax, eax
je 0x40569a
mov ecx, eax
call fcn.004194fb
test al, al
je 0x40569a
lea edx, [ebp - 0x90]
push edx
push 0
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], edi
push 0x4035e0
mov byte [0x46230c], 0
call fcn.0043c459
add esp, 0xc
mov al, byte [0x46230c]
test al, al
je 0x405691
inc esi
add ebx, 0x28
cmp esi, 0x10
jl 0x405630
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043bc52
mov esp, ebp
pop ebp
ret
Function at 0x405970
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x45fbf0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call esi
test eax, eax
je 0x405b5d
mov eax, dword [ebp - 0x108]
cmp eax, 2
jne 0x405ae7
mov eax, dword [ebp - 0x114]
cmp eax, 5
jne 0x405a4c
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x4059e1
mov eax, 7
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bc52
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x4059fa
mov eax, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bc52
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x405b5d
lea ecx, [ebp - 0x234]
push ecx
mov dword [ebp - 0x234], 0x11c
call esi
mov al, byte [ebp - 0x11a]
cmp al, 3
je 0x405a38
cmp al, 2
je 0x405a38
mov eax, 9
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bc52
mov esp, ebp
pop ebp
ret
mov eax, 0xa
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bc52
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x405aca
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x405aa4
lea edx, [ebp - 0x234]
push edx
mov dword [ebp - 0x234], 0x11c
call esi
mov al, byte [ebp - 0x11a]
cmp al, 3
je 0x405a90
cmp al, 2
je 0x405a90
mov eax, 0xb
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bc52
mov esp, ebp
pop ebp
ret
mov eax, 0xc
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bc52
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x405b5d
call fcn.00405910
neg eax
sbb eax, eax
neg eax
add eax, 0xd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bc52
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x405b5d
mov eax, 6
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bc52
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x405b45
cmp dword [ebp - 0x114], 4
jne 0x405b5d
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x405b13
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bc52
mov esp, ebp
pop ebp
ret
cmp eax, 0xa
jne 0x405b2c
mov eax, 3
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bc52
mov esp, ebp
pop ebp
ret
cmp eax, 0x5a
jne 0x405b5d
mov eax, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bc52
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x405b5d
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bc52
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0043bc52
mov esp, ebp
pop ebp
ret
Function at 0x405b70
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44db7b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x45fbf0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov word [ebp - 0x234], ax
push eax
mov eax, 0x4580d4
lea esi, [ebp - 0x234]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
call fcn.00408850
lea edx, [ebp - 0x218]
mov dword [ebp - 4], 0
mov eax, edi
sub edx, edi
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x405be0
lea ecx, [ebp - 0x218]
push 0x4580e8
push ecx
call fcn.0043cf5e
add esp, 8
mov edi, 8
test eax, eax
je 0x405c99
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x405c15
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x234]
call fcn.00409140
push 1
mov eax, 0x4580e8
lea ecx, [ebp - 0x234]
call fcn.00409140
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], edi
jae 0x405c56
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x405c82
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], edi
jae 0x405c75
lea eax, [ebp - 0x234]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405cd0
push 0x4580e8
push 0
call fcn.0043cf5e
add esp, 8
test eax, eax
jne 0x405c10
cmp dword [ebp - 0x220], edi
jb 0x405cb0
mov eax, dword [ebp - 0x234]
push eax
call fcn.0043bc47
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043bc52
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x220], edi
jb 0x405ce7
mov edx, dword [ebp - 0x234]
push edx
call fcn.0043bc47
add esp, 4
xor eax, eax
jmp 0x405cb5
Function at 0x407900
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x45fbf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call fcn.004150c7
add esp, 4
push 0x458ad0
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00414fb0
add esp, 4
mov ecx, eax
call fcn.00412032
mov ecx, eax
call fcn.004118d8
push eax
call fcn.004150d4
add esp, 4
lea ecx, [ebp - 0x88]
call fcn.0041192e
lea ecx, [ebp - 0x10c]
call fcn.0041192e
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x407a05
push esi
push 0x948
call fcn.0043d0c0
add esp, 4
test eax, eax
je 0x407a04
push eax
call fcn.00403610
mov esi, eax
test esi, esi
je 0x407a04
push 0
push 0x18d
push 0x268
push 0
push 0
push 0x60000
push 0x20000
push 0x458ae0
push 0
mov ecx, esi
call fcn.00412538
push 0x65
mov ecx, esi
call fcn.00411dcf
mov ecx, esi
call fcn.00411cba
push 5
mov ecx, esi
call fcn.00411c84
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0041829f
mov eax, dword [0x462308]
test eax, eax
je 0x4079fe
push eax
call fcn.0043ce7b
add esp, 4
mov dword [0x462308], 0
call dword [sym.imp.ole32.dll_CoUninitialize]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0043bc52
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40d0c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d9b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x45fbf0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push 8
mov dword [esi], ebx
call fcn.0043d0c0
add esp, 4
cmp eax, ebx
je 0x40d1a4
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x18]
push 8
mov dword [edi], ebx
call fcn.0043d0c0
add esp, 4
cmp eax, ebx
je 0x40d180
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [edi]
mov dword [ecx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov eax, 0xf
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
mov word [esi + 0x7c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call fcn.0043bf51
push 0x45c4fc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call fcn.00440170
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], ebx
call fcn.0043bf51
push 0x45c4fc
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 0x2c], vtable.std::bad_alloc.0
call fcn.00440170
int3