joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4826a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 2
push 0
push 0
push 0
push str.SOFTWARE360Safe_tpiSdAdBlock
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x482701
cmp dword [ebp - 8], 0
je 0x4827bd
mov dword [ebp - 4], 4
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 4
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
push str.StartType
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], 1
push 0x80
push 0
lea edx, [ebp - 0xa0]
push edx
call fcn.004c62e0
add esp, 0xc
push str.safemonSdAdBlock.tpi
push 0x80
lea eax, [ebp - 0xa0]
push eax
call fcn.00422b70
lea ecx, [ebp - 0xa0]
push ecx
call fcn.004c635a
add esp, 4
lea edx, [eax + eax + 2]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0
push str.ImagePath
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4827ac
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret

Function at 0x482d70
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x424], ecx
mov eax, dword [ebp - 0x424]
cmp dword [eax], 0
jne 0x482e57
push str.AdvToolsEx.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [ebp - 0x424]
mov dword [ecx], eax
mov edx, dword [ebp - 0x424]
cmp dword [edx], 0
jne 0x482e57
mov dword [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x420], ax
push 0x40e
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.004c62e0
add esp, 0xc
mov dword [ebp - 8], 0x406
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x5011e0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push str.Utils
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.AdvToolsEx.dll
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x482e57
lea edx, [ebp - 0x420]
push edx
call fcn.00482e70
add esp, 4
mov ecx, dword [ebp - 0x424]
mov dword [ecx], eax
mov edx, dword [ebp - 0x424]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret
Function at 0x482ec0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00483240
add esp, 4
test eax, eax
je 0x482edb
mov eax, 1
jmp 0x482f1b
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x482eed
xor eax, eax
jmp 0x482f1b
push 1
call fcn.00482f20
push eax
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 4]
call fcn.00483390
mov ecx, eax
call fcn.004833c0
push eax
call fcn.00482f30
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.004833b0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4830b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret 0x18

Function at 0x483110
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x820], 0x400
xor eax, eax
mov word [ebp - 0x808], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x806]
push ecx
call fcn.004c62e0
add esp, 0xc
mov dword [ebp - 0x80c], 1
mov dword [ebp - 0x814], 0x800
lea edx, [ebp - 0x814]
push edx
lea eax, [ebp - 0x808]
push eax
lea ecx, [ebp - 0x80c]
push ecx
push 0x5011e0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x810], eax
cmp dword [ebp - 0x810], 0
je 0x4831a3
mov eax, 1
jmp 0x48322a
push str.360ver.dll
lea edx, [ebp - 0x808]
push edx
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4831d4
mov eax, 1
jmp 0x48322a
lea edx, [ebp - 0x808]
push edx
call fcn.00483340
add esp, 4
mov dword [ebp - 0x81c], eax
cmp dword [ebp - 0x81c], 0
jne 0x4831f9
mov eax, 1
jmp 0x48322a
push str.IsBetaVersion
mov eax, dword [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
call dword [ebp - 4]
mov dword [ebp - 0x818], eax
mov ecx, dword [ebp - 0x81c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x818]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret
Function at 0x48b940
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 0
je 0x48b95c
mov eax, 1
jmp 0x48ba59
lea ecx, [ebp - 4]
push ecx
call fcn.0048bd10
add esp, 4
lea ecx, [ebp - 4]
call fcn.00413b20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48b9a5
lea ecx, [ebp - 4]
call fcn.00413b20
push eax
call fcn.0044da10
add esp, 4
test eax, eax
je 0x48b9a5
lea ecx, [ebp - 4]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x10], 0
je 0x48ba28
push str.CreateInterface
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x48ba28
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.0048c150
push eax
push 0x5015e8
call dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x48ba28
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.0048c140
test eax, eax
je 0x48ba28
mov ecx, dword [ebp - 0x18]
add ecx, 0x14
call fcn.0048c160
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x48ba28
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xc], 1
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 0
je 0x48ba45
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 4]
call fcn.00413a40
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x48dc60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004c62e0
add esp, 0xc
push 0
push 0x1a
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x48dcd1
push 0x5018f4
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp + 0xc]
call fcn.00413b20
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 4]
call fcn.00413a00
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.004139e0
lea ecx, [ebp - 4]
call fcn.00413a40
lea ecx, [ebp + 0xc]
call fcn.00413a40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret
Function at 0x48dd10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004c62e0
add esp, 0xc
push 0
push 0x23
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x48dd81
push str.360safe360Disabled
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp + 0xc]
call fcn.00413b20
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 4]
call fcn.00413a00
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.004139e0
lea ecx, [ebp - 4]
call fcn.00413a40
lea ecx, [ebp + 0xc]
call fcn.00413a40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret

Function at 0x48df10
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x501944
lea ecx, [ebp - 4]
call fcn.00413a00
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004c62e0
add esp, 0xc
push 0
push 0x18
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x48df75
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 4]
call fcn.00413a60
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004139e0
lea ecx, [ebp - 4]
call fcn.00413a40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret

Function at 0x48dfa0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x501948
lea ecx, [ebp - 4]
call fcn.00413a00
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004c62e0
add esp, 0xc
push 0
push 7
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x48e005
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 4]
call fcn.00413a60
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004139e0
lea ecx, [ebp - 4]
call fcn.00413a40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret
Function at 0x48e9c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
je 0x48e9d8
cmp dword [ebp + 0xc], 0
je 0x48e9d8
cmp dword [ebp + 0x10], 0
jne 0x48e9dc
xor eax, eax
jmp 0x48ea59
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x48ea46
cmp dword [ebp - 4], 0
je 0x48ea46
push 4
lea ecx, [ebp + 0x14]
push ecx
push 4
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x48ea46
mov dword [ebp - 0xc], 1
cmp dword [ebp - 4], 0
je 0x48ea56
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x48ea60
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
je 0x48ea78
cmp dword [ebp + 0xc], 0
je 0x48ea78
cmp dword [ebp + 0x10], 0
jne 0x48ea7c
xor eax, eax
jmp 0x48eaef
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x48eadc
cmp dword [ebp - 4], 0
je 0x48eadc
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x48eadc
mov dword [ebp - 0xc], 1
cmp dword [ebp - 4], 0
je 0x48eaec
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x48eb00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x518da8]
and eax, 1
jne 0x48eb43
mov ecx, dword [0x518da8]
or ecx, 1
mov dword [0x518da8], ecx
mov ecx, 0x518da4
call fcn.004139c0
push 0x4f5590
call fcn.004c7553
add esp, 4
cmp dword [0x515148], 0
je 0x48ec0b
mov dword [0x515148], 0
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004c62e0
add esp, 0xc
mov dword [ebp - 0x218], 1
mov dword [ebp - 0x220], 0x208
mov dword [ebp - 0x214], 0
lea ecx, [ebp - 0x214]
push ecx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsNetPurifier.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x48ebfa
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0
push str.Path
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x210]
push ecx
mov ecx, 0x518da4
call fcn.00413a60
push 0x518da4
mov ecx, dword [ebp + 8]
call fcn.004139e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret

Function at 0x490900
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x49091d
xor eax, eax
jmp 0x490988
mov dword [ebp - 0x814], 0x400
push 0x808
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.004c62e0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x810]
push edx
call fcn.004909a0
add esp, 8
lea eax, [ebp - 0x810]
push eax
call fcn.004909c0
add esp, 4
push str.THEMES_
lea ecx, [ebp - 0x810]
push ecx
call fcn.004120f0
add esp, 8
test eax, eax
je 0x49097e
mov eax, 1
jmp 0x490988
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret

Function at 0x492280
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0
push 0x4f88a4
lea eax, [ebp - 4]
push eax
call fcn.0040d000
add esp, 8
lea ecx, [ebp - 4]
call fcn.00413b20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x492314
lea ecx, [ebp - 0x10]
call fcn.004139c0
push 0x4f888c
lea ecx, [ebp - 0xc]
push ecx
call fcn.0040d000
add esp, 8
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0xc]
call fcn.00413b20
push eax
call fcn.0041cc80
add esp, 8
test eax, eax
je 0x492304
push str.9.8.0.1001
lea ecx, [ebp - 0x10]
call fcn.00413b20
push eax
call fcn.0041cac0
add esp, 8
test eax, eax
jl 0x492304
mov dword [ebp - 8], 1
lea ecx, [ebp - 0xc]
call fcn.00413a40
lea ecx, [ebp - 0x10]
call fcn.00413a40
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 4]
call fcn.00413a40
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x49b590
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
push 0x14
call fcn.004c6aff
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x49b5bd
mov ecx, dword [ebp - 0x18]
call fcn.0049b4b0
mov dword [ebp - 0x1c], eax
jmp 0x49b5c4
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x49b64d
mov ecx, dword [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
call fcn.0049d860
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 8]
add ecx, 0xc
call fcn.00413a60
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 8]
push edx
push 0
push 0x49b450
call fcn.004cd633
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x49b645
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x49b633
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 4], ecx
jmp 0x49b645
lea ecx, [ebp - 0xc]
call fcn.0049d8c0
mov edx, dword [ebp - 8]
mov dword [edx + 8], 1
lea ecx, [ebp - 0xc]
call fcn.0049d880
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x49ba70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 0xc], eax
call fcn.0049d100
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x49ba98
xor eax, eax
jmp 0x49bbb4
mov ecx, dword [ebp - 4]
call fcn.0049d230
test eax, eax
je 0x49baae
mov eax, 1
jmp 0x49bbb4
mov dword [ebp - 8], 0
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004c62e0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x5029c8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49bb8b
lea edx, [ebp - 0x21c]
push edx
call fcn.0049d430
add esp, 4
mov ecx, eax
call fcn.00413b20
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.00413890
lea ecx, [ebp - 0x21c]
call fcn.00413a40
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49bb8b
push str.360NetBase.dll
lea edx, [ebp - 0x220]
push edx
call fcn.0040d000
add esp, 8
mov ecx, eax
call fcn.00413b20
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.00413890
lea ecx, [ebp - 0x220]
call fcn.00413a40
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0049d250
test eax, eax
je 0x49bbb1
mov ecx, dword [ebp - 4]
call fcn.0049d230
test eax, eax
je 0x49bbb1
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret
Function at 0x49ca40
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x340
mov dword [ebp - 0x33c], ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 1
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x33c]
mov edx, dword [ecx + 4]
push edx
call fcn.0049d740
add esp, 8
cmp dword [ebp - 8], 0
je 0x49cbfa
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x33c]
call fcn.0049ca10
test eax, eax
jne 0x49caa9
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jbe 0x49cab5
mov dword [ebp - 4], 0
jmp 0x49cbfa
push 0x104
push 0
lea ecx, [ebp - 0x118]
push ecx
call fcn.004c62e0
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x338]
push edx
call fcn.004c62e0
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x228]
push eax
call fcn.004c62e0
add esp, 0xc
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x22c], 0xffffffff
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0x338]
push eax
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0x33c]
mov eax, dword [edx + 4]
push eax
call fcn.0049d700
add esp, 0x14
cmp dword [ebp - 0x22c], 0xffffffff
jne 0x49cb79
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x33c]
mov eax, dword [edx + 4]
push eax
call fcn.0049d740
add esp, 8
jmp 0x49ca7c
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0x186a0
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0x338]
push eax
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0x22c]
add edx, 1
push edx
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x340], eax
cmp dword [ebp - 0x340], 0xffffffff
je 0x49cbd6
jmp 0x49cbd8
jmp 0x49cbf5
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x33c]
mov eax, dword [edx + 4]
push eax
call fcn.0049d740
add esp, 8
mov dword [ebp - 4], 1
jmp 0x49ca7c
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x49ee60
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0xffffffff
je 0x49eea7
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
je 0x49ee90
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
je 0x49eee5
push 0x1f4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x49eee5
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x248], 0
je 0x49ef01
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x248]
push edx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x248], 0
je 0x49ef1d
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x24c]
push edx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x248], 0
je 0x49ef39
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x250]
push edx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x248], 0
je 0x49ef55
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x254]
push edx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 4]
add eax, 0x230
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov esp, ebp
pop ebp
ret