joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10021ee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1025a3cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
mov ebx, 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], ebx
call fcn.1008d260
push 0x102bcd70
lea ecx, [esp + 0x34]
call fcn.1008aa90
mov esi, eax
cmp esi, 0xffffffff
jne 0x10021f97
mov eax, dword [esp + 0x30]
cmp dword [eax - 8], 4
jge 0x10021f4f
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.10088ee0
mov dword [esp + 0xc], ebx
jmp 0x100220b2
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.10088ee0
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.100220e0
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov byte [esp + 0x28], 2
call fcn.10088ee0
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x24], bl
call fcn.10089910
jmp 0x100220b2
test esi, esi
je 0x1002209e
mov eax, dword [esp + 0x30]
cmp byte [esi + eax - 1], 0x5c
je 0x10022045
mov edx, dword [0x1026c878]
mov dword [esp + 0x10], edx
mov eax, dword [eax - 8]
mov byte [esp + 0x24], 3
sub eax, esi
lea ecx, [esp + 0x30]
cmp eax, 4
jle 0x10022018
call fcn.10021390
mov ecx, 0xfffffffc
sub ecx, esi
push ecx
add eax, ecx
mov edx, esp
mov dword [esp + 0x1c], esp
inc esi
push eax
push esi
push edx
lea ecx, [esp + 0x40]
call fcn.1008bb00
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.100220e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call fcn.10089a90
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 3
call fcn.10089910
jmp 0x10022022
push ecx
lea ecx, [esp + 0x14]
call fcn.10089a90
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.10088ee0
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x24], bl
call fcn.10089910
jmp 0x100220b2
cmp dword [eax - 8], 4
jge 0x10022059
push 0
lea ecx, [esp + 0x34]
call fcn.1008a5a0
push eax
jmp 0x100220a3
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.10088ee0
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.100220e0
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
mov byte [esp + 0x28], 5
call fcn.10088ee0
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x24], bl
call fcn.10089910
jmp 0x100220b2
push 0x102f4408
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.10088fe0
mov dword [esp + 0xc], ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call fcn.10089910
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8
Function at 0x10023510
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1025a517
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
lea eax, [esp + 4]
push esi
push eax
add ecx, 0x1f0
mov dword [esp + 0x10], 0
call fcn.10012320
mov ecx, dword [0x1026c87c]
mov dword [esp + 0x18], 1
mov dword [esp + 4], ecx
mov edx, dword [esp + 8]
push str.CacheMailFile.dat
push edx
lea eax, [esp + 0xc]
push 0x102b8718
push eax
mov byte [esp + 0x28], 2
call fcn.10091c10
mov esi, dword [esp + 0x30]
add esp, 0x10
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.1008e290
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x18], 1
call fcn.1008ec90
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.1008ec90
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4

Function at 0x100235c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1025a557
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
lea eax, [esp + 4]
push esi
push eax
add ecx, 0x1f0
mov dword [esp + 0x10], 0
call fcn.10012320
mov ecx, dword [0x1026c87c]
mov dword [esp + 0x18], 1
mov dword [esp + 4], ecx
mov edx, dword [esp + 8]
push str.ReMailFile.dat
push edx
lea eax, [esp + 0xc]
push 0x102b8718
push eax
mov byte [esp + 0x28], 2
call fcn.10091c10
mov esi, dword [esp + 0x30]
add esp, 0x10
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.1008e290
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x18], 1
call fcn.1008ec90
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.1008ec90
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x10024170
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1025a688
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x1026c87c]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
lea edx, [edi + 0x16c]
xor ebx, ebx
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x20], ebx
call fcn.10024d60
mov esi, dword [esp + 0x20]
mov eax, dword [edi + 0x1b4]
push eax
lea ecx, [esi + 0x3c]
call fcn.1008eff0
mov dword [esi + 0x20], 1
mov eax, dword [edi + 0x1b8]
push eax
lea ecx, [esi + 0x40]
call fcn.1008eff0
mov eax, dword [edi + 0x60]
lea ecx, [esp + 0x20]
mov eax, dword [eax + 0x30]
push eax
push ecx
call fcn.100206d0
add esp, 8
push eax
lea ecx, [esi + 0x2c]
mov byte [esp + 0x1c], 1
call fcn.1008ee20
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], bl
call fcn.1008ec90
lea edx, [edi + 0x1bc]
lea ecx, [esi + 0x24]
push edx
call fcn.1008ee20
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.10023670
push eax
lea ecx, [esi + 0x4c]
mov byte [esp + 0x1c], 2
call fcn.1008ee20
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], bl
call fcn.1008ec90
mov eax, dword [edi + 0x1b0]
lea ecx, [esi + 0x38]
push eax
call fcn.1008eff0
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esi + 4]
call fcn.1008ee20
lea edx, [edi + 0x168]
mov ecx, esi
push edx
call fcn.1008ee20
mov eax, dword [edi + 0x1ac]
lea ecx, [esi + 0x34]
push eax
call fcn.1008eff0
mov eax, dword [edi + 0x60]
lea ecx, [edi + 0x154]
push ecx
lea ecx, [esi + 0x14]
mov ax, word [eax + 0x34]
mov word [esi + 0x44], bx
mov word [esi + 0x30], ax
call fcn.1008ee20
lea edx, [edi + 0x158]
push edx
lea ecx, [esi + 0x10]
call fcn.1008ee20
lea eax, [edi + 0x160]
lea ecx, [esi + 0xc]
push eax
call fcn.1008ee20
lea ecx, [edi + 0x15c]
push ecx
lea ecx, [esi + 8]
call fcn.1008ee20
mov dword [esi + 0x50], ebx
mov dword [esi + 0x1c], ebx
mov edx, dword [edi + 0x68]
lea ecx, [edi + 0x58]
mov dword [esi + 0x54], edx
mov eax, dword [edi + 0x6c]
push ecx
lea ecx, [esi + 0x64]
mov dword [esi + 0x58], eax
call fcn.1008ee20
push esi
lea ecx, [edi + 0x1e0]
call fcn.100106c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.1008ec90
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x100284b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, 0x102f6ff0
jmp 0x100284e0
push 0xffffffffffffffff
push 0x1025ac92
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.100a0260
mov eax, dword [0x1026c87c]
lea ebx, [esi + 0x28]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [ebx], eax
lea ecx, [esi + 0x34]
mov byte [esp + 0x18], 1
call fcn.1009ca00
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], 0x11
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], 0xa
lea ecx, [esi + 0x6c]
mov byte [esp + 0x18], 3
call fcn.1009ca00
mov dword [esi + 0x8c], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x90], edi
push 0x102f440c
mov ecx, ebx
mov byte [esp + 0x1c], 5
mov dword [esi], 0x10269cbc
mov dword [esi + 0x2c], edi
call fcn.1008ef10
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x30], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x1002ca80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1025af30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
push 1
lea ecx, [esp + 0xc]
xor esi, esi
lea eax, [edi + 0xc]
push eax
call fcn.1009cf30
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], esi
call fcn.101a8cb0
mov edi, dword [edi + 0x4c]
lea ecx, [esp + 0x14]
push edi
mov byte [esp + 0x34], 1
call fcn.101a8d40
push 0xc
lea ecx, [esp + 0x18]
call fcn.101a8e10
test eax, eax
jne 0x1002caf9
push 7
lea ecx, [esp + 0x18]
call fcn.101a8e10
test eax, eax
jne 0x1002caf9
push 0x20
lea ecx, [esp + 0x18]
call fcn.101a8e10
test eax, eax
je 0x1002cafe
mov esi, 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.101a8cf0
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.1009cf90
mov eax, dword [0x1030aa70]
test eax, eax
je 0x1002cb40
push esi
push str.CSSLHandleFrame::IsFunc__bLogFunc_:__d_
push str.udlog
push 0xffffffffffffffff
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x1002d940
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, 0x102f8198
jmp 0x1002d970
push 0xffffffffffffffff
push 0x1025afbe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.100a0260
mov eax, dword [0x1026c87c]
lea edi, [esi + 0x28]
mov dword [esp + 0x14], 0
mov dword [edi], eax
lea ecx, [esi + 0x34]
mov byte [esp + 0x14], 1
call fcn.1009c500
push 0x102f440c
mov ecx, edi
mov byte [esp + 0x18], 2
mov dword [esi], 0x10269d6c
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x2c], 0
call fcn.1008ef10
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x44], 0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x1002daa0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x44]
test eax, eax
je 0x1002dabd
mov eax, 1
pop esi
add esp, 0x190
ret
lea eax, [esp + 4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1002dafd
mov eax, dword [0x1030aa70]
test eax, eax
je 0x1002daf3
push str.CTaskDispatch::Initilize:_TMGateway:_WSAStartup_failed_
push str.CTaskDispatch
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x10
xor eax, eax
pop esi
add esp, 0x190
ret
mov ecx, esi
call fcn.1002e520
call fcn.1000c140
mov eax, 1
mov dword [esi + 0x2c], eax
mov dword [esi + 0x44], eax
pop esi
add esp, 0x190
ret

Function at 0x1002dc30
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_closesocket]
push esi
mov esi, ecx
mov eax, dword [esi + 0x30]
cmp eax, 0xffffffff
je 0x1002dc4f
push eax
call ebx
mov dword [esi + 0x30], 0xffffffff
xor eax, eax
push 6
mov dword [esp + 0xe], eax
push 1
mov dword [esp + 0x16], eax
push 2
mov dword [esp + 0x1e], eax
mov word [esp + 0x14], 0
mov word [esp + 0x22], ax
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0x30], eax
jne 0x1002dcae
mov eax, dword [0x1030aa70]
test eax, eax
je 0x1002dca6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.CTaskDispatch::StartListen:_Create_socket_failed__errno:__d__r_n
push str.CTaskDispatch
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
push edi
mov ecx, esi
mov word [esp + 0xc], 2
call fcn.1002db50
mov di, ax
push 0
and edi, 0xffff
call dword [sym.imp.WS2_32.dll_htonl]
push edi
mov dword [esp + 0x14], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xe], ax
mov eax, dword [esi + 0x30]
xor ecx, ecx
lea edx, [esp + 0xc]
push 0x10
mov dword [esp + 0x18], ecx
push edx
push eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
pop edi
jne 0x1002dd36
mov eax, dword [0x1030aa70]
test eax, eax
je 0x1002dd28
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.CTaskDispatch::StartListen:_bind_socket_failed__errno:__d__r_n
push str.CTaskDispatch
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
mov ecx, dword [esi + 0x30]
push ecx
call ebx
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
mov edx, dword [esi + 0x30]
push bind
push edx
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x1002dd81
mov eax, dword [0x1030aa70]
test eax, eax
je 0x1002dd73
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.CTaskDispatch::StartListen:_listen_failed__errno:__d__r_n
push str.CTaskDispatch
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
mov eax, dword [esi + 0x30]
push eax
call ebx
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret
Function at 0x1002dd90
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x120]
mov dword [esp + 0x14], ebx
mov ebp, 0x28
mov dword [esp + 0x10], 5
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push 0
push 0
push ecx
push 0
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], 1
call dword [sym.imp.WS2_32.dll_select]
mov esi, eax
cmp esi, 0xffffffff
je 0x1002de4a
test esi, esi
je 0x1002de86
jle 0x1002de33
lea edx, [esp + 0x18]
push edx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1002de31
mov eax, dword [esp + 0x124]
push 0
push ebp
lea ecx, [ebx + eax]
push ecx
push edi
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
cmp esi, 0xffffffff
je 0x1002deb7
test esi, esi
je 0x1002deef
add ebx, esi
sub ebp, esi
cmp ebx, 0x28
jl 0x1002ddc5
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10c
ret 8
mov eax, dword [0x1030aa70]
test eax, eax
je 0x1002df12
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.CTaskDispatch::RecvHookInfo:_Recv_HookInfo_failed._select___called_failed__errno:__d__r_n
push str.CTaskDispatch
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 8
mov eax, dword [0x1030aa70]
test eax, eax
je 0x1002dea8
push str.CTaskDispatch::RecvHookInfo:_TMGateway:_Recv_HookInfo_timeout.
push str.CTaskDispatch
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 8
mov eax, dword [0x1030aa70]
test eax, eax
je 0x1002df12
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.CTaskDispatch::RecvHookInfo:_Recv_HookInfo_failed__errno:__d__r_n
push str.CTaskDispatch
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 8
mov eax, dword [0x1030aa70]
test eax, eax
je 0x1002df12
push edi
push str.CTaskDispatch::RecvHookInfo:_The_connection_SOCKET:_d__has_been_closed__r_n
push str.CTaskDispatch
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 8
Function at 0x10032c70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1025b228
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.100a0260
xor edi, edi
lea ecx, [esi + 0x4c]
mov dword [esp + 0x14], edi
call fcn.1009ca00
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov dx, word [esp + 0x24]
mov dword [esi + 0x6c], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x28]
mov word [esi + 0x34], dx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x38], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x3c], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x7c], edi
mov dword [esi], 0x10269e48
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x40], edx
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18

Function at 0x10032d10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1025b248
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.100a0260
xor edi, edi
lea ecx, [esi + 0x4c]
mov dword [esp + 0x14], edi
call fcn.1009ca00
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push edi
push edi
push edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
push edi
mov dword [esi], 0x10269e48
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], edi
mov word [esi + 0x34], di
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edx
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x48], eax
mov dword [esi + 0x7c], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x10032e90
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1025b298
push eax
mov dword fs:[0], esp
mov ecx, dword [ecx + 0x28]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x18]
mov eax, dword [esi]
push 0
push eax
push edi
push ecx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
mov dword [esi], eax
jne 0x10032efc
mov eax, dword [0x1030aa70]
test eax, eax
je 0x10032ee7
push str.CTransfer::RecvFromClient:_The_connection_has_been_closed_by_the_client__r_n
push str.CTransfer
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x10
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret 8
jge 0x10032f3c
mov eax, dword [0x1030aa70]
test eax, eax
je 0x10032f27
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.CTransfer::RecvFromClient:_Receive_data_from_client_failed__errno:__d__r_n
push str.CTransfer
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret 8
mov ecx, dword [0x1030aa70]
cmp eax, 0x64
jge 0x10032f8d
test ecx, ecx
je 0x10032fab
push eax
push edi
lea ecx, [esp + 0x24]
call fcn.1008e740
mov edx, dword [eax]
mov dword [esp + 0x10], 0
push edx
push str.CTransfer::RecvFromClient:_C__T:__s__r_n
push str.CTransfer
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
call fcn.1008ec90
jmp 0x10032fab
test ecx, ecx
je 0x10032fab
push eax
push str.CTransfer::RecvFromClient:_C__T:_Len:_d__r_n
push str.CTransfer
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
mov ecx, dword [esp + 8]
pop edi
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8
Function at 0x10032fd0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push 0xffffffffffffffff
push 0x1025b2b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x24]
mov esi, ecx
mov ecx, dword [esp + 0x20]
push 0
mov eax, dword [edi]
mov edx, dword [esi + 0x2c]
push eax
push ecx
push edx
mov dword [esp + 0x18], 0
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
mov dword [esp + 8], eax
jne 0x1003304b
mov eax, dword [0x1030aa70]
test eax, eax
je 0x10033036
push str.CTransfer::RecvFromServer:_The_connection_has_been_closed_by_the_server__r_n
push str.CTransfer
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x10
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 8
cmp eax, 0xffffffff
jne 0x1003308e
mov eax, dword [0x1030aa70]
test eax, eax
je 0x10033079
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.CTransfer::RecvFromServer:_Receive_data_from_server_failed__errno:__d__r_n
push str.CTransfer
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 8
lea eax, [esp + 0x24]
push 0
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esi + 0x2c]
lea edx, [esp + 0x28]
push ecx
push edx
push eax
mov dword [esp + 0x38], 0
call fcn.10004cb0
add esp, 0x14
test eax, eax
jne 0x100330ca
pop edi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 8
mov ecx, dword [edi]
mov edx, dword [esp + 0x20]
mov byte [ecx + edx], 0
mov eax, dword [esp + 8]
mov ecx, dword [0x1030aa70]
cmp eax, 0x64
jge 0x1003312d
test ecx, ecx
je 0x1003314f
push eax
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
call fcn.1008e740
mov ecx, dword [eax]
mov dword [esp + 0x18], 0
push ecx
push str.CTransfer::RecvFromServer:_S__T:__s__r_n
push str.CTransfer
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.1008ec90
jmp 0x1003314b
test ecx, ecx
je 0x1003314f
push eax
push str.CTransfer::RecvFromServer:_C__T:_Len:_d__r_n
push str.CTransfer
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov dword [edi], eax
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

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

Disassembly:
mov eax, dword [ecx + 0x44]
push esi
or esi, 0xffffffff
push edi
test eax, eax
jne 0x10033198
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
pop edi
pop esi
ret 0xc
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push edi
push eax
push ecx
mov ecx, 0x103078b0
call fcn.100627a0
test eax, eax
mov eax, edi
jne 0x100331b9
mov eax, esi
pop edi
pop esi
ret 0xc
Function at 0x100336f0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
mov eax, dword [0x1030aa70]
sub esp, 0x10
test eax, eax
push esi
mov esi, ecx
je 0x10033718
push str.CTransfer::ConnectServer
push str.CTransfer
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x10
mov eax, dword [esi + 0x30]
mov word [esp + 4], 2
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov cx, word [esi + 0x34]
mov dword [esp + 8], eax
push ecx
call dword [sym.imp.WS2_32.dll_htons]
xor edx, edx
push 6
mov dword [esp + 0x10], edx
push 1
push 2
mov word [esp + 0x12], ax
mov dword [esp + 0x1c], edx
call dword [sym.imp.WS2_32.dll_socket]
lea ecx, [esp + 4]
push 0x10
push ecx
push eax
mov dword [esi + 0x2c], eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x100337ae
mov eax, dword [0x1030aa70]
test eax, eax
je 0x100337a7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [esp + 6]
push eax
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
and eax, 0xffff
push eax
mov eax, dword [esi + 0x30]
push eax
push str.CTransfer::ConnectServer:_Connect_to_server__d___d__failed__errno__d__r_n
push str.CTransfer
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x1c
xor eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
push ecx
push edx
mov ecx, 0x102f3938
call fcn.10001d90
mov eax, dword [0x1030aa70]
test eax, eax
je 0x100337e2
push str.CTransfer::ConnectServer:_Connect_to_the__server_successfully__r_n
push str.CTransfer
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x10
mov eax, 1
pop esi
add esp, 0x10
ret
Function at 0x10034510
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [esp + 0x110]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x1003455f
xor eax, eax
add esp, 0x10c
ret 8
mov edx, dword [esp + 0x114]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 8