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

Disassembly:
push 0xffffffffffffffff
push 0x46fc53
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.004631e3
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_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.0046887c
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00469d98
test eax, eax
je 0x44340c
mov ecx, dword [esp + 0x3c]
call fcn.004688a9
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 0x4433d0
push edi
mov ecx, esi
call fcn.00465f16
mov ecx, esi
call fcn.004435b0
cmp dword [esp + 0x38], 1
jne 0x443405
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.00466051
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 0x4455f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x445623
push esi
call fcn.00448750
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44561c
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 0x4456a9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x445692
mov eax, dword [esi + 8]
test eax, eax
je 0x445647
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 0x44568e
cmp eax, 2
je 0x445692
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44563a
cmp eax, 3
je 0x44566d
cmp eax, 1
jne 0x44563a
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 0x44563a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44563a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004456d0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4456b8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004456d0
add esp, 4
pop esi
ret

Function at 0x463fd9
Capabilities:
Get graphical window text

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

Function at 0x4656d3
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 0x465715
call fcn.0046b183
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 0x465715
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46570c
xor eax, eax
jmp 0x46571d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00465723
pop edi
pop esi
pop ebx
ret 4

Function at 0x46b6b3
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 0x46b6e1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46b6ff
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046b619
jmp 0x46b6ff
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46b6ff
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046b619
test edi, edi
mov eax, edi
jne 0x46b6e9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401220
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
sub esp, 8
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 0x45abbc
push 1
push 0
mov edi, ecx
push 0x45abac
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x40127e
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push eax
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jl 0x40127e
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x1c]
mov esi, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x40128c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40129a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x401cf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401d09
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x401d1d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401d3e
cmp esi, eax
jae 0x401d17
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401d30
cmp esi, eax
jae 0x401d17
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402a80
Capabilities:
Delete directory

Disassembly:
sub esp, 0x20c
mov eax, dword [0x472340]
xor eax, esp
push esi
push edi
mov edi, dword [esp + 0x218]
mov esi, dword [edi + 0x14]
dec esi
test esi, esi
mov dword [esp + 0x210], eax
jle 0x402b20
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea esp, [esp]
mov edx, dword [edi + 0x18]
cmp edx, 8
lea eax, [edi + 4]
jb 0x402abf
mov ecx, dword [eax]
jmp 0x402ac1
mov ecx, eax
cmp word [ecx + esi*2], 0
je 0x402add
cmp edx, 8
jb 0x402acf
mov eax, dword [eax]
cmp word [eax + esi*2], 0x5c
je 0x402add
test esi, esi
je 0x402add
dec esi
jmp 0x402ab3
cmp edx, 8
lea eax, [edi + 4]
jb 0x402ae9
mov ecx, dword [eax]
jmp 0x402aeb
mov ecx, eax
cmp word [ecx + esi*2], 0
je 0x402b1f
test esi, esi
jle 0x402b1f
cmp edx, 8
jb 0x402afd
mov eax, dword [eax]
push esi
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0043606a
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov word [esp + esi*2 + 0x10], 0
call ebp
dec esi
test esi, esi
jg 0x402ab0
pop ebp
mov ecx, dword [esp + 0x210]
pop edi
pop esi
xor ecx, esp
call fcn.004351f1
add esp, 0x20c
ret
Function at 0x402bc0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x456a52
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], vtable.CFont.0
push 0
push 0x45b7e4
push 0x64
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 1
call fcn.004527e5
mov esi, dword [esp + 0x28]
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov edx, dword [esp + 0x38]
push edx
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.0045080c
mov eax, dword [esi]
push 0xf5fe00
mov ecx, esi
call dword [eax + 0x30]
mov edi, dword [esp + 0x34]
mov eax, dword [edi - 0xc]
mov edx, dword [esi]
push 0x25
add ebp, 0x2c8
push ebp
push eax
push edi
mov ecx, esi
call dword [edx + 0x68]
mov ecx, dword [esi + 4]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
mov dword [esp + 0x10], vtable.CGdiObject.0
call fcn.00451003
lea eax, [edi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop edi
pop esi
pop ebp
jg 0x402c9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14
Function at 0x402d40
Capabilities:
Check internet connectivity via wininet

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x456a77
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
push edi
push 0xb3
mov esi, ecx
call fcn.0044ef4a
xor edi, edi
cmp eax, edi
je 0x402d7d
push 0xb3
push eax
lea ecx, [esi + 0x2b8]
call fcn.00408f50
push edi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x402dc2
test byte [esp + 8], 0x20
je 0x402dc2
mov ecx, dword [esi + 0x2b8]
push edi
push 0x45b1a8
push ecx
mov ecx, esi
call fcn.0044a62b
push edi
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
push 0x114
call fcn.0044cda7
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, edi
mov dword [esp + 0x50], edi
je 0x402de4
mov ecx, eax
call fcn.00412f50
jmp 0x402de6
xor eax, eax
push ebx
mov ebx, 7
push 0x45b1b8
mov dword [esp + 0x58], 0xffffffff
mov dword [esi + 0x2c4], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], edi
mov word [esp + 0x38], di
call fcn.00435c89
add esp, 4
push eax
push 0x45b1b8
lea ecx, [esp + 0x38]
call fcn.0040ae10
push 0x45b1bc
mov dword [esp + 0x58], 1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
call fcn.00435c89
add esp, 4
push eax
push 0x45b1bc
lea ecx, [esp + 0x1c]
call fcn.0040ae10
mov ecx, dword [esi + 0x2c4]
mov edx, dword [ecx]
push 0x15
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x471180
mov byte [esp + 0x64], 2
call dword [edx + 0xc]
cmp dword [esp + 0x2c], 8
jb 0x402e89
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0044cdd7
add esp, 4
cmp dword [esp + 0x48], 8
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
mov dword [esp + 0x54], 0xffffffff
jb 0x402eb2
mov edx, dword [esp + 0x34]
push edx
call fcn.0044cdd7
add esp, 4
mov ecx, dword [esi + 0x2c4]
mov eax, dword [ecx]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], edi
mov word [esp + 0x34], di
call dword [eax + 4]
push edi
push edi
push edi
push edi
push str.http:__sd.wasabii.com.tw_launcher_index.aspx
push str._bLLLL
push edi
push edi
push 1
mov dword [esi + 0x300], 0xa
add esi, 0x74
push 0x68
push esi
call fcn.0044cfea
add esp, 0x2c
push 4
push 0x168
push 0x2b6
push 0x69
push 0x35
push edi
mov ecx, esi
call fcn.0044d0fa
mov ecx, dword [esp + 0x4c]
pop ebx
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x402f20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x456a89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x472340]
xor eax, esp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x2c4]
mov edx, dword [esi + 0x38c]
mov dword [esp + 0x20], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
mov dword [esi + 0x2c0], eax
cmp dword [eax + 0x40], 2
jne 0x403018
mov edx, dword [esi + 0x38c]
mov ecx, dword [esi + 0x390]
inc edx
mov eax, edx
cmp ecx, eax
mov dword [esi + 0x38c], edx
jne 0x403018
push 0xffffffffffffffff
push 0
add esi, 0x2e4
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], 0
call fcn.0040a7c0
push str.LuncherUpdater.exe
mov dword [esp + 0x30], 0
call fcn.00435c89
add esp, 4
push eax
push str.LuncherUpdater.exe
lea ecx, [esp + 0xc]
call fcn.0040acf0
mov eax, dword [esp + 0x1c]
mov esi, 8
cmp eax, esi
mov eax, dword [esp + 8]
jae 0x402fe9
lea eax, [esp + 8]
push 1
push 0
push 0
push eax
push 0x45b5b0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [esp + 0x1c], esi
jb 0x403018
mov eax, dword [esp + 8]
push eax
call fcn.0044cdd7
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x20]
pop esi
xor ecx, esp
call fcn.004351f1
add esp, 0x2c
ret

Function at 0x4032c0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x82c
mov eax, dword [0x472340]
push ebx
push esi
xor eax, ebp
push edi
push 0x45b748
mov dword [esp + 0x838], eax
mov esi, ecx
call fcn.00435c89
add esp, 4
push eax
add esi, 0x2e4
push 0x45b748
mov ecx, esi
call fcn.0040ae10
xor ebx, ebx
mov word [esp + 0x218], bx
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x21a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.00454199
mov eax, dword [eax + 8]
push 0x104
lea ecx, [esp + 0x21c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov word [esp + 0x628], bx
mov ecx, 0x81
lea edi, [esp + 0x62a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0x420], bx
mov ecx, 0x81
lea edi, [esp + 0x422]
rep stosd dword es:[edi], eax
push ebx
push ebx
lea edx, [esp + 0x428]
stosw word es:[edi], ax
push edx
lea eax, [esp + 0x634]
push eax
lea ecx, [esp + 0x228]
push ecx
call fcn.00436fe2
xor eax, eax
mov word [esp + 0x24], bx
mov ecx, 0x81
lea edi, [esp + 0x26]
rep stosd dword es:[edi], eax
push ebx
push ebx
lea edx, [esp + 0x43c]
stosw word es:[edi], ax
push edx
lea eax, [esp + 0x648]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00436f31
add esp, 0x28
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [esp + 0x10]
push eax
call fcn.00435c89
lea ecx, [esp + 0x14]
push ecx
mov word [esp + eax*2 + 0x16], bx
call fcn.00435c89
add esp, 8
push eax
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.0040ae10
mov ecx, dword [esp + 0x834]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004351f1
mov esp, ebp
pop ebp
ret
Function at 0x403410
Capabilities:
Create process on windows
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x456ab8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [0x472340]
xor eax, esp
push ebx
push esi
push edi
push str.PatchUpdate.dat
mov dword [esp + 0x48], eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
push 0xffffffffffffffff
push ebx
lea eax, [esi + 0x2e4]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x5c], ebx
call fcn.0040abf0
push 0x45b76c
call fcn.00435c89
add esp, 4
push eax
push 0x45b76c
lea ecx, [esp + 0x30]
call fcn.0040acf0
push str.GOnline.exe
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], bx
call fcn.00435c89
add esp, 4
push eax
push str.GOnline.exe
lea ecx, [esp + 0x14]
call fcn.0040ae10
mov eax, dword [esi + 0x40c]
cmp eax, ebx
mov byte [esp + 0x50], 1
jne 0x4034c9
xor edi, edi
jmp 0x4034e4
mov ecx, dword [esi + 0x410]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
call fcn.0043714a
cdq
idiv edi
mov ecx, dword [esi + 0x40c]
mov edi, 8
imul edx, edx, 0x1c
mov eax, dword [edx + ecx + 0x18]
add edx, ecx
cmp eax, edi
jb 0x403509
mov edx, dword [edx + 4]
jmp 0x40350c
add edx, 4
cmp dword [esp + 0x24], edi
mov eax, dword [esp + 0x10]
jae 0x40351a
lea eax, [esp + 0x10]
push 1
push ebx
push edx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push str.9YOU_SDGO
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
cmp esi, ebx
je 0x40356b
push 0xea60
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x403558
cmp eax, 0x102
jne 0x403564
push ebx
push ebx
push str.Run_Client_Failed
call fcn.00451cac
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [esp + 0x24], edi
jb 0x403585
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0044cdd7
add esp, 4
cmp dword [esp + 0x40], edi
pop edi
pop esi
mov dword [esp + 0x18], ebx
mov word [esp + 8], bx
mov dword [esp + 0x1c], 7
pop ebx
jb 0x4035ac
mov edx, dword [esp + 0x20]
push edx
call fcn.0044cdd7
add esp, 4
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004351f1
add esp, 0x48
ret
Function at 0x411850
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x457534
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [0x4878f8], esi
lea edi, [esi + 0x18]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.004089d0
mov dword [edi + 4], eax
mov byte [eax + 0x4d], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov eax, 7
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], ebx
mov word [esi + 0x3c], bx
mov dword [esi + 0x54], ebx
mov byte [esi + 0x58], bl
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], ebx
mov word [esi + 0x60], bx
lea edi, [esi + 0x78]
mov ecx, edi
mov byte [esp + 0x18], 4
call fcn.00408b50
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], eax
mov byte [eax + 0x2d], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x411fd0
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 8
jb 0x411fdf
mov eax, dword [eax + 4]
jmp 0x411fe2
add eax, 4
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret

Function at 0x412020
Capabilities:
Create directory

Disassembly:
sub esp, 0x20c
mov eax, dword [0x472340]
xor eax, esp
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
push edi
mov edi, dword [esp + 0x21c]
mov dword [esp + 0x214], eax
xor esi, esi
mov edx, dword [edi + 0x18]
cmp edx, 8
lea eax, [edi + 4]
jb 0x412055
mov ecx, dword [eax]
jmp 0x412057
mov ecx, eax
cmp word [ecx + esi*2], 0
je 0x4120c2
mov edi, edi
cmp edx, 8
jb 0x412069
mov ecx, dword [eax]
jmp 0x41206b
mov ecx, eax
cmp word [ecx + esi*2], 0
je 0x412087
cmp edx, 8
jb 0x41207b
mov ecx, dword [eax]
jmp 0x41207d
mov ecx, eax
cmp word [ecx + esi*2], 0x5c
je 0x412087
inc esi
jmp 0x412060
cmp edx, 8
jb 0x412090
mov ecx, dword [eax]
jmp 0x412092
mov ecx, eax
cmp word [ecx + esi*2], 0
je 0x4120c2
cmp edx, 8
jb 0x4120a0
mov eax, dword [eax]
push esi
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0043606a
add esp, 0xc
push 0
lea ecx, [esp + 0x10]
push ecx
mov word [esp + esi*2 + 0x14], 0
call ebp
inc esi
jmp 0x412046
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004351f1
add esp, 0x20c
ret
Function at 0x4161f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x457aba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
xor edi, edi
push edi
mov esi, ecx
push 0x64
push edi
lea ecx, [esi + 0x98]
call fcn.00449075
push edi
push 0x64
push edi
lea ecx, [esi + 0xe8]
call fcn.00449075
push edi
push 0x64
push edi
lea ecx, [esi + 0x138]
call fcn.00449075
push edi
push 4
push edi
lea ecx, [esi + 0x188]
call fcn.00449075
push edi
push 3
push edi
lea ecx, [esi + 0x1d8]
call fcn.00449075
push 0x45bda0
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
call fcn.00435c89
add esp, 4
push eax
push 0x45bda0
lea ecx, [esp + 0x14]
call fcn.0040ae10
lea eax, [esp + 0xc]
push eax
lea ecx, [esi + 0x70]
mov dword [esp + 0x34], edi
call fcn.0041bc80
mov bl, al
mov eax, dword [esp + 0x24]
dec bl
neg bl
sbb bl, bl
inc bl
cmp eax, 8
mov dword [esp + 0x30], 0xffffffff
jb 0x4162c0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0044cdd7
add esp, 4
test bl, bl
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], edi
mov word [esp + 0x10], di
je 0x4162dc
mov ecx, esi
call fcn.00414f30
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x4183a0
Capabilities:
Create directory

Disassembly:
sub esp, 0x204
mov eax, dword [0x472340]
xor eax, esp
push esi
mov esi, ecx
mov dword [esp + 0x204], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4183ce
push eax
call fcn.0043674c
add esp, 4
mov dword [esi + 4], 0
cmp dword [esi + 0x2c], 8
jb 0x4183d9
mov eax, dword [esi + 0x18]
jmp 0x4183dc
lea eax, [esi + 0x18]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esi + 0x48], 8
jb 0x4183f0
mov ecx, dword [esi + 0x34]
jmp 0x4183f3
lea ecx, [esi + 0x34]
cmp dword [esi + 0x2c], 8
jb 0x4183fe
mov eax, dword [esi + 0x18]
jmp 0x418401
lea eax, [esi + 0x18]
mov edx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0xc]
push edx
mov edx, dword [esi + 8]
push edx
push ecx
push eax
lea eax, [esp + 0x18]
push 0x45ca04
push eax
call fcn.004379a2
lea ecx, [esp + 0x20]
push 0x45ca38
push ecx
call fcn.00437adb
add esp, 0x24
test eax, eax
mov dword [esi + 4], eax
pop esi
jne 0x418462
push 0x10
push str.CFileLog::SetWriteFile__
push str.create_file_log_path_directory_is_failed.
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.004351f1
add esp, 0x204
ret
mov ecx, dword [esp + 0x200]
xor ecx, esp
mov al, 1
call fcn.004351f1
add esp, 0x204
ret
Function at 0x4183ad
Capabilities:
Create directory

Disassembly:
sub esp, 0x204
mov eax, dword [0x472340]
xor eax, esp
push esi
mov esi, ecx
mov dword [esp + 0x204], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4183ce
push eax
call fcn.0043674c
add esp, 4
mov dword [esi + 4], 0
cmp dword [esi + 0x2c], 8
jb 0x4183d9
mov eax, dword [esi + 0x18]
jmp 0x4183dc
lea eax, [esi + 0x18]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esi + 0x48], 8
jb 0x4183f0
mov ecx, dword [esi + 0x34]
jmp 0x4183f3
lea ecx, [esi + 0x34]
cmp dword [esi + 0x2c], 8
jb 0x4183fe
mov eax, dword [esi + 0x18]
jmp 0x418401
lea eax, [esi + 0x18]
mov edx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0xc]
push edx
mov edx, dword [esi + 8]
push edx
push ecx
push eax
lea eax, [esp + 0x18]
push 0x45ca04
push eax
call fcn.004379a2
lea ecx, [esp + 0x20]
push 0x45ca38
push ecx
call fcn.00437adb
add esp, 0x24
test eax, eax
mov dword [esi + 4], eax
pop esi
jne 0x418462
push 0x10
push str.CFileLog::SetWriteFile__
push str.create_file_log_path_directory_is_failed.
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.004351f1
add esp, 0x204
ret
mov ecx, dword [esp + 0x200]
xor ecx, esp
mov al, 1
call fcn.004351f1
add esp, 0x204
ret