joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4093f0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
sub esp, 0x214
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x210], eax
push ebp
mov ebp, dword [esp + 0x21c]
push esi
push edi
mov esi, str.mobileloader.ini
lea edi, [esp + 0xc]
call fcn.00407de0
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4094a5
test ebx, ebx
je 0x4094a5
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x1e]
push edx
mov word [esp + 0x20], cx
call fcn.004fe380
mov eax, dword [esp + 0x18]
add esp, 0xc
push eax
push 0x104
lea ecx, [esp + 0x1c]
push ecx
push 0x5d74e0
push ebx
push str.Options
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x409476
mov ecx, edi
call fcn.00406760
jmp 0x4094c5
push 0xa
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x1c], 0
call fcn.004f7cfd
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [ebp], eax
call fcn.00406760
mov eax, 1
jmp 0x4094c7
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4094c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004f673f
add esp, 0x214
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x59d276
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov esi, str.mobileloader.ini
lea edi, [esp + 0xc]
mov dword [esp + 0x10], 0
call fcn.00407de0
mov dword [esp + 0x228], 0
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40973b
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x1e]
push edx
mov word [esp + 0x20], cx
call fcn.004fe380
mov eax, dword [esp + 0x18]
add esp, 0xc
push eax
push 0x104
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.FloatingWndPos
push str.Options
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x409700
push ebx
mov ecx, 0x5d74e0
call fcn.004066b0
mov ecx, edi
call fcn.00406760
jmp 0x409771
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
call fcn.004066b0
mov byte [esp + 0x228], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004073f0
add eax, 0x10
lea ecx, [esp + 0x10]
mov dword [ebx], eax
call fcn.00406760
lea ecx, [esp + 0xc]
call fcn.00406760
jmp 0x409771
push ebx
mov ecx, 0x5d74e0
call fcn.004066b0
mov dword [esp + 0x228], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409771
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.004f673f
add esp, 0x220
ret
Function at 0x40a980
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5a06fb
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x804], eax
push esi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x814]
mov dword fs:[0], eax
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.004fe380
mov eax, dword [esp + 0x830]
add esp, 0xc
lea edx, [esp + 0xc]
push edx
push eax
call fcn.0040ac00
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
call fcn.004066b0
mov dword [esp + 0x81c], 0
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40aa3b
mov dword [esp + 0x81c], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aa37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40aa77
mov ecx, dword [esp + 8]
push ecx
call fcn.00404460
mov esi, eax
mov dword [esp + 0x820], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40aa75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x814]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.004f673f
add esp, 0x818
ret 4

Function at 0x40ab30
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x23c
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
push 0
push 2
mov edi, ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x40abe2
push 0x228
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.004fe380
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push esi
mov dword [esp + 0x1c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40abdb
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, eax
cmp ebp, dword [esp + 0x1c]
je 0x40abcc
lea edx, [esp + 0x38]
push 0x5d8498
push edx
call fcn.004f69f9
add esp, 8
test eax, eax
jne 0x40abcc
mov eax, dword [esp + 0x1c]
push eax
call fcn.0040a980
test eax, eax
je 0x40abcc
mov ecx, dword [esp + 0x1c]
lea ebx, [esp + 0x10]
mov dword [esp + 0x10], ecx
call fcn.004c1100
lea edx, [esp + 0x14]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40ab91
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x248]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f673f
add esp, 0x23c
ret
Function at 0x40ad40
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x5a11f6
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
mov eax, dword [esp + 0x274]
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
cmp esi, ebx
jne 0x40ad99
xor eax, eax
jmp 0x40aef1
lea ecx, [esp + 0x1c]
push ecx
call fcn.0048dda0
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x270], ebx
call fcn.0048dda0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x26c], 1
call fcn.0040ab30
mov eax, dword [esp + 0x2c]
mov edi, eax
sub edi, dword [esp + 0x28]
xor ebp, ebp
sar edi, 2
cmp edi, ebx
mov dword [esp + 0x34], edi
jle 0x40ae7b
jmp 0x40ade6
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
sar eax, 2
cmp ebp, eax
jb 0x40adf6
call fcn.004f825e
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + ebp*4]
push ecx
call fcn.0040aaa0
mov esi, eax
push esi
mov dword [esp + 0x3c], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40ae6e
push 0x206
lea eax, [esp + 0x5a]
xor edx, edx
push ebx
push eax
mov word [esp + 0x60], dx
call fcn.004fe380
add esp, 0xc
push 0x104
lea ecx, [esp + 0x58]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x40ae6e
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
lea ecx, [esp + 0x54]
push ecx
push eax
call fcn.004f69f9
add esp, 8
test eax, eax
jne 0x40ae6e
lea ebx, [esp + 0x38]
lea edi, [esp + 0x3c]
call fcn.004c1100
mov edi, dword [esp + 0x34]
xor ebx, ebx
inc ebp
cmp ebp, edi
jl 0x40ade2
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
sub eax, ecx
sar eax, 2
cmp eax, 1
jne 0x40ae93
mov edx, dword [ecx]
mov dword [esi], edx
jmp 0x40ae95
mov dword [esi], ebx
xor edx, edx
cmp eax, 1
sete dl
mov esi, edx
cmp ecx, ebx
je 0x40aeac
push ecx
call fcn.004f6734
add esp, 4
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.004f6734
mov eax, dword [esp + 0x2c]
add esp, 4
cmp eax, ebx
je 0x40aed6
push eax
call fcn.004f6734
add esp, 4
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.004f6734
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.004f673f
add esp, 0x25c
ret 4
Function at 0x40af20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x214], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x16]
mov dword [esp + 0xc], 0
push ecx
mov word [esp + 0x18], ax
call fcn.004fe380
add esp, 0xc
lea edx, [esp]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.WS2_32.dll_bind
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40afb8
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 4]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
push 0
push str.Path
push eax
mov dword [esp + 0x20], 0x208
mov dword [esp + 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
lea ecx, [esp + 0x10]
call fcn.004066b0
mov ecx, dword [esp + 0x214]
xor ecx, esp
mov eax, esi
call fcn.004f673f
add esp, 0x218
ret

Function at 0x40afe0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x595438
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea esi, [esp + 0xc]
call fcn.0040af20
push 0x17
push str.UtilsModuleUpdate.exe
mov eax, esi
push eax
mov dword [esp + 0x24], 0
call fcn.00409a20
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
mov edx, dword [esp + 0x44]
push eax
mov ecx, esi
push ecx
mov ecx, dword [esp + 0x40]
call fcn.0040b0a0
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b07c
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 esi
add esp, 0x14
ret 0x20
Function at 0x40ba00
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5954db
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
push 0x104
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edx, dword [0x6285c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x6285c4
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x10]
push ecx
push str._s360MobileMgr.exe
lea edi, [esp + 0x14]
mov dword [esp + 0x22c], 0
call fcn.00407710
mov esi, dword [esp + 0x14]
add esp, 8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x224], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bac2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004f673f
add esp, 0x21c
ret
Function at 0x40bc20
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5a1f48
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea esi, [esp + 0xc]
call fcn.0040af20
push 0x17
push str.UtilsModuleUpdate.exe
mov eax, esi
push eax
mov dword [esp + 0x34], 0
call fcn.00409a20
mov eax, dword [edi + 8]
lea esi, [edi + 8]
test eax, eax
je 0x40bc82
push 1
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x40bd9a
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40bd9a
lea edx, [esp + 0x1c]
push edx
mov ecx, str.MOBILESRV_UPDATE
call fcn.004066b0
lea eax, [esp + 0x18]
push eax
mov ecx, str.PRODUCT
mov byte [esp + 0x2c], 1
call fcn.004066b0
lea ecx, [esp + 0x14]
push ecx
mov ecx, str.360MobileSrv
mov byte [esp + 0x2c], 2
call fcn.004066b0
lea edx, [esp + 0x10]
push edx
mov ecx, str.MobileInstallapk
mov byte [esp + 0x2c], 3
call fcn.004066b0
push esi
lea eax, [edi + 4]
push eax
push edi
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
mov byte [esp + 0x48], 4
call fcn.0040afe0
mov byte [esp + 0x28], 3
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bd2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bd50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 1
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 0x40bd75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bd9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bdc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret
Function at 0x40cc40
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
lea eax, [esp + 0xc]
push eax
push ebp
xor ebx, ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x40cc66
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
push edi
push esi
call fcn.004f6dde
mov edi, eax
add esp, 4
test edi, edi
jne 0x40cc80
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
push edi
push esi
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40ccbb
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x5d7f4c
push edi
call sub.VERSION.dll_VerQueryValueW
mov edx, dword [esp + 0x20]
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
mov dword [edx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
push edi
call fcn.004f6d01
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 8
ret 0xc

Function at 0x40ce60
Capabilities:
Set registry value
Terminate process

Disassembly:
push ecx
mov eax, dword [esi + 8]
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x40ced2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push eax
call ebx
test eax, eax
je 0x40ce88
mov eax, dword [esi + 8]
test eax, eax
jne 0x40ce76
jmp 0x40ced1
call fcn.0040ba00
test eax, eax
je 0x40ceb3
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0x5d7a8c
push str.SOFTWARE360Safe_stat
push reloc.WS2_32.dll_bind
mov dword [esp + 0x20], 1
call edi
push 0
push str.360McUpdateTipClass
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x40ced1
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop ebx
call fcn.0040ba00
test eax, eax
je 0x40cf0c
push 4
lea ecx, [esp + 8]
push ecx
push 4
push 0x5d7a8c
push str.SOFTWARE360Safe_stat
push reloc.WS2_32.dll_bind
mov dword [esp + 0x1c], 1
call edi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
pop ecx
ret

Function at 0x40ec20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
push str.gamemode
push str.SOFTWARE360Safemobilemgr
push reloc.WS2_32.dll_bind
mov dword [esp + 0x24], 4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 4
call esi
test eax, eax
jne 0x40ec76
cmp dword [esp + 4], eax
je 0x40ec76
mov eax, 1
pop esi
add esp, 0xc
ret
lea eax, [esp + 8]
push eax
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
push str.augmstate
push str.SOFTWARE360Safe_netmon
push reloc.WS2_32.dll_bind
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 4
call esi
test eax, eax
jne 0x40ecb0
cmp dword [esp + 4], eax
jne 0x40ec6c
xor eax, eax
pop esi
add esp, 0xc
ret
Function at 0x40eda0
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
test edi, edi
jne 0x40edad
xor eax, eax
add esp, 0xc
ret
push esi
lea eax, [esp + 8]
push eax
push edi
mov dword [esp + 0x10], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x40edcc
pop esi
add esp, 0xc
ret
push ebx
push esi
call fcn.004f499a
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x40ede2
pop ebx
pop esi
add esp, 0xc
ret
push ebx
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40ee45
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
push 0x5d7f4c
push ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40ee45
mov eax, dword [esp + 8]
movzx ecx, word [eax + 0xa]
mov edx, dword [esp + 0x18]
mov dword [edx], ecx
movzx ecx, word [eax + 8]
mov edx, dword [esp + 0x1c]
mov dword [edx], ecx
movzx ecx, word [eax + 0xe]
mov edx, dword [esp + 0x20]
movzx eax, word [eax + 0xc]
mov dword [edx], ecx
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
push ebx
call fcn.004f744f
add esp, 4
pop ebx
mov eax, 1
pop esi
add esp, 0xc
ret

Function at 0x40efc0
Capabilities:
Check if file exists
Create directory

Disassembly:
sub esp, 0x214
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x208
push esi
mov ebx, edx
push 0
mov dword [esi + 0xc38], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esi + 0xc34]
push eax
lea ecx, [esi + 0xc30]
push ecx
push esi
call fcn.004083b0
mov ebp, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
add esp, 0xc
push esi
call ebp
push 0x208
lea edi, [esi + 0x208]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
call ebp
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.config_netman
push esi
lea edx, [esi + 0x820]
push edx
call ebx
lea edx, [esi + 0x618]
push str.configdefaultskin
mov eax, bind
mov ecx, 0x104
call fcn.00407d20
push str...configdefaultskin
push esi
lea eax, [esi + 0x410]
push eax
call ebx
push str.360netmon.ini
push esi
lea ebx, [esi + 0xa28]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x1a]
push edx
mov word [esp + 0x1c], cx
call fcn.004fe380
add esp, 0xc
push ebx
mov eax, bind
mov ecx, 0x104
lea edx, [esp + 0x14]
call fcn.00407d20
lea eax, [esp + 0x10]
push eax
call ebp
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40f0c7
push eax
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
push str.m_szAppPath____s_
call fcn.0049d036
push edi
push str.m_szDLLDirectory____s_
call fcn.0049d036
push ebx
push str.m_szIniFilePath____s_
call fcn.0049d036
add esp, 0x18
add esi, 0xc3c
je 0x40f0fb
push 0x64
push esi
call fcn.0051b4b0
push esi
push str.m_mid____s_
call fcn.0049d036
mov ecx, dword [esp + 0x224]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f673f
add esp, 0x214
ret
Function at 0x40f2e0
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 8]
test eax, eax
je 0x40f31b
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40f306
mov eax, dword [esi + 8]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 8]
test eax, eax
je 0x40f31b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
mov eax, dword [esi + 4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f33a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f358
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
ret

Function at 0x40f360
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
push edi
call ebx
sub eax, dword [esi + 0x10]
cmp eax, 0x2bf20
jae 0x40f3c0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, dword [sym.imp.USER32.dll_FindWindowW]
push 0
push str.360MobileManagerClass
call ebp
test eax, eax
je 0x40f399
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x40f3b2
push 0x64
call edi
call ebx
sub eax, dword [esi + 0x10]
cmp eax, 0x2bf20
jb 0x40f381
mov eax, 1
pop edi
pop ebp
pop ebx
ret
push 0x9c4
call edi
mov ecx, esi
call fcn.0040f480
pop edi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x40f3d0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x595438
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 eax, dword [0x6285c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x6285c4
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], 0
mov ecx, dword [eax + 4]
push 0x5d79d4
push ecx
push 0x5d7f74
lea edi, [esp + 0x18]
call fcn.00407710
mov esi, dword [esp + 0x18]
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f460
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4