joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428bb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
push esi
cmp dword [ebx + 0x14], 8
mov eax, ecx
push edi
mov edi, dword [ebx + 0x10]
mov dword [ebp - 4], eax
jb 0x428bce
mov esi, dword [ebx]
jmp 0x428bd0
mov esi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
add edi, edi
je 0x428bf4
jmp 0x428be0
movzx eax, byte [esi + ecx]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, edi
jb 0x428be0
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
mov ecx, esi
and ecx, edx
mov edx, dword [ebp - 4]
cmp dword [edx + 0x18], ecx
ja 0x428c0c
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov esi, dword [edx + 8]
lea edi, [ecx*8]
mov esi, dword [edi + esi]
lea esp, [esp]
mov ecx, dword [edx + 8]
mov eax, dword [edx]
cmp dword [ecx + edi], eax
je 0x428c30
mov eax, dword [ecx + edi + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x428d0d
cmp dword [ebx + 0x14], 8
lea ecx, [esi + 8]
jb 0x428c45
mov eax, dword [ebx]
jmp 0x428c47
mov eax, ebx
push dword [ebx + 0x10]
push eax
push dword [ecx + 0x10]
push ecx
call fcn.0041a6e0
mov edx, dword [ebp - 4]
test eax, eax
je 0x428c5f
mov esi, dword [esi]
jmp 0x428c20
mov eax, dword [edx + 8]
mov ecx, esi
add eax, edi
mov dword [ebp - 0x14], ecx
mov ecx, dword [edx]
mov dword [ebp - 0x10], eax
mov edi, edi
cmp dword [eax], ecx
jne 0x428c78
mov eax, ecx
jmp 0x428c7d
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x428cf2
cmp dword [esi + 0x1c], 8
mov eax, dword [esi + 0x18]
lea edx, [esi + 8]
mov dword [ebp - 8], eax
jb 0x428c92
mov edx, dword [edx]
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xc], eax
jb 0x428ca2
mov edi, dword [ebx]
jmp 0x428ca4
mov edi, ebx
mov ebx, dword [ebp - 8]
cmp eax, ebx
cmovb ebx, eax
test ebx, ebx
jne 0x428cd3
xor eax, eax
test eax, eax
jne 0x428cf2
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
cmp edx, ebx
jb 0x428cf2
cmp edx, ebx
setne al
test eax, eax
jne 0x428cf2
mov esi, dword [esi]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
jmp 0x428c70
mov ax, word [edi]
cmp ax, word [edx]
jne 0x428ce4
add edi, 2
add edx, 2
dec ebx
jmp 0x428cae
movzx eax, word [edi]
cmp ax, word [edx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x428cb2
mov ecx, dword [ebp - 0x14]
cmp ecx, esi
je 0x428d0a
mov eax, dword [ebp + 8]
mov dword [eax + 4], esi
mov dword [eax], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [edx]
pop edi
pop esi
mov dword [eax + 4], ecx
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x428ed0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx edx, byte [edi]
movzx eax, byte [edi + 1]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
mov ecx, dword [ebx + 0x14]
xor edx, eax
movzx eax, byte [edi + 3]
imul edx, edx, 0x1000193
xor edx, eax
imul edx, edx, 0x1000193
mov esi, ecx
and esi, edx
cmp dword [ebx + 0x18], esi
ja 0x428f27
shr ecx, 1
or eax, 0xffffffff
sub eax, ecx
add esi, eax
mov ecx, dword [ebx]
lea eax, [esi*8]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
lea esi, [eax + esi*8]
mov eax, dword [esi]
cmp eax, ecx
jne 0x428f44
mov esi, ecx
jmp 0x428f49
mov esi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x428f5c
mov edx, dword [edi]
nop
mov esi, dword [esi + 4]
cmp dword [esi + 8], edx
je 0x428fa0
cmp esi, eax
jne 0x428f50
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x428f86
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x428fd5
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x428ff7
mov edx, dword [ebp + 0x10]
cmp edx, ecx
je 0x428fc3
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
push edx
mov dword [ecx + 4], eax
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
dec dword [ebx + 4]
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x428fdd
mov dword [ecx], edi
jmp 0x428ff7
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x428ff7
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.004291f0
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x429990
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48374b
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x4c33d0]
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
mov esi, ecx
call fcn.004439f0
test al, al
je 0x429b63
call fcn.0043ab20
mov dword [esi + 0x110], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [esi + 0x114], edx
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.0043afd0
cmp dword [eax + 0x14], 8
jb 0x429a0f
mov eax, dword [eax]
push str.testmode.ini
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp dword [ebp - 0x21c], 8
jb 0x429a3a
push dword [ebp - 0x230]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
je 0x429b3d
push 0x208
lea eax, [ebp - 0x43c]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x43c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x43c]
push eax
mov dword [ebp - 4], 0
call ebx
test eax, eax
jne 0x429aa6
lea edi, [eax + 5]
jmp 0x429ac1
lea eax, [ebp - 0x43c]
push eax
push 5
push str.silence_check_time
push str.Traytest
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
lea eax, [ebp - 0x43c]
push eax
call ebx
test eax, eax
jne 0x429ad5
mov eax, 0x1e
jmp 0x429aee
lea eax, [ebp - 0x43c]
push eax
push 0x1e
push str.silence_init_check_time
push str.Traytest
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x100], eax
lea eax, [ebp - 0x43c]
push eax
call ebx
test eax, eax
jne 0x429b15
imul edi, edi, 0x3e8
mov eax, 0x3c
mov dword [esi + 0xfc], eax
push edi
jmp 0x429b56
lea eax, [ebp - 0x43c]
push eax
push 0x3c
push str.silence_running_check_time
push str.Traytest
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
imul edi, edi, 0x3e8
mov dword [esi + 0xfc], eax
push edi
jmp 0x429b56
mov dword [esi + 0x100], 0xe10
mov dword [esi + 0xfc], 0x2a30
push 0x493e0
push 0x7d5
mov ecx, esi
call dword [sym.imp.ouilibx.dll_public:_bool___thiscall_OUI::COVWnd::SetTimer_unsigned_int__unsigned_int_]
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.0047cd06
mov esp, ebp
pop ebp
ret
Function at 0x42b2e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48365c
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x4c33d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call sub.MSVCR110.dll_memset
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x810]
push 0x400
push eax
call dword [sym.imp.MSVCR110.dll_vswprintf_s]
add esp, 0x1c
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x814]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::constructor_wchar_t_const__]
push 0x48fcb8
push str.openurl
lea ecx, [ebp - 0x814]
mov dword [ebp - 4], 0
call dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::COString::Replace_wchar_t_const___wchar_t_const__]
push 0
lea ecx, [ebp - 0x814]
call dword [sym.imp.ouilibx.dll_public:_wchar_t____thiscall_OUI::COString::GetBuffer_int_]
mov ecx, dword [0x4ca61c]
mov esi, eax
test cl, 1
jne 0x42b39c
or ecx, 1
push 0x489120
mov dword [0x4ca61c], ecx
call fcn.0047ce4d
add esp, 4
call fcn.00460b40
push 1
push 0
cmp eax, 9
jl 0x42b3b2
push esi
push str.iexplore.exe
jmp 0x42b3b5
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x814]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047cd06
mov esp, ebp
pop ebp
ret

Function at 0x42c610
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
call fcn.004439f0
test al, al
jne 0x42c6b4
push ebx
push esi
movzx esi, word [ebp + 8]
push esi
push dword [0x4c9788]
call dword [sym.imp.USER32.dll_LoadIconW]
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [0x4ca6f8]
test cl, 1
jne 0x42c666
or ecx, 1
mov dword [0x4ca6f8], ecx
call fcn.00460150
push 0x488fb0
call fcn.0047ce4d
add esp, 4
push ebx
push ecx
push esi
mov ecx, edi
call dword [sym.imp.ouilibx.dll_public:_struct_HWND____const___thiscall_OUI::COVWnd::GetSafeHwnd_void_]
push eax
mov ecx, 0x4ca700
call fcn.00460240
mov esi, eax
push esi
push str.CreateSysTray__return__d
push 0xffffffffffffffff
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLog]
add esp, 0xc
test esi, esi
pop esi
pop ebx
jne 0x42c6b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x42c6b4
push 0x7d0
push 0x7d6
mov ecx, edi
call dword [sym.imp.ouilibx.dll_public:_bool___thiscall_OUI::COVWnd::SetTimer_unsigned_int__unsigned_int_]
pop edi
pop ebp
ret 4
Function at 0x42e2f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x4c33d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
mov bl, cl
call sub.MSVCR110.dll_memset
mov eax, dword [0x4c9770]
add esp, 0xc
test al, 1
jne 0x42e342
or eax, 1
push 0x488dc0
mov dword [0x4c9770], eax
call fcn.0047ce4d
add esp, 4
sub esp, 8
lea eax, [ebp - 0x414]
push eax
call fcn.0045a650
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
push str.preference.ini
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x18
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42e3f2
push eax
push eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x42e3f2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
push eax
push str.suspend_open
push str.suspend
lea ecx, [ebp - 0x620]
call fcn.0045e660
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0047cd06
mov esp, ebp
pop ebp
ret
Function at 0x42e420
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x4c33d0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [0x4c9770]
add esp, 0xc
test al, 1
jne 0x42e46f
or eax, 1
push 0x488dc0
mov dword [0x4c9770], eax
call fcn.0047ce4d
add esp, 4
sub esp, 8
lea eax, [ebp - 0x414]
push eax
call fcn.0045a650
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
push str.preference.ini
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x18
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42e51f
push eax
push eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x42e51f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42e548
mov eax, 1
cmp eax, eax
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd06
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x61c]
push eax
push 1
push str.suspend_open
push str.suspend
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
cmp eax, 1
sete al
xor ecx, ebp
call fcn.0047cd06
mov esp, ebp
pop ebp
ret
Function at 0x43a4a0
Capabilities:
Create directory

Disassembly:
push 0x208
xor eax, eax
push 0x4c97c0
push eax
mov dword [0x4c9bd0], 0
mov word [0x4c97c0], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push 0x4c97c0
call dword [sym.imp.MSVCR110.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x43a4dd
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, 0x4c97c0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a4e5
push esi
push edi
mov edi, dword [sym.imp.MSVCR110.dll_wcscat_s]
sub ecx, edx
sar ecx, 1
mov esi, 0x208
mov eax, esi
sub eax, ecx
push 0x4a1c78
push eax
lea eax, [ecx*2 + 0x4c97c0]
push eax
call edi
add esp, 0xc
push 0
push 0x4c97c0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, 0x4c97c0
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a530
sub ecx, edx
sar ecx, 1
mov eax, esi
sub eax, ecx
push 0x491ab4
push eax
lea eax, [ecx*2 + 0x4c97c0]
push eax
call edi
mov ecx, 0x4c97c0
add esp, 0xc
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a560
sub ecx, edx
sar ecx, 1
push str.iSafeTray
sub esi, ecx
lea eax, [ecx*2 + 0x4c97c0]
push esi
push eax
call edi
add esp, 0xc
push 0x43a2a0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
pop edi
mov dword [0x4c97bc], eax
mov dword [0x4c9bd4], 1
mov al, 1
pop esi
ret
Function at 0x43a680
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x4c33d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4c70e4]
cmp eax, 0xffffffff
jne 0x43a873
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR110.dll_memset
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call dword [sym.imp.MSVCR110.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x43a70a
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
push 0x4a1c90
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscat_s]
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43a76b
mov dword [0x4c70e4], 1
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd06
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov dword [0x4c70e4], 0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x20c]
call fcn.0043a5b0
test eax, eax
je 0x43a86e
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call sub.MSVCR110.dll_memset
push 0x208
lea eax, [ebp - 0x824]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x24
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43a833
lea eax, [ebp - 0x824]
push eax
push 0x104
lea eax, [ebp - 0x61c]
push eax
push 0x48fcb8
push str.promote
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x61c]
push 0x4a1cb8
push eax
call dword [sym.imp.MSVCR110.dll__wcsicmp]
mov ecx, dword [0x4c70e4]
add esp, 8
test eax, eax
mov edx, 1
cmove ecx, edx
mov dword [0x4c70e4], ecx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd06
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4c70e4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd06
mov esp, ebp
pop ebp
ret
Function at 0x43ab20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4c33d0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x210]
call fcn.0043a5b0
test eax, eax
jne 0x43ab72
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd06
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43ab60
push 0x208
lea eax, [ebp - 0x41c]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x41c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 8
lea ecx, [ebp - 0x420]
call fcn.0045e700
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd06
mov esp, ebp
pop ebp
ret

Function at 0x43ae00
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x4c33d0]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.0043a680
test eax, eax
je 0x43ae2f
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd06
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x414]
call fcn.0043a5b0
test eax, eax
je 0x43af28
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x24
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43aeed
lea eax, [ebp - 0x61c]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x48fcb8
push str.promote
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
push 0x4a1cb8
push eax
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x43ae1c
lea eax, [ebp - 0x20c]
push 0x4a1d34
push eax
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
mov eax, 3
je 0x43af2d
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cd06
mov esp, ebp
pop ebp
ret
Function at 0x43b3c0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485028
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4c33d0]
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
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x43b3f7
mov edi, dword [esi]
jmp 0x43b3f9
mov edi, esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43b40c
shr al, 4
and al, 1
jmp 0x43b488
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.0043b1e0
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x43b427
mov eax, dword [esi]
jmp 0x43b429
mov eax, esi
push dword [esi + 0x10]
push eax
push dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0041a6e0
test eax, eax
je 0x43b472
lea ecx, [ebp - 0x28]
call fcn.0043b3c0
test al, al
je 0x43b472
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x43b46e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43b472
mov ecx, esi
call fcn.0043b370
test al, al
je 0x43b472
mov bl, 1
jmp 0x43b474
xor bl, bl
cmp dword [ebp - 0x14], 8
jb 0x43b486
push dword [ebp - 0x28]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
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.0047cd06
mov esp, ebp
pop ebp
ret
Function at 0x43b4b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c33d0]
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
mov ebx, edx
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
push eax
push 0x400
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.0043b700
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebx + 0x14], 8
jb 0x43b520
mov eax, dword [ebx]
jmp 0x43b522
mov eax, ebx
push 0x400
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x43b552
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], eax
push ebx
mov ecx, edi
mov word [edi], ax
call fcn.004019d0
jmp 0x43b5da
cmp esi, 0x400
jbe 0x43b5a4
mov ecx, dword [ebp - 0x18]
cmp esi, ecx
ja 0x43b577
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov dword [ebp - 0x18], esi
mov word [eax + esi*2], cx
jmp 0x43b586
mov eax, esi
sub eax, ecx
push 0
push eax
lea ecx, [ebp - 0x28]
call fcn.0043b700
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [ebx + 0x14], 8
jb 0x43b599
mov ebx, dword [ebx]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
mov eax, dword [ebp - 0x18]
dec esi
cmp esi, eax
ja 0x43b5c2
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov dword [ebp - 0x18], esi
mov word [eax + esi*2], cx
jmp 0x43b5cf
push 0
sub esi, eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0043b700
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.0040e240
cmp dword [ebp - 0x14], 8
jb 0x43b5ec
push dword [ebp - 0x28]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
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.0047cd06
mov esp, ebp
pop ebp
ret