joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cfb4
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1b0]
sub esp, 0x230
mov eax, dword [0x45a258]
xor eax, ebp
mov dword [ebp + 0x1ac], eax
push ebx
push esi
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
push 2
mov edi, eax
mov dword [ebp - 0x80], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x40cff6
xor eax, eax
jmp 0x40d05e
lea eax, [ebp - 0x80]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x40d011
cmp dword [ebp - 0x78], edi
je 0x40d017
lea eax, [ebp - 0x80]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40d002
jmp 0x40d055
mov edi, dword [ebp - 0x68]
test edi, edi
je 0x40d055
lea eax, [ebp - 0x80]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x40d039
cmp dword [ebp - 0x78], edi
je 0x40d03f
lea eax, [ebp - 0x80]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40d02a
jmp 0x40d055
push str.ZhuDongFangYu.exe
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x40d055
xor ebx, ebx
inc ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp + 0x1ac]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042deb1
add ebp, 0x1b0
leave
ret

Function at 0x40d649
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
xor ebx, ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x40d6c0
push edi
push esi
call fcn.0042e729
mov edi, eax
pop ecx
test edi, edi
je 0x40d6bf
push edi
push esi
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40d6b6
and dword [ebp - 4], ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x44ee54
push edi
call sub.VERSION.dll_VerQueryValueW
mov ebx, eax
test ebx, ebx
je 0x40d6b6
mov eax, dword [ebp - 4]
test eax, eax
je 0x40d6b6
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push edi
call fcn.0042e7f3
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40d71f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44920e
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
mov eax, dword [0x45a258]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40d76b
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00406339
pop ecx
test eax, eax
je 0x40d757
push 0x10
xor esi, esi
lea eax, [esp + 0x18]
push esi
push eax
call fcn.0042dec0
add esp, 0xc
push 0x40
lea eax, [esp + 0x2c]
push esi
push eax
call fcn.0042dec0
add esp, 0xc
push 5
pop eax
mov word [esp + 0x54], ax
mov eax, dword [0x45dc04]
mov ecx, 0x45dc04
mov dword [esp + 0x24], 0x44
mov dword [esp + 0x50], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x78], esi
lea eax, [esp + 0x10]
cmp dword [ebp + 8], esi
je 0x40d7e4
push dword [ebp + 8]
push ebx
push str.__s___s
call fcn.0040816c
add esp, 0xc
jmp 0x40d7f1
push ebx
push str.__s_
call fcn.0040816c
pop ecx
pop ecx
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40d820
lea eax, [ebx - 0x10]
call fcn.00406004
mov eax, esi
jmp 0x40d759
mov eax, dword [ebp + 0xc]
cmp eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x40d835
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
jmp 0x40d83b
push dword [esp + 0x14]
call esi
push dword [esp + 0x18]
call esi
xor esi, esi
inc esi
jmp 0x40d811
Function at 0x40d88a
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x45a258]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
push 0xf00ff
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40d9dc
cmp dword [ebp + 8], ebx
je 0x40d8fc
lea eax, [ebp - 0x20]
push eax
push 4
lea eax, [ebp - 0x30]
push eax
push 0x14
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x40d9d3
cmp dword [ebp - 0x20], 4
jne 0x40d9d3
cmp dword [ebp - 0x30], ebx
je 0x40d8fc
xor eax, eax
jmp 0x40d9df
lea eax, [ebp - 0x10]
push eax
push 2
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x40d9d3
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
mov dword [ebp - 0x18], ebx
call esi
test eax, eax
je 0x40d9c9
cmp dword [ebp - 0x18], ebx
je 0x40d9c9
push edi
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x221
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x14], ebx
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_FreeSid]
test eax, eax
je 0x40d9c3
cmp dword [ebp - 0x14], ebx
je 0x40d9c3
mov esi, dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x2c], ebx
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x40d9be
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x40d9be
cmp dword [ebp - 0x2c], ebx
jne 0x40d9be
cmp dword [ebp - 0x24], ebx
je 0x40d9be
mov dword [ebp - 0x28], 1
push dword [ebp - 0x14]
call edi
push dword [ebp - 0x18]
call edi
pop edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0042deb1
leave
ret

Function at 0x40e62b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x208
call fcn.0042dd13
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.004303fc
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x40e4d5
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x40e67a
cmp dword [ebp + 0xc], 0
je 0x40e673
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
leave
ret
Function at 0x40ec78
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x45a258]
xor eax, ebp
mov dword [ebp + 0x190], eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.ImagePath
push str.SOFTWARE360Safe_tpi360Cactus
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, dword [ebp + 0x190]
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0042deb1
add ebp, 0x194
leave
ret

Function at 0x40ff4f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
test esi, esi
je 0x40ffc9
test eax, eax
je 0x40ffc9
xor ecx, ecx
cmp cx, word [eax]
je 0x40ffc9
and dword [ebp - 4], ecx
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ffc9
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push str.Path
push dword [ebp - 4]
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp ax, word [esi]
je 0x40ffc0
push esi
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push esi
call fcn.0042e151
pop ecx
leave
ret
xor eax, eax
leave
ret

Function at 0x410063
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x45a258]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
test esi, esi
je 0x4100bd
test edi, edi
je 0x4100bd
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0042dec0
push edi
push esi
push 0x44f9ec
mov ecx, 0x104
lea edi, [ebp - 0x20c]
call fcn.00410c60
add esp, 0x18
test eax, eax
jl 0x4100bd
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jmp 0x4100bf
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0042deb1
leave
ret
Function at 0x410b12
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push 4
pop esi
xor ebx, ebx
push ebx
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], ebx
call fcn.004306e2
pop ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 4]
push eax
push 0x2001f
push ebx
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410c20
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.hips_defense_day
push dword [ebp - 4]
mov dword [ebp - 8], esi
call edi
cmp eax, ebx
je 0x410b85
cmp eax, 2
jne 0x410c16
mov eax, dword [ebp - 0x14]
cdq
mov ecx, 0x15180
idiv ecx
mov ebx, 0x15180
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], esi
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ebx
cmp eax, ecx
je 0x410bda
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
lea eax, [ebp - 0x18]
push eax
push esi
push 0
push str.hips_defense_day
push dword [ebp - 4]
call edi
push esi
lea eax, [ebp - 0xc]
push eax
push esi
push 0
push str.hips_defense_count
push dword [ebp - 4]
mov dword [ebp - 8], esi
call edi
jmp 0x410c16
and dword [ebp - 0xc], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov ebx, str.hips_defense_count
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x10], esi
call edi
test eax, eax
jne 0x410c16
inc dword [ebp - 0xc]
push esi
lea eax, [ebp - 0xc]
push eax
push esi
push 0
push ebx
push dword [ebp - 4]
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x410d19
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [0x45ec80]
push edi
lea eax, [esi + 2]
mov dword [0x45ec80], eax
lea eax, [ebp - 4]
push eax
push 0x40
mov edi, 0x410cad
sub edi, esi
push 7
sub esi, 5
push esi
call ebx
test eax, eax
je 0x410d90
lea eax, [ebp - 4]
push eax
mov byte [esi], 0xe9
mov dword [esi + 1], edi
mov byte [esi + 5], 0xeb
mov byte [esi + 6], 0xf9
push dword [ebp - 4]
push 7
push esi
call ebx
push 7
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
add esi, 7
mov dword [0x45ec80], esi
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x410d98
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
cmp byte [esi + 6], 0xf9
mov dword [ebp - 4], edi
jne 0x410e01
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 7
push esi
call ebx
test eax, eax
je 0x410e00
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
lea edi, [esi + 5]
push 7
push esi
mov byte [esi], 0x90
mov byte [esi + 1], 0x90
mov byte [esi + 2], 0x90
mov byte [esi + 3], 0x90
mov byte [esi + 4], 0x90
mov byte [edi], 0x8b
mov byte [esi + 6], 0xff
call ebx
push 7
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov dword [0x45ec80], edi
xor edi, edi
inc edi
pop ebx
mov eax, edi
pop edi
leave
ret

Function at 0x4131f8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
call fcn.00420bd2
xor ebx, ebx
test eax, eax
je 0x413242
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
test eax, eax
je 0x413242
cmp byte [ebp - 0x18], 1
jne 0x413224
xor eax, eax
inc eax
jmp 0x413238
cmp byte [ebp - 0x18], 0xff
jne 0x413236
cmp byte [ebp - 0x17], 0x80
je 0x41321f
cmp byte [ebp - 0x17], 0xff
je 0x41321f
xor eax, eax
cmp byte [ebp - 0x16], 0xff
je 0x413242
cmp eax, ebx
je 0x413249
mov dword [edi + 0x10], 1
mov dword [ebp - 8], ebx
cmp dword [0x460558], ebx
je 0x41325d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 8], eax
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 0x72
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov esi, eax
neg esi
sbb esi, esi
and esi, dword [ebp - 4]
cmp dword [ebp - 8], ebx
je 0x41328d
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], ebx
je 0x41328d
mov dword [edi + 0xc], 1
jmp 0x413290
mov dword [edi + 0xc], ebx
cmp esi, ebx
je 0x4132a5
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], ebx
je 0x4132a5
mov dword [edi + 8], 1
jmp 0x4132a8
mov dword [edi + 8], ebx
push ebx
push ebx
push ebx
push 0x41334a
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xc], eax
cmp eax, ebx
jne 0x4132c7
or eax, 0xffffffff
jmp 0x4132f8
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4132e8
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x4132ec
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [edi + 4], eax
call fcn.00413314
mov ecx, dword [ebp - 8]
mov dword [edi], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], esi
pop esi
mov dword [eax + 0xc], ecx
pop ebx
leave
ret 4
Function at 0x414485
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
call fcn.0040d2a1
test eax, eax
je 0x41449c
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
jne 0x4144b7
push 0x454d14
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], str.can_not_load_pdown.dll
call fcn.00432b9c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.PPInit
push eax
call esi
push str.PPInit2
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.PPClose
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.PPSetConfig
push dword [edi]
mov dword [edi + 0xc], eax
call esi
push str.PPGetConfig
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.PPDownload
push dword [edi]
mov dword [edi + 0x14], eax
call esi
push str.PPStopTask
push dword [edi]
mov dword [edi + 0x18], eax
call esi
push str.PPRestart
push dword [edi]
mov dword [edi + 0x1c], eax
call esi
push str.PPRemoveTask
push dword [edi]
mov dword [edi + 0x20], eax
call esi
push str.PPStopSeed
push dword [edi]
mov dword [edi + 0x24], eax
call esi
push str.PPCloseHandle
push dword [edi]
mov dword [edi + 0x28], eax
call esi
push str.PPQueryTask
push dword [edi]
mov dword [edi + 0x2c], eax
call esi
push str.PPQueryTaskEx
push dword [edi]
mov dword [edi + 0x30], eax
call esi
push str.PPStartTask
push dword [edi]
mov dword [edi + 0x34], eax
call esi
push str.PPStartTaskEx
push dword [edi]
mov dword [edi + 0x38], eax
call esi
push str._GetTasks
push dword [edi]
mov dword [edi + 0x3c], eax
call esi
push str._StartRun
push dword [edi]
mov dword [edi + 0x44], eax
call esi
push str._StopRun
push dword [edi]
mov dword [edi + 0x48], eax
call esi
push str._Run
push dword [edi]
mov dword [edi + 0x4c], eax
call esi
push str._EnableP2P
push dword [edi]
mov dword [edi + 0x50], eax
call esi
mov dword [edi + 0x54], eax
push str._SetKeep
push dword [edi]
call esi
push str._SetKeepEx
push dword [edi]
mov dword [edi + 0x58], eax
call esi
push str._IsStopped
push dword [edi]
mov dword [edi + 0x5c], eax
call esi
push str._PPQueryTask2
push dword [edi]
mov dword [edi + 0x60], eax
call esi
push str.__PPSetModulePath2
push dword [edi]
mov dword [edi + 0x64], eax
call esi
push str.StartLan
push dword [edi]
mov dword [edi + 0x68], eax
call esi
push str.StopLan
push dword [edi]
mov dword [edi + 0x6c], eax
call esi
push str._PPQueryIPPort
push dword [edi]
mov dword [edi + 0x70], eax
call esi
push str._PPSetLocalLog
push dword [edi]
mov dword [edi + 0x74], eax
call esi
push str._P2SPUpdateRegInfo
push dword [edi]
mov dword [edi + 0x78], eax
call esi
push str._P2SPCheckProxy
push dword [edi]
mov dword [edi + 0x7c], eax
call esi
push str._P2SPCancelCheckProxy
push dword [edi]
mov dword [edi + 0x80], eax
call esi
push str._P2SPSetOption
push dword [edi]
mov dword [edi + 0x84], eax
call esi
push str.PPSetOption
push dword [edi]
mov dword [edi + 0x88], eax
call esi
mov dword [edi + 0x40], eax
mov eax, edi
pop esi
leave
ret
Function at 0x414b2e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
cmp eax, ecx
jne 0x414b40
xor eax, eax
inc eax
leave
ret
push 0
lea edx, [ebp - 4]
push edx
sub eax, ecx
push eax
push ecx
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x414b68
mov eax, dword [esi]
mov ecx, dword [esi + 4]
sub ecx, eax
cmp dword [ebp - 4], ecx
jne 0x414b68
mov dword [esi + 4], eax
jmp 0x414b3b
mov eax, dword [esi]
mov dword [esi + 4], eax
xor eax, eax
leave
ret
Function at 0x415c73
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0xa
push 0x3c
mov esi, eax
push 3
add esi, 0x2c
pop ecx
mov edx, esi
call fcn.00422ff7
xor ebx, ebx
push ebx
push 1
push 0xb
pop ecx
mov edx, esi
call fcn.00422ff7
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str._start
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
push ebx
mov edx, esi
test eax, eax
je 0x415cbc
push 0xb4
jmp 0x415cbe
push 1
push 8
pop ecx
call fcn.00422ff7
push ebx
push 0x37
push 0x17
pop ecx
mov edx, esi
call fcn.00422ff7
push ebx
push 0x3c
push 5
pop ecx
mov edx, esi
call fcn.00422ff7
mov dword [ebp - 4], 0x12c
call fcn.0041b6f1
cmp eax, ebx
je 0x415cf9
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
jmp 0x415cfb
xor eax, eax
cmp eax, ebx
je 0x415d07
lea edi, [ebp - 4]
call fcn.0041b0ef
push ebx
push dword [ebp - 4]
mov edx, esi
push 7
pop ecx
call fcn.00422ff7
cmp dword [0x46055c], ebx
je 0x415d2d
push ebx
push 0x258
push 9
pop ecx
mov edx, esi
call fcn.00422ff7
cmp dword [0x460564], ebx
jne 0x415d46
push 0xffffffffffffffff
push 0x12c
push 0xc
pop ecx
mov edx, esi
call fcn.00422ff7
push 0xffffffffffffffff
push 0x708
push 0x16
pop ecx
mov edx, esi
call fcn.00422ff7
push ebx
mov edi, 0xe10
push edi
push 0xf
pop ecx
mov edx, esi
call fcn.00422ff7
cmp dword [0x46055c], ebx
je 0x415d80
push ebx
push 0xb4
push 0x11
pop ecx
mov edx, esi
call fcn.00422ff7
cmp dword [0x46056c], ebx
je 0x415d95
push ebx
push 5
push 0x12
pop ecx
mov edx, esi
call fcn.00422ff7
call fcn.0040ed76
test eax, eax
je 0x415dab
push 0xffffffffffffffff
push edi
push 0x18
pop ecx
mov edx, esi
call fcn.00422ff7
pop edi
pop esi
pop ebx
leave
ret
Function at 0x415db0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
cmp dword [edi + 0x960], ebx
je 0x415de9
push str.UnregisterSuspendResumeNotification
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x415de9
push dword [edi + 0x960]
call eax
mov dword [edi + 0x960], ebx
cmp dword [0x45ead8], ebx
je 0x415dfe
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x415f44
mov byte [edi + 0x60], 1
push 0xa8
mov dword [0x460580], ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea eax, [edi + 0x70]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
cmp byte [edi + 0x61], bl
je 0x415e33
call fcn.00424ac3
mov ecx, eax
call fcn.0042489e
cmp dword [0x460564], ebx
jne 0x415e40
call fcn.0041786d
push esi
push ebx
push str.Q360BoxMain
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
cmp eax, ebx
je 0x415e5e
push ebx
push ebx
push 0x10
push eax
call esi
push ebx
push str.Q360NetFosClass
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x415e75
push ebx
push ebx
push 0x10
push eax
call esi
push 0x168
push 0x10
call fcn.0040e006
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push str.360Tray_Exit
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0x40e6be
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [edi + 0x948]
cmp eax, ebx
je 0x415eb9
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
lea eax, [edi + 0x538]
push eax
call fcn.00409539
mov eax, dword [edi + 0x958]
cmp eax, ebx
je 0x415ed5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi + 0x54]
cmp eax, ebx
je 0x415f0f
mov eax, dword [eax + 0x70]
cmp eax, ebx
je 0x415ee5
call eax
mov eax, dword [edi + 0x54]
mov eax, dword [eax + 0xc]
cmp eax, ebx
je 0x415ef1
call eax
mov esi, dword [edi + 0x54]
cmp esi, ebx
je 0x415f0c
mov eax, dword [esi]
cmp eax, ebx
je 0x415f05
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call fcn.0042dea6
pop ecx
mov dword [edi + 0x54], ebx
call fcn.00417718
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.0041b8d9
lea ecx, [edi + 0x28]
push ecx
mov esi, eax
call fcn.0041b692
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
cmp dword [0x460558], ebx
je 0x415f44
push dword [edi + 4]
call sub.WTSAPI32.dll_WTSUnRegisterSessionNotification
pop ebx
leave
ret