joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409a00
Capabilities:
Get installed programs
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534fe1
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0x20019
cmp dword [ebp + 0xc], 0
je 0x409a43
mov eax, dword [ebp - 0x14]
or eax, 0x100
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x10]
call fcn.00401e30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0
lea ecx, [ebp - 0x10]
call fcn.0043e290
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x409aad
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x541064
push 0x58f750
call fcn.004045b0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401eb0
jmp 0x409bed
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], 0
jmp 0x409af4
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x20]
jge 0x409bd4
xor edx, edx
mov word [ebp - 0x234], dx
push 0x1fe
push 0
lea eax, [ebp - 0x232]
push eax
call fcn.004b0ac0
add esp, 0xc
mov dword [ebp - 0x2c], 0xff
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x234]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x409bcf
push 0x541060
lea ecx, [ebp - 0x23c]
call fcn.0040ca10
mov byte [ebp - 4], 1
lea edx, [ebp - 0x23c]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x238]
push ecx
call fcn.00409f40
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
call fcn.00401eb0
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x238]
call fcn.00401990
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x238]
call fcn.0043e290
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004096f0
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.00401eb0
jmp 0x409aeb
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401eb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret
Function at 0x41b050
Capabilities:
Clear file content
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4044
call fcn.004b0a90
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocStringLen
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x41b0a6
jmp 0x41b254
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x41b0d0
jmp 0x41b254
mov dword [ebp - 0x4030], 0
mov dword [ebp - 0x402c], 0
lea edx, [ebp - 0x4030]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov dword [ebp - 0x4024], eax
cmp dword [ebp - 0x4024], 0
jne 0x41b109
jmp 0x41b254
mov dword [ebp - 0x4038], 0
mov dword [ebp - 0x4034], 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov dword [ebp - 0x4024], eax
cmp dword [ebp - 0x4024], 0
jne 0x41b13b
jmp 0x41b254
mov dword [ebp - 0x4040], 0
push 0
lea edx, [ebp - 0x4040]
push edx
push 0x4000
lea eax, [ebp - 0x4020]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x403c], eax
cmp dword [ebp - 0x403c], 0
je 0x41b1df
mov dword [ebp - 0x4044], 0
push 0
lea edx, [ebp - 0x4044]
push edx
mov eax, dword [ebp - 0x4040]
push eax
lea ecx, [ebp - 0x4020]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x403c], eax
cmp dword [ebp - 0x403c], 0
je 0x41b1bb
mov eax, dword [ebp - 0x4040]
cmp eax, dword [ebp - 0x4044]
je 0x41b1bd
jmp 0x41b1f8
mov ecx, dword [ebp - 0x4040]
xor edx, edx
add ecx, dword [ebp - 0x4038]
mov eax, dword [ebp - 0x4034]
adc eax, edx
mov dword [ebp - 0x4038], ecx
mov dword [ebp - 0x4034], eax
cmp dword [ebp - 0x4040], 0
je 0x41b1f1
cmp dword [ebp - 0x403c], 0
jne 0x41b1f3
jmp 0x41b1f8
jmp 0x41b13b
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov dword [ebp - 0x4024], eax
cmp dword [ebp - 0x4024], 0
jne 0x41b22f
jmp 0x41b254
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x4030]
jne 0x41b24c
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x402c]
jne 0x41b24c
mov dword [ebp - 0xc], 1
xor eax, eax
jne 0x41b07c
cmp dword [ebp - 8], 0xffffffff
je 0x41b264
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0xffffffff
je 0x41b274
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret
Function at 0x41c4a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWARE360Safe_netmon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41c50b
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push str.gmmdsf
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0
je 0x41c520
cmp dword [ebp - 8], 0xffffffff
je 0x41c520
mov dword [ebp - 0x18], 1
jmp 0x41c527
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x41c530
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.004b0a90
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xc], 0
mov eax, 1
test eax, eax
je 0x41c6ea
push 0
push 0
push 0
push 1
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__SV1_
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41c591
jmp 0x41c6ea
mov dword [ebp - 0x1c], 0x7530
push 4
lea ecx, [ebp - 0x1c]
push ecx
push 2
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea eax, [ebp - 0x1c]
push eax
push 6
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea edx, [ebp - 0x1c]
push edx
push 5
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push SysReAllocStringLen
push 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.0043e290
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41c5fa
jmp 0x41c6ea
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov ecx, dword [ebp + 8]
call fcn.0043e290
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x41c629
jmp 0x41c6ea
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1024], 0
mov byte [ebp - 0x1020], 0
push 0xfff
push 0
lea edx, [ebp - 0x101f]
push edx
call fcn.004b0ac0
add esp, 0xc
mov dword [ebp - 0x14], 0
mov eax, 1
test eax, eax
je 0x41c6e3
lea ecx, [ebp - 0x18]
push ecx
push 0x1000
lea edx, [ebp - 0x1020]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41c69a
mov dword [ebp - 0xc], 0
jmp 0x41c6e3
cmp dword [ebp - 0x18], 0
jne 0x41c6a2
jmp 0x41c6e3
push 0
lea ecx, [ebp - 0x1024]
push ecx
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x1020]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41c6d8
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x1024]
jne 0x41c6d8
mov dword [ebp - 0xc], 1
jmp 0x41c6e1
mov dword [ebp - 0xc], 0
jmp 0x41c6e3
jmp 0x41c665
jmp 0x41c6ea
cmp dword [ebp - 8], 0
je 0x41c701
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 8], 0
cmp dword [ebp - 0x10], 0
je 0x41c718
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x10], 0
cmp dword [ebp - 4], 0xffffffff
je 0x41c72f
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret
Function at 0x41d280
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10024
call fcn.004b0a90
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x10024], ecx
mov eax, dword [ebp + 8]
mov byte [eax], 0
mov ecx, dword [ebp + 8]
add ecx, dword [ebp + 0xc]
mov byte [ecx - 1], 0
mov ecx, dword [ebp - 0x10024]
call fcn.0041d470
test eax, eax
jne 0x41d2c3
xor eax, eax
jmp 0x41d453
mov dword [ebp - 8], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x10024]
call fcn.0041d1b0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41d2f4
mov eax, 1
jmp 0x41d453
mov edx, dword [ebp - 0x10024]
mov eax, dword [ebp - 0x10024]
mov ecx, dword [edx + 0x10004]
sub ecx, dword [eax + 0x10000]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jle 0x41d366
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10024]
mov ecx, dword [ebp - 0x10024]
add ecx, dword [eax + 0x10000]
push ecx
lea edx, [ebp - 0x10010]
push edx
call fcn.004b1320
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10010]
push ecx
mov edx, dword [ebp - 0x10024]
push edx
call fcn.004b1320
add esp, 0xc
mov eax, dword [ebp - 0x10024]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x10004], ecx
jmp 0x41d376
mov edx, dword [ebp - 0x10024]
mov dword [edx + 0x10004], 0
mov eax, dword [ebp - 0x10024]
mov dword [eax + 0x10000], 0
mov ecx, dword [ebp - 0x10024]
mov edx, 0x10000
sub edx, dword [ecx + 0x10004]
mov dword [ebp - 0x1001c], edx
mov eax, dword [ebp - 0x10024]
mov ecx, dword [eax + 0x10004]
mov dword [ebp - 0x10020], ecx
mov dword [ebp - 0x10018], 0
push 0
lea edx, [ebp - 0x10018]
push edx
mov eax, dword [ebp - 0x1001c]
push eax
mov ecx, dword [ebp - 0x10024]
add ecx, dword [ebp - 0x10020]
push ecx
mov edx, dword [ebp - 0x10024]
mov eax, dword [edx + 0x10008]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x10014], eax
cmp dword [ebp - 0x10014], 0
jne 0x41d3fc
xor eax, eax
jmp 0x41d453
mov ecx, dword [ebp - 0x10024]
mov dword [ecx + 0x10000], 0
mov edx, dword [ebp - 0x10024]
mov eax, dword [edx + 0x10004]
add eax, dword [ebp - 0x10018]
mov ecx, dword [ebp - 0x10024]
mov dword [ecx + 0x10004], eax
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x10024]
call fcn.0041d1b0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41d451
mov eax, 1
jmp 0x41d453
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret 8
Function at 0x41d620
Capabilities:
Create udp socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1a0], ecx
mov eax, dword [ebp - 0x1a0]
cmp dword [eax + 0x14], 0xffffffff
je 0x41d64f
mov eax, 1
jmp 0x41d6fe
xor ecx, ecx
mov word [ebp - 0x198], cx
push 0x18e
push 0
lea edx, [ebp - 0x196]
push edx
call fcn.004b0ac0
add esp, 0xc
lea eax, [ebp - 0x198]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x41d688
xor eax, eax
jmp 0x41d6fe
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp - 0x1a0]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x1a0]
cmp dword [edx + 0x14], 0xffffffff
jne 0x41d6ad
xor eax, eax
jmp 0x41d6fe
mov dword [ebp - 0x19c], 1
lea eax, [ebp - 0x19c]
push eax
push 0x8004667e
mov ecx, dword [ebp - 0x1a0]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x41d6f9
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [ebp - 0x1a0]
mov dword [edx + 0x14], 0xffffffff
xor eax, eax
jmp 0x41d6fe
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret

Function at 0x41d750
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x41d769
mov eax, 1
jmp 0x41d830
mov ecx, dword [ebp + 8]
call fcn.0043e290
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41d783
xor eax, eax
jmp 0x41d830
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xc], 0
jne 0x41d795
mov edx, dword [ebp - 4]
cmp dword [edx + 0x18], 0
je 0x41d79c
xor eax, eax
jmp 0x41d830
mov ecx, dword [ebp - 4]
call fcn.0041d620
test eax, eax
jne 0x41d7af
xor eax, eax
jmp 0x41d830
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x18], 0
jne 0x41d7d0
xor eax, eax
jmp 0x41d830
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x41d5f0
push 0
push 0
call fcn.004b17b2
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
jne 0x41d813
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], 0
xor eax, eax
jmp 0x41d830
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x20
call fcn.00401970
mov ecx, dword [ebp - 4]
mov dword [ecx], 1
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x41d840
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
je 0x41d85f
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 0
je 0x41d8a9
push 0x3a98
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41d892
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 8]
cmp dword [edx + 0x18], 0
je 0x41d8c9
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 8]
mov dword [edx + 0x18], 0
mov ecx, dword [ebp - 8]
call fcn.0041d710
mov eax, dword [ebp - 8]
mov dword [eax], 0
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x41dd30
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x41dd53
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x14], 0xffffffff
je 0x41dd53
mov edx, dword [ebp - 0x18]
cmp dword [edx + 8], 0
jne 0x41dd5a
xor eax, eax
jmp 0x41dde5
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
call fcn.0041e670
cmp dword [0x58fb50], 0
je 0x41ddb6
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 0x3a]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
movzx edx, ax
push edx
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + 0x3f]
push ecx
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + 0x3e]
push eax
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x3d]
push edx
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + 0x3c]
push ecx
push 0x542050
push 0x58f750
call fcn.004045b0
add esp, 0x1c
push 0x10
mov edx, dword [ebp - 0x18]
add edx, 0x38
push edx
push 0
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
je 0x41dde2
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x41e080
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x428], ecx
mov eax, dword [ebp - 0x428]
cmp dword [eax], 0
je 0x41e0bc
mov ecx, dword [ebp - 0x428]
cmp dword [ecx + 0x14], 0xffffffff
je 0x41e0bc
mov edx, dword [ebp - 0x428]
cmp dword [edx + 4], 0
jne 0x41e0c3
xor eax, eax
jmp 0x41e183
mov dword [ebp - 0x424], 0
mov byte [ebp - 0x408], 0
push 0x3ff
push 0
lea eax, [ebp - 0x407]
push eax
call fcn.004b0ac0
add esp, 0xc
mov dword [ebp - 0x40c], 0x400
xor ecx, ecx
mov word [ebp - 0x420], cx
xor edx, edx
mov dword [ebp - 0x41e], edx
mov dword [ebp - 0x41a], edx
mov dword [ebp - 0x416], edx
mov word [ebp - 0x412], dx
mov dword [ebp - 0x410], 0x10
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x420]
push ecx
push 0
mov edx, dword [ebp - 0x40c]
push edx
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp - 0x428]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0xffffffff
jne 0x41e163
xor eax, eax
jmp 0x41e183
lea eax, [ebp - 0x420]
push eax
mov ecx, dword [ebp - 0x40c]
push ecx
lea edx, [ebp - 0x408]
push edx
mov ecx, dword [ebp - 0x428]
call fcn.0041e1a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret

Function at 0x41e500
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
cmp dword [ebp + 8], 0
je 0x41e529
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
je 0x41e529
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x14], 0xffffffff
je 0x41e529
mov edx, dword [ebp - 0x20]
cmp dword [edx + 8], 0
jne 0x41e530
xor eax, eax
jmp 0x41e5db
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x18]
call fcn.0041e6b0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 8], eax
cmp dword [0x58fb50], 0
je 0x41e5ac
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x20]
movzx eax, word [edx + 0x3a]
push eax
call dword [sym.imp.WS2_32.dll_htons]
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 0x3f]
push eax
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x3e]
push edx
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 0x3d]
push ecx
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 0x3c]
push eax
push 0x542100
push 0x58f750
call fcn.004045b0
add esp, 0x24
push 0x10
mov ecx, dword [ebp - 0x20]
add ecx, 0x38
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
je 0x41e5d8
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 4
Function at 0x41eb50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0x41e9e0
push 0
push 0
call fcn.004b17b2
add esp, 0x18
mov dword [0x58f70c], eax
pop ebp
ret
Function at 0x4233f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53668c
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x58c758]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x228]
push eax
call fcn.00401030
add esp, 4
mov dword [ebp - 4], 0
push str.modules360inst.exe
lea ecx, [ebp - 0x224]
push ecx
call fcn.0041acc0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.0043e290
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4234a7
push str.b_rN0R_ac
push 0x58f750
call fcn.004045b0
add esp, 8
mov dword [ebp - 0x230], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.00401eb0
mov eax, dword [ebp - 0x230]
jmp 0x423683
lea ecx, [ebp - 0x224]
call fcn.0043e290
push eax
call fcn.00401c70
add esp, 4
test eax, eax
jne 0x423507
push 0x542434
push 0x58f750
call fcn.004045b0
add esp, 8
mov dword [ebp - 0x234], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.00401eb0
mov eax, dword [ebp - 0x234]
jmp 0x423683
lea ecx, [ebp - 0x220]
call fcn.00403840
mov byte [ebp - 4], 2
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.004b0ac0
add esp, 0xc
push str.modules360inst.exe
lea ecx, [ebp - 0x228]
call fcn.0043e290
push eax
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.TEMP
lea ecx, [ebp - 0x220]
call fcn.00428340
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x4235bd
push str.EntClient
lea edx, [ebp - 0x238]
push edx
call fcn.0041acc0
add esp, 8
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x248], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x248]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00401970
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x238]
call fcn.00401eb0
push 1
lea ecx, [ebp - 0x220]
call fcn.0043e290
push eax
push str._URL:http:__pinst.360.cn_360sd_sd_safetab.cab
lea edx, [ebp - 0x21c]
push edx
push str.open
push 0
call fcn.00428ad0
add esp, 0x18
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x20
ja 0x423643
push 0x542368
push 0x58f750
call fcn.004045b0
add esp, 8
mov dword [ebp - 0x23c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.00401eb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.00401eb0
mov eax, dword [ebp - 0x23c]
jmp 0x423683
mov dword [ebp - 0x240], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.00401eb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00401eb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.00401eb0
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b0a79
mov esp, ebp
pop ebp
ret