joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431e7a
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, ecx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x431e8e
xor al, al
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
pop esi
setne al
ret

Function at 0x4333e8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, edx
cmp dword [esi], ebx
jne 0x433495
lea ecx, [esi + 0x30]
call fcn.0043849f
test eax, eax
je 0x433411
push 0xc
pop eax
jmp 0x433497
lea ecx, [esi + 0x14]
mov dword [esi + 0x28], 1
call fcn.00438438
test eax, eax
jne 0x433409
lea ecx, [esi + 0x18]
call fcn.00438438
test eax, eax
jne 0x433409
lea ecx, [esi + 0x1c]
call fcn.00438438
test eax, eax
jne 0x433409
push dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
lea ecx, [esi + 0x20]
call fcn.0043845a
pop ecx
test eax, eax
jne 0x433409
push dword [ebp + 0xc]
lea ecx, [esi + 0x24]
xor edx, edx
call fcn.0043845a
pop ecx
test eax, eax
jne 0x433409
lea eax, [ebp - 4]
mov dword [esi + 4], 1
push eax
push ebx
push dword [ebp + 8]
push edi
push ebx
push ebx
call fcn.005f4880
add esp, 0x18
mov dword [esi + 0x10], eax
test eax, eax
jne 0x43348f
call fcn.004383c8
test eax, eax
jne 0x433409
mov dword [esi], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x435b14
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, edx
xor edi, edi
mov ebx, ecx
or esi, 0x100
mov ecx, esi
mov eax, esi
shr ecx, 7
add esi, esi
shr eax, 8
and ecx, 1
neg ecx
sar ecx, 4
and ecx, 0x7f
movzx edx, word [ebx + eax*2]
mov eax, dword [ebp + 8]
shr edx, 4
xor edx, ecx
add edi, dword [eax + edx*4]
cmp esi, 0x10000
jb 0x435b26
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x435b5b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, 0x100
mov dword [ebp - 4], ecx
xor edi, edi
or edx, esi
add ebx, ebx
mov ecx, esi
and ecx, ebx
mov eax, edx
add ecx, esi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
movzx ecx, word [ecx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0xc]
add edi, dword [eax + ecx*4]
mov ecx, edx
xor ecx, ebx
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x435b71
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x435c49
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
bts esi, edx
mov ebx, ecx
cmp esi, 1
je 0x435c84
push edi
mov edi, dword [ebp + 0xc]
mov edx, esi
and esi, 1
shr edx, 1
neg esi
sar esi, 4
and esi, 0x7f
movzx ecx, word [ebx + edx*2]
shr ecx, 4
xor ecx, esi
mov esi, edx
add eax, dword [edi + ecx*4]
cmp esi, 1
jne 0x435c61
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x43bc06
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
mov eax, 0x610552
call fcn.0060cc48
sub esp, 0x218
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
jne 0x43bc26
xor eax, eax
jmp 0x43bd26
call fcn.0043bbdd
test eax, eax
je 0x43bc1f
push ebx
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
push ebx
push dword [esi + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43bd14
push edi
mov edi, dword [esi + 0x10]
cmp dword [edi - 0xc], ebx
jne 0x43bc60
inc ebx
jmp 0x43bd13
push 0x208
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.005e26d0
add esp, 0xc
mov dword [ebp - 0x14], 0x208
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43bd13
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp + 8]
call fcn.00406173
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.0046f780
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.00470634
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00406123
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
lea eax, [esi + 0x14]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp + 0xc]
call fcn.0040b545
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
test eax, eax
je 0x43bd03
xor ebx, ebx
inc ebx
call fcn.00404ea9
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
pop edi
cmp dword [ebp - 0x10], 0
je 0x43bd23
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x43bd37
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x6105a6
call fcn.0060cc48
sub esp, 0x220
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 0x22c]
push 0x208
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x1c], ebx
call fcn.005e26d0
pop ecx
pop ecx
lea eax, [ebp - 0x22c]
push eax
push dword [esi + 8]
call fcn.0043bed6
test eax, eax
je 0x43bec4
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43bec4
add esi, 0xc
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jne 0x43bda0
inc ebx
jmp 0x43bec4
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00406173
push 1
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.00405d7f
mov byte [ebp - 4], 1
mov ecx, eax
push 0x694b58
mov dword [ebp - 0x1c], 1
call fcn.004068fd
test eax, eax
je 0x43be0a
push 1
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.00405d7f
mov dword [ebp - 4], 2
mov ecx, eax
push 0x6963b0
mov dword [ebp - 0x1c], 3
call fcn.004068fd
mov byte [ebp - 0xd], bl
test eax, eax
jne 0x43be0e
mov byte [ebp - 0xd], 1
test byte [ebp - 0x1c], 2
je 0x43be1f
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
cmp byte [ebp - 0xd], 0
je 0x43be62
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov eax, dword [eax - 0xc]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00405d36
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00406123
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
push 0x694b58
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.0040aec1
push esi
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.0040b545
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x20]
test eax, eax
jne 0x43beae
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
jmp 0x43bebf
xor ebx, ebx
add ecx, 0xfffffff0
inc ebx
call fcn.00404ea9
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x43bed6
Capabilities:
Query environment variable

Disassembly:
push 0x10
push 0x6b1230
call fcn.0060cc70
xor esi, esi
mov dword [ebp - 0x1c], esi
cmp dword [ebp + 8], esi
je 0x43bf7e
cmp dword [ebp + 0xc], esi
je 0x43bf7e
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
cmp edi, 1
jb 0x43bf7e
cmp edi, 0x103
ja 0x43bf7e
mov dword [ebp - 4], esi
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049a823
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x43bf7a
lea eax, [edi + edi]
push eax
push esi
push ecx
call fcn.005e26d0
add esp, 0xc
push edi
mov edi, dword [ebp - 0x1c]
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x43bf7a
mov ecx, 0x103
cmp eax, ecx
ja 0x43bf7a
push eax
push edi
push ecx
push dword [ebp + 0xc]
call fcn.005f4afd
add esp, 0x10
inc esi
jmp 0x43bf77
mov dword [ebp - 0x20], esi
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x43bf8d
push dword [ebp - 0x1c]
call fcn.0049a81e
pop ecx
mov eax, esi
call fcn.0060ccac
ret 0xc
Function at 0x43bf97
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x6105fa
call fcn.0060cc48
sub esp, 0x18
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
push dword [esi + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43c0ea
push edi
lea edi, [esi + 0xc]
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jne 0x43bfcf
inc ebx
jmp 0x43c0e9
mov eax, dword [esi + 8]
sub eax, 0x10
push eax
call fcn.004067cf
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push 1
lea eax, [ebp - 0x24]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.00405d7f
mov byte [ebp - 4], 1
mov ecx, eax
push 0x694b58
mov dword [ebp - 0x18], 1
call fcn.004068fd
test eax, eax
je 0x43c03d
push 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call fcn.00405d7f
mov dword [ebp - 4], 2
mov ecx, eax
push 0x6963b0
mov dword [ebp - 0x18], 3
call fcn.004068fd
mov byte [ebp - 0xd], bl
test eax, eax
jne 0x43c041
mov byte [ebp - 0xd], 1
test byte [ebp - 0x18], 2
je 0x43c052
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
cmp byte [ebp - 0xd], 0
je 0x43c095
mov eax, dword [esi - 0xc]
lea ecx, [ebp - 0x14]
dec eax
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00405d36
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00406123
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov esi, dword [ebp - 0x14]
push 0x694b58
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x24]
call fcn.0040aec1
push edi
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.0040b545
pop ecx
pop ecx
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x1c]
test eax, eax
jne 0x43c0d6
lea ecx, [ecx - 0x10]
jmp 0x43c0dc
xor ebx, ebx
inc ebx
add ecx, 0xfffffff0
call fcn.00404ea9
lea ecx, [esi - 0x10]
call fcn.00404ea9
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x43c359
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x610664
call fcn.0060cc48
sub esp, 0xc4
push ebx
push esi
push edi
mov edi, ecx
call fcn.00404f47
push eax
lea ecx, [ebp - 0x14]
call fcn.004065d8
and dword [ebp - 4], 0
call fcn.00404f47
push eax
lea ecx, [ebp - 0x10]
call fcn.004065d8
xor ebx, ebx
lea ecx, [ebp - 0x34]
inc ebx
call fcn.0043b01b
mov byte [ebp - 4], 2
mov eax, dword [0x6ca858]
cmp dword [eax - 0xc], 0
jne 0x43c3de
lea ecx, [ebp - 0x14]
call fcn.0041a9ef
test eax, eax
je 0x43c46c
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x43c3cf
lea eax, [ebp - 0x14]
mov ecx, 0x6ca858
push eax
call fcn.00406123
mov eax, dword [0x6ca858]
cmp dword [eax - 0xc], 0
je 0x43c46c
push eax
lea ecx, [ebp - 0x34]
call fcn.00408bd9
push str.cityid
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x34]
call fcn.00408e5b
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00407a36
push eax
lea ecx, [ebp - 0x10]
call fcn.004060f8
push 0x698f7c
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x34]
call fcn.00408e5b
lea ecx, [edi + 0xc]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x43c46c
mov esi, dword [ebp - 0x10]
push esi
call fcn.00417f34
test eax, eax
jne 0x43c46f
cmp dword [edi + 8], eax
jg 0x43c442
xor ebx, ebx
jmp 0x43c46f
cmp dword [edi + 8], 0x64
jge 0x43c46f
push 0
call fcn.005f230f
push eax
call fcn.005f2c37
pop ecx
pop ecx
call fcn.005f2c16
push 0x65
cdq
pop ecx
idiv ecx
xor eax, eax
cmp edx, dword [edi + 8]
cmovge ebx, eax
jmp 0x43c46f
mov esi, dword [ebp - 0x10]
push esi
lea ecx, [edi + 0xc]
call fcn.00417f34
test eax, eax
jne 0x43c552
mov eax, dword [edi + 0xc]
cmp dword [eax - 0xc], 0
je 0x43c552
cmp dword [esi - 0xc], 0
je 0x43c552
push eax
call fcn.005ea496
pop ecx
lea ecx, [ebp - 0xd0]
mov edi, eax
call fcn.0043b26d
mov byte [ebp - 4], 4
lea eax, [ebp - 0x80]
push dword [0x6ca868]
push 0x6960ec
push eax
call fcn.00406cc8
push dword [0x6ca86c]
lea eax, [ebp - 0x7c]
push 0x6960ec
push eax
call fcn.00406cc8
add esp, 0x18
lea ecx, [ebp - 0x74]
push dword [0x6ca890]
call fcn.004060f8
push dword [0x6ca894]
lea ecx, [ebp - 0x6c]
call fcn.004060f8
call fcn.0047136d
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xb8], eax
call fcn.004755ac
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
push dword [eax]
call fcn.004060f8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
push dword [0x6ca858]
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xb0], 3
push ebx
push edi
push 4
push 0x1e
call fcn.0043b5ec
lea ecx, [ebp - 0xd0]
call fcn.0043b375
lea ecx, [ebp - 0x34]
call fcn.00408bb4
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x43ea82
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 0x10]
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
push 1
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
sub edx, dword [edi + 0x14]
sub esi, dword [edi + 0x10]
mov eax, dword [edi]
push edx
push esi
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], edx
call dword [eax + 0x8c]
mov ebx, dword [edi + 0x174]
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x43eb9e
mov ecx, ebx
call fcn.0046b755
mov esi, eax
test esi, esi
je 0x43eb2b
mov eax, dword [esi + 0xc]
push 2
push 0
push esi
mov dword [ebp - 0xc], eax
call fcn.0043e6ce
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp + 8]
mov ecx, esi
push 0x202
call fcn.0046b79e
mov eax, dword [ebp - 0x10]
cmp dword [edi + 0x174], eax
jne 0x43eb4d
mov eax, dword [esi + 0x3c]
xor ecx, ecx
test eax, eax
je 0x43eb40
cmp word [eax], cx
je 0x43eb40
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 4]
mov ecx, eax
xor edx, edx
mov dword [edi + 0x174], edx
test eax, eax
je 0x43eb7d
push 0x67
jmp 0x43eb96
cmp dword [esi + 0xc], ecx
je 0x43eb2b
mov ecx, dword [ebp - 8]
xor eax, eax
inc eax
jmp 0x43eb30
push 1
xor eax, eax
push eax
push esi
call fcn.0043e6ce
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp + 8]
mov ecx, esi
push 0x2a3
call fcn.0046b79e
mov eax, dword [ebp - 4]
xor ecx, ecx
inc ecx
jmp 0x43eb30
test ecx, ecx
je 0x43eb9e
cmp dword [ebp - 0xc], edx
je 0x43eb9e
cmp ebx, dword [edi + 0x170]
jne 0x43eb94
mov dword [edi + 0x170], edx
push 0x6a
push esi
mov ecx, edi
call fcn.0043e6fd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43fe5b
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x6108ef
call fcn.0060cc48
push ecx
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
call fcn.0046be9e
xor esi, esi
lea eax, [ebx + 0x15c]
mov dword [ebp - 4], esi
mov dword [eax], vtable.IProcessMsgBack.0
mov dword [ebx], vtable.CBkListWnd.1.0
mov dword [eax], vtable.CBkListWnd.0
mov dword [ebx + 0x160], esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebx + 0x170], esi
mov dword [ebx + 0x174], esi
mov dword [ebx + 0x178], esi
mov dword [ebx + 0x17c], esi
mov dword [ebx + 0x180], esi
mov dword [ebx + 0x184], esi
mov dword [ebx + 0x188], esi
mov dword [ebx + 0x18c], esi
mov dword [ebx + 0x190], esi
mov dword [ebx + 0x194], esi
add ebx, 0x19c
mov dword [ebx + 4], esi
lea edi, [ebx + 0x20]
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], esi
mov dword [edi], eax
mov dword [ebx + 0x24], vtable.IContainer.0
mov dword [ebx], vtable.CBkMsgWnd.0
mov dword [ebx + 0x24], vtable.CBkMsgWnd.1.0
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x2c], esi
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
push str.listscrollbar
add ecx, 0x1cc
call fcn.00413e4d
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x10]
push edi
or dword [eax + 0x16c], 0xffffffff
push 0x6c0d70
mov dword [eax + 0x1d4], esi
mov dword [eax + 0x1d0], esi
mov dword [eax + 0x1d8], esi
mov dword [eax + 0x1e0], esi
mov dword [eax + 0x168], esi
mov dword [eax + 0x1dc], esi
mov dword [eax + 0x198], 1
mov dword [eax + 0x1e4], esi
mov dword [eax + 0x1e8], esi
mov dword [eax + 0x164], esi
call fcn.004511d0
add esp, 8
movzx eax, ax
push eax
push esi
push 0x40100
push 0x6cf0000
push str.bkmsgwnd
push esi
push ecx
mov ecx, ebx
call fcn.0044f477
mov ebx, dword [ebp - 0x10]
push esi
push dword [ebx + 0x1a0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
lea eax, [ebx + 0x15c]
mov dword [ebx + 0x1c4], eax
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4407e4
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x60db0f
call fcn.0060cc48
sub esp, 0x10
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00406173
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push str.__02d__02d__02d__03d__n
push eax
call fcn.004090e5
add esp, 0x18
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x47cfb2
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
lea eax, [ebp - 0x208]
push ebx
push esi
push edi
push 0x208
xor esi, esi
mov ebx, ecx
push esi
push eax
call fcn.005e26d0
add esp, 0xc
lea eax, [ebp - 0x208]
push 0x104
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x47d034
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadImageToMem_CreateFile_error:_d__path:_ws
push 0x6ca908
call fcn.0048e9c0
add esp, 0x10
jmp 0x47d0a8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
push eax
push esi
push 2
push esi
push edi
mov dword [ebx + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebx], eax
test edi, edi
jne 0x47d067
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileByMem_CreateFileMapping_error:_d__path:_ws
jmp 0x47d08f
push dword [ebx + 8]
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx + 4], eax
test eax, eax
jne 0x47d09e
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileByMem_MapViewOfFile_error:_d__path:_ws
push 0x6ca908
call fcn.0048e9c0
add esp, 0x10
jmp 0x47d0a1
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
mov eax, 0x60dbaa
call fcn.0060cc48
sub esp, 0xc
push esi
push ecx
lea eax, [ebp - 0x10]
xor esi, esi
push eax
mov dword [ebp - 0x18], esi
call fcn.0047ddbc
mov dword [ebp - 4], esi
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47db5b
mov ecx, dword [ebp + 0xc]
push 0x694da4
call fcn.00406173
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404ea9
mov eax, dword [ebp + 0xc]
jmp 0x47dbbd
push edi
call fcn.00404f47
push eax
lea ecx, [ebp - 0x14]
call fcn.004065d8
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
push esi
push str.TryNo
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
lea eax, [ebp - 0x14]
push 0x6960ec
push eax
call fcn.00406cc8
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
push esi
call fcn.004067cf
mov edi, dword [ebp + 0xc]
add esp, 0x10
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00404ea9
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404ea9
mov eax, edi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x47e5c0
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x60e2d1
call fcn.0060cc48
push ecx
push esi
push edi
xor edi, edi
xor esi, esi
push str.DownLoadFileFromAdder
inc edi
push 0x6ca908
mov dword [ebp - 4], edi
call fcn.0048e9c0
push 0x12c
push esi
push esi
lea edx, [ebp + 0xc]
lea ecx, [ebp + 8]
call fcn.004744ff
add esp, 0x14
test eax, eax
jne 0x47e60b
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
cmovne esi, edi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00404ea9
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x47ee0f
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x612f50
call fcn.0060cc48
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 4], 1
xor ebx, ebx
mov edi, dword [ebp + 8]
add edi, 0xfffffff0
push edi
call fcn.004067cf
pop ecx
mov dword [ebp - 0x14], eax
lea edx, [eax + 0x10]
mov dword [ebp - 0x18], edx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040b0eb
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00404ea9
test esi, esi
je 0x47ee9f
push ecx
mov esi, esp
mov dword [ebp - 0x10], esp
push edi
mov dword [ebp - 0x1c], esi
call fcn.004067cf
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 3
mov esi, esp
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esi
push eax
call fcn.004067cf
add eax, 0x10
mov dword [esi], eax
pop ecx
mov byte [ebp - 4], 2
call fcn.0047e5c0
pop ecx
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x14]
call fcn.00404ea9
mov ecx, edi
call fcn.00404ea9
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x486430
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x613228
call fcn.0060cc48
sub esp, 0x210
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
jne 0x48654b
push 3
push dword [edi + 0x60]
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], eax
call fcn.004066f6
and dword [ebp - 4], 0
lea eax, [edi + 0x4c]
mov edx, dword [ebp - 0x118]
mov ecx, dword [edi + 8]
push 0x6a02ac
push eax
call fcn.0048732d
or dword [ebp - 4], 0xffffffff
mov dword [edi + 4], eax
lea eax, [ebp - 0x114]
pop ecx
pop ecx
cmp dword [ebp - 0x118], eax
je 0x4864a8
push dword [ebp - 0x118]
call fcn.005f0fb3
pop ecx
mov eax, dword [edi + 0x64]
cmp dword [eax - 0xc], 0
je 0x486548
push esi
mov edx, 0x400000
lea ecx, [ebp - 0x14]
call fcn.0040b184
push str.data_skin_skincfg.ini
mov edx, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0040aec1
pop ecx
mov esi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x218]
push 3
push dword [edi + 0x64]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], eax
call fcn.004066f6
push dword [esi]
push 0xff
push dword [ebp - 0x21c]
push str.alpha
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x30], eax
lea eax, [ebp - 0x218]
pop esi
cmp dword [ebp - 0x21c], eax
je 0x486532
push dword [ebp - 0x21c]
call fcn.005f0fb3
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404ea9
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00404ea9
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret