joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469e00
Capabilities:
Set socket configuration
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
xor edi, edi
inc ebp
mov dword [esi + 0x1c8], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x1d8], eax
mov eax, dword [esi + 0x1f4]
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x30], edx
mov dword [esi + 0x1e8], ebp
mov dword [esi + 0x1e4], edi
mov dword [esi + 0x21c], edi
cmp eax, 0x77d080
je 0x469e78
mov ebx, 0x8f9
push ebx
push 0x7601e4
push ebp
push dword [esi + 0x1fc]
push eax
call fcn.005ce1d0
add esp, 0x14
test eax, eax
je 0x469ea0
mov dword [esi + 0x1f4], eax
mov eax, dword [esi + 0x1fc]
mov dword [esi + 0x1f8], eax
lea eax, [esp + 0x14]
mov dword [esi + 0x1ec], edi
push eax
push 0x8004667e
push dword [esi + 0x30]
mov dword [esi + 0x1f0], edi
mov dword [esp + 0x20], ebp
call dword [sym.imp.WS2_32.dll_ioctlsocket]
pop edi
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x760274
push esi
push ebx
xor ecx, ecx
call fcn.0047145c
push ebx
push str...microstackILibAsyncSocket.c
push 0x760204
call fcn.004010b4
add esp, 0x18
push esi
call fcn.005aae60
int3

Function at 0x469f81
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6b0d44]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ecx + 0x58]
push edi
push 0x17
pop edi
mov dword [ebp - 0x24], 0x1c
cmp ax, di
jne 0x469fb2
movzx eax, word [ecx + 0x5a]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
jmp 0x469fed
push esi
push 2
pop esi
cmp ax, si
jne 0x469fc2
movzx eax, word [ecx + 0x5a]
push eax
jmp 0x469fe2
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ecx + 0x30]
call dword [sym.imp.WS2_32.dll_getsockname]
cmp word [ebp - 0x20], di
je 0x469fdf
cmp word [ebp - 0x20], si
jne 0x469fea
push dword [ebp - 0x1e]
call dword [sym.imp.WS2_32.dll_ntohs]
jmp 0x469fec
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0059b3f0
mov esp, ebp
pop ebp
ret
Function at 0x46a1b2
Capabilities:
Create udp socket
Set socket configuration
Terminate process

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x24]
xor eax, eax
push esi
push edi
push eax
push eax
mov dword [esp + 0x24], edx
xor edx, edx
mov dword [esp + 0x28], ecx
push 0x18
pop ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call fcn.0046c097
mov ebx, dword [esp + 0x30]
mov esi, eax
pop ecx
pop ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x38]
push 0x11
mov dword [esi], ecx
movzx eax, word [ebx]
push 2
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x46a223
push 1
push esi
call fcn.005cdee0
xor eax, eax
jmp 0x46a30d
cmp ebp, 1
mov ebp, dword [sym.imp.WS2_32.dll_setsockopt]
jne 0x46a247
push 4
lea eax, [esp + 0x30]
push eax
push 4
push 0xffff
push edi
call ebp
test eax, eax
jne 0x46a317
push 0x17
pop eax
cmp word [ebx], ax
jne 0x46a27a
push 4
lea eax, [esp + 0x14]
push eax
push 0x1b
push 0x29
push edi
call ebp
test eax, eax
je 0x46a27a
xor ebp, ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x83
mov edx, 0x76033c
jmp 0x46a328
push 0x10
pop eax
push 0x1c
pop ecx
push 0x17
pop edx
cmp word [ebx], dx
cmove eax, ecx
push eax
push ebx
push edi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x46a2a2
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x46a214
xor ebp, ebp
lea eax, [esp + 0x14]
push ebp
push ebp
push eax
push ebp
push ebp
push 4
lea eax, [esp + 0x30]
push eax
push 0x9800000c
push edi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push 0x17
pop eax
cmp word [ebx], ax
movzx eax, word [ebx + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push ebp
push 0x46a18a
push 0x46a1a4
push ebp
push 0x46a109
mov word [esi + 0xc], ax
call fcn.00467bd3
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x46a296
push esi
push 0x46a1a4
mov edx, edi
mov ecx, ebx
call fcn.00469e00
mov eax, ebx
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
xor ebp, ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x7f
mov edx, 0x760294
xor ecx, ecx
call fcn.0047145c
add esp, 0xc
push 0xfd
call fcn.005aae60
int3

Function at 0x46a470
Capabilities:
Set socket configuration
Terminate process

Disassembly:
cmp word [edx], 0x17
mov ecx, dword [ecx + 0x30]
push 4
jne 0x46a490
lea eax, [edx + 0x18]
push eax
push 9
push 0x29
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x46a4b8
jmp 0x46a4b9
lea eax, [edx + 4]
push eax
push 9
push 0
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x46a4b8
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x110
mov edx, 0x760384
jmp 0x46a4cc
ret
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10c
mov edx, 0x760360
xor ecx, ecx
call fcn.0047145c
add esp, 0xc
push 0xfd
call fcn.005aae60
int3
Function at 0x46aa13
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
xor esi, esi
mov ebx, edx
test ecx, ecx
jne 0x46aa2c
xor eax, eax
jmp 0x46aadb
push edi
push 0x760418
push ecx
lea eax, [ebp - 4]
push eax
call fcn.005cad70
mov eax, dword [ebp - 4]
add esp, 0xc
test eax, eax
je 0x46aad8
cmp dword [ebx], esi
jne 0x46aaa3
push 2
push 0
push eax
call fcn.005ad120
push dword [ebp - 4]
call fcn.005abb70
mov edi, eax
mov eax, 0x400
push 0
cmp edi, eax
push 0
push dword [ebp - 4]
cmova edi, eax
call fcn.005ad120
push 0x143
push 0x76041c
lea eax, [edi + 1]
push 1
push eax
call fcn.005ce020
add esp, 0x2c
mov dword [ebx], eax
test eax, eax
jne 0x46aac4
push dword [ebp - 4]
call fcn.005ac520
pop ecx
xor eax, eax
jmp 0x46aada
mov edi, 0x3ff
cmp esi, edi
jae 0x46aac9
push eax
mov eax, edi
sub eax, esi
push eax
push 1
push dword [ebx]
call fcn.005d0dc0
add esp, 0x10
add esi, eax
test eax, eax
je 0x46aac9
mov eax, dword [ebp - 4]
jmp 0x46aaa8
mov ecx, dword [ebx]
mov byte [esi + ecx], 0
push dword [ebp - 4]
call fcn.005ac520
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x46aaf2
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sar edx, 2
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
lea eax, [ecx + edx*4]
lea edx, [edx*4 + 3]
shr edx, 2
push edi
xor edi, edi
cmp ecx, eax
cmova edx, ebx
test edx, edx
je 0x46ab26
imul esi, esi, 0x1000193
xor esi, dword [ecx]
inc edi
lea ecx, [ecx + 4]
cmp edi, edx
jb 0x46ab16
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x46ab3b
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x6b0d44]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [0x76a574]
inc eax
mov dword [0x76a574], eax
push esi
cmp eax, 1
jg 0x46abfa
xor esi, esi
push esi
push esi
push esi
call fcn.0056c920
push esi
push esi
push 0x200002
call fcn.0056c920
push esi
push esi
push 2
call fcn.004a1ef0
push esi
push esi
push 0xc
call fcn.004a1ef0
push esi
push esi
push 4
call fcn.004a1ef0
push esi
push esi
push 8
call fcn.004a1ef0
add esp, 0x48
push str.ADVAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x46abfa
push str.SystemFunction036
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46abf3
push 0x40
lea ecx, [esp + 0xc]
push ecx
call eax
test al, al
je 0x46abf3
movsd xmm0, qword [0x69ede8]
lea eax, [esp + 8]
push ecx
push ecx
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.004a3990
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x10c]
pop esi
xor ecx, esp
call fcn.0059b3f0
mov esp, ebp
pop ebp
ret
Function at 0x46b6c6
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ecx
push ebx
push edi
mov edi, ecx
mov dword [esp + 8], edx
xor ebx, ebx
cmp dword [edi + 0x70], ebx
jle 0x46b731
push ebp
push esi
xor ebp, ebp
mov eax, dword [edi + 0x24]
cmp dword [eax + ebx*4], 0
je 0x46b726
mov eax, dword [edi + 0x1c]
push 4
mov esi, dword [eax + 0x30]
mov eax, dword [edi + 0x6c]
add eax, 4
add eax, ebp
push eax
push 9
push 0
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [edi + 0x30]
push eax
push 0xa
push 0
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x10
push dword [esp + 0x14]
push 0
push 0x60
push 0x76d080
push esi
call dword [sym.imp.WS2_32.dll_sendto]
inc ebx
add ebp, 0x10
cmp ebx, dword [edi + 0x70]
jl 0x46b6da
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
Function at 0x46bacc
Capabilities:
Terminate process

Disassembly:
mov eax, 0x2614
call fcn.0059bb50
mov eax, dword [0x6b0d44]
xor eax, esp
mov dword [esp + 0x2610], eax
push ebx
push ebp
push esi
push edi
xor esi, esi
mov ebx, ecx
push esi
push 2
push 2
mov dword [esp + 0x24], ebx
mov edi, esi
mov dword [ebx], esi
call dword [sym.imp.WS2_32.dll_socket]
mov ebp, eax
mov dword [esp + 0x1c], ebp
cmp ebp, 0xffffffff
jne 0x46bb11
xor eax, eax
jmp 0x46bbe3
push esi
push esi
lea eax, [esp + 0x18]
push eax
push 0x2600
lea eax, [esp + 0x30]
push eax
push esi
push esi
push 0x4004747f
push ebp
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov ecx, dword [esp + 0x10]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x46bbda
mov eax, ecx
push 0x4c
pop ecx
div ecx
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x46bb6d
lea eax, [esp + 0x28]
cmp dword [eax], 0x100007f
je 0x46bb65
inc edi
add eax, 0x4c
sub ecx, 1
jne 0x46bb5c
push 0x1a8
push 0x7608e0
push 1
shl edi, 4
push edi
call fcn.005ce020
add esp, 0x10
mov dword [ebx], eax
test eax, eax
je 0x46bbfc
mov eax, dword [esp + 0x10]
mov edi, esi
test eax, eax
je 0x46bbda
mov ebp, dword [esp + 0x18]
lea ebx, [esp + 0x24]
mov edx, esi
mov dword [esp + 0x14], edx
cmp dword [ebx + 4], 0x100007f
je 0x46bbce
mov ecx, dword [ebp]
push 0x10
push ebx
add ecx, edx
push 0x10
pop edx
call section..text
mov edx, dword [esp + 0x1c]
inc edi
mov eax, dword [esp + 0x18]
add edx, 0x10
pop ecx
pop ecx
mov dword [esp + 0x14], edx
inc esi
add ebx, 0x4c
cmp esi, eax
jb 0x46bba3
mov ebp, dword [esp + 0x1c]
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, edi
mov ecx, dword [esp + 0x2620]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0059b3f0
add esp, 0x2614
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x1a8
push esi
push edi
mov edx, 0x7608fc
xor ecx, ecx
call fcn.0047145c
push edi
push 0x760918
push 0x760934
call fcn.004010b4
add esp, 0x18
push esi
call fcn.005aae60
int3
Function at 0x46bc35
Capabilities:
Get local ipv4 addresses
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov ebx, 0x24c
mov eax, 0x178
push ebx
push 0x760958
push 1
push eax
mov ebp, ecx
mov dword [esp + 0x20], eax
xor edi, edi
call fcn.005ce020
mov esi, eax
add esp, 0x10
test esi, esi
je 0x46bd99
mov ebx, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
lea eax, [esp + 0x10]
push eax
push esi
push edi
push 0x2a
push 0x17
call ebx
cmp eax, 0x6f
jne 0x46bcd4
push 1
push esi
call fcn.005cdee0
push 0x250
push 0x7609d0
push 1
push dword [esp + 0x24]
call fcn.005ce020
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x46bcd4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x250
push esi
push edi
mov edx, 0x7609ec
xor ecx, ecx
call fcn.0047145c
push edi
push 0x760a08
push 0x760a24
jmp 0x46bdbe
lea eax, [esp + 0x10]
push eax
push esi
push 0
push 0x2a
push 0x17
call ebx
test eax, eax
je 0x46bcf5
push 1
push esi
call fcn.005cdee0
xor eax, eax
jmp 0x46bd91
mov eax, esi
test esi, esi
je 0x46bd15
cmp dword [eax + 0x34], 0
je 0x46bd0e
test byte [eax + 0x38], 0x18
jne 0x46bd0e
cmp dword [eax + 0x44], 1
jne 0x46bd0e
inc edi
mov eax, dword [eax + 8]
test eax, eax
jne 0x46bcfb
mov ebx, 0x268
mov eax, edi
push ebx
push 0x760a48
shl eax, 2
push 1
push eax
call fcn.005ce020
mov edx, eax
add esp, 0x10
mov dword [ebp], edx
test edx, edx
jne 0x46bd60
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x760a64
push esi
push ebx
xor ecx, ecx
call fcn.0047145c
push ebx
push 0x760a80
push 0x760a9c
jmp 0x46bdbe
mov ecx, esi
test esi, esi
je 0x46bd87
cmp dword [ecx + 0x34], 0
je 0x46bd80
test byte [ecx + 0x38], 0x18
jne 0x46bd80
cmp dword [ecx + 0x44], 1
jne 0x46bd80
mov eax, dword [ecx + 4]
mov dword [edx], eax
add edx, 4
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x46bd66
push 1
push esi
call fcn.005cdee0
mov eax, edi
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x760974
push esi
push ebx
xor ecx, ecx
call fcn.0047145c
push ebx
push 0x760990
push 0x7609ac
call fcn.004010b4
add esp, 0x18
push esi
call fcn.005aae60
int3
Function at 0x46bdd5
Capabilities:
Terminate process

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov ebp, edx
mov esi, ecx
push edi
mov dword [esp + 0x10], ebp
call fcn.0046bff2
test eax, eax
je 0x46bec8
mov edi, dword [esi - 0xc]
xor eax, eax
mov ecx, dword [esi - 0x10]
cmp eax, edi
push 0xfffffffffffffff0
sbb eax, eax
mov dword [esp + 0x20], ecx
and eax, 0x10
xor edx, edx
add eax, 0x10
add eax, ecx
add eax, edi
cmp edx, edi
mov dword [esp + 0x1c], eax
sbb ebx, ebx
and ebx, 0x10
add ebx, 0x10
add ebx, edi
add ebx, ebp
pop ebp
cmp ebx, eax
jae 0x46be62
test edi, edi
je 0x46be62
mov eax, ecx
sub eax, dword [esp + 0x10]
test edi, edi
je 0x46be3d
lea edx, [ecx + esi]
mov dword [esp + 0x14], edx
jmp 0x46be41
mov dword [esp + 0x14], ebp
test edi, edi
je 0x46be4c
add ecx, 0x10
add ecx, esi
jmp 0x46be4e
xor ecx, ecx
lea edx, [edi + 0x10]
sub ecx, eax
push edx
push dword [esp + 0x18]
sub ecx, 0x10
call fcn.0045874e
pop ecx
pop ecx
push 0x3cc
push 0x760b98
push 1
lea eax, [esi - 0x10]
push ebx
push eax
call fcn.005ce1d0
add esp, 0x14
test eax, eax
je 0x46bed2
lea esi, [eax + 0x10]
cmp ebx, dword [esp + 0x18]
jbe 0x46bebd
test edi, edi
je 0x46bebd
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp + 0x1c]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x46beae
mov ebp, dword [esi - 0x10]
add ebp, esi
test eax, eax
je 0x46beae
mov eax, dword [esi - 0x10]
add eax, ecx
lea ecx, [esi + 0x10]
add ecx, eax
lea edx, [edi + 0x10]
add ecx, 0xfffffff0
push edx
push ebp
call fcn.0045874e
pop ecx
pop ecx
mov eax, dword [esp + 0x10]
mov dword [esi - 0x10], eax
mov eax, esi
jmp 0x46beca
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x3cc
push esi
push edi
mov edx, 0x760bb4
xor ecx, ecx
call fcn.0047145c
push edi
push 0x760bd0
push 0x760bec
call fcn.004010b4
add esp, 0x18
push esi
call fcn.005aae60
int3

Function at 0x46bf0b
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
test esi, esi
je 0x46bf7d
mov edi, dword [esp + 0x10]
xor eax, eax
cmp eax, edi
sbb eax, eax
and eax, 0x10
add eax, 0x10
add eax, ebx
add eax, edi
push eax
push 0
push esi
call fcn.0059de40
mov dword [esi], ebx
lea edx, [esi + 0x10]
mov dword [esi + 4], edi
add esp, 0xc
mov eax, dword [0x760c6c]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], eax
test edi, edi
je 0x46bf77
cmp dword [edx - 0xc], 0
jbe 0x46bf5e
mov eax, dword [edx - 0x10]
add eax, edx
jmp 0x46bf61
push 0xfffffffffffffff0
pop eax
and dword [eax + 4], 0
mov dword [eax], edi
mov ecx, dword [0x760c74]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 2
pop edi
pop esi
mov eax, edx
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edi, 0xfe
mov esi, 0x3e0
push edi
push esi
mov edx, 0x760c10
xor ecx, ecx
call fcn.0047145c
push esi
push 0x760c2c
push 0x760c48
call fcn.004010b4
add esp, 0x18
push edi
call fcn.005aae60
int3
Function at 0x46c097
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
push edi
push 4
mov edi, edx
xor eax, eax
mov ebx, ecx
test edi, edi
pop ecx
cmovg eax, ecx
push 0x436
push 0x760ca0
push 1
lea ebp, [ebx + eax]
add ebp, edi
push ebp
call fcn.005ce020
mov esi, eax
add esp, 0x10
test esi, esi
je 0x46c109
push ebp
push 0
push esi
call fcn.0059de40
add esp, 0xc
test edi, edi
jle 0x46c0ed
mov ecx, dword [esp + 0x18]
mov dword [esi + ebx], edi
test ecx, ecx
je 0x46c0f8
lea eax, [ebx + 4]
add eax, esi
mov dword [ecx], eax
jmp 0x46c0f8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46c0f8
and dword [eax], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x46c102
mov dword [eax], esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edi, 0xfe
mov esi, 0x437
push edi
push esi
mov edx, 0x760cbc
xor ecx, ecx
call fcn.0047145c
push esi
push 0x760cd8
push 0x760cf4
call fcn.004010b4
add esp, 0x18
push edi
call fcn.005aae60
int3

Function at 0x46c2f5
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, 0x6ce
mov esi, edx
push ebx
push 0x760dac
push 1
push 8
mov edi, ecx
call fcn.005ce020
mov edx, eax
add esp, 0x10
test edx, edx
je 0x46c345
mov dword [edx], edi
xor ecx, ecx
mov dword [edx + 4], esi
mov eax, dword [0x760e24]
push 0x46c2cc
push 0x46c2da
mov dword [esi + 0x18], eax
push ecx
mov ecx, dword [edi + 0x2e4]
call fcn.0046f894
add esp, 0xc
pop edi
pop esi
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x760dc8
push esi
push ebx
xor ecx, ecx
call fcn.0047145c
push ebx
push 0x760de4
push 0x760e00
call fcn.004010b4
add esp, 0x18
push esi
call fcn.005aae60
int3
Function at 0x46c3e6
Capabilities:
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x6b0d44]
xor eax, esp
mov dword [esp + 0x194], eax
push ebx
push esi
lea eax, [esp + 8]
mov esi, ecx
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x46c4cb
xor ebx, ebx
mov edx, esi
push ebx
push ebx
mov ecx, 0x31c
call fcn.0046c097
pop ecx
pop ecx
push 8
pop ecx
mov esi, eax
call fcn.0046febf
xor ecx, ecx
mov dword [esi + 0x2f0], eax
call fcn.0046febf
push 0x80
push ebx
push ebx
push 0x11
push 2
push 2
mov dword [esi + 0x2f4], eax
mov dword [esi], 1
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [esi + 0x2e0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 1
push ebx
push eax
mov dword [esi + 0xc], eax
call dword [sym.imp.dbghelp.dll_SymInitialize]
test eax, eax
jne 0x46c481
mov dword [esi + 0xc], ebx
mov eax, dword [0x76a590]
mov dword [esi], ebx
test eax, eax
jne 0x46c4a2
push ebx
push 0x40
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [0x76a59c], eax
mov eax, dword [0x76a590]
inc eax
mov ecx, esi
mov dword [0x76a590], eax
call fcn.0046fce4
mov ecx, dword [esp + 0x19c]
mov dword [esi + 0x2e4], eax
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0059b3f0
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
mov esi, 0x709
mov edx, 0x760e2c
push esi
xor ecx, ecx
call fcn.0047145c
push esi
push 0x760e48
push 0x760e64
call fcn.004010b4
add esp, 0x18
push 1
call fcn.005aae60
int3
Function at 0x46cdbc
Capabilities:
Get socket status

Disassembly:
sub esp, 0x428
mov eax, dword [0x6b0d44]
xor eax, esp
mov dword [esp + 0x424], eax
and dword [esp + 0x320], 0
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
mov ecx, dword [esp + 0x438]
push esi
push edi
mov eax, dword [ebp + 0x2f0]
mov edi, edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov esi, dword [eax + 0xc]
and dword [esp + 0x1c], 0
and dword [esp + 0x20], 0
mov dword [esp + 0x10], 0x5265c00
test esi, esi
je 0x46cf21
mov edi, dword [esi]
test edi, edi
je 0x46cf19
cmp dword [edi], 0
je 0x46cf0e
and dword [esp + 0x22c], 0
lea eax, [esp + 0x10]
and dword [esp + 0x24], 0
and dword [esp + 0x128], 0
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x130]
push eax
lea eax, [esp + 0x238]
push eax
push edi
call dword [edi]
add esp, 0x14
lea edx, [esp + 0x22c]
xor ecx, ecx
mov eax, dword [edx + ecx*4]
lea edx, [esp + 0x330]
cmp eax, dword [edx + ecx*4]
lea edx, [esp + 0x22c]
jne 0x46cec7
inc ecx
cmp ecx, 0x41
jne 0x46ce65
lea edx, [esp + 0x128]
xor ecx, ecx
mov eax, dword [edx + ecx*4]
lea edx, [esp + 0x330]
cmp eax, dword [edx + ecx*4]
lea edx, [esp + 0x128]
jne 0x46cec7
inc ecx
cmp ecx, 0x41
jne 0x46ce8a
lea edx, [esp + 0x24]
xor ecx, ecx
mov eax, dword [edx + ecx*4]
lea edx, [esp + 0x330]
cmp eax, dword [edx + ecx*4]
lea edx, [esp + 0x24]
jne 0x46cec7
inc ecx
cmp ecx, 0x41
jne 0x46ceac
jmp 0x46cf0e
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x130]
push eax
lea eax, [esp + 0x238]
push eax
push 0x40
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x46cf0e
push dword [edi + 0x14]
mov eax, 0x1000
sub eax, ebx
push 0x760f9c
push eax
lea eax, [ebx + 0x76c080]
push eax
call fcn.0040112a
add esp, 0x10
add ebx, eax
mov esi, dword [esi + 8]
test esi, esi
jne 0x46ce14
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
xor edx, edx
mov eax, 0x76c080
test ebx, ebx
cmovle eax, edx
test eax, eax
jne 0x46cf5b
mov esi, dword [sym.imp.WS2_32.dll___WSAFDIsSet]
push ecx
push dword [ebp + 0x2e0]
call esi
test eax, eax
jne 0x46cf56
push edi
push dword [ebp + 0x2e0]
call esi
test eax, eax
mov eax, str.UNKNOWN
je 0x46cf5b
mov eax, str.ILibForceUnblockChain
mov ecx, dword [esp + 0x434]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0059b3f0
add esp, 0x428
ret