joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fa10
Capabilities:
Access peb ldr_data
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x59d1c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [0x6285c4]
mov edx, dword [eax + 0xc]
xor ebx, ebx
mov ecx, 0x6285c4
mov dword [esp + 0x30], ebx
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 4]
push 0x5d8e08
push ecx
push 0x5d7f74
lea edi, [esp + 0x24]
call fcn.00407710
mov esi, dword [esp + 0x24]
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40faaf
lea eax, [esi - 0x10]
mov dword [esp + 0x3c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40faa8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40fb7a
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x48]
push edx
push esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x28], ebx
call fcn.0049d331
mov eax, dword [esp + 0x50]
mov esi, eax
movzx eax, ax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
add esp, 0xc
mov ebp, eax
movzx ecx, ax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push eax
lea ebx, [esp + 0x24]
lea edi, [esp + 0x4c]
shr esi, 0x10
shr ebp, 0x10
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], 2
mov dword [esp + 0x2c], 0x406
call fcn.0040fb90
mov eax, dword [esp + 0x44]
cmp esi, eax
jg 0x40fb45
jne 0x40fb4c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
cmp ecx, eax
jg 0x40fb45
jne 0x40fb4c
mov eax, dword [esp + 0x20]
cmp ebp, eax
jg 0x40fb45
jne 0x40fb4c
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x24]
jl 0x40fb4c
mov esi, 1
jmp 0x40fb50
mov esi, dword [esp + 0x30]
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40fb78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
Function at 0x41a070
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x208], eax
cmp word [0x65fc28], 0
jne 0x41a0e9
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.004fe380
add esp, 0xc
push 1
push 0x1a
lea edx, [esp + 8]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.360mobilemgr
lea eax, [esp + 4]
push eax
push 0x65fc28
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x65fc28
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41a0e9
push eax
push 0x65fc28
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x208]
xor ecx, esp
mov eax, 0x65fc28
call fcn.004f673f
add esp, 0x20c
ret

Function at 0x41aa60
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x592c44
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, 7
xor edi, edi
xor ecx, ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], edi
mov word [esi + 4], cx
mov dword [esp + 0x14], edi
xor edx, edx
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], edi
mov word [esi + 0x20], dx
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], edi
mov word [esi + 0x3c], cx
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], edi
mov word [esi + 0x58], dx
lea eax, [esi + 0x70]
push eax
mov byte [esp + 0x18], 3
call fcn.0042cc40
lea ecx, [esi + 0x8c]
push ecx
mov byte [esp + 0x18], 4
call fcn.0042cc40
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x41b9a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5a181e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], eax
mov dword [esi + 0x5c], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x60], vtable.CVirtualMsgHandler.0
lea edi, [esi + 0x74]
mov dword [esi], vtable.CMainWnd.0
mov dword [esi + 0x38], vtable.CMainWnd.1.0
mov dword [esi + 0x60], vtable.CMainWnd.2.0
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
call fcn.00434dd0
mov dword [esi + 0x864], ebx
mov dword [esi + 0x868], ebx
mov dword [esi + 0x86c], ebx
mov dword [esi + 0x870], ebx
mov dword [esi + 0x874], ebx
mov dword [esi + 0x878], ebx
mov dword [esi + 0x87c], ebx
mov dword [esi + 0x880], ebx
mov dword [esi + 0x884], ebx
mov dword [esi + 0x888], ebx
mov dword [esi + 0x88c], ebx
mov dword [esi + 0x890], ebx
mov dword [esi + 0x894], ebx
lea ecx, [esi + 0x898]
push ecx
mov ecx, 0x5d74e0
mov byte [esp + 0x20], 7
call fcn.004066b0
mov dword [esi + 0x8a8], ebx
mov dword [esi + 0x8ac], ebx
lea eax, [esi + 0x8b0]
mov byte [esp + 0x1c], 9
call fcn.0041a520
lea edx, [esi + 0x4a80]
push edx
call fcn.0047fb00
mov byte [esp + 0x1c], 0xa
mov dword [esi + 0x4bb4], 0x5f2b38
mov eax, dword [0x6285c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x6285c4
call edx
add eax, 0x10
mov dword [esi + 0x4bc4], eax
mov dword [esi + 0x4bd0], 3
or eax, 0xffffffff
mov dword [esi + 0x4bb8], eax
mov dword [esi + 0x4bbc], eax
mov dword [esi + 0x4bc0], ebx
mov dword [esi + 0x4bd4], ebx
lea eax, [esi + 0x4bdc]
mov byte [esp + 0x1c], 0xb
push eax
mov dword [esi + 0x4bd8], 0x5f34ac
call fcn.00445380
lea eax, [esi + 0x4bfc]
push eax
mov byte [esp + 0x20], 0xc
call fcn.0048dda0
lea edi, [esi + 0x4c14]
call fcn.0041b150
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x41ff30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a5628
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [0x6285c4]
mov edx, dword [eax + 0xc]
xor esi, esi
mov ecx, 0x6285c4
mov dword [esp + 0x1c], esi
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x40], esi
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x24]
push edx
mov edx, ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.0041fb30
test eax, eax
je 0x420039
lea edi, [ebp + 0x898]
lea eax, [esp + 0x14]
call fcn.00406fe0
mov ebx, dword [esp + 0x14]
push ecx
lea edi, [ebx - 0x10]
mov eax, edi
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
lea ecx, [ebp + 0x4a80]
mov dword [esi], eax
call fcn.004835a0
push ebx
push 0x5da238
call fcn.0049d036
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
add esp, 8
push ebp
call fcn.0041fde0
test eax, eax
je 0x42002f
mov dword [esp + 0x3c], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x420028
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, 1
jmp 0x4200a2
mov dword [esp + 0x24], 7
jmp 0x420041
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
push str.CMainWnd::AsyncConnectAndLoadAppList_failed.
call fcn.0049d036
add esp, 4
lea edx, [ebp + 0x4c14]
xchg ebp, eax
adc al, 0x4c
add byte [eax], al
push edx
push ecx
mov eax, esp
mov dword [esp + 0x50], esp
push eax
mov ecx, ebp
mov dword [esp + 0x2c], 3
call fcn.004200c0
lea ebx, [esp + 0x28]
call fcn.004a569b
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4200a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8
Function at 0x422780
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x593658
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
cmp edi, 1
mov dword [esp + 0x18], 0
jge 0x4227b7
mov edi, 0x1e
push str.mobileloader.ini
call fcn.00403fa0
push eax
push 0x65fa18
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0xc]
push eax
mov ecx, 0x65fa18
call fcn.004066b0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
push ecx
push 0
push edx
push 0x5da5a8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
mov esi, eax
call fcn.004f8fbf
mov ecx, eax
sub ecx, esi
mov eax, 0xc22e4507
imul ecx
add edx, ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
xor ecx, ecx
add esp, 4
cmp eax, edi
mov eax, dword [esp + 0xc]
setge cl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov esi, ecx
mov ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x422841
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422869
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x422980
Capabilities:
Read .ini file

Disassembly:
push ecx
push esi
push str.mobileloader.ini
call fcn.00403fa0
push eax
push 0x65fa18
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 4]
push eax
mov ecx, 0x65fa18
call fcn.004066b0
mov ecx, dword [esp + 4]
push ecx
push 0
push 0x5da6c8
push str.main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [esp + 4]
dec esi
neg esi
sbb esi, esi
add eax, 0xfffffff0
inc esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4229e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
pop ecx
ret

Function at 0x422ca0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f400
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0xc8
mov dword [ebp - 4], 0
call sub.SETUPAPI.dll_CMP_WaitNoPendingInstallEvents
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov esi, eax
mov ebx, 1
test esi, esi
je 0x422d33
cmp dword [0x65e100], 0
jne 0x422d01
push 0x623830
call edi
mov dword [0x65e100], ebx
cmp dword [0x623840], 2
jne 0x422d13
cmp dword [0x623834], 6
je 0x422d18
call fcn.00479260
push 0x12c
call sub.SETUPAPI.dll_CMP_WaitNoPendingInstallEvents
mov esi, eax
call fcn.0042d250
push eax
call fcn.004be070
test eax, eax
je 0x422ce7
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424850
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5950e6
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x2a]
push ecx
mov word [esp + 0x2c], ax
call fcn.004fe380
add esp, 0xc
push 0
push 0x28
lea edx, [esp + 0x28]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x424a1d
mov eax, dword [0x6285c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x6285c4
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
push str..android_adbkey
lea eax, [esp + 0x24]
push eax
push 0x5d7f74
lea edi, [esp + 0x24]
mov dword [esp + 0x240], 0
call fcn.00407710
mov edx, dword [0x6285c4]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x6285c4
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push str..android_adbkey.pub
lea ecx, [esp + 0x24]
push ecx
push 0x5d7f74
lea edi, [esp + 0x20]
mov byte [esp + 0x240], 1
call fcn.00407710
mov edi, dword [esp + 0x24]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push edi
call ebp
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x424969
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
mov dword [esi], eax
call fcn.0049d447
add esp, 4
or eax, edx
je 0x424990
push ebx
call ebp
test eax, eax
je 0x424997
push ecx
lea eax, [ebx - 0x10]
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
mov dword [esi], eax
call fcn.0049d447
add esp, 4
or eax, edx
jne 0x424997
mov esi, 1
jmp 0x424999
xor esi, esi
push edi
call ebp
test eax, eax
je 0x4249ae
push ebx
call ebp
test eax, eax
jne 0x4249ae
mov eax, 1
jmp 0x4249b0
xor eax, eax
test esi, esi
jne 0x4249b8
test eax, eax
je 0x4249d2
push edi
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4249c8
push edi
call esi
push ebx
call ebp
test eax, eax
je 0x4249d2
push ebx
call esi
lea eax, [ebx - 0x10]
mov byte [esp + 0x234], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4249f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x234], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424a1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004f673f
add esp, 0x224
ret
Function at 0x424a50
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x24
lea eax, [esp + 4]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x424a8f
lea ecx, [esp + 8]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x424a95
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add esp, 0x24
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push 0
push 0
push 0x10
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
push 0
push eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x424ae2
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add esp, 0x24
ret
mov eax, 1
add esp, 0x24
ret
Function at 0x427500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a4cb8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x264]
mov esi, ecx
push str.CMainWnd::DoHandleStartAppMsg
mov dword [esp + 0x18], 0
call fcn.0049d036
add esp, 4
cmp dword [esp + 0x24], 3
jne 0x42758a
cmp dword [esp + 0x24c], 0
je 0x42758a
push str.CMainWnd::DoHandleStartAppMsg_start_daemon.
call fcn.0049d036
add esp, 4
push edi
lea eax, [esp + 0x238]
push eax
push esi
call fcn.004236f0
test eax, eax
je 0x42758a
push str.CMainWnd::DoHandleStartAppMsg_start_daemon_succeed.
call fcn.0049d036
mov ecx, dword [esi + 4]
add esp, 4
push 0
push 0
push 0x10
push ecx
jmp 0x4275d2
cmp dword [esp + 0x2c], 3
jne 0x42760f
cmp dword [esp + 0x190], 0
je 0x42760f
push str.CMainWnd::DoHandleStartAppMsg_start_market.
call fcn.0049d036
add esp, 4
push edi
lea edx, [esp + 0x17c]
push edx
push esi
call fcn.004236f0
test eax, eax
je 0x42760f
push str.CMainWnd::DoHandleStartAppMsg_start_market_succeed.
call fcn.0049d036
add esp, 4
mov eax, dword [esi + 4]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
lea esi, [esp + 0x1a8]
call fcn.0041b030
lea esi, [esp + 0xec]
call fcn.0041b030
lea esi, [esp + 0x30]
call fcn.0041b030
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x24c
cmp dword [esp + 0x28], 3
jne 0x4275c8
cmp dword [esp + 0xd4], 0
je 0x4275c8
push str.CMainWnd::DoHandleStartAppMsg_start_safe.
call fcn.0049d036
add esp, 4
push edi
lea ecx, [esp + 0xc0]
push ecx
push esi
call fcn.004236f0
test eax, eax
je 0x4275c8
push str.CMainWnd::DoHandleStartAppMsg_start_safe_succeed.
call fcn.0049d036
mov edx, dword [esi + 4]
add esp, 4
push 0
push 0
push 0x10
push edx
jmp 0x4275d2
Function at 0x42a320
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, 4
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x5d7a8c
push str.SOFTWARE360Safe_stat
push reloc.WS2_32.dll_bind
mov dword [esp + 0x18], 0xffffffff
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42a369
cmp dword [esp], eax
jne 0x42a369
add esp, 0xc
ret
mov eax, 1
add esp, 0xc
ret

Function at 0x42a380
Capabilities:
Read .ini file

Disassembly:
push ecx
push esi
push str.Config2.ini
call fcn.00403fa0
push eax
push 0x65fa18
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 4]
push eax
mov ecx, 0x65fa18
call fcn.004066b0
mov ecx, dword [esp + 4]
push ecx
push 0
push str.InstallDaemonMethod
push str.Options
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor edx, edx
cmp edx, eax
mov eax, dword [esp + 4]
sbb esi, esi
add eax, 0xfffffff0
neg esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a3e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
pop ecx
ret
Function at 0x42a3f0
Capabilities:
Access peb ldr_data
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x597831
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov eax, dword [0x6285c4]
mov edx, dword [eax + 0xc]
mov ebx, ecx
xor esi, esi
mov ecx, 0x6285c4
mov dword [esp + 0x1c], esi
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
push str.mobileloader.ini
mov dword [esp + 0x134], esi
call fcn.00403fa0
push eax
push 0x65fa18
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x18]
push eax
mov ecx, 0x65fa18
call fcn.004066b0
mov byte [esp + 0x130], 1
mov edx, dword [0x6285c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x6285c4
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0xfe
lea edx, [esp + 0x2a]
xor ecx, ecx
push esi
mov byte [esp + 0x138], 2
push edx
mov word [esp + 0x30], cx
call fcn.004fe380
push esi
push str.item_d
lea edi, [esp + 0x28]
call fcn.00407710
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0x14
push eax
push 0x80
lea ecx, [esp + 0x2c]
push ecx
push 0x5d74e0
push edx
push str.PushedMobile
call ebp
test eax, eax
jbe 0x42a563
mov eax, dword [ebx]
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.004f69f9
add esp, 8
test eax, eax
jne 0x42a50b
mov dword [esp + 0x1c], 1
xor edx, edx
push 0xfe
push edx
lea eax, [esp + 0x2e]
push eax
inc esi
mov word [esp + 0x30], dx
call fcn.004fe380
push esi
push str.item_d
lea edi, [esp + 0x28]
call fcn.00407710
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
add esp, 0x14
push ecx
push 0x80
lea edx, [esp + 0x2c]
push edx
push 0x5d74e0
push edi
push str.PushedMobile
call ebp
test eax, eax
ja 0x42a4ef
mov ebp, dword [esp + 0x1c]
test ebp, ebp
jne 0x42a591
jmp 0x42a567
mov ebp, dword [esp + 0x1c]
push esi
push str.item_d
lea edi, [esp + 0x1c]
call fcn.00407710
mov eax, dword [esp + 0x20]
mov ebx, dword [ebx]
mov edi, dword [esp + 0x1c]
add esp, 8
push eax
push ebx
push edi
push str.PushedMobile
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add edi, 0xfffffff0
mov byte [esp + 0x130], 1
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a5b5
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [esp + 0x130], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a5dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x130], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a608
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.004f673f
add esp, 0x120
ret
Function at 0x432310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5976d0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov eax, dword [esp + 0x30]
push ecx
push ecx
mov ecx, dword [eax]
mov edx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.004066b0
mov edx, dword [esp + 0x34]
push ecx
mov dword [esp + 0x20], 0
mov ecx, esp
mov dword [esp + 0x10], esp
push ecx
mov ecx, dword [edx]
call fcn.004066b0
push ecx
mov ecx, dword [esp + 0x38]
mov eax, esp
mov byte [esp + 0x24], 1
mov ecx, dword [ecx]
mov dword [esp + 0x18], esp
push eax
call fcn.004066b0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
lea ecx, [eax + edx]
mov dword [esp + 0x24], 0xffffffff
call dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret