joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10013580
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 1
jne 0x10013592
mov eax, 1
pop esi
ret 4
push ebx
mov ebx, dword [esp + 0xc]
push 0x5c
push ebx
call fcn.100386f7
add esp, 8
test eax, eax
jne 0x100135aa
mov eax, ebx
jmp 0x100135ad
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esi], eax
test eax, eax
jne 0x100135f2
push 1
push ebx
call fcn.1000ca20
add esp, 8
test eax, eax
je 0x100135d0
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
jne 0x100135f2
push ebx
push str.Load_DLL__s__fail
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x10
pop ebx
xor eax, eax
pop esi
ret 4
mov eax, dword [esi]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpCreateDownloadObj
push eax
call edi
mov ecx, dword [esi]
push str.HttpDeleteDownloadObj
push ecx
mov dword [esi + 8], eax
call edi
mov edx, dword [esi]
push str.HttpInitDownPara
push edx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi]
push str.HttpDownload
push eax
call edi
mov ecx, dword [esi]
push str.HttpCancel
push ecx
mov dword [esi + 0x14], eax
call edi
mov edx, dword [esi]
push str.HttpWait
push edx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi]
push str.HttpResetAll
push eax
call edi
mov ecx, dword [esi]
push str.HttpGetStateW
push ecx
mov dword [esi + 0x20], eax
call edi
mov edx, dword [esi]
push str.HttpGetConnectState
push edx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi]
push str.HttpGetContentLength
push eax
call edi
mov ecx, dword [esi]
push str.HttpGetReceivedLength
push ecx
mov dword [esi + 0x2c], eax
call edi
mov edx, dword [esi]
push str.HttpGetLastError
push edx
mov dword [esi + 0x30], eax
call edi
mov dword [esi + 0x34], eax
mov eax, dword [esi]
push str.HttpDownloadExW
push eax
call edi
mov ecx, dword [esi]
push str.HttpGetResumedLength
push ecx
mov dword [esi + 0x38], eax
call edi
mov edx, dword [esi]
push str.HttpGetLastErrorW
push edx
mov dword [esi + 0x3c], eax
call edi
mov dword [esi + 0x40], eax
mov eax, dword [esi]
push str.HttpGetCurrentSpeed
push eax
call edi
mov ecx, dword [esi]
push str.HttpGetAllPeer
push ecx
mov dword [esi + 0x44], eax
call edi
cmp dword [esi + 8], 0
mov dword [esi + 0x48], eax
pop edi
jne 0x10013700
push ebx
push str.Load_DLL__s__object_fail
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x10
mov ecx, esi
call fcn.1000f620
pop ebx
xor eax, eax
pop esi
ret 4
pop ebx
mov dword [esi + 4], 1
mov eax, 1
pop esi
ret 4
Function at 0x10016280
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x1005089b
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x100638a4]
xor eax, esp
mov dword [esp + 0x198], eax
push esi
push edi
mov eax, dword [0x100638a4]
xor eax, esp
push eax
lea eax, [esp + 0x1a8]
mov dword fs:[0], eax
lea eax, [esp + 0xf]
mov esi, ecx
push eax
lea edx, [esp + 0x13]
lea ecx, [esi + 8]
push edx
mov dword [esp + 0x18], esi
call fcn.100118e0
lea eax, [esp + 0xf]
push eax
lea edx, [esp + 0x13]
xor edi, edi
lea ecx, [esi + 0x28]
push edx
mov dword [esp + 0x1b8], edi
call fcn.1002cfc0
lea eax, [esp + 0xf]
push eax
lea edx, [esp + 0x13]
lea ecx, [esi + 0x48]
push edx
mov byte [esp + 0x1b8], 1
call fcn.10011b70
lea eax, [esp + 0xf]
push eax
lea edx, [esp + 0x13]
lea ecx, [esi + 0x68]
push edx
mov byte [esp + 0x1b8], 2
call fcn.10011c00
mov dword [esi + 0x88], 0xc
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
xor eax, eax
mov dword [esi + 0x94], vtable.CQHSynQueue_struct_MsgData_.0
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xe4], edi
mov dword [esi + 0xec], edi
mov dword [esi + 0xf0], edi
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], eax
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], eax
mov dword [esi + 0xdc], eax
lea eax, [esp + 0xf]
push eax
lea edx, [esp + 0x13]
lea ecx, [esi + 0xfc]
push edx
mov byte [esp + 0x1b8], 4
call fcn.100118e0
lea ecx, [esi + 0x128]
mov byte [esp + 0x1b0], 5
call fcn.10028d80
lea eax, [esp + 0x14]
push eax
push 0x202
mov byte [esp + 0x1b8], 6
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x11c], eax
push 4
mov dword [esi], edi
mov dword [esi + 0x120], edi
mov dword [esi + 0xf4], edi
mov dword [esi + 0xf8], 1
mov dword [esi + 0x124], 1
mov dword [esi + 0x140], edi
mov dword [esi + 0x14c], 0x14
call fcn.10038dc2
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x14c]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10038336
mov dword [esi + 0x148], eax
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.10038723
add esp, 0x1a8
ret
Function at 0x10017860
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x354
mov eax, dword [0x100638a4]
xor eax, esp
mov dword [esp + 0x350], eax
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov ebx, ecx
call ebp
xor edi, edi
xor esi, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
cmp dword [ebx + 0x140], edi
je 0x10017a3e
lea ebx, [ebx]
push 0x38
lea eax, [esp + 0x24]
push edi
push eax
call fcn.10038ae0
add esp, 0xc
push 0x64
lea ecx, [esp + 0x24]
push ecx
lea ecx, [ebx + 0x94]
call fcn.1002ba50
cmp eax, 1
jne 0x100178d3
lea edx, [esp + 0x20]
push edx
mov ecx, ebx
call fcn.100177f0
call ebp
sub eax, dword [esp + 0x10]
cmp eax, 0xc8
ja 0x100178e9
cmp dword [ebx + 0x120], 1
jne 0x100178fc
mov ecx, ebx
call fcn.10015f10
call ebp
mov dword [esp + 0x10], eax
mov dword [ebx + 0x120], edi
cmp esi, edi
jne 0x10017a32
call ebp
sub eax, dword [esp + 0x1c]
cmp eax, 0x2710
jbe 0x10017a32
push 0x206
lea ecx, [esp + 0x15e]
xor eax, eax
push edi
push ecx
mov word [esp + 0x164], ax
call fcn.10038ae0
add esp, 0xc
push 0x104
lea edx, [esp + 0x15c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x158]
push 0x5c
push eax
call fcn.100386f7
add esp, 8
cmp eax, edi
je 0x10017964
add eax, 2
jmp 0x1001796b
lea eax, [esp + 0x158]
push str.LiveUpdate360.exe
push eax
call fcn.1003a009
add esp, 8
test eax, eax
je 0x10017a2d
push 0xfe
lea edx, [esp + 0x5e]
xor ecx, ecx
push edi
push edx
mov word [esp + 0x64], cx
call fcn.10038ae0
mov edx, 1
add esp, 0xc
xor eax, eax
mov dword [esp + 0x18], edi
cmp dword [0x10062d68], edx
jne 0x100179d0
mov edi, edi
movzx ecx, word [eax + str.FWBlock]
mov word [esp + eax + 0x58], cx
add eax, 2
cmp cx, di
jne 0x100179b0
mov dword [esp + 0x14], edx
jmp 0x100179e8
movzx ecx, word [eax + str.FWBlock]
mov word [esp + eax + 0x58], cx
add eax, 2
cmp cx, di
jne 0x100179d0
mov dword [esp + 0x14], edi
push edi
call fcn.1003a511
push edi
call fcn.1003a511
add esp, 8
mov dword [esp + 0x18], eax
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [eax + str.FWTime]
mov word [esp + eax + 0xd8], cx
add eax, 2
cmp cx, di
jne 0x10017a00
push 2
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, 0x10069074
call fcn.10020cc0
mov esi, 1
cmp dword [ebx + 0x140], edi
jne 0x100178a0
mov ecx, dword [esp + 0x360]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10038723
add esp, 0x354
ret
Function at 0x10017a80
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
push str.CDownMgr::Init_...
push 1
push 0x10069158
mov esi, ecx
call fcn.10017d90
add esp, 0xc
push 0
push 0
push 0
push 0
lea edi, [esi + 0x94]
push 0x2800
mov ecx, edi
call fcn.100107b0
cmp eax, 1
je 0x10017ac1
pop edi
mov eax, 2
pop esi
pop ecx
ret
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x10017a60
push 0
push 0
mov dword [esi + 0x140], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
jne 0x10017af9
mov ecx, edi
call fcn.10010220
pop edi
mov eax, 4
pop esi
pop ecx
ret
push 0x1000eb20
call fcn.10039c83
push 0
call fcn.1000de80
add esp, 8
mov ecx, esi
call fcn.100126b0
mov ecx, dword [0x1006906c]
call fcn.10022690
cmp dword [0x10062318], 0
je 0x10017b2d
call fcn.100180a0
push 0x10065328
mov ecx, 0x10069ab0
call fcn.10013580
push 0x10065530
mov ecx, 0x10069620
call fcn.1000cde0
cmp dword [0x10062318], 0
je 0x10017b7b
cmp dword [0x10069670], 0
je 0x10017b7b
cmp dword [0x1006966c], 1
je 0x10017b7b
mov eax, dword [0x10069628]
test eax, eax
je 0x10017b71
call eax
mov dword [0x1006966c], 1
call fcn.10023200
push str.CDownMgr::Init_ok
push 1
push 0x10069158
call fcn.10017d90
add esp, 0xc
pop edi
mov dword [esi], 1
xor eax, eax
pop esi
pop ecx
ret

Function at 0x10017c30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x414
mov eax, dword [0x100638a4]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
mov ebx, dword [esp + 0x41c]
push edi
mov edi, dword [esp + 0x424]
test edi, edi
jne 0x10017c71
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.10038723
add esp, 0x414
ret
push esi
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x21e]
xor eax, eax
push edx
mov word [edi], ax
mov word [esp + 0x220], cx
call fcn.10038ae0
add esp, 0xc
push 0
push 0x1a
lea eax, [esp + 0x21c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x16]
push edx
mov word [esp + 0x18], cx
call fcn.10038ae0
add esp, 0xc
push 0x104
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0xc]
push 0x5c
push ecx
call fcn.100386f7
lea edx, [esp + 0x14]
push 0x2f
push edx
mov esi, eax
call fcn.100386f7
add esp, 0x10
test esi, esi
jne 0x10017d16
test eax, eax
jne 0x10017d1c
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.10038723
add esp, 0x414
ret
cmp esi, eax
jbe 0x10017d1c
mov eax, esi
lea esi, [eax + 2]
push 0x2e
push esi
call fcn.100386f7
add esp, 8
test eax, eax
je 0x10017d33
xor ecx, ecx
mov word [eax], cx
push esi
lea edx, [esp + 0x218]
push edx
push str._s360safeLiveUpdateLog_s.log
push 0x103
push edi
call fcn.1003abf8
lea eax, [esp + 0x228]
push eax
push str._s360safeLiveUpdateLog
push 0x103
push ebx
call fcn.1003abf8
mov ecx, dword [esp + 0x440]
add esp, 0x24
pop esi
pop edi
pop ebx
xor ecx, esp
mov al, 1
call fcn.10038723
add esp, 0x414
ret
Function at 0x10018960
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
call fcn.1000f420
mov esi, eax
test esi, esi
jne 0x10018976
xor al, al
pop esi
add esp, 8
ret
mov ecx, dword [esp + 0x14]
mov eax, 4
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
add esp, 8
ret

Function at 0x100189b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x254
mov eax, dword [0x100638a4]
xor eax, esp
mov dword [esp + 0x250], eax
push esi
mov esi, dword [esp + 0x25c]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100189dc
test al, 0x10
je 0x100189f6
xor eax, eax
xor edx, edx
pop esi
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.10038723
add esp, 0x254
ret
lea eax, [esp + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x100189dc
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x1c]
push 1
push 0
push 0
push ecx
call fcn.1003acd0
mov ecx, dword [esp + 0x18]
xor esi, esi
add eax, ecx
mov ecx, dword [esp + 0x254]
adc edx, esi
pop esi
xor ecx, esp
call fcn.10038723
add esp, 0x254
ret

Function at 0x10018a40
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x14
mov eax, dword [0x100638a4]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push ebp
push esi
push edi
push 0x10054d02
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10018a95
mov edi, dword [eax + 0xc]
xor esi, esi
cmp dword [edi], esi
je 0x10018a95
movsx ebx, word [eax + 0xa]
mov ebp, dword [esp + 0x28]
mov eax, edi
mov eax, dword [eax]
push ebx
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.10038770
add esp, 0xc
cmp ebp, dword [esp + 0x14]
je 0x10018aaa
inc esi
cmp dword [edi + esi*4], 0
lea eax, [edi + esi*4]
jne 0x10018a74
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10038723
add esp, 0x14
ret
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov al, 1
call fcn.10038723
add esp, 0x14
ret
Function at 0x10018b00
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x100638a4]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov edi, dword [esp + 0x24]
mov eax, 2
push str.255.255.255.255
mov esi, ecx
mov word [esp + 0xc], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp + 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esi + 4]
push 0x10
lea edx, [esp + 0xc]
push edx
push 0
mov word [esp + 0x16], ax
mov eax, dword [esp + 0x34]
push eax
push edi
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
pop edi
pop esi
cmp eax, 0xffffffff
jne 0x10018b8d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.BroadCast_failed_errorno:_d
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x10
xor al, al
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10038723
add esp, 0x14
ret 0xc
mov ecx, dword [esp + 0x10]
xor ecx, esp
mov al, 1
call fcn.10038723
add esp, 0x14
ret 0xc

Function at 0x10018ba0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x20
mov eax, dword [0x100638a4]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x14]
mov ebp, dword [esi + 4]
push edi
mov edi, dword [esi + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov ecx, 1
test eax, eax
je 0x10018bd6
mov ecx, 2
mov edx, dword [esp + 0x30]
push 1
push edx
push 0
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
cmp eax, 1
jne 0x10018c06
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.10038723
add esp, 0x20
ret 8
cmp eax, 0x102
je 0x10018cbc
cmp eax, 0xffffffff
je 0x10018cbc
push ebx
add edi, 0x34
push edi
call fcn.10038336
push edi
mov ebx, eax
push 0
push ebx
call fcn.10038ae0
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push edi
push ebx
push ebp
mov dword [esp + 0x28], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
jne 0x10018c80
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp dword [0x10069580], 5
jge 0x10018cb2
push eax
push str.recvfrom__err_d
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x10
inc dword [0x10069580]
jmp 0x10018cb2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10018c9e
test eax, eax
jle 0x10018c9a
mov edx, dword [ecx]
lea esi, [esp + 0x1c]
push esi
push eax
mov eax, dword [edx]
push ebx
call eax
jmp 0x10018cb2
test ecx, ecx
jne 0x10018cb2
test eax, eax
jle 0x10018cb2
mov edx, dword [esi]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x1c]
push ecx
push eax
push ebx
mov ecx, esi
call edx
push ebx
call fcn.1003a67b
add esp, 4
pop ebx
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
xor ecx, esp
mov al, 1
call fcn.10038723
add esp, 0x20
ret 8
Function at 0x10018bb3
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x20
mov eax, dword [0x100638a4]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x14]
mov ebp, dword [esi + 4]
push edi
mov edi, dword [esi + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov ecx, 1
test eax, eax
je 0x10018bd6
mov ecx, 2
mov edx, dword [esp + 0x30]
push 1
push edx
push 0
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
cmp eax, 1
jne 0x10018c06
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.10038723
add esp, 0x20
ret 8
cmp eax, 0x102
je 0x10018cbc
cmp eax, 0xffffffff
je 0x10018cbc
push ebx
add edi, 0x34
push edi
call fcn.10038336
push edi
mov ebx, eax
push 0
push ebx
call fcn.10038ae0
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push edi
push ebx
push ebp
mov dword [esp + 0x28], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
jne 0x10018c80
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp dword [0x10069580], 5
jge 0x10018cb2
push eax
push str.recvfrom__err_d
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x10
inc dword [0x10069580]
jmp 0x10018cb2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10018c9e
test eax, eax
jle 0x10018c9a
mov edx, dword [ecx]
lea esi, [esp + 0x1c]
push esi
push eax
mov eax, dword [edx]
push ebx
call eax
jmp 0x10018cb2
test ecx, ecx
jne 0x10018cb2
test eax, eax
jle 0x10018cb2
mov edx, dword [esi]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x1c]
push ecx
push eax
push ebx
mov ecx, esi
call edx
push ebx
call fcn.1003a67b
add esp, 4
pop ebx
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
xor ecx, esp
mov al, 1
call fcn.10038723
add esp, 0x20
ret 8

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

Disassembly:
sub esp, 0x14
mov eax, dword [0x100638a4]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
xor eax, eax
push edi
mov edi, dword [esp + 0x20]
push str.127.0.0.1
mov esi, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp dword [esi + 0xc], 0
mov cx, word [esi + 0xc]
mov dword [esp + 0xc], eax
mov eax, 2
mov word [esp + 8], ax
mov word [esp + 0xa], cx
je 0x10018db1
test edi, edi
je 0x10018db1
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10018db1
push 0x10
lea edx, [esp + 0xc]
push edx
push 0
push eax
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x10018dc6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Send_Error:_d
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x10
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10038723
add esp, 0x14
ret 8
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor ecx, esp
mov al, 1
call fcn.10038723
add esp, 0x14
ret 8
Function at 0x10019480
Capabilities:
Get file size

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
cmp dword [ebp + 0x18], 8
push esi
push edi
lea ebx, [ebp + 4]
jb 0x10019498
mov eax, dword [ebx]
jmp 0x1001949a
mov eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
push 3
push 0
push 0
push closesocket
push eax
call edi
mov esi, dword [esp + 0x1c]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x100194f6
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0x18], 8
jb 0x100194cf
mov eax, dword [ebx]
jmp 0x100194d1
mov eax, ebx
push 0
push 0
push 3
push 0
push 0
push closesocket
push eax
call edi
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x100194f6
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 0xc
mov ecx, dword [esi]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [eax], edx
mov dword [eax + 4], ecx
mov al, 1
pop ebx
add esp, 8
ret 0xc
Function at 0x1001c410
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x258
mov eax, dword [0x100638a4]
xor eax, esp
mov dword [esp + 0x254], eax
push ebx
push esi
mov esi, dword [esp + 0x264]
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x1d0], ebx
jne 0x1001c441
xor al, al
jmp 0x1001c602
mov al, byte [edi + 0xe5]
test al, al
jne 0x1001c4e8
mov ecx, dword [0x10069634]
mov eax, dword [edi + 0x18c]
cmp ecx, ebx
je 0x1001c4e8
lea edx, [esp + 0xc]
push edx
push eax
call ecx
add esp, 8
cmp eax, ebx
je 0x1001c4e8
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
add ecx, eax
add edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
adc eax, dword [esp + 0x40]
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x20]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [edi + 0x1e0], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x1e4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xc], edx
movzx edx, byte [esp + 0x52]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x34], edx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x20], eax
mov dword [edi + 0xa34], 0xa
jmp 0x1001c54b
mov ecx, dword [edi + 0x1e0]
mov dword [esi], ecx
mov edx, dword [edi + 0x1e4]
mov dword [esi + 4], edx
mov eax, dword [edi + 0x124]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x138]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x13c]
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x170]
mov dword [esi + 8], eax
mov ecx, dword [edi + 0x174]
mov dword [esi + 0xc], ecx
mov edx, dword [edi + 0x178]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x17c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x128]
mov dword [esi + 0x20], ecx
mov dword [edi + 0xa34], 0x14
mov eax, dword [edi + 0x1d0]
cmp eax, 1
je 0x1001c565
cmp eax, 2
je 0x1001c565
cmp eax, 4
je 0x1001c565
cmp eax, 3
jne 0x1001c568
mov dword [esi + 0x24], ebx
mov ebx, 8
cmp dword [edi + 0x54], ebx
jb 0x1001c577
mov eax, dword [edi + 0x40]
jmp 0x1001c57a
lea eax, [edi + 0x40]
push 0xffffffffffffffff
push eax
lea edx, [esi + 0x38]
push 0x104
push edx
call fcn.1003b128
mov eax, dword [edi + 0x1d0]
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0xa44]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x224]
add esp, 0x10
mov dword [esi + 0x644], edx
cmp dword [edi + 0x70], ebx
jb 0x1001c5b6
mov eax, dword [edi + 0x5c]
jmp 0x1001c5b9
lea eax, [edi + 0x5c]
push 0xffffffffffffffff
push eax
lea eax, [esi + 0x244]
push 0x100
push eax
call fcn.1003b128
add esp, 0x10
cmp dword [edi + 0x8c], ebx
jb 0x1001c5dd
mov eax, dword [edi + 0x78]
jmp 0x1001c5e0
lea eax, [edi + 0x78]
push 0xffffffffffffffff
push eax
lea ecx, [esi + 0x444]
push 0x100
push ecx
call fcn.1003b128
mov edx, dword [esi + 0x2c]
add esp, 0x10
add dword [edi + 0xa34], edx
mov al, 1
mov ecx, dword [esp + 0x260]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10038723
add esp, 0x258
ret 4