joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43bba6
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
mov eax, 0x60fcac
call fcn.0060c3a8
sub esp, 0x218
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
jne 0x43bbc6
xor eax, eax
jmp 0x43bcc6
call fcn.0043bb7d
test eax, eax
je 0x43bbbf
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 0x43bcb4
push edi
mov edi, dword [esi + 0x10]
cmp dword [edi - 0xc], ebx
jne 0x43bc00
inc ebx
jmp 0x43bcb3
push 0x208
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.005e1e60
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 0x43bcb3
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp + 8]
call fcn.00406173
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.0046f884
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.00470738
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 0x43bca3
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 0x43bcc3
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 0x43bcd7
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x60fd00
call fcn.0060c3a8
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.005e1e60
pop ecx
pop ecx
lea eax, [ebp - 0x22c]
push eax
push dword [esi + 8]
call fcn.0043be76
test eax, eax
je 0x43be64
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43be64
add esi, 0xc
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jne 0x43bd40
inc ebx
jmp 0x43be64
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 0x43bdaa
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 0x43bdae
mov byte [ebp - 0xd], 1
test byte [ebp - 0x1c], 2
je 0x43bdbf
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 0x43be02
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 0x43be4e
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
jmp 0x43be5f
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 0x43be76
Capabilities:
Query environment variable

Disassembly:
push 0x10
push 0x6afaf0
call fcn.0060c3d0
xor esi, esi
mov dword [ebp - 0x1c], esi
cmp dword [ebp + 8], esi
je 0x43bf1e
cmp dword [ebp + 0xc], esi
je 0x43bf1e
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
cmp edi, 1
jb 0x43bf1e
cmp edi, 0x103
ja 0x43bf1e
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.00499fd3
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x43bf1a
lea eax, [edi + edi]
push eax
push esi
push ecx
call fcn.005e1e60
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 0x43bf1a
mov ecx, 0x103
cmp eax, ecx
ja 0x43bf1a
push eax
push edi
push ecx
push dword [ebp + 0xc]
call fcn.005f424d
add esp, 0x10
inc esi
jmp 0x43bf17
mov dword [ebp - 0x20], esi
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x43bf2d
push dword [ebp - 0x1c]
call fcn.00499fce
pop ecx
mov eax, esi
call fcn.0060c40c
ret 0xc
Function at 0x43bf37
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x60fd54
call fcn.0060c3a8
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 0x43c08a
push edi
lea edi, [esi + 0xc]
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jne 0x43bf6f
inc ebx
jmp 0x43c089
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 0x43bfdd
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 0x43bfe1
mov byte [ebp - 0xd], 1
test byte [ebp - 0x18], 2
je 0x43bff2
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 0x43c035
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 0x43c076
lea ecx, [ecx - 0x10]
jmp 0x43c07c
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 0x43c2f9
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x60fdbe
call fcn.0060c3a8
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.0043afbb
mov byte [ebp - 4], 2
mov eax, dword [0x6c8838]
cmp dword [eax - 0xc], 0
jne 0x43c37e
lea ecx, [ebp - 0x14]
call fcn.0041a98f
test eax, eax
je 0x43c40c
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x43c36f
lea eax, [ebp - 0x14]
mov ecx, 0x6c8838
push eax
call fcn.00406123
mov eax, dword [0x6c8838]
cmp dword [eax - 0xc], 0
je 0x43c40c
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 0x697f54
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 0x43c40c
mov esi, dword [ebp - 0x10]
push esi
call fcn.00417ed5
test eax, eax
jne 0x43c40f
cmp dword [edi + 8], eax
jg 0x43c3e2
xor ebx, ebx
jmp 0x43c40f
cmp dword [edi + 8], 0x64
jge 0x43c40f
push 0
call fcn.005f1a4f
push eax
call fcn.005f2387
pop ecx
pop ecx
call fcn.005f2366
push 0x65
cdq
pop ecx
idiv ecx
xor eax, eax
cmp edx, dword [edi + 8]
cmovge ebx, eax
jmp 0x43c40f
mov esi, dword [ebp - 0x10]
push esi
lea ecx, [edi + 0xc]
call fcn.00417ed5
test eax, eax
jne 0x43c4f2
mov eax, dword [edi + 0xc]
cmp dword [eax - 0xc], 0
je 0x43c4f2
cmp dword [esi - 0xc], 0
je 0x43c4f2
push eax
call fcn.005e9be0
pop ecx
lea ecx, [ebp - 0xd0]
mov edi, eax
call fcn.0043b20d
mov byte [ebp - 4], 4
lea eax, [ebp - 0x80]
push dword [0x6c8848]
push 0x6950ec
push eax
call fcn.00406cc8
push dword [0x6c884c]
lea eax, [ebp - 0x7c]
push 0x6950ec
push eax
call fcn.00406cc8
add esp, 0x18
lea ecx, [ebp - 0x74]
push dword [0x6c8870]
call fcn.004060f8
push dword [0x6c8874]
lea ecx, [ebp - 0x6c]
call fcn.004060f8
call fcn.00471471
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xb8], eax
call fcn.00475671
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 [0x6c8838]
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xb0], 3
push ebx
push edi
push 4
push 0x1e
call fcn.0043b58c
lea ecx, [ebp - 0xd0]
call fcn.0043b315
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 0x43ea2a
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 0x43eb46
mov ecx, ebx
call fcn.0046b859
mov esi, eax
test esi, esi
je 0x43ead3
mov eax, dword [esi + 0xc]
push 2
push 0
push esi
mov dword [ebp - 0xc], eax
call fcn.0043e676
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.0046b8a2
mov eax, dword [ebp - 0x10]
cmp dword [edi + 0x174], eax
jne 0x43eaf5
mov eax, dword [esi + 0x3c]
xor ecx, ecx
test eax, eax
je 0x43eae8
cmp word [eax], cx
je 0x43eae8
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 0x43eb25
push 0x67
jmp 0x43eb3e
cmp dword [esi + 0xc], ecx
je 0x43ead3
mov ecx, dword [ebp - 8]
xor eax, eax
inc eax
jmp 0x43ead8
push 1
xor eax, eax
push eax
push esi
call fcn.0043e676
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.0046b8a2
mov eax, dword [ebp - 4]
xor ecx, ecx
inc ecx
jmp 0x43ead8
test ecx, ecx
je 0x43eb46
cmp dword [ebp - 0xc], edx
je 0x43eb46
cmp ebx, dword [edi + 0x170]
jne 0x43eb3c
mov dword [edi + 0x170], edx
push 0x6a
push esi
mov ecx, edi
call fcn.0043e6a5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43fe03
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x610049
call fcn.0060c3a8
push ecx
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
call fcn.0046bfa2
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.0045118f
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.0044f436
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 0x44078c
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x60d26f
call fcn.0060c3a8
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 0x47bc5b
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.005e1e60
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 0x47bcdd
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadImageToMem_CreateFile_error:_d__path:_ws
push 0x6c88e0
call fcn.0048e513
add esp, 0x10
jmp 0x47bd51
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 0x47bd10
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileByMem_CreateFileMapping_error:_d__path:_ws
jmp 0x47bd38
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 0x47bd47
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileByMem_MapViewOfFile_error:_d__path:_ws
push 0x6c88e0
call fcn.0048e513
add esp, 0x10
jmp 0x47bd4a
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 0x47c7ba
Capabilities:
Check if file exists
Read .ini file

Disassembly:
mov eax, 0x60d30a
call fcn.0060c3a8
sub esp, 0xc
push esi
push ecx
lea eax, [ebp - 0x10]
xor esi, esi
push eax
mov dword [ebp - 0x18], esi
call fcn.0047ca65
mov dword [ebp - 4], esi
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47c804
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 0x47c866
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 0x47d2a1
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x60da31
call fcn.0060c3a8
push ecx
push esi
push edi
xor edi, edi
xor esi, esi
push str.DownLoadFileFromAdder
inc edi
push 0x6c88e0
mov dword [ebp - 4], edi
call fcn.0048e513
push 0x12c
push esi
push esi
lea edx, [ebp + 0xc]
lea ecx, [ebp + 8]
call fcn.004745c4
add esp, 0x14
test eax, eax
jne 0x47d2ec
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 0x47db3e
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x612599
call fcn.0060c3a8
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 0x47dbce
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.0047d2a1
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 0x485cf9
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x6128c4
call fcn.0060c3a8
sub esp, 0x210
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
jne 0x485e14
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 0x69ed70
push eax
call fcn.00486bda
or dword [ebp - 4], 0xffffffff
mov dword [edi + 4], eax
lea eax, [ebp - 0x114]
pop ecx
pop ecx
cmp dword [ebp - 0x118], eax
je 0x485d71
push dword [ebp - 0x118]
call fcn.005f06f3
pop ecx
mov eax, dword [edi + 0x64]
cmp dword [eax - 0xc], 0
je 0x485e11
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 0x485dfb
push dword [ebp - 0x21c]
call fcn.005f06f3
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
Function at 0x490de4
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x60d26f
call fcn.0060c3a8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov ecx, dword [ebp + 8]
inc ebx
cmp dword [ecx + 8], ebx
jne 0x490f02
mov ecx, dword [ecx + 0xc]
cmp ecx, ebx
jne 0x490e16
mov ecx, esi
call fcn.00492322
mov eax, ebx
jmp 0x490f0b
cmp ecx, 2
jne 0x490e37
cmp byte [esi + 0x5f2], 0
jne 0x490e2a
mov byte [esi + 0x5f2], bl
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x490e0f
cmp ecx, 0x65
jne 0x490e45
mov ecx, esi
call fcn.00492440
jmp 0x490e0f
cmp ecx, 0x66
jne 0x490e5f
xor eax, eax
mov ecx, esi
cmp dword [esi + 0x584], eax
sete al
push eax
call fcn.00493388
jmp 0x490e0f
cmp ecx, 0x191
jne 0x490e70
mov ecx, esi
call fcn.00492534
jmp 0x490e0f
cmp ecx, 0x96
jne 0x490e9a
push dword [esi + 0x5b0]
push dword [esi + 0x588]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 0
mov ecx, esi
call fcn.00491e8c
jmp 0x490e0f
cmp ecx, 0x1f5
jne 0x490eae
mov ecx, esi
call fcn.004925a0
jmp 0x490e0f
cmp ecx, 0xa0
jne 0x490ec0
call fcn.0049268e
jmp 0x490e0f
cmp ecx, 0x68
jne 0x490ed1
mov ecx, esi
call fcn.004930fb
jmp 0x490e0f
cmp ecx, 0x2bf
jne 0x490f02
push str.https:__www.ijinshan.com_privacy_dubaPrivacy.html
lea ecx, [ebp + 8]
call fcn.00406173
and dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00471db7
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
jmp 0x490e0f
and dword [esi + 0x5b4], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4