joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f5ce
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a1fc
mov eax, dword fs:[0]
push eax
sub esp, 0x948
mov eax, dword [0x5770a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x950], ecx
mov byte [ebp - 0x949], 0
push 0x410
push 0
lea eax, [ebp - 0x930]
push eax
call fcn.004b0090
add esp, 0xc
lea eax, [ebp - 0x930]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x41f73b
push 0x410
push 0
lea eax, [ebp - 0x520]
push eax
call fcn.004b0090
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x930]
push eax
push str._sqq
push 0x208
lea eax, [ebp - 0x520]
push eax
call fcn.004077b0
add esp, 0x14
lea eax, [ebp - 0x520]
push eax
lea ecx, [ebp - 0x948]
call fcn.00409053
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x948]
push eax
call fcn.004812a5
pop ecx
pop ecx
mov byte [ebp - 0x94a], al
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x948]
call fcn.0040a62b
mov dword [ebp - 4], 2
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x948]
mov dword [ebp - 0x954], eax
mov dword [ebp - 4], 3
mov dword [ebp - 4], 4
or dword [ebp - 4], 0xffffffff
movzx eax, byte [ebp - 0x94a]
test eax, eax
je 0x41f73b
push 0x100
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.004b0090
add esp, 0xc
push dword [ebp + 0xc]
push 0x531870
push 0x80
lea eax, [ebp - 0x110]
push eax
call fcn.004077b0
add esp, 0x10
lea eax, [ebp - 0x520]
push eax
lea eax, [ebp - 0x110]
push eax
push str.Worldid
push str.Settings
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 0x949], 1
mov al, byte [ebp - 0x949]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ad99f
leave
ret 8
Function at 0x445e25
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
mov byte [ebp - 1], al
mov dword [ebp - 8], 0x811c9dc5
and dword [ebp - 0xc], 0
jmp 0x445e47
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
cmp dword [ebp - 0xc], eax
jae 0x445e6d
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
imul eax, dword [ebp - 8], 0x1000193
mov dword [ebp - 8], eax
jmp 0x445e40
mov eax, dword [ebp - 8]
leave
ret 8
Function at 0x44d289
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov byte [ebp - 1], 0
and dword [ebp - 8], 0
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 0
jne 0x44d2b4
jmp 0x44d374
push 0x100
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
add eax, 4
push eax
mov ecx, dword [ebp - 0xc]
call fcn.0044d243
push 0x100
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
add eax, 0x108
push eax
mov ecx, dword [ebp - 0xc]
call fcn.0044d243
pushal
rdtsc
mov dword [ebp - 8], eax
popal
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
pushal
rdtsc
mov dword [ebp - 8], eax
popal
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x104], ecx
pushal
rdtsc
mov dword [ebp - 8], eax
popal
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 0x100
div ecx
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x64
jbe 0x44d330
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
jmp 0x44d339
mov eax, dword [ebp - 8]
add eax, 0x64
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x10], eax
xor eax, eax
inc eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x10]
mov dl, byte [ebp - 8]
mov byte [ecx + eax], dl
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
add eax, 0x104
mov dword [ebp - 0x10], eax
xor eax, eax
inc eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x10]
mov dl, byte [ebp - 8]
mov byte [ecx + eax], dl
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44e79d
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51fe0d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5770a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0044f1c1
push eax
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
jne 0x44e812
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_open_file_mapping_object___lu_._n
call fcn.004500c0
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
and dword [eax], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 8], 0
jmp 0x44e89e
push 4
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
jne 0x44e853
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_map_view_of_file___lu_._n
call fcn.004500c0
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
and dword [eax], 0
jmp 0x44e89e
push 0x1c
call fcn.004ad961
pop ecx
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x44e875
mov ecx, dword [ebp - 0x14]
call fcn.0044e92d
mov dword [ebp - 0x18], eax
jmp 0x44e879
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
push 4
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
call fcn.004af590
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret
Function at 0x44f4a1
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa18
mov eax, dword [0x5770a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa10], ecx
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.004b0090
add esp, 0xc
push 0x800
push 0
lea eax, [ebp - 0xa0c]
push eax
call fcn.004b0090
add esp, 0xc
push dword [ebp + 8]
push 0x400
lea eax, [ebp - 0xa0c]
push eax
push 0
push 0x52eef8
push 0x52ef00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xa0c]
push eax
mov ecx, dword [ebp - 0xa10]
call fcn.0044fedf
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp - 0xa10]
call fcn.0044f5d8
test eax, eax
jne 0x44f5af
and dword [ebp - 0xa18], 0
cmp dword [ebp + 0xc], 0
je 0x44f5ad
cmp dword [ebp + 0x10], 0
jle 0x44f5ad
lea eax, [ebp - 0x20c]
test eax, eax
je 0x44f5ad
and dword [ebp - 0xa14], 0
lea eax, [ebp - 0x20c]
test eax, eax
je 0x44f585
lea eax, [ebp - 0x20c]
push eax
call fcn.004cc4f3
pop ecx
cmp eax, dword [ebp + 0x10]
jae 0x44f585
mov dword [ebp - 0xa14], 1
cmp dword [ebp - 0xa14], 0
je 0x44f5ad
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004cc3b7
add esp, 0xc
mov dword [ebp - 0xa18], 1
jmp 0x44f5ca
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0xa10]
call fcn.0044fd1b
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad99f
leave
ret 0xc

Function at 0x44f6f4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
and dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 1
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0xffffffff
je 0x44f76c
cmp dword [ebp + 0xc], 0
je 0x44f76c
cmp dword [ebp + 8], 0xffffffff
jne 0x44f724
and dword [ebp - 8], 0
jmp 0x44f72a
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
call dword [eax + 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x10], 0
je 0x44f76c
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 4]
jb 0x44f76c
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 4]
push dword [ebp + 0xc]
call fcn.004d6a7d
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 4]
leave
ret 0xc
Function at 0x44f879
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x5770a4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x800
push 0
lea eax, [ebp - 0x804]
push eax
call fcn.004b0090
add esp, 0xc
and dword [ebp - 0x808], 0
lea eax, [ebp + 0x10]
mov dword [ebp - 0x808], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x810], eax
push dword [ebp - 0x808]
push 0
push dword [ebp - 0x810]
push 0x3ff
push 0x400
lea eax, [ebp - 0x804]
push eax
call fcn.00407770
push dword [eax + 4]
push dword [eax]
call fcn.004cc171
add esp, 0x20
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
jge 0x44f904
or dword [ebp - 0x814], 0xffffffff
jmp 0x44f910
mov eax, dword [ebp - 0x80c]
mov dword [ebp - 0x814], eax
and dword [ebp - 0x808], 0
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad99f
leave
ret

Function at 0x44f930
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ff7c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5770a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x533958
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp + 8], 0
je 0x44f9a5
push dword [ebp + 8]
call fcn.004cc4f3
pop ecx
test eax, eax
jbe 0x44f9a5
lea ecx, [ebp - 0x1c]
call fcn.0044e8ae
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
call dword [eax + 0x38]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0044e9e3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4
Function at 0x44f9b4
Capabilities:
Enumerate process modules
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ffa2
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x5770a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x458]
call fcn.0044e8ae
and dword [ebp - 4], 0
push 0
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0xffffffff
je 0x44fb73
mov eax, dword [ebp - 0x454]
mov dword [ebp - 0x45c], eax
cmp dword [ebp - 0x45c], 0
je 0x44fa28
mov byte [ebp - 0x439], 1
jmp 0x44fa2f
mov byte [ebp - 0x439], 0
movzx eax, byte [ebp - 0x439]
test eax, eax
je 0x44fb73
push 0x428
push 0
lea eax, [ebp - 0x438]
push eax
call fcn.004b0090
add esp, 0xc
mov dword [ebp - 0x438], 0x428
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x440]
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x44fab7
and dword [ebp - 0x444], 0
push str.TenioDllFreeMap
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0
je 0x44faa1
call dword [ebp - 0x444]
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x440]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x44fa74
mov eax, dword [ebp - 0x460]
mov dword [ebp - 0x448], eax
mov eax, dword [ebp - 0x454]
mov dword [ebp - 0x448], eax
mov eax, dword [ebp - 0x448]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x448]
call dword [eax + 0x2c]
mov eax, dword [ebp - 0x464]
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp - 0x454]
mov dword [ebp - 0x44c], eax
push 1
mov eax, dword [ebp - 0x44c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x44c]
call dword [eax + 8]
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x440]
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x44fb67
and dword [ebp - 0x450], 0
push str.TenioSetDllSafe
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
je 0x44fb51
push 0
call dword [ebp - 0x450]
pop ecx
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x440]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x44fb21
push dword [ebp - 0x440]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Tenio_Uninitialize_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x458]
call fcn.0044e9e3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ad99f
leave
ret
Function at 0x44fba4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5770a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.004b0090
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x52ef08
push str.Redirect
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x218], 1
cmp dword [ebp - 0x210], 0
je 0x44fc55
mov eax, dword [ebp - 0x210]
movzx eax, word [eax]
test eax, eax
je 0x44fc55
mov eax, dword [ebp - 0x210]
movzx eax, word [eax]
cmp eax, 0x20
je 0x44fc45
mov eax, dword [ebp - 0x210]
movzx eax, word [eax]
cmp eax, 9
je 0x44fc45
and dword [ebp - 0x218], 0
jmp 0x44fc55
mov eax, dword [ebp - 0x210]
inc eax
inc eax
mov dword [ebp - 0x210], eax
jmp 0x44fc13
cmp dword [ebp - 0x218], 0
jne 0x44fcab
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp - 0x214]
call fcn.0044f5d8
test eax, eax
je 0x44fc91
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0x214]
call fcn.0044ebe6
jmp 0x44fca9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp - 0x214]
call fcn.0044fba4
jmp 0x44fd0d
and dword [ebp - 0x220], 0
cmp dword [ebp + 0xc], 0
je 0x44fd0d
cmp dword [ebp + 0x10], 0
jle 0x44fd0d
cmp dword [ebp + 8], 0
je 0x44fd0d
and dword [ebp - 0x21c], 0
cmp dword [ebp + 8], 0
je 0x44fce9
push dword [ebp + 8]
call fcn.004cc4f3
pop ecx
cmp eax, dword [ebp + 0x10]
jae 0x44fce9
mov dword [ebp - 0x21c], 1
cmp dword [ebp - 0x21c], 0
je 0x44fd0d
push dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004cc3b7
add esp, 0xc
mov dword [ebp - 0x220], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad99f
leave
ret 0xc
Function at 0x44fd1b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc34
mov eax, dword [0x5770a4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0xc2c], ecx
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x800
push 0
lea eax, [ebp - 0xc28]
push eax
call fcn.004b0090
add esp, 0xc
push dword [ebp + 8]
push 0x400
lea eax, [ebp - 0xc28]
push eax
push 0x52ef28
push 0x52ef2c
push 0x52ef00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xa
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc28]
push eax
mov ecx, dword [ebp - 0xc2c]
call fcn.0044fedf
push 2
pop eax
imul eax, eax, 0
movzx eax, word [ebp + eax - 0x18]
cmp eax, 0x31
jne 0x44fdbd
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [ebp - 0xc2c]
call fcn.0044ebe6
jmp 0x44fed0
push 0x208
push 0
lea eax, [ebp - 0x428]
push eax
call fcn.004b0090
add esp, 0xc
push dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0
push 0x52ef58
push str.DefaultValue
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x208
push 0
lea eax, [ebp - 0x220]
push eax
call fcn.004b0090
add esp, 0xc
push 0x104
lea eax, [ebp - 0x220]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x428]
push eax
mov ecx, dword [ebp - 0xc2c]
call fcn.0044ed3f
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0xc2c]
call fcn.0044f5d8
test eax, eax
je 0x44fe5e
push dword [ebp + 0x14]
push dword [ebp + 0x10]
lea eax, [ebp - 0x220]
push eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0xc2c]
call fcn.0044ebe6
jmp 0x44fed0
and dword [ebp - 0xc34], 0
cmp dword [ebp + 0x10], 0
je 0x44fed0
cmp dword [ebp + 0x14], 0
jle 0x44fed0
lea eax, [ebp - 0x220]
test eax, eax
je 0x44fed0
and dword [ebp - 0xc30], 0
lea eax, [ebp - 0x220]
test eax, eax
je 0x44fea8
lea eax, [ebp - 0x220]
push eax
call fcn.004cc4f3
pop ecx
cmp eax, dword [ebp + 0x14]
jae 0x44fea8
mov dword [ebp - 0xc30], 1
cmp dword [ebp - 0xc30], 0
je 0x44fed0
lea eax, [ebp - 0x220]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004cc3b7
add esp, 0xc
mov dword [ebp - 0xc34], 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad99f
leave
ret 0x10
Function at 0x451784
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5208f9
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x5770a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x458], ecx
and dword [ebp - 0x454], 0
push 0x410
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.004b0090
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x4518e8
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x438]
call fcn.00409053
and dword [ebp - 4], 0
push 0x5c
mov eax, dword [ebp - 0x458]
add eax, 0x1648
push eax
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.00481988
add esp, 0x10
mov dword [ebp - 0x45c], eax
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x460], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x460]
call fcn.0040a5f1
push eax
push 0x208
lea eax, [ebp - 0x420]
push eax
call fcn.004cc3b7
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x450]
call fcn.0040a62b
mov byte [ebp - 4], 3
mov byte [ebp - 4], 0
lea eax, [ebp - 0x450]
mov dword [ebp - 0x464], eax
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
mov byte [ebp - 4], 0
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x438]
call fcn.0040a62b
mov dword [ebp - 4], 7
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x438]
mov dword [ebp - 0x468], eax
mov dword [ebp - 4], 8
mov dword [ebp - 4], 9
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x420]
push eax
push 0
push 0x5359d4
push str.USER_INFO
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x454], eax
mov eax, dword [ebp - 0x454]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ad99f
leave
ret
Function at 0x451905
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52098f
mov eax, dword fs:[0]
push eax
sub esp, 0x668
mov eax, dword [0x5770a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x664], ecx
xorps xmm0, xmm0
movlpd qword [ebp - 0x660], xmm0
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004b0090
add esp, 0xc
push 0x410
push 0
lea eax, [ebp - 0x628]
push eax
call fcn.004b0090
add esp, 0xc
lea eax, [ebp - 0x628]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x451aab
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x640]
call fcn.00409053
and dword [ebp - 4], 0
push 0x5c
mov eax, dword [ebp - 0x664]
add eax, 0x1648
push eax
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.00481988
add esp, 0x10
mov dword [ebp - 0x668], eax
mov eax, dword [ebp - 0x668]
mov dword [ebp - 0x66c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x66c]
call fcn.0040a5f1
push eax
push 0x208
lea eax, [ebp - 0x628]
push eax
call fcn.004cc3b7
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x658]
call fcn.0040a62b
mov byte [ebp - 4], 3
mov byte [ebp - 4], 0
lea eax, [ebp - 0x658]
mov dword [ebp - 0x670], eax
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
mov byte [ebp - 4], 0
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x640]
call fcn.0040a62b
mov dword [ebp - 4], 7
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x640]
mov dword [ebp - 0x674], eax
mov dword [ebp - 4], 8
mov dword [ebp - 4], 9
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x5356cc
push str.ACCOUNT_ID
push 0x5357ec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xa
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004ce267
add esp, 0xc
mov dword [ebp - 0x660], eax
mov dword [ebp - 0x65c], edx
mov eax, dword [ebp - 0x660]
mov edx, dword [ebp - 0x65c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ad99f
leave
ret
Function at 0x452d78
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520b2f
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5770a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
and dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
push dword [eax + 0x664]
push dword [eax + 0x660]
mov eax, dword [ebp + 0x10]
push dword [eax + 0x554]
push dword [eax + 0x550]
mov eax, dword [ebp + 0x10]
add eax, 0x348
push eax
mov eax, dword [ebp + 0x10]
push dword [eax + 0x34]
push dword [eax + 0x30]
mov eax, dword [ebp + 0x10]
push dword [eax + 0x14]
mov eax, dword [ebp + 0x10]
push dword [eax]
mov eax, dword [ebp + 0x10]
push dword [eax + 0x3c]
push dword [eax + 0x38]
mov eax, dword [ebp + 0x10]
push dword [eax + 0x18]
mov eax, dword [ebp + 0x10]
push dword [eax + 0x10]
mov eax, dword [ebp + 0x10]
push dword [eax + 0xc]
mov eax, dword [ebp + 0x10]
push dword [eax + 8]
mov eax, dword [ebp + 0x10]
push dword [eax + 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.TCLSHostApp::OnUpdateProgress__gameID:_llu__step:_u__step_progress:_u__total_progress:_u__speed:_ubytes_s__left_time:_u__download_size:_I64u__type:_u__http_speed:_d__total_size:_I64u__file_downloaded:_s__I64u___real_download_size:_I64u
call fcn.0046c4d6
add esp, 0x4c
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.0046bf14
mov eax, dword [ebp - 0x10]
add eax, 0x48
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x28]
jne 0x452e54
mov dword [ebp - 0x18], 1
jmp 0x452e58
and dword [ebp - 0x18], 0
movzx eax, byte [ebp - 0x18]
test eax, eax
jne 0x452e69
mov dword [ebp - 0x1c], 1
jmp 0x452e6d
and dword [ebp - 0x1c], 0
movzx eax, byte [ebp - 0x1c]
test eax, eax
je 0x452ed0
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x418], 2
je 0x452e9f
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x418], 9
jne 0x452ece
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x28], 0
je 0x452ece
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
push dword [ebp + 0x10]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ecx + 0x28]
call dword [eax + 0x14]
jmp 0x452ee3
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x534cb8
call fcn.0046c5d3
add esp, 0xc
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 0xc