joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ee46
Capabilities:
Check if file exists
Delete file
Get common file path
Read .ini file

Disassembly:
push 0x218
mov eax, 0x59a61b
call fcn.004485f1
mov ebx, ecx
push 0xba
call fcn.00406dcd
mov ecx, eax
call fcn.00407de7
mov esi, eax
call fcn.004059a6
mov ecx, eax
call fcn.0044a301
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test esi, esi
jne 0x40eea3
push eax
push 0
push 0x5a0e74
push str.UserLogin
call edi
mov esi, eax
push esi
push 0xba
call fcn.00406dcd
mov ecx, eax
call fcn.0040a60f
call fcn.0042619e
push eax
lea ecx, [ebp - 0x220]
call fcn.0040cf55
and dword [ebp - 4], 0
push esi
push str.SWMutual.exe
call fcn.004059a6
mov ecx, eax
call fcn.0044a202
push eax
lea eax, [ebp - 0x220]
push str.__s_s__UpUserCfgSet__d
push eax
call fcn.0040f0fa
mov esi, dword [ebp - 0x220]
add esp, 0x14
cmp dword [esi - 4], 1
jle 0x40eeff
push dword [esi - 0xc]
lea ecx, [ebp - 0x220]
call fcn.0040f08e
mov esi, dword [ebp - 0x220]
push esi
call fcn.00455aff
mov dword [esp], 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0045ef40
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040de44
push str.MutualTempFile.ini
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.0040e0c7
push dword [ebp - 0x21c]
push 0
push str.UpUserCfg
push str.MutualTempFile
call edi
push dword [ebp - 0x21c]
mov dword [ebx + 0x2e4], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40ef8b
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebx + 0x2e4], 0
push 0x2f0
je 0x40efb1
call fcn.0041a93f
pop ecx
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x40efd4
push 1
jmp 0x40efc7
call fcn.0041a93f
pop ecx
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x40efd4
push 0
push 1
mov ecx, eax
call fcn.0040d843
mov edi, eax
jmp 0x40efd6
xor edi, edi
xor eax, eax
mov byte [ebp - 4], 1
push eax
push eax
push eax
push eax
push eax
push eax
push 0x96c80000
push 0x608fd4
lea ecx, [ebx + 0x2c]
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const]
push eax
mov ecx, edi
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
mov ecx, edi
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CWindowWnd::CenterWindow_void_]
mov ecx, edi
call dword [sym.imp.DuiLib32.dll_public:_unsigned_int___thiscall_DuiLib::CWindowWnd::ShowModal_void_]
test edi, edi
je 0x40f01b
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x14]
push 1
mov ecx, ebx
call fcn.004106fe
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.0040d2df
lea ecx, [esi - 0x10]
call fcn.0040d2df
xor eax, eax
inc eax
call fcn.0044859b
ret
Function at 0x40ff26
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
sub eax, 0x3ea
je 0x40ff66
sub eax, 1
je 0x40ff54
sub eax, 1
je 0x40ff4d
sub eax, 1
jne 0x40ff85
call fcn.00410263
jmp 0x40ff85
call fcn.0040fffd
jmp 0x40ff85
xor esi, esi
push esi
call fcn.004106fe
push esi
push esi
push edi
push 0x40f043
jmp 0x40ff76
xor esi, esi
push esi
call fcn.004106fe
push esi
push esi
push edi
push 0x4108ae
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
ret 4

Function at 0x4100b9
Capabilities:
Create thread

Disassembly:
push 0x88
mov eax, 0x599f5a
call fcn.004485f1
mov edi, ecx
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x94]
push edx
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x108]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp eax, dword [edi + 0x334]
jne 0x410117
push 1
mov ecx, edi
call fcn.0040ede4
push 2
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 1
call fcn.00410865
mov ecx, eax
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CWindowWnd::Close_unsigned_int_]
jmp 0x410233
cmp eax, dword [edi + 0x338]
jne 0x410134
push ebx
mov ecx, edi
call fcn.004106fe
push ebx
push ebx
push edi
push 0x4106b0
jmp 0x4101e6
cmp eax, dword [edi + 0x33c]
jne 0x4101a6
push ebx
push 0x5a
call fcn.00406dcd
mov ecx, eax
call fcn.0040a60f
push ebx
push 0xba
call fcn.00406dcd
mov ecx, eax
call fcn.0040a60f
push ebx
push 0xbc
call fcn.00406dcd
mov ecx, eax
call fcn.0040a60f
push 0x608fd4
push 0xbe
call fcn.00406dcd
mov ecx, eax
call fcn.0040a673
call fcn.00406dcd
mov ecx, eax
call fcn.0040a3ba
push 0xffffffffffffffff
mov ecx, edi
call fcn.0040ede4
mov ecx, edi
call fcn.00410263
jmp 0x410233
cmp eax, dword [edi + 0x340]
jne 0x4101b5
mov esi, str.UpUserMB
jmp 0x4101c2
cmp eax, dword [edi + 0x344]
jne 0x4101f7
mov esi, str.DownUserMB
push esi
call fcn.00462b51
pop ecx
push eax
push esi
lea ecx, [edi + 0x2ec]
call fcn.00401ea0
push ebx
mov ecx, edi
call fcn.004106fe
push ebx
push ebx
push edi
push 0x40eda7
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x410233
cmp eax, dword [edi + 0x348]
jne 0x410206
push 0x3ea
jmp 0x410213
cmp eax, dword [edi + 0x34c]
jne 0x41021c
push 0x3eb
mov ecx, edi
call fcn.0040ff26
jmp 0x410233
cmp eax, dword [edi + 0x328]
je 0x41022c
cmp eax, dword [edi + 0x32c]
jne 0x410233
mov ecx, edi
call fcn.004105ad
push str.OnBind
lea ecx, [ebp - 0x94]
call dword [sym.imp.DuiLib32.dll_public:_bool___thiscall_DuiLib::CDuiString::operator_wchar_t_const__const]
test al, al
je 0x41024f
mov ecx, edi
call fcn.0040ff8b
lea ecx, [ebp - 0x94]
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
call fcn.0044859b
ret 4
Function at 0x415766
Capabilities:
Read .ini file

Disassembly:
push 0x158
mov eax, 0x59afd2
call fcn.004485f1
mov dword [ebp - 0x164], ecx
push 0x104
xor ebx, ebx
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.0045ef40
add esp, 0xc
call fcn.004059a6
mov ecx, eax
call fcn.0044a301
push 0xba
mov edi, eax
call fcn.00406dcd
mov ecx, eax
call fcn.00407de7
mov esi, eax
test esi, esi
jne 0x4157dd
push edi
push ebx
push 0x5a0e74
push str.UserLogin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
push esi
push 0xba
call fcn.00406dcd
mov ecx, eax
call fcn.0040a60f
push str.http:__theuser.znyshurufa.com_user_mutual_member_getuserinfo.php
lea ecx, [ebp - 0x12c]
call fcn.0040a830
push 0x34
mov dword [ebp - 4], ebx
call fcn.0041a93f
pop ecx
mov dword [ebp - 0x160], eax
xor ecx, ecx
inc ecx
mov byte [ebp - 4], cl
test eax, eax
je 0x415813
mov ecx, eax
call fcn.00450527
mov edi, eax
jmp 0x415815
mov edi, ebx
push esi
lea eax, [ebp - 0x114]
mov byte [ebp - 4], bl
push 0x5a3a50
push eax
call fcn.0040c605
add esp, 0xc
lea ecx, [ebp - 0x15c]
call fcn.00413d13
mov esi, 0x5a5c14
mov byte [ebp - 4], 2
push esi
call fcn.0046bc40
pop ecx
push eax
push esi
lea ecx, [ebp - 0x15c]
call fcn.0040c2e7
cmp byte [ebp - 0x114], 0
jne 0x415862
mov eax, ebx
jmp 0x41586f
lea eax, [ebp - 0x114]
push eax
call fcn.0046bc40
pop ecx
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x144]
call fcn.0040c2e7
lea eax, [ebp - 0x15c]
mov ecx, edi
push eax
call fcn.004508e0
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
mov ecx, edi
cmovae eax, dword [ebp - 0x12c]
push eax
call fcn.00450775
mov ecx, edi
call fcn.00450ae9
push 1
mov dword [ebp - 0x160], eax
mov esi, dword [eax + 4]
sub esi, dword [eax]
pop eax
cmove esi, eax
add esi, 2
push esi
call fcn.0041a976
push esi
mov ebx, eax
push 0
push ebx
call fcn.0045ef40
mov esi, dword [ebp - 0x160]
add esp, 0x10
xor edx, edx
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
je 0x4158fc
mov eax, dword [esi]
mov al, byte [edx + eax]
mov byte [edx + ebx], al
inc edx
mov eax, dword [esi + 4]
sub eax, dword [esi]
cmp edx, eax
jb 0x4158ea
xor esi, esi
inc esi
test edi, edi
je 0x41590a
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax]
test ebx, ebx
je 0x415921
mov ecx, dword [ebp - 0x164]
push ebx
call fcn.00413f69
push ebx
call fcn.0041a97f
pop ecx
lea ecx, [ebp - 0x15c]
call fcn.00413def
push 0
push esi
lea ecx, [ebp - 0x12c]
call fcn.00405c42
xor eax, eax
call fcn.0044859b
ret
Function at 0x415b8f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push ecx
push 0x415bc8
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [ebp + 8], 0
mov esi, eax
je 0x415bba
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41a2e0
Capabilities:
Read .ini file

Disassembly:
push 0x224
mov eax, 0x59a6c0
call fcn.004485f1
mov esi, ecx
call fcn.004059a6
mov ecx, eax
call fcn.0044a301
push eax
lea ecx, [ebp - 0x230]
call fcn.00401d40
and dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.0045ef40
add esp, 0xc
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x608fd4
push 0x5a3f38
push str.UserLogin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x41a367
xor eax, eax
jmp 0x41a374
lea eax, [ebp - 0x218]
push eax
call fcn.00462b51
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00401ea0
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00401de0
xor eax, eax
inc eax
call fcn.0044859b
ret

Function at 0x41dac9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x41db0e
call fcn.0041b131
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41db0e
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x41db2a
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041a40a
mov ebx, eax
test edi, edi
je 0x41db28
test esi, esi
je 0x41db28
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41e6c4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x41e782
cmp dword [esi + 0x20], 0
je 0x41e782
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41e782
cmp dword [ebp + 8], 0
je 0x41e782
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.0041b131
push 0x5aa3b8
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x41e753
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41e782
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.0043acab
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x41e773
test edi, edi
je 0x41e773
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x41e77e
mov ecx, esi
call fcn.0041e467
mov eax, ebx
jmp 0x41e784
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x422e45
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x59d3e9
call fcn.004485bd
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x422e6b
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x422eca
call fcn.0042619e
push eax
lea ecx, [ebp - 0x10]
call fcn.0040cf55
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.00448bfd
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0046c936
push eax
call fcn.0040e09d
add esp, 0x14
test esi, esi
je 0x422ebd
push esi
call fcn.00462b51
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040d2df
mov eax, ebx
call fcn.00448586
ret 8

Function at 0x434861
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov eax, ecx
push edi
mov edi, esi
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x4348ab
call fcn.0041b131
push 0xf0
push dword [ebp + 0xc]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4348a8
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4348f9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test esi, esi
je 0x4348d7
mov ecx, dword [eax]
push dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call fcn.00448bfd
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
test edi, edi
je 0x4348d7
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x4348f7
mov eax, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [eax + 0xa0]
mov ecx, esi
call fcn.00448bfd
mov ecx, edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4369da
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x59c5dc
call fcn.004485bd
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x10]
xor edi, edi
mov ecx, dword [ebp + 0x14]
push edi
mov dword [ebx], edi
mov dword [ecx], edi
cmp dword [eax + 0x58], edi
je 0x436a84
push dword [ebp + 8]
mov ecx, eax
call fcn.00436d12
mov esi, eax
test esi, esi
je 0x436b17
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], edi
push eax
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
test eax, eax
jne 0x436a6d
push edx
call fcn.0041a976
pop ecx
lea ecx, [ebp - 0x14]
mov dword [ebx], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x436a6d
xor edi, edi
inc edi
jmp 0x436a77
push dword [ebx]
call fcn.0041a97f
pop ecx
mov dword [ebx], edi
lea ecx, [ebp - 0x24]
call fcn.004368fd
jmp 0x436b15
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [esi + 0x84]
mov ecx, esi
push eax
call fcn.00448bfd
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov esi, dword [eax - 0xc]
mov dword [ebp - 0x18], esi
test esi, esi
je 0x436b0d
mov ecx, dword [ebp + 0x14]
mov eax, esi
shr eax, 1
push eax
mov dword [ecx], eax
call fcn.0041a976
mov dword [ebx], eax
pop ecx
test esi, esi
jle 0x436b07
mov esi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.004368d9
push edi
lea ecx, [ebp - 0x10]
lea ebx, [eax - 1]
shl bl, 4
sub bl, 0x41
call fcn.004368d9
add al, bl
mov edx, edi
test edx, edx
jns 0x436af8
add edx, 1
sar edx, 1
mov ecx, dword [esi]
add edi, 2
mov byte [edx + ecx], al
cmp edi, dword [ebp - 0x18]
jl 0x436acf
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
lea ecx, [eax - 0x10]
call fcn.0040d2df
mov eax, edi
call fcn.00448586
ret 0x10

Function at 0x436b1f
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x436b72
push esi
push dword [ebp + 8]
call fcn.00436d12
mov edi, eax
test edi, edi
jne 0x436b42
mov eax, dword [ebp + 0x10]
jmp 0x436b84
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x436b3d
mov eax, dword [ebp - 8]
jmp 0x436b84
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43bd90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x43bdbb
cmp dword [ebx + 0x80], 0
jne 0x43bdbb
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.0041b131
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.0043c04e
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x43bdf5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0041b131
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43be2c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0043be4d
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44a310
Capabilities:
Read .ini file

Disassembly:
push 0x838
mov eax, 0x59dbf9
call fcn.004485f1
mov edi, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0x9c]
cmp dword [eax + 0x14], 8
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x844], ecx
jb 0x44a33b
mov eax, dword [eax]
push eax
push dword [ebp + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp esi, dword [ebp + 0x10]
jne 0x44a419
xor esi, esi
mov dword [ebp - 0x814], 7
push esi
xor eax, eax
mov dword [ebp - 0x818], esi
push 0x608fd4
lea ecx, [ebp - 0x828]
mov word [ebp - 0x828], ax
call fcn.00401ea0
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.0045ef40
push dword [ebp + 0x10]
lea eax, [ebp - 0x810]
push 0x60903c
push eax
call fcn.00404980
add esp, 0x18
lea eax, [ebp - 0x810]
cmp byte [edi + 1], 0
mov ecx, edi
push eax
push dword [ebp - 0x844]
lea eax, [ebp - 0x840]
push ebx
push eax
je 0x44a3ce
call fcn.0044a20e
jmp 0x44a3d3
call fcn.0044a2c8
push eax
lea ecx, [ebp - 0x828]
call fcn.00404050
push esi
push 1
lea ecx, [ebp - 0x840]
call fcn.00401de0
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.0046bbe8
pop ecx
push 0
push 1
lea ecx, [ebp - 0x828]
mov esi, eax
call fcn.00401de0
mov eax, esi
call fcn.0044859b
ret 0xc

Function at 0x44a423
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x59d658
call fcn.004485f1
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], ecx
call fcn.0045ef40
lea eax, [edi + 0x9c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x44a480
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00401d40
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x44a4c6
mov eax, dword [esi]
jmp 0x44a4c8
mov eax, esi
push ebx
push eax
call fcn.00462b6c
pop ecx
pop ecx
test eax, eax
jne 0x44a514
cmp byte [edi + 1], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x44a4f8
call fcn.0044a20e
jmp 0x44a4fd
call fcn.0044a2c8
push eax
mov ecx, esi
call fcn.00404050
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00401de0
mov eax, esi
call fcn.0044859b
ret 0x10
Function at 0x44a646
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x61c554]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.0045ef40
add esi, 0x24
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x44a67d
mov esi, dword [esi]
push str.AllSkin
push esi
lea eax, [ebp - 0x20c]
push 0x5af178
push eax
call fcn.00404980
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop esi
test eax, eax
jne 0x44a6b6
lea eax, [ebp - 0x20c]
push eax
call fcn.004557d7
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448575
mov esp, ebp
pop ebp
ret

Function at 0x44a6c4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x61c554]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [esi + 0x24]
cmp dword [eax + 0x14], 8
jb 0x44a6e5
mov eax, dword [eax]
push 0x5a1234
push eax
lea eax, [ebp - 0x20c]
push 0x5af178
push eax
call fcn.00404980
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44a71d
lea eax, [ebp - 0x20c]
push eax
call fcn.004557d7
pop ecx
lea eax, [ebp - 0x20c]
push str.Related.ini
push eax
call fcn.0046af62
cmp word [ebp - 0x20c], 0
pop ecx
pop ecx
jne 0x44a73e
xor eax, eax
jmp 0x44a74b
lea eax, [ebp - 0x20c]
push eax
call fcn.00462b51
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x84]
call fcn.00401ea0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00448575
mov esp, ebp
pop ebp
ret
Function at 0x44b34c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x61c554]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [esi + 0x24]
cmp dword [eax + 0x14], 8
jb 0x44b36d
mov eax, dword [eax]
push str.UseData
push eax
lea eax, [ebp - 0x20c]
push 0x5af178
push eax
call fcn.00404980
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44b3a5
lea eax, [ebp - 0x20c]
push eax
call fcn.004557d7
pop ecx
cmp word [ebp - 0x20c], 0
jne 0x44b3b3
xor eax, eax
jmp 0x44b3c0
lea eax, [ebp - 0x20c]
push eax
call fcn.00462b51
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0xb4]
call fcn.00401ea0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00448575
mov esp, ebp
pop ebp
ret