joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54e808
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
or esi, 0xffffffff
cmp eax, esi
jne 0x54e85d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
push ecx
call fcn.0054d799
push ecx
call fcn.004f1822
push eax
push 0x6630a4
push str...RMLStack.cpp:1878
push str._s:__s_failed:__s_n
push 0x32
call fcn.004f1757
add esp, 0x1c
mov eax, esi
jmp 0x54e9d5
lea eax, [ebp + 8]
push eax
push dword [edi + 4]
mov dword [ebp + 8], ebx
call fcn.0055211f
cmp eax, esi
pop ecx
pop ecx
jne 0x54e893
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
push ecx
call fcn.0054d799
push ecx
call fcn.004f1822
push eax
push str.ioctlsocket
push str...RMLStack.cpp:1890
jmp 0x54e847
push dword [ebp + 0xc]
mov esi, dword [sym.imp.WS2_32.dll_htonl]
call esi
push dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
call esi
push dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
call esi
mov dword [ebp - 0xc], eax
mov al, byte [ebp + 0x18]
mov byte [ebp - 8], al
lea eax, [ebp - 0x14]
xor esi, esi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x20]
inc esi
cmp eax, ebx
mov dword [ebp - 0x2c], 0xd
je 0x54e8e9
cmp dword [ebp + 0x24], ebx
jbe 0x54e8e9
mov dword [ebp - 0x20], eax
mov eax, 0x597
cmp dword [ebp + 0x24], eax
jae 0x54e8e3
mov eax, dword [ebp + 0x24]
push 2
mov dword [ebp - 0x24], eax
pop esi
cmp byte [edi + 0x15], bl
push ebx
lea eax, [ebp - 4]
push ebx
je 0x54e905
push ebx
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_WSASend]
jmp 0x54e91a
push 0x10
push dword [ebp + 0x1c]
push ebx
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_WSASendTo]
cmp eax, 0xffffffff
jne 0x54e97c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
sub eax, 0x2714
je 0x54e967
sub eax, 0x1f
je 0x54e95e
push ecx
call fcn.0054d799
push ecx
call fcn.004f1822
push eax
push 0x6730f0
push str...RMLStack.cpp:1938
push str._s:__s_failed:__s_n
push 0x32
call fcn.004f1757
add esp, 0x1c
or eax, 0xffffffff
jmp 0x54e9d5
push str.Send_would_block_n
push 0xa
jmp 0x54e96e
push str.Send_interrupted_n
push 0x1e
call fcn.004f1757
pop ecx
pop ecx
push ebx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [ebp + 0x1c]
dec esi
dec esi
neg esi
sbb esi, esi
not esi
and esi, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push esi
push eax
push 0x53
call fcn.0054d8f9
add esp, 0x10
push 3
push dword [edi + 0x6b8]
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x54e9d3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
push ecx
call fcn.0054d799
push ecx
call fcn.004f1822
push eax
push 0x6630a4
push str...RMLStack.cpp:1953
jmp 0x54e94a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x54ef8b
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
push dword [esi + 0x640]
mov edi, dword [sym.imp.WS2_32.dll_htonl]
call edi
push dword [esi + 0x608]
mov dword [ebp - 0x10], eax
call edi
push dword [esi + 0x60c]
mov dword [ebp - 0xc], eax
call edi
push 0
mov dword [ebp - 8], eax
push 0xd
lea eax, [ebp - 0x10]
push eax
push dword [esi + 4]
mov byte [ebp - 4], 0x82
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
pop edi
jne 0x54f040
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
sub eax, 0x2714
je 0x54f028
sub eax, 0x1f
je 0x54f013
push ecx
call fcn.0054d799
push ecx
call fcn.004f1822
push eax
push str.send
push str...RMLStack.cpp:2568
push str._s:__s_failed:__s_n
push 0x32
call fcn.004f1757
add esp, 0x1c
or eax, 0xffffffff
leave
ret
push str.Send_would_block_n
push 0xa
call fcn.004f1757
mov byte [esi + 0x6bd], 0
jmp 0x54f034
push str.Send_interrupted_n
push 0x1e
call fcn.004f1757
pop ecx
pop ecx
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
jmp 0x54f066
lea eax, [esi + 0x73c]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0x53
call fcn.0054d8f9
mov eax, dword [esi + 0x760]
mov ecx, dword [esi + 0x608]
add esp, 0x10
mov dword [eax + 0xc], ecx
xor eax, eax
leave
ret
Function at 0x54f2cf
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, eax
cmp byte [esi + 0x6bc], 0
push edi
jne 0x54f4b4
cmp byte [esi + 0x6bd], 0
je 0x54f30d
push 0
call fcn.0054de52
test eax, eax
pop ecx
ja 0x54f4b4
cmp byte [esi + 0x6ad], 0
jne 0x54f4b4
push dword [ebp + 8]
push dword [ebp + 0xc]
push esi
call fcn.0054e0d4
mov ebx, eax
add esp, 0xc
test ebx, ebx
mov dword [ebp - 8], ebx
je 0x54f335
push ebx
push str._nWait__ld_
push 0xa
call fcn.004f1757
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebp - 4], eax
or eax, 0xffffffff
cmp ebx, eax
je 0x54f349
mov eax, ebx
push 0
push eax
push 0
lea ebx, [esi + 0x6b8]
push ebx
push 1
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x54f39b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
push ecx
call fcn.0054d799
push ecx
call fcn.004f1822
push eax
push 0x663170
push str...RMLStack.cpp:2846
push str._s:__s_failed:__s_n
push 0x32
call fcn.004f1757
add esp, 0x1c
or eax, 0xffffffff
jmp 0x54f4b6
call edi
mov edi, eax
xor eax, eax
cmp dword [ebp - 0xc], eax
jne 0x54f444
lea eax, [ebp - 0x38]
push eax
push dword [ebx]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
cmp eax, 0xffffffff
jne 0x54f3df
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
push ecx
call fcn.0054d799
push ecx
call fcn.004f1822
push eax
push 0x663144
push str...RMLStack.cpp:2860
jmp 0x54f384
test byte [ebp - 0x38], 1
je 0x54f3ec
mov byte [esi + 0x6bc], 1
test byte [ebp - 0x38], 2
je 0x54f3f9
mov byte [esi + 0x6bd], 1
cmp dword [ebp - 8], 0
jne 0x54f410
push 0
push str._nWait__ld_
push 0xa
call fcn.004f1757
add esp, 0xc
test byte [ebp - 0x38], 2
mov eax, 0x637898
mov ecx, 0x6731fc
jne 0x54f422
mov ecx, eax
test byte [ebp - 0x38], 1
je 0x54f42d
mov eax, 0x6731f8
sub edi, dword [ebp - 4]
push edi
push ecx
push eax
push str.returned___s_s__after__ld_ticks_n
push 0xa
call fcn.004f1757
add esp, 0x14
jmp 0x54f4af
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 9
jne 0x54f47a
cmp dword [ebp - 8], eax
jne 0x54f461
push eax
push str._nWait__ld_
push 0xa
call fcn.004f1757
add esp, 0xc
sub edi, dword [ebp - 4]
push edi
push str.throttle_off_after__ld_ticks_n
push 0xa
call fcn.004f1757
add esp, 0xc
and dword [ebp - 0xc], 0
jmp 0x54f4af
cmp dword [ebp - 8], eax
jne 0x54f49c
mov esi, edi
sub esi, dword [ebp - 4]
je 0x54f498
push eax
push str._nWait__ld_
push 0xa
call fcn.004f1757
add esp, 0xc
xor eax, eax
cmp esi, eax
je 0x54f4af
sub edi, dword [ebp - 4]
push edi
push str.timed_out_after__ld_ticks_n
push 0xa
call fcn.004f1757
add esp, 0xc
mov eax, dword [ebp - 0xc]
jmp 0x54f4b6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x54f526
Capabilities:
Set socket configuration

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x20], 2
je 0x54f598
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_htonl]
push edi
mov edi, dword [esi + 0x760]
push 0
call ebx
cmp dword [edi], eax
je 0x54f596
push 8
push edi
push 0xd
push 0
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x54f58a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.004f1822
push eax
push str.setsockopt
push str...RMLStack.cpp:2972
push str._s:__s_failed:__s_n
push 0x1e
call fcn.004f1757
add esp, 0x18
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
call ebx
mov ecx, dword [esi + 0x760]
mov dword [ecx], eax
pop edi
pop ebx
pop esi
ret

Function at 0x54f846
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp byte [esi + 0x15], bl
push edi
je 0x54f87f
push ebx
push ebx
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x54f983
or eax, 0xffffffff
jmp 0x54f985
cmp byte [esi + 0x6a4], bl
jne 0x54f88e
push esi
call fcn.0054f641
pop ecx
cmp dword [esi + 0x6a0], ebx
mov dword [ebp - 4], ebx
jle 0x54f983
mov edi, dword [sym.imp.WS2_32.dll_WSASendTo]
mov dword [ebp + 8], ebx
mov eax, dword [esi + 0x6a8]
mov ecx, dword [ebp + 8]
add eax, ecx
cmp dword [eax], ebx
jne 0x54f947
cmp dword [eax + 0x14], ebx
je 0x54f947
mov eax, dword [eax + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [esi + 4]
call fcn.0055210a
cmp eax, 0xffffffff
pop ecx
pop ecx
jne 0x54f947
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.004f1822
push eax
push str.ws2SetMulticastInterface
push str...RMLStack.cpp:3169
push str._s:__s_failed:__s_n
push 0x1e
call fcn.004f1757
add esp, 0x18
jmp 0x54f947
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x54f877
push str.switching_to_unbuffered_sends_n
push 0x1e
call fcn.004f1757
pop ecx
pop ecx
push 4
lea eax, [ebp - 0xc]
push eax
push 0x1001
push 0xffff
push dword [esi + 4]
mov dword [ebp - 0xc], ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x54f877
mov eax, dword [esi + 0x6a8]
mov ecx, dword [ebp + 8]
push ebx
push ebx
push 0x10
lea eax, [ecx + eax + 4]
push eax
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 4]
call edi
cmp eax, 0xffffffff
je 0x54f903
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add dword [ebp + 8], 0x18
cmp eax, dword [esi + 0x6a0]
jl 0x54f8a6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x550159
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6e1760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [esi + 0x34]
lea eax, [edi + 0x10]
mov edx, esi
call fcn.0055010c
test al, al
je 0x55031b
cmp dword [0x773c80], 0
jne 0x550190
push esi
call fcn.0054f526
pop ecx
cmp byte [edi + 0x28], 0
jne 0x5501bb
push 0x10
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.0040b070
push dword [ebp - 0x10]
push esi
call fcn.0054f4bb
add esp, 0x14
cmp eax, 0xffffffff
jne 0x5501bb
or eax, 0xffffffff
jmp 0x55031d
xor ebx, ebx
inc ebx
cmp byte [edi + 0x28], bl
jne 0x550225
push str.Setting_UDP_Socket_to_accept_broadcasts_n
push 0x14
call fcn.004f1757
pop ecx
pop ecx
push 4
lea eax, [ebp - 0x1c]
push eax
push 0x20
push 0xffff
push dword [esi + 4]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x550225
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
push ecx
call fcn.0054d799
push ecx
call fcn.004f1822
push eax
push str.setsockopt
push str...RMLStack.cpp:3867
push str._s:__s_failed:__s_n
push 0x32
call fcn.004f1757
push esi
call fcn.0054fc7c
add esp, 0x20
jmp 0x5501b3
push dword [esi + 0x2c]
mov dword [esi + 0x63c], ebx
mov dword [esi + 0x640], ebx
mov dword [esi + 0x644], ebx
mov dword [esi + 0x648], ebx
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [esi + 0x62c]
mov dword [esi + 0x64c], eax
jbe 0x550286
push eax
push esi
call fcn.0054ecf8
test al, al
pop ecx
pop ecx
jne 0x550286
push 0x2747
call fcn.0054d799
mov dword [esp], str...RMLStack.cpp:3886
push str._s:_malloc_failed_n
push 0x32
call fcn.004f1757
add esp, 0xc
jmp 0x5501b3
test byte [esi + 0x30], 0x10
mov eax, dword [esi + 0x5fc]
mov dword [esi + 0x608], ebx
mov dword [esi + 0x60c], eax
mov dword [esi + 0x610], 0xb2f
mov byte [ebp - 0x18], 2
je 0x5502b3
mov dword [esi + 0x20], ebx
mov byte [ebp - 0x18], 0x42
mov ecx, dword [edi + 0x20]
push 4
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [esi + 0x73c]
push ecx
push dword [ebp - 0x18]
push eax
push ebx
push dword [esi + 0x640]
push esi
call fcn.0054e808
add esp, 0x20
cmp eax, 0xffffffff
jne 0x5502f2
push 0
push esi
call fcn.0054e571
and dword [esi + 0x20], 0
pop ecx
pop ecx
jmp 0x5501b3
push 4
push esi
call fcn.0054e571
pop ecx
pop ecx
push dword [edi + 0x24]
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [esi + 0x760]
mov dword [ecx + 8], eax
and dword [esi + 0x6dc], 0
mov byte [esi + 0x6be], bl
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0040916a
leave
ret
Function at 0x550714
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, eax
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.0054de52
mov edi, dword [ebp - 0xc]
pop ecx
mov dword [ebp - 8], eax
mov byte [ebp - 1], 1
mov ebx, 0x597
cmp dword [ebp - 8], ebx
jae 0x55076e
cmp dword [ebp - 8], 0
jbe 0x5508e7
cmp byte [esi + 0x730], 0
je 0x550759
cmp byte [esi + 0x731], 0
je 0x55076b
mov eax, dword [esi + 0x63c]
cmp eax, dword [esi + 0x640]
jne 0x5508e7
mov ebx, dword [ebp - 8]
cmp dword [esi + 0x20], 0
jne 0x550790
cmp byte [esi + 0x730], 0
je 0x550837
lea eax, [ebx + edi]
cmp eax, dword [esi + 0x634]
jne 0x550837
lea eax, [ebp - 1]
push eax
push edi
mov eax, esi
call fcn.0054f98a
cmp eax, 0xffffffff
pop ecx
pop ecx
je 0x5508e2
cmp byte [ebp - 1], 0
je 0x5508e7
cmp byte [esi + 0x67c], 0
mov byte [esi + 0x6ac], 0
mov byte [esi + 0x6ad], 0
je 0x5507f4
mov eax, edi
sub eax, dword [esi + 0x644]
jns 0x5507f4
push dword [esi + 0x684]
inc dword [esi + 0x680]
push str.Timing_of__lu_abandoned_n
push 0xa
mov byte [esi + 0x67c], 0
call fcn.004f1757
add esp, 0xc
cmp byte [esi + 0x660], 0
jne 0x550837
cmp byte [esi + 0x67c], 0
jne 0x550837
cmp edi, dword [esi + 0x644]
jne 0x550837
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
push str.Timing_of__lu_commenced_n
push 0xa
mov dword [esi + 0x688], eax
mov dword [esi + 0x684], edi
mov byte [esi + 0x67c], 1
call fcn.004f1757
add esp, 0xc
cmp byte [ebp - 1], 0
je 0x5508e7
sub dword [ebp - 8], ebx
add edi, ebx
cmp byte [esi + 0x660], 0
jne 0x550876
lea eax, [esi + 0x640]
add dword [eax], ebx
mov eax, dword [eax]
sub eax, dword [esi + 0x644]
test eax, eax
jle 0x55086a
mov eax, esi
call fcn.0054fde1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x6d8], eax
mov eax, edi
sub eax, dword [esi + 0x648]
test eax, eax
jle 0x550888
mov dword [esi + 0x648], edi
lea eax, [esi + 0x731]
cmp byte [eax], 0
mov byte [esi + 0x660], 0
mov byte [esi + 0x668], 0
jne 0x550733
cmp byte [esi + 0x730], 0
je 0x550733
mov ecx, dword [esi + 0x648]
cmp ecx, dword [esi + 0x634]
jne 0x550733
cmp dword [esi + 0x63c], ecx
mov byte [eax], 1
jne 0x5508d6
mov byte [esi + 0x732], 1
mov eax, esi
call fcn.0054e6dd
jmp 0x550733
or eax, 0xffffffff
jmp 0x5508e9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x55161f
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [ebp - 8], ebx
jbe 0x551661
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + ebx*4]
call fcn.005514e9
test eax, eax
je 0x551656
cmp dword [ebp - 8], 0
jne 0x551651
mov dword [ebp - 8], eax
jmp 0x551656
cmp eax, dword [ebp - 8]
jne 0x55168d
inc ebx
cmp ebx, esi
jb 0x551637
cmp dword [ebp - 8], 0
jne 0x551671
cmp byte [0x773d88], 0
je 0x5516b7
mov dword [ebp - 8], 0x773d88
push 0
push dword [ebp - 8]
call fcn.00551121
cmp eax, 0xffffffff
pop ecx
pop ecx
jne 0x551709
mov eax, 0x102
jmp 0x551704
push 0x273d
call fcn.0054d799
mov dword [esp], str.can_only_wait_on_one_socket
push str.RMLWaitForMultipleEvents
push str._s_failed:__s_n
push 0x32
call fcn.004f1757
add esp, 0x10
or eax, 0xffffffff
jmp 0x551704
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x551701
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.0054d799
push esi
call fcn.004f1822
push eax
push 0x663170
push str...RMLEvent.cpp:443
push str._s:__s_failed:__s_n
push 0x32
call fcn.004f1757
add esp, 0x1c
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp + 0x18]
mov ebx, dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call ebx
mov edi, 0x102
cmp eax, edi
mov dword [ebp - 0xc], eax
jne 0x5516cd
cmp dword [ebp + 0x14], 0xffffffff
jne 0x551735
mov byte [ebp - 1], 1
jmp 0x551745
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
xor esi, esi
test ecx, ecx
jbe 0x551761
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x114]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
mov edi, 0x102
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x6b8]
inc dword [ebp + 8]
mov dword [ebp + esi*4 - 0x114], eax
cmp byte [ebp - 1], 0
jne 0x5517d6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x10]
jae 0x5516cd
mov ecx, dword [ebp - 0x10]
sub ecx, eax
push ecx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
call fcn.0054e0d4
add esp, 0xc
push dword [ebp + 0x18]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x114]
push eax
push dword [ebp + 8]
call ebx
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x5517cc
push 0
push dword [ebp - 8]
call fcn.00551121
cmp eax, 0xffffffff
pop ecx
pop ecx
je 0x5517db
mov dword [ebp - 0xc], edi
cmp dword [ebp - 0xc], edi
je 0x551774
jmp 0x5516cd
or eax, 0xffffffff
jmp 0x55179e
mov eax, edi
jmp 0x551704
Function at 0x5520df
Capabilities:
Set socket configuration

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 0xa
push 0
push dword [esp + 0x14]
call dword [sym.imp.WS2_32.dll_setsockopt]
ret

Function at 0x5520f5
Capabilities:
Set socket configuration

Disassembly:
push 8
push dword [esp + 0xc]
push 0xc
push 0
push dword [esp + 0x14]
call dword [sym.imp.WS2_32.dll_setsockopt]
ret

Function at 0x55210a
Capabilities:
Set socket configuration

Disassembly:
push 4
push dword [esp + 0xc]
push 9
push 0
push dword [esp + 0x14]
call dword [sym.imp.WS2_32.dll_setsockopt]
ret

Function at 0x55211f
Capabilities:
Set socket configuration

Disassembly:
push dword [esp + 8]
push 0x8004667e
push dword [esp + 0xc]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6e1760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x11
push 2
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
and word [ebp - 0x12], 0
and dword [ebp - 0x10], 0
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [esi], eax
mov word [ebp - 0x14], 2
call dword [sym.imp.WS2_32.dll_bind]
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
push 1
push eax
push dword [esi]
mov dword [esi + 4], eax
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.0040916a
leave
ret
Function at 0x552fc2
Capabilities:
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1db8
call fcn.0040b570
mov eax, dword [0x6e1760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
xor edi, edi
push edi
push edi
mov ebx, eax
lea eax, [ebp - 0x1db8]
push eax
push 0x1db0
lea eax, [ebp - 0x1db4]
push eax
push edi
push edi
push 0x4004747f
push ebx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x55301a
xor eax, eax
jmp 0x553053
mov eax, dword [ebp - 0x1db8]
push 0x4c
xor edx, edx
pop ecx
div ecx
cmp eax, edi
jle 0x55304a
lea ecx, [ebp - 0x1d7c]
cmp edi, dword [ebp + 0xc]
jge 0x55304a
mov edx, dword [ecx - 0x30]
mov dword [esi + edi*8], edx
mov edx, dword [ecx]
mov dword [esi + edi*8 + 4], edx
inc edi
add ecx, 0x4c
cmp edi, eax
jl 0x553031
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040916a
leave
ret

Function at 0x556605
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
push str.DBGHELP.DLL
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi], eax
je 0x55671b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SymCleanup
push eax
call edi
test eax, eax
mov dword [esi + 0xc], eax
je 0x55671a
push str.StackWalk64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 8], eax
je 0x55671a
push str.SymFunctionTableAccess64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x18], eax
je 0x55671a
push str.SymGetModuleBase64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x1c], eax
je 0x55671a
push str.SymGetLineFromAddr64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x20], eax
je 0x55671a
push str.SymLoadModule64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x2c], eax
je 0x55671a
push ebx
push str.SymSetOptions
push dword [esi]
call edi
mov ebx, eax
test ebx, ebx
je 0x556719
push ebp
push str.SymInitialize
push dword [esi]
call edi
mov ebp, eax
test ebp, ebp
je 0x556718
push str.SymFromAddr
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x14], eax
jne 0x5566db
push str.SymGetSymFromAddr64
push dword [esi]
call edi
test eax, eax
mov dword [esi + 0x24], eax
je 0x556718
push str.SymSetContext
push dword [esi]
call edi
push str.SymEnumSymbols
push dword [esi]
mov dword [esi + 0x30], eax
call edi
push str.SymGetTypeInfo
push dword [esi]
mov dword [esi + 0x10], eax
call edi
push 0x16
mov dword [esi + 0x28], eax
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebp
test eax, eax
je 0x556718
mov byte [esi + 4], 1
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
ret
Function at 0x556872
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, dword [ebp + 8]
push 0x1c
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x556894
xor al, al
jmp 0x55691a
mov eax, dword [ebp - 0x20]
cdq
push ebx
push edi
mov ebx, edx
mov edi, eax
or eax, ebx
je 0x556916
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x556916
mov eax, dword [edi + 0x3c]
add eax, edi
movzx ecx, word [eax + 0x14]
lea edx, [ecx + eax + 0x18]
mov ecx, dword [ebp + 0xc]
sub esi, edi
sbb ecx, ebx
movzx ebx, word [eax + 6]
and dword [ebp + 0xc], 0
test bx, bx
jbe 0x556916
add edx, 0x10
mov eax, dword [edx - 4]
mov edi, dword [edx - 8]
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
mov eax, dword [edx]
cmp eax, edi
jbe 0x5568ec
mov edi, eax
cmp ecx, dword [ebp - 4]
jb 0x55690a
ja 0x5568f8
cmp esi, dword [ebp - 8]
jb 0x55690a
xor eax, eax
add edi, dword [ebp - 8]
adc eax, dword [ebp - 4]
cmp ecx, eax
jb 0x55691d
ja 0x55690a
cmp esi, edi
jb 0x55691d
inc dword [ebp + 0xc]
add edx, 0x28
cmp word [ebp + 0xc], bx
jb 0x5568d7
xor al, al
pop edi
pop ebx
pop esi
leave
ret
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
inc eax
sub esi, dword [ebp - 8]
mov word [edx], ax
mov eax, dword [ebp + 0x1c]
sbb ecx, dword [ebp - 4]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov al, 1
jmp 0x556918

Function at 0x55917c
Capabilities:
Create thread

Disassembly:
mov ecx, dword [eax]
cmp dword [ecx], 0xc00000fd
jne 0x5591a8
push 0
push 0
push eax
push fcn.00559150
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x5591ae
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
push eax
call fcn.00559150
ret