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

Disassembly:
push ecx
push ebx
mov ebx, ecx
push esi
push edi
push 0xfffffffffffffffc
lea eax, [ebx + 0x20c]
pop esi
mov ecx, eax
mov dword [esp + 0xc], eax
call fcn.0044c7d2
mov eax, dword [ebx + 0x238]
xor edi, edi
cmp dword [eax], edi
jbe 0x47da0d
cmp dword [ebx + 0x208], edi
jne 0x47da0d
cmp dword [ebx + 0x1ec], edi
jne 0x47d950
push edi
push edi
push 0x30
xor edx, edx
pop ecx
call fcn.004814a9
pop ecx
pop ecx
mov esi, edi
mov dword [eax + 0x28], 3
mov dword [ebx + 0x208], eax
mov dword [ebx + 0x204], eax
jmp 0x47da0d
push ebp
push 0xf
push dword [ebx + 0x230]
call fcn.004b5b30
mov eax, dword [ebx + 0x238]
pop ecx
pop ecx
push edi
push dword [eax]
push dword [eax + 4]
push dword [ebx + 0x34]
call dword [sym.imp.WS2_32.dll_send]
mov ebp, eax
test ebp, ebp
jle 0x47da0c
mov eax, dword [ebx + 0x238]
mov eax, dword [eax]
cmp ebp, eax
jge 0x47d9f6
push edi
push edi
sub eax, ebp
push 0x30
mov edx, eax
pop ecx
call fcn.004814a9
mov edi, eax
mov esi, edi
neg esi
sbb esi, esi
lea ecx, [edi + 0x34]
and esi, ecx
mov dword [edi], esi
mov ecx, esi
mov eax, dword [ebx + 0x238]
mov eax, dword [eax]
sub eax, ebp
mov dword [edi + 0x28], 3
mov edx, eax
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x238]
push edx
mov eax, dword [eax + 4]
add eax, ebp
push eax
call section..text
mov dword [ebx + 0x208], edi
mov dword [ebx + 0x204], edi
xor edi, edi
push edi
push edi
push 1
push dword [ebx + 0x230]
mov esi, edi
call fcn.004b5b60
add esp, 0x20
jmp 0x47da0c
jne 0x47da0c
push edi
xor esi, esi
push edi
inc esi
push esi
push dword [ebx + 0x230]
call fcn.004b5b60
add esp, 0x10
pop ebp
mov eax, dword [esp + 0xc]
mov dword [eax], edi
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x47ee40
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 + 0x1cc], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x1dc], eax
mov eax, dword [esi + 0x1f8]
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x34], edx
mov dword [esi + 0x1ec], ebp
mov dword [esi + 0x1e8], edi
mov dword [esi + 0x220], edi
cmp eax, 0x740000
je 0x47eeb8
mov ebx, 0x946
push ebx
push 0x71f64c
push ebp
push dword [esi + 0x200]
push eax
call fcn.005e80c0
add esp, 0x14
test eax, eax
je 0x47eee0
mov dword [esi + 0x1f8], eax
mov eax, dword [esi + 0x200]
mov dword [esi + 0x1fc], eax
lea eax, [esp + 0x14]
mov dword [esi + 0x1f0], edi
push eax
push 0x8004667e
push dword [esi + 0x34]
mov dword [esi + 0x1f4], 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, 0x71f66c
push esi
push ebx
xor ecx, ecx
call fcn.00488a50
push ebx
push str...microstackILibAsyncSocket.c
push 0x71f544
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c3000
int3

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6ccd44]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ecx + 0x5c]
push edi
push 0x17
pop edi
mov dword [ebp - 0x24], 0x1c
cmp ax, di
jne 0x47eff2
movzx eax, word [ecx + 0x5e]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
jmp 0x47f02d
push esi
push 2
pop esi
cmp ax, si
jne 0x47f002
movzx eax, word [ecx + 0x5e]
push eax
jmp 0x47f022
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ecx + 0x34]
call dword [sym.imp.WS2_32.dll_getsockname]
cmp word [ebp - 0x20], di
je 0x47f01f
cmp word [ebp - 0x20], si
jne 0x47f02a
push dword [ebp - 0x1e]
call dword [sym.imp.WS2_32.dll_ntohs]
jmp 0x47f02c
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.005b35b0
mov esp, ebp
pop ebp
ret
Function at 0x47f1f2
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.004814a9
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 0x47f263
push 1
push esi
call fcn.005e7dd0
xor eax, eax
jmp 0x47f34d
cmp ebp, 1
mov ebp, dword [sym.imp.WS2_32.dll_setsockopt]
jne 0x47f287
push 4
lea eax, [esp + 0x30]
push eax
push 4
push 0xffff
push edi
call ebp
test eax, eax
jne 0x47f357
push 0x17
pop eax
cmp word [ebx], ax
jne 0x47f2ba
push 4
lea eax, [esp + 0x14]
push eax
push 0x1b
push 0x29
push edi
call ebp
test eax, eax
je 0x47f2ba
xor ebp, ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x83
mov edx, 0x71f6d0
jmp 0x47f368
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 0x47f2e2
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x47f254
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 0x47f1ca
push 0x47f1e4
push ebp
push 0x47f149
mov word [esi + 0xc], ax
call fcn.0047cb05
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x47f2d6
push esi
push 0x47f1e4
mov edx, edi
mov ecx, ebx
call fcn.0047ee40
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, 0x71f6ac
xor ecx, ecx
call fcn.00488a50
add esp, 0xc
push 0xfd
call fcn.005c3000
int3

Function at 0x47f4b0
Capabilities:
Set socket configuration
Terminate process

Disassembly:
cmp word [edx], 0x17
mov ecx, dword [ecx + 0x34]
push 4
jne 0x47f4d0
lea eax, [edx + 0x18]
push eax
push 9
push 0x29
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x47f4f8
jmp 0x47f4f9
lea eax, [edx + 4]
push eax
push 9
push 0
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x47f4f8
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x110
mov edx, 0x71f718
jmp 0x47f50c
ret
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10c
mov edx, 0x71f6f4
xor ecx, ecx
call fcn.00488a50
add esp, 0xc
push 0xfd
call fcn.005c3000
int3
Function at 0x47fa05
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x1000
mov ebx, 0x72c000
xor esi, esi
push ebx
push 0xffffffffffffffff
push ecx
push esi
push 0xfde9
mov edi, edx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x71f7b0
lea eax, [ebp - 4]
push ebx
push eax
call fcn.005e1090
add esp, 0xc
cmp dword [ebp - 4], esi
je 0x47fa5f
push dword [ebp - 4]
push 1
push dword [ebp + 8]
push edi
call fcn.005e4940
push dword [ebp - 4]
mov esi, eax
call fcn.005e1d40
add esp, 0x14
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x47fa6a
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 0x47fa83
xor eax, eax
jmp 0x47fb49
push edi
push 0x1000
mov edi, 0x72c000
push edi
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x71f7b8
lea eax, [ebp - 4]
push edi
push eax
call fcn.005e1090
mov ecx, dword [ebp - 4]
add esp, 0xc
test ecx, ecx
je 0x47fb46
cmp dword [ebx], esi
jne 0x47fb12
push 2
push 0
push ecx
call fcn.005e2940
push dword [ebp - 4]
call fcn.005c3d10
mov edi, eax
cmp edi, dword [ebp + 8]
push 0
cmova edi, dword [ebp + 8]
push 0
push dword [ebp - 4]
call fcn.005e2940
push 0x144
push 0x71f7c0
lea eax, [edi + 1]
push 1
push eax
call fcn.005e7f10
add esp, 0x2c
mov dword [ebx], eax
test eax, eax
jne 0x47fb32
push dword [ebp - 4]
call fcn.005e1d40
pop ecx
xor eax, eax
jmp 0x47fb48
mov edi, dword [ebp + 8]
dec edi
cmp esi, edi
jae 0x47fb37
push ecx
mov eax, edi
sub eax, esi
push eax
push 1
push dword [ebx]
call fcn.005eac90
add esp, 0x10
add esi, eax
test eax, eax
je 0x47fb37
mov ecx, dword [ebp - 4]
jmp 0x47fb16
mov ecx, dword [ebx]
mov byte [esi + ecx], 0
push dword [ebp - 4]
call fcn.005e1d40
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x47fb7d
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 0x47fbb1
imul esi, esi, 0x1000193
xor esi, dword [ecx]
inc edi
lea ecx, [ecx + 4]
cmp edi, edx
jb 0x47fba1
pop edi
mov eax, esi
pop esi
pop ebx
ret 4
Function at 0x47fbb9
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x6ccd44]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [0x72a30c]
inc eax
mov dword [0x72a30c], eax
push esi
cmp eax, 1
jg 0x47fc7e
xor esi, esi
push esi
push esi
push esi
call fcn.005861b0
push esi
push esi
push 0x200002
call fcn.005861b0
push esi
push esi
push 2
call fcn.004b8f70
push esi
push esi
push 0xc
call fcn.004b8f70
push esi
push esi
push 4
call fcn.004b8f70
push esi
push esi
push 8
call fcn.004b8f70
add esp, 0x48
push 0x800
push esi
push str.ADVAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov esi, eax
test esi, esi
je 0x47fc7e
push str.SystemFunction036
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47fc77
push 0x40
lea ecx, [esp + 0xc]
push ecx
call eax
test al, al
je 0x47fc77
movsd xmm0, qword [0x6bb3c8]
lea eax, [esp + 8]
push ecx
push ecx
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.004baa40
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x10c]
pop esi
xor ecx, esp
call fcn.005b35b0
mov esp, ebp
pop ebp
ret
Function at 0x480777
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 + 0x74], ebx
jle 0x4807e3
push ebp
push esi
xor ebp, ebp
mov eax, dword [edi + 0x28]
cmp dword [eax + ebx*4], 0
je 0x4807d8
mov eax, dword [edi + 0x20]
push 4
mov esi, dword [eax + 0x34]
mov eax, dword [edi + 0x70]
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 + 0x34]
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 dword [esp + 0x28]
push dword [esp + 0x28]
push esi
call dword [sym.imp.WS2_32.dll_sendto]
inc ebx
add ebp, 0x10
cmp ebx, dword [edi + 0x74]
jl 0x48078b
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
Function at 0x480cb5
Capabilities:
Terminate process

Disassembly:
mov eax, 0x2614
call fcn.005b3d10
mov eax, dword [0x6ccd44]
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 0x480cfa
xor eax, eax
jmp 0x480dcc
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 0x480dc3
mov eax, ecx
push 0x4c
pop ecx
div ecx
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x480d56
lea eax, [esp + 0x28]
cmp dword [eax], 0x100007f
je 0x480d4e
inc edi
add eax, 0x4c
sub ecx, 1
jne 0x480d45
push 0x1ca
push 0x71fcfc
push 1
shl edi, 4
push edi
call fcn.005e7f10
add esp, 0x10
mov dword [ebx], eax
test eax, eax
je 0x480de5
mov eax, dword [esp + 0x10]
mov edi, esi
test eax, eax
je 0x480dc3
mov ebp, dword [esp + 0x18]
lea ebx, [esp + 0x24]
mov edx, esi
mov dword [esp + 0x14], edx
cmp dword [ebx + 4], 0x100007f
je 0x480db7
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 0x480d8c
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.005b35b0
add esp, 0x2614
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x1ca
push esi
push edi
mov edx, 0x71fd18
xor ecx, ecx
call fcn.00488a50
push edi
push 0x71fd34
push 0x71fd50
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c3000
int3
Function at 0x480e1e
Capabilities:
Get local ipv4 addresses
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov ebx, 0x26e
mov eax, 0x178
push ebx
push 0x71fd74
push 1
push eax
mov ebp, ecx
mov dword [esp + 0x20], eax
xor edi, edi
call fcn.005e7f10
mov esi, eax
add esp, 0x10
test esi, esi
je 0x480f82
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 0x480ebd
push 1
push esi
call fcn.005e7dd0
push 0x272
push 0x71fdec
push 1
push dword [esp + 0x24]
call fcn.005e7f10
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x480ebd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x272
push esi
push edi
mov edx, 0x71fe08
xor ecx, ecx
call fcn.00488a50
push edi
push 0x71fe24
push 0x71fe40
jmp 0x480fa7
lea eax, [esp + 0x10]
push eax
push esi
push 0
push 0x2a
push 0x17
call ebx
test eax, eax
je 0x480ede
push 1
push esi
call fcn.005e7dd0
xor eax, eax
jmp 0x480f7a
mov eax, esi
test esi, esi
je 0x480efe
cmp dword [eax + 0x34], 0
je 0x480ef7
test byte [eax + 0x38], 0x18
jne 0x480ef7
cmp dword [eax + 0x44], 1
jne 0x480ef7
inc edi
mov eax, dword [eax + 8]
test eax, eax
jne 0x480ee4
mov ebx, 0x28a
mov eax, edi
push ebx
push 0x71fe64
shl eax, 2
push 1
push eax
call fcn.005e7f10
mov edx, eax
add esp, 0x10
mov dword [ebp], edx
test edx, edx
jne 0x480f49
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x71fe80
push esi
push ebx
xor ecx, ecx
call fcn.00488a50
push ebx
push 0x71fe9c
push 0x71feb8
jmp 0x480fa7
mov ecx, esi
test esi, esi
je 0x480f70
cmp dword [ecx + 0x34], 0
je 0x480f69
test byte [ecx + 0x38], 0x18
jne 0x480f69
cmp dword [ecx + 0x44], 1
jne 0x480f69
mov eax, dword [ecx + 4]
mov dword [edx], eax
add edx, 4
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x480f4f
push 1
push esi
call fcn.005e7dd0
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, 0x71fd90
push esi
push ebx
xor ecx, ecx
call fcn.00488a50
push ebx
push 0x71fdac
push 0x71fdc8
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c3000
int3
Function at 0x481031
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.004813e2
test eax, eax
je 0x481124
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 0x4810be
test edi, edi
je 0x4810be
mov eax, ecx
sub eax, dword [esp + 0x10]
test edi, edi
je 0x481099
lea edx, [ecx + esi]
mov dword [esp + 0x14], edx
jmp 0x48109d
mov dword [esp + 0x14], ebp
test edi, edi
je 0x4810a8
add ecx, 0x10
add ecx, esi
jmp 0x4810aa
xor ecx, ecx
lea edx, [edi + 0x10]
sub ecx, eax
push edx
push dword [esp + 0x18]
sub ecx, 0x10
call fcn.00464bc3
pop ecx
pop ecx
push 0x415
push 0x71ffd0
push 1
lea eax, [esi - 0x10]
push ebx
push eax
call fcn.005e80c0
add esp, 0x14
test eax, eax
je 0x48112e
lea esi, [eax + 0x10]
cmp ebx, dword [esp + 0x18]
jbe 0x481119
test edi, edi
je 0x481119
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp + 0x1c]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x48110a
mov ebp, dword [esi - 0x10]
add ebp, esi
test eax, eax
je 0x48110a
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.00464bc3
pop ecx
pop ecx
mov eax, dword [esp + 0x10]
mov dword [esi - 0x10], eax
mov eax, esi
jmp 0x481126
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, 0x415
push esi
push edi
mov edx, 0x71ffec
xor ecx, ecx
call fcn.00488a50
push edi
push 0x720008
push 0x720024
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c3000
int3

Function at 0x4811d1
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
test esi, esi
je 0x481243
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.005b5fd0
mov dword [esi], ebx
lea edx, [esi + 0x10]
mov dword [esi + 4], edi
add esp, 0xc
mov eax, dword [0x7200a4]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], eax
test edi, edi
je 0x48123d
cmp dword [edx - 0xc], 0
jbe 0x481224
mov eax, dword [edx - 0x10]
add eax, edx
jmp 0x481227
push 0xfffffffffffffff0
pop eax
and dword [eax + 4], 0
mov dword [eax], edi
mov ecx, dword [0x7200ac]
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, 0x444
push edi
push esi
mov edx, 0x720048
xor ecx, ecx
call fcn.00488a50
push esi
push 0x720064
push 0x720080
call fcn.00401109
add esp, 0x18
push edi
call fcn.005c3000
int3
Function at 0x4814a9
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov eax, edi
not eax
cmp ebx, eax
jae 0x48156a
lea eax, [ebx + edi]
cmp eax, 0xfffffffb
jae 0x48156a
xor eax, eax
cmp eax, edi
push ebp
sbb eax, eax
and eax, 4
push 0x4e7
push 0x720150
push 1
lea ebp, [ebx + eax]
add ebp, edi
push ebp
call fcn.005e7f10
mov esi, eax
add esp, 0x10
test esi, esi
je 0x481532
push ebp
push 0
push esi
call fcn.005b5fd0
add esp, 0xc
test edi, edi
je 0x481516
mov ecx, dword [esp + 0x18]
mov dword [esi + ebx], edi
test ecx, ecx
je 0x481521
lea eax, [ebx + 4]
add eax, esi
mov dword [ecx], eax
jmp 0x481521
mov eax, dword [esp + 0x18]
test eax, eax
je 0x481521
and dword [eax], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48152b
mov dword [eax], esi
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x4e8
push esi
push edi
mov edx, 0x72016c
xor ecx, ecx
call fcn.00488a50
push edi
push 0x720188
push 0x7201a4
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c3000
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x4e5
push esi
push edi
mov edx, 0x7200f4
xor ecx, ecx
call fcn.00488a50
push edi
push 0x720110
push 0x72012c
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c3000
int3

Function at 0x481758
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, 0x782
mov esi, edx
push ebx
push 0x720278
push 1
push 8
mov edi, ecx
call fcn.005e7f10
mov edx, eax
add esp, 0x10
test edx, edx
je 0x4817b3
xor ecx, ecx
mov dword [edx], edi
push ecx
push 0x787
push 0x7202f8
mov dword [edx + 4], esi
mov eax, dword [0x7202f0]
push 0x48172f
push 0x48173d
mov dword [esi + 0x1c], eax
push ecx
mov ecx, dword [edi + 0x4f4]
call fcn.004868db
add esp, 0x18
pop edi
pop esi
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x720294
push esi
push ebx
xor ecx, ecx
call fcn.00488a50
push ebx
push 0x7202b0
push 0x7202cc
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c3000
int3
Function at 0x48185f
Capabilities:
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x39c
mov eax, dword [0x6ccd44]
xor eax, esp
mov dword [esp + 0x398], eax
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push edi
xor edi, edi
inc ebx
cmp dword [0x72a32c], edi
jne 0x4818e1
push edi
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [0x72a338], eax
cmp dword [0x72a314], edi
je 0x4818e1
push 0x7bb
push 0x720314
push 0x72a338
push 0x720330
lea eax, [esp + 0x1b0]
push 0x200
push eax
call fcn.0040117f
push ebx
push dword [0x72a33c]
lea eax, [esp + 0x1c0]
push eax
call dword [0x72a314]
add esp, 0x24
inc dword [0x72a32c]
lea eax, [esp + 0x10]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x48196f
push edi
push edi
mov edx, esi
mov ecx, 0x534
call fcn.004814a9
pop ecx
pop ecx
push 8
pop ecx
mov esi, eax
call fcn.0048708c
xor ecx, ecx
mov dword [esi + 0x500], eax
call fcn.0048708c
mov dword [esi + 0x504], eax
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebx
push edi
push eax
mov dword [esi + 0xc], eax
call dword [sym.imp.dbghelp.dll_SymInitialize]
test eax, eax
jne 0x481940
mov dword [esi + 0xc], edi
mov ecx, esi
mov dword [esi], edi
call fcn.00486ea9
mov dword [esi + 0x4f4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [esp + 0x3a4]
mov dword [esi + 8], eax
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005b35b0
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
mov esi, 0x7c4
mov edx, 0x72033c
push esi
xor ecx, ecx
call fcn.00488a50
push esi
push 0x720358
push 0x720374
call fcn.00401109
add esp, 0x18
push ebx
call fcn.005c3000
int3