joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408570
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, ecx
call fcn.00407000
cmp dword [edi + 0x40], 0
mov esi, eax
je 0x4085b9
test esi, esi
je 0x4085b9
cmp dword [esi + 0x60], 0
je 0x4085b9
push 1
mov ecx, edi
call dword [sym.imp.ouilibx.dll_public:_bool___thiscall_OUI::COVWnd::IsWindowVisible_bool_const]
test al, al
je 0x4085a9
push 5
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov al, 1
pop esi
ret
push 0
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov al, 1
pop esi
ret
pop edi
xor al, al
pop esi
ret
Function at 0x410ec0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f1e8
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x45d070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x21c], 0
xor eax, eax
push 0x206
mov dword [ebp - 4], 0
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [sym.Gamebox.exe____B_1__GetInstance___CSingleton_VCOPathManager___oopa__SAPAVCOPathManager__XZ_51]
add esp, 0xc
cmp dword [ebp + 0x20], 8
lea edi, [ebp + 0xc]
cmovae edi, dword [ebp + 0xc]
test al, 1
jne 0x410f48
or eax, 1
push 0x4427b0
mov dword [sym.Gamebox.exe____B_1__GetInstance___CSingleton_VCOPathManager___oopa__SAPAVCOPathManager__XZ_51], eax
call fcn.0043be9d
add esp, 4
push edi
push sym.Gamebox.exe_class_COPathManager__public:_static_class_COPathManager____cdecl_oopa::CSingleton_class_COPathManager_::GetInstance_void_::_2::inst
push str._scache_s.swf
lea eax, [ebp - 0x218]
push 0x208
push eax
call fcn.00401810
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
test eax, eax
je 0x410fc9
xor eax, eax
mov word [esi], ax
cmp word [ebp - 0x218], ax
jne 0x410fa0
xor ecx, ecx
push ecx
lea eax, [ebp - 0x218]
push eax
jmp 0x410fd5
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410fb0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
jmp 0x410fd5
xor eax, eax
push 9
mov word [esi], ax
push str.not_exist
mov ecx, esi
call fcn.00405db0
cmp dword [ebp + 0x20], 8
jb 0x410fee
push dword [ebp + 0xc]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
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.0043bd5c
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4114d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f223
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x45d070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
push 0x206
mov dword [ebp - 4], 0
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esi, 0x24
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x41152f
mov esi, dword [esi]
push str.cache_
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x41156c
xor ecx, ecx
jmp 0x411584
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411575
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00405db0
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.004052d0
push 4
push str..swf
lea ecx, [ebp - 0x230]
call fcn.00403750
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
test eax, eax
setne bl
cmp dword [ebp - 0x21c], 8
jb 0x4115fa
push dword [ebp - 0x230]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
jb 0x411625
push dword [ebp + 8]
call esi
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043bd5c
mov esp, ebp
pop ebp
ret 0x18
Function at 0x411650
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f223
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x45d070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
push 0x206
mov dword [ebp - 4], 0
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esi, 0x24
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x4116af
mov esi, dword [esi]
push str.icons_
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x4116ec
xor ecx, ecx
jmp 0x411704
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4116f5
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00405db0
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.004052d0
push 4
push str..ico
lea ecx, [ebp - 0x230]
call fcn.00403750
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
test eax, eax
setne bl
cmp dword [ebp - 0x21c], 8
jb 0x41177a
push dword [ebp - 0x230]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
jb 0x4117a5
push dword [ebp + 8]
call esi
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043bd5c
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4150b0
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f818
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x45d070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
test eax, eax
jne 0x415113
push 0x4450f0
mov ecx, ebx
call fcn.00405db0
jmp 0x41526c
cmp dword [ebp + 0x1c], 8
push 0x80
push 4
push 0
push 0
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x28], esi
cmp esi, 0xffffffff
je 0x41526c
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x415265
test ebx, ebx
je 0x415265
lea eax, [ebx + 1]
push eax
mov byte [ebp - 4], 1
call fcn.0042ec4b
add esp, 4
mov edi, eax
lea eax, [ebx + 1]
push eax
push 0
push edi
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x18]
push 0
push eax
push ebx
push edi
push esi
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0
push ebx
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4151c7
push edi
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.00402fd0
jmp 0x41527e
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042ec4b
mov ecx, dword [ebp - 0x1c]
add esp, 4
lea ecx, [ecx*2 + 2]
push ecx
push 0
push eax
mov dword [ebp - 0x20], eax
call sub.MSVCR110.dll_memset
add esp, 0xc
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
push ebx
call fcn.00403150
test edi, edi
je 0x41522a
push edi
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
call edi
add esp, 4
jmp 0x415230
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
test ebx, ebx
je 0x415254
push ebx
call edi
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.00402fd0
jmp 0x41527e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.00402fd0
jmp 0x41527e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x1c], 8
jb 0x41527e
push dword [ebp + 8]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043bd5c
mov esp, ebp
pop ebp
ret
Function at 0x4152a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f850
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x45d070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
test esi, esi
jne 0x4152ef
cmp dword [ebp + 0x1c], 8
jb 0x41539b
push dword [ebp + 8]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jmp 0x415398
cmp dword [ebp + 0x1c], 8
push 0
push 0x80
push 4
push 0
push 0
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4152d7
push esi
lea ecx, [ebp - 0x44]
call fcn.00405eb0
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.004201c0
cmp dword [ebp - 0x30], 8
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x415346
push dword [ebp - 0x44]
call esi
add esp, 4
mov ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 0x10
push 0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
push edi
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 0x10
jb 0x41537b
push dword [ebp - 0x2c]
call esi
add esp, 4
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jb 0x41539b
push dword [ebp + 8]
call esi
add esp, 4
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.0043bd5c
mov esp, ebp
pop ebp
ret

Function at 0x4153c0
Capabilities:
Check if file exists
Get file size

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 8
push esi
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41541a
cmp dword [ebp + 0x1c], 8
push 0
push 0x80
push 4
push 0
push 0
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41541a
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41541c
xor esi, esi
cmp dword [ebp + 0x1c], 8
jb 0x41542e
push dword [ebp + 8]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x41da20
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x45d070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41da58
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bd5c
mov esp, ebp
pop ebp
ret 4
push ebx
push edi
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
mov dword [ebp - 0x230], 0x22c
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41dadd
mov ebx, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
mov eax, ebx
lea ecx, [ebp - 0x20c]
lea ecx, [ecx]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x41dac6
test dx, dx
je 0x41dac2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x41dac6
add ecx, 4
add eax, 4
test dx, dx
jne 0x41daa0
xor eax, eax
jmp 0x41dacb
sbb eax, eax
or eax, 1
test eax, eax
je 0x41daf9
lea eax, [ebp - 0x230]
push eax
push esi
call edi
test eax, eax
jne 0x41da95
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bd5c
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop ebx
xor ecx, ebp
mov eax, 1
pop esi
call fcn.0043bd5c
mov esp, ebp
pop ebp
ret 4

Function at 0x41e0d0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4404d8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x45d070]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
push ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0xc]
push eax
push 4
push dword [ebp + 8]
mov dword [esp + 0x2c], 0
push 0x41def0
push 0
push 0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [ebp + 8]
lea ecx, [ebx + 0x20]
mov edi, eax
call fcn.0041e990
push edi
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41e3d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
xor edi, edi
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0x41e490
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x41e404
dec edi
jmp 0x41e472
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + 4]
mov esi, edx
cmp byte [eax + 0xd], 0
jne 0x41e42a
cmp dword [eax + 0x10], ecx
jae 0x41e420
mov eax, dword [eax + 8]
jmp 0x41e424
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x41e416
cmp esi, edx
je 0x41e433
cmp ecx, dword [esi + 0x10]
jae 0x41e46b
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
lea ecx, [ecx + 0x20]
mov dword [esp + 0x20], 0
call fcn.00404db0
mov ecx, dword [esp + 0xc]
push eax
add eax, 0x10
push eax
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [ecx + 0x20]
call fcn.0041ee00
mov esi, dword [esp + 0x14]
mov dword [esi + 0x14], ebx
mov esi, dword [esp + 0xc]
inc edi
cmp edi, 4
jl 0x41e3e4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x420780
Capabilities:
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push 1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x24]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x4e20
push 0
push 0
push 0xff
push 6
push 1
push str..pipeGlobalgameboxEEE47B6B_E711_43FF_BEED_E546CE2106C8337_
mov dword [ebp - 0x10], 0xc
mov dword [ebp - 8], 1
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov esi, eax
test esi, esi
jne 0x420821
mov eax, dword [0x46133c]
test al, 1
jne 0x4207fc
or eax, 1
push 0x442be0
mov dword [0x46133c], eax
call fcn.0043be9d
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str..pipeGlobalgameboxEEE47B6B_E711_43FF_BEED_E546CE2106C8337_
push str.Create_pipe___s__failed__error___d_n
push 0x461338
call fcn.0042ae60
add esp, 0x10
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 8
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x420840
xorps xmm0, xmm0
movq qword [eax], xmm0
jmp 0x420842
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push 0x420440
push 0
push 0
mov dword [eax], esi
mov dword [eax + 4], 0x402aa0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x420874
mov eax, dword [ebp - 4]
mov dword [ecx], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x420c30
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x420c7f
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x420c7f
mov eax, dword [0x46133c]
test al, 1
jne 0x420c68
or eax, 1
push 0x442be0
mov dword [0x46133c], eax
call fcn.0043be9d
add esp, 4
push esi
push str.Failed_to_create_directory_:__s
push 0x461338
call fcn.0042ae60
add esp, 0xc
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
Function at 0x420c90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44071c
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x45d070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x461334]
mov esi, 0x409
mov dword [ebp - 0x7c], 0
test al, 1
jne 0x420cfa
or eax, 1
mov dword [0x461334], eax
mov dword [ebp - 4], 0
call fcn.0042b4b0
push 0x442bd0
call fcn.0043be9d
add esp, 4
mov dword [ebp - 4], 0xffffffff
push ecx
lea eax, [ebp - 0x78]
push eax
mov ecx, 0x461304
call fcn.0041d9b0
cmp dword [eax + 0x14], 8
jb 0x420d11
mov eax, dword [eax]
lea ecx, [ebp - 0x7c]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp dword [ebp - 0x64], 8
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x420d35
push dword [ebp - 0x78]
call edi
add esp, 4
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x420de2
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push 0
push str.language
push eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x80], 4
mov dword [ebp - 0x84], 4
call edi
test eax, eax
jne 0x420d8c
mov esi, dword [ebp - 0x88]
jmp 0x420e90
xor eax, eax
push 0x4e
push eax
mov word [ebp - 0x60], ax
lea eax, [ebp - 0x5e]
push eax
mov dword [ebp - 0x84], 0x28
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push str.language
push dword [ebp - 0x7c]
call edi
test eax, eax
jne 0x420e90
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVCR110.dll__wtoi]
add esp, 4
mov esi, eax
jmp 0x420e90
mov eax, dword [0x461334]
test al, 1
jne 0x420e13
or eax, 1
mov dword [0x461334], eax
mov dword [ebp - 4], 1
call fcn.0042b4b0
push 0x442bd0
call fcn.0043be9d
add esp, 4
mov dword [ebp - 4], 0xffffffff
push ecx
lea eax, [ebp - 0x78]
push eax
mov ecx, 0x461304
call fcn.0041d9b0
cmp dword [eax + 0x14], 8
jb 0x420e2a
mov eax, dword [eax]
lea ecx, [ebp - 0x7c]
push ecx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp dword [ebp - 0x64], 8
jb 0x420e48
push dword [ebp - 0x78]
call edi
add esp, 4
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x420e99
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x84]
push ecx
push 0
push str.language
push eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 4
mov dword [ebp - 0x88], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
cmove esi, dword [ebp - 0x80]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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.0043bd5c
mov esp, ebp
pop ebp
ret
Function at 0x420f30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
push 0x208
lea edi, [esi + 4]
push 0
push edi
mov dword [esi], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
push dword [ebp + 8]
push 0x104
push edi
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x18
cmp byte [ebp + 0xc], 0
je 0x420f8a
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x420f8a
push eax
push eax
push 1
push eax
push eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x420f8a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x429850
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp edi, 0xffffffff
jne 0x429881
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [esp + 8], esi
call fcn.0043d660
mov dword [esp + 0xc], eax
test esi, esi
jne 0x429889
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, 0x44e108
lea ecx, [esp + 8]
call fcn.004296f0
int3

Function at 0x429a10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441740
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x45d070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.MSVCR110.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [ebp - 4], 0
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00405700
mov dword [ebp - 4], 1
mov dword [esi + 0x2c], vtable.boost::exception.0
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x429a9b
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
mov dword [esi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4