joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f528
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x60f1ea
call fcn.0060bcd8
push ecx
mov dword [ebp - 0x10], ecx
lea eax, [ecx + 0x10]
mov dword [ecx + 4], vtable.ICompressSetBufSize.0
xor edx, edx
mov dword [ecx + 8], edx
mov dword [ecx], vtable.NCompress::NBcj2::CDecoder.1.0
mov dword [ecx + 4], vtable.NCompress::NBcj2::CDecoder.0
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x18], edx
lea eax, [ecx + 0x30]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x18], edx
lea eax, [ecx + 0x50]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x18], edx
lea eax, [ecx + 0x70]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x18], edx
lea eax, [ecx + 0x4a0]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x20], edx
mov eax, 0x100000
mov dword [ecx + 0x4d8], 0x10000
mov dword [ecx + 0x4c8], eax
mov dword [ecx + 0x4cc], eax
mov dword [ecx + 0x4d0], eax
mov dword [ecx + 0x4d4], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x430cc6
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 0x430cda
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 0x432238
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 0x4322e5
lea ecx, [esi + 0x30]
call fcn.004372ef
test eax, eax
je 0x432261
push 0xc
pop eax
jmp 0x4322e7
lea ecx, [esi + 0x14]
mov dword [esi + 0x28], 1
call fcn.00437288
test eax, eax
jne 0x432259
lea ecx, [esi + 0x18]
call fcn.00437288
test eax, eax
jne 0x432259
lea ecx, [esi + 0x1c]
call fcn.00437288
test eax, eax
jne 0x432259
push dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
lea ecx, [esi + 0x20]
call fcn.004372aa
pop ecx
test eax, eax
jne 0x432259
push dword [ebp + 0xc]
lea ecx, [esi + 0x24]
xor edx, edx
call fcn.004372aa
pop ecx
test eax, eax
jne 0x432259
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.005f3950
add esp, 0x18
mov dword [esi + 0x10], eax
test eax, eax
jne 0x4322df
call fcn.00437218
test eax, eax
jne 0x432259
mov dword [esi], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x434964
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 0x434976
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4349ab
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 0x4349c1
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x434a99
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 0x434ad4
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 0x434ab1
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x43aa56
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
mov eax, 0x60f4f2
call fcn.0060bcd8
sub esp, 0x218
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
jne 0x43aa76
xor eax, eax
jmp 0x43ab76
call fcn.0043aa2d
test eax, eax
je 0x43aa6f
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 0x43ab64
push edi
mov edi, dword [esi + 0x10]
cmp dword [edi - 0xc], ebx
jne 0x43aab0
inc ebx
jmp 0x43ab63
push 0x208
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.005e1720
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 0x43ab63
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp + 8]
call fcn.00406173
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.0046e715
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.0046f562
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 0x43ab53
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 0x43ab73
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 0x43ab87
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x60f546
call fcn.0060bcd8
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.005e1720
pop ecx
pop ecx
lea eax, [ebp - 0x22c]
push eax
push dword [esi + 8]
call fcn.0043ad26
test eax, eax
je 0x43ad14
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43ad14
add esi, 0xc
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jne 0x43abf0
inc ebx
jmp 0x43ad14
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 0x693b58
mov dword [ebp - 0x1c], 1
call fcn.004068fd
test eax, eax
je 0x43ac5a
push 1
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.00405d7f
mov dword [ebp - 4], 2
mov ecx, eax
push 0x6953b0
mov dword [ebp - 0x1c], 3
call fcn.004068fd
mov byte [ebp - 0xd], bl
test eax, eax
jne 0x43ac5e
mov byte [ebp - 0xd], 1
test byte [ebp - 0x1c], 2
je 0x43ac6f
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 0x43acb2
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 0x693b58
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 0x43acfe
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
jmp 0x43ad0f
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 0x43ad26
Capabilities:
Query environment variable

Disassembly:
push 0x10
push 0x6af780
call fcn.0060bd00
xor esi, esi
mov dword [ebp - 0x1c], esi
cmp dword [ebp + 8], esi
je 0x43adce
cmp dword [ebp + 0xc], esi
je 0x43adce
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
cmp edi, 1
jb 0x43adce
cmp edi, 0x103
ja 0x43adce
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.004998d3
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x43adca
lea eax, [edi + edi]
push eax
push esi
push ecx
call fcn.005e1720
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 0x43adca
mov ecx, 0x103
cmp eax, ecx
ja 0x43adca
push eax
push edi
push ecx
push dword [ebp + 0xc]
call fcn.005f3bcd
add esp, 0x10
inc esi
jmp 0x43adc7
mov dword [ebp - 0x20], esi
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x43addd
push dword [ebp - 0x1c]
call fcn.004998ce
pop ecx
mov eax, esi
call fcn.0060bd3c
ret 0xc
Function at 0x43ade7
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x60f59a
call fcn.0060bcd8
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 0x43af3a
push edi
lea edi, [esi + 0xc]
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jne 0x43ae1f
inc ebx
jmp 0x43af39
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 0x693b58
mov dword [ebp - 0x18], 1
call fcn.004068fd
test eax, eax
je 0x43ae8d
push 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call fcn.00405d7f
mov dword [ebp - 4], 2
mov ecx, eax
push 0x6953b0
mov dword [ebp - 0x18], 3
call fcn.004068fd
mov byte [ebp - 0xd], bl
test eax, eax
jne 0x43ae91
mov byte [ebp - 0xd], 1
test byte [ebp - 0x18], 2
je 0x43aea2
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 0x43aee5
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 0x693b58
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 0x43af26
lea ecx, [ecx - 0x10]
jmp 0x43af2c
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 0x43b1a9
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x60f604
call fcn.0060bcd8
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.00439e6b
mov byte [ebp - 4], 2
mov eax, dword [0x6c87d8]
cmp dword [eax - 0xc], 0
jne 0x43b22e
lea ecx, [ebp - 0x14]
call fcn.0041983f
test eax, eax
je 0x43b2bc
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x43b21f
lea eax, [ebp - 0x14]
mov ecx, 0x6c87d8
push eax
call fcn.00406123
mov eax, dword [0x6c87d8]
cmp dword [eax - 0xc], 0
je 0x43b2bc
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 0x697bf4
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 0x43b2bc
mov esi, dword [ebp - 0x10]
push esi
call fcn.00416d87
test eax, eax
jne 0x43b2bf
cmp dword [edi + 8], eax
jg 0x43b292
xor ebx, ebx
jmp 0x43b2bf
cmp dword [edi + 8], 0x64
jge 0x43b2bf
push 0
call fcn.005f13bf
push eax
call fcn.005f1d07
pop ecx
pop ecx
call fcn.005f1ce6
push 0x65
cdq
pop ecx
idiv ecx
xor eax, eax
cmp edx, dword [edi + 8]
cmovge ebx, eax
jmp 0x43b2bf
mov esi, dword [ebp - 0x10]
push esi
lea ecx, [edi + 0xc]
call fcn.00416d87
test eax, eax
jne 0x43b3a2
mov eax, dword [edi + 0xc]
cmp dword [eax - 0xc], 0
je 0x43b3a2
cmp dword [esi - 0xc], 0
je 0x43b3a2
push eax
call fcn.005e94cb
pop ecx
lea ecx, [ebp - 0xd0]
mov edi, eax
call fcn.0043a0bd
mov byte [ebp - 4], 4
lea eax, [ebp - 0x80]
push dword [0x6c87e8]
push 0x6950ec
push eax
call fcn.00406cc8
push dword [0x6c87ec]
lea eax, [ebp - 0x7c]
push 0x6950ec
push eax
call fcn.00406cc8
add esp, 0x18
lea ecx, [ebp - 0x74]
push dword [0x6c8810]
call fcn.004060f8
push dword [0x6c8814]
lea ecx, [ebp - 0x6c]
call fcn.004060f8
call fcn.0047029b
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xb8], eax
call fcn.00474499
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 [0x6c87d8]
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xb0], 3
push ebx
push edi
push 4
push 0x1e
call fcn.0043a43c
lea ecx, [ebp - 0xd0]
call fcn.0043a1c5
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 0x43d8da
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 0x43d9f6
mov ecx, ebx
call fcn.0046a6ea
mov esi, eax
test esi, esi
je 0x43d983
mov eax, dword [esi + 0xc]
push 2
push 0
push esi
mov dword [ebp - 0xc], eax
call fcn.0043d526
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.0046a733
mov eax, dword [ebp - 0x10]
cmp dword [edi + 0x174], eax
jne 0x43d9a5
mov eax, dword [esi + 0x3c]
xor ecx, ecx
test eax, eax
je 0x43d998
cmp word [eax], cx
je 0x43d998
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 0x43d9d5
push 0x67
jmp 0x43d9ee
cmp dword [esi + 0xc], ecx
je 0x43d983
mov ecx, dword [ebp - 8]
xor eax, eax
inc eax
jmp 0x43d988
push 1
xor eax, eax
push eax
push esi
call fcn.0043d526
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.0046a733
mov eax, dword [ebp - 4]
xor ecx, ecx
inc ecx
jmp 0x43d988
test ecx, ecx
je 0x43d9f6
cmp dword [ebp - 0xc], edx
je 0x43d9f6
cmp ebx, dword [edi + 0x170]
jne 0x43d9ec
mov dword [edi + 0x170], edx
push 0x6a
push esi
mov ecx, edi
call fcn.0043d555
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43ecb3
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x60f88f
call fcn.0060bcd8
push ecx
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
call fcn.0046ae33
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 0x6bed70
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.00450041
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.0044e2e6
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 0x43f63c
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x60cb9f
call fcn.0060bcd8
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 0x47c0b9
Capabilities:
Check if file exists
Read .ini file

Disassembly:
mov eax, 0x60cc3a
call fcn.0060bcd8
sub esp, 0xc
push esi
push ecx
lea eax, [ebp - 0x10]
xor esi, esi
push eax
mov dword [ebp - 0x18], esi
call fcn.0047c3c2
mov dword [ebp - 4], esi
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47c103
mov ecx, dword [ebp + 0xc]
push 0x693da4
call fcn.00406173
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404ea9
mov eax, dword [ebp + 0xc]
jmp 0x47c165
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 0x6950ec
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 0x47cbfe
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x611bba
call fcn.0060bcd8
push ecx
push esi
push edi
xor edi, edi
xor esi, esi
push str.DownLoadFileFromAdder
inc edi
push 0x6c8880
mov dword [ebp - 4], edi
call fcn.0048de14
push 0x12c
push esi
push esi
lea edx, [ebp + 0xc]
lea ecx, [ebp + 8]
call fcn.004733ee
add esp, 0x14
test eax, eax
jne 0x47cc49
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 0x47d498
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x611de5
call fcn.0060bcd8
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 0x47d528
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.0047cbfe
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 0x485600
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x612110
call fcn.0060bcd8
sub esp, 0x210
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
jne 0x48571b
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 0x69ec58
push eax
call fcn.004864de
or dword [ebp - 4], 0xffffffff
mov dword [edi + 4], eax
lea eax, [ebp - 0x114]
pop ecx
pop ecx
cmp dword [ebp - 0x118], eax
je 0x485678
push dword [ebp - 0x118]
call fcn.005f0063
pop ecx
mov eax, dword [edi + 0x64]
cmp dword [eax - 0xc], 0
je 0x485718
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 0x485702
push dword [ebp - 0x21c]
call fcn.005f0063
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