joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c1f8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45c20f
add esp, 0xfffffff0
call fcn.004036d8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421be0
mov eax, dword [0x477cb8]
cmp word [eax + 2], 0
jne 0x45c237
mov eax, dword [0x477cb8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d7e4
mov eax, dword [0x477d90]
cmp word [eax + 2], 0
jne 0x45c251
mov eax, dword [0x477d90]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d9dc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41685c]
call fcn.00403344
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41685c]
call fcn.00403344
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x424840]
call fcn.0042bbb8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45c3d8
mov eax, dword [0x477bc4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042bf88
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45df8c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x477bc4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cf2c
test eax, eax
je 0x45c346
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408f40
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cf54
test eax, eax
je 0x45c35a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004043f8
mov eax, dword [0x477a8c]
cmp byte [eax], 0
jne 0x45c38e
mov eax, ebx
call fcn.0045c500
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045e168
mov eax, ebx
call fcn.0045eb2c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45c3ce
call fcn.00403730
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c780
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x478be4]
cmp dword [eax + 0x30], 0
je 0x45c82a
cmp dword [ebx + 0x94], 0
jne 0x45c824
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45c710
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45c824
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45c7ea
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45c824
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004191f4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45c7f9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45d38c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45d3c1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404278
jmp 0x45d3ce
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004041dc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45e344
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45e385
mov eax, esi
call fcn.00444be8
test al, al
je 0x45e385
mov eax, dword [ebx + 0x84]
call fcn.004448e4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45e385
push 0
mov eax, dword [ebx + 0x84]
call fcn.004448e4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45f670
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404638
xor eax, eax
push ebp
push 0x45f6ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404648
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x45f6b9
mov eax, dword [ebx + 4]
call fcn.00404648
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f6f5
lea eax, [ebp - 4]
call fcn.00404188
ret
Function at 0x4606f0
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46088d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402afc
cmp word [ebx + 0xa2], 0
je 0x460739
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x46074d
lea esi, [ebp - 8]
jmp 0x46074f
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x46075c
xor edi, edi
jmp 0x460769
mov eax, dword [ebx + 0x80]
call fcn.00404648
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.00404648
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0045fe28
mov eax, dword [ebp - 0x14]
call fcn.00404648
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.00404648
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404648
push eax
mov eax, ebx
call fcn.0045ff5c
push eax
mov eax, ebx
call fcn.0045ff30
push eax
mov eax, ebx
call fcn.0045fee4
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.0045fcf4
mov eax, dword [ebp - 0x18]
call fcn.00404648
push eax
mov eax, dword [ebx + 8]
call fcn.00404648
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0xc], 0
jne 0x4607f2
call fcn.0040d7b8
xor edx, edx
push ebp
push 0x46086b
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x460830
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x460826
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x460854
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460872
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x46089c
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x4608c8
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00404648
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4608ed
call fcn.0040d7b8
xor eax, eax
push ebp
push 0x460924
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x46090d
call fcn.0040d7b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46092b
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x4619d4
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x461a5d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x478c10
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x461a47
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040b880
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x461a74
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x477df8]
mov dl, 1
mov eax, dword [0x4611d8]
call fcn.0040c1a4
call fcn.00403b40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461a64
lea eax, [ebp - 0x1c]
call fcn.00404188
ret

Function at 0x462110
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00462034
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403570
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x462174
call fcn.0046191c
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x462166
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403570
pop esi
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00461ed0
xor eax, eax
push ebp
push 0x462217
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404188
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x4621d1
call fcn.00403bec
jmp 0x46221e
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_getsockname
test eax, eax
jne 0x462201
push dword [ebp - 0x14]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, ebx
call fcn.00404380
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46221e
mov eax, dword [ebp - 4]
call fcn.00461edc
ret
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462224
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00461ed0
xor eax, eax
push ebp
push 0x46229f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x46225a
call fcn.00403bec
jmp 0x4622a6
mov dword [ebp - 0xc], 0x10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_getsockname
test eax, eax
jne 0x462289
mov ax, word [ebp - 0x1a]
push eax
call sub.wsock32.dll_ntohs
movzx eax, ax
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4622a6
mov eax, dword [ebp - 4]
call fcn.00461edc
ret
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4623fc
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404648
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00402d88
test ebx, ebx
je 0x462447
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x462555
mov ecx, dword [0x477d18]
mov dl, 1
mov eax, dword [0x4611d8]
call fcn.0040c168
call fcn.00403b40
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x462582
mov ecx, dword [0x477cac]
mov dl, 1
mov eax, dword [0x4611d8]
call fcn.0040c168
call fcn.00403b40
xor eax, eax
push ebp
push 0x4625fe
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403570
cmp byte [ebp + 8], 0
je 0x4625da
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0046248c
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.00462110
jmp 0x4625f4
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00461c08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46261b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4627e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00461ed0
xor eax, eax
push ebp
push 0x462951
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x46293b
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x46282b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x462835
call fcn.00403bec
jmp 0x462958
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041b5f4
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x462930
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x4628e3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4628d0
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403570
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.00462798
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x462964]
cmp dl, byte [eax + 0x28]
je 0x462937
call fcn.0040c08c
jmp 0x462937
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041b614
jmp 0x462937
cmp ecx, ebx
jge 0x4628ff
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041b614
jmp 0x462835
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041b5f4
cmp edx, dword [esp + 4]
jne 0x46291f
cmp eax, dword [esp]
pop edx
pop eax
jne 0x462835
push ebp
call fcn.00462798
pop ecx
jmp 0x462937
push ebp
call fcn.00462798
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462958
mov eax, dword [ebp - 4]
call fcn.00461edc
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462968
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x462a8a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00461ed0
xor eax, eax
push ebp
push 0x462a6d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4629b8
call fcn.00403bec
jmp 0x462a74
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x462a57
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x462a57
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403570
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x462a57
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040b880
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x462aa4
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x477df8]
mov dl, 1
mov eax, dword [0x4611d8]
call fcn.0040c1a4
call fcn.00403b40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462a74
mov eax, dword [ebp - 4]
call fcn.00461edc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462a91
lea eax, [ebp - 0x28]
call fcn.00404188
ret
Function at 0x462af0
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x462c3a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00461ed0
xor eax, eax
push ebp
push 0x462c1d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x462b55
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x462b55
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x462c07
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x462b68
call fcn.00403bec
jmp 0x462c24
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x462c07
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x462c07
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403570
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x462c07
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040b880
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x462c54
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x477df8]
mov dl, 1
mov eax, dword [0x4611d8]
call fcn.0040c1a4
call fcn.00403b40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462c24
mov eax, dword [ebp - 4]
call fcn.00461edc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462c41
lea eax, [ebp - 0x28]
call fcn.00404188
ret
Function at 0x4637d8
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x4637f4
add esp, 0xfffffff0
call fcn.004036d8
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x46395b
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.00421be0
mov dword [ebx + 0x5c], 0x800
mov dword [ebx + 0x48], 0x400
mov byte [ebx + 0x50], 1
mov dword [ebx + 0x54], 0xa
lea eax, [ebx + 0x30]
mov edx, 0x46398c
call fcn.004041dc
lea eax, [ebx + 0x30]
mov edx, 0x4639a0
call fcn.004041dc
lea eax, [ebx + 0x34]
mov edx, 0x4639b8
call fcn.004041dc
lea eax, [ebx + 0x34]
mov edx, 0x4639d0
call fcn.004041dc
lea eax, [ebx + 0x34]
mov edx, 0x4639e8
call fcn.004041dc
lea edx, [ebp - 0x108]
mov eax, dword [ebx]
call fcn.004032c4
lea edx, [ebp - 0x108]
lea eax, [ebp - 8]
call fcn.004043ec
push dword [ebp - 8]
push 0x463a08
push 0x463a14
lea eax, [ebx + 0x4c]
mov edx, 3
call fcn.00404508
xor eax, eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
xor eax, eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [ebx + 0x58], eax
lea eax, [ebx + 0x70]
call fcn.00404188
lea eax, [ebx + 0x74]
call fcn.00404188
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x6c], eax
xor eax, eax
mov dword [ebx + 0x7c], eax
xor eax, eax
mov dword [ebx + 0x80], eax
lea eax, [ebx + 0x78]
mov edx, 0x463a20
call fcn.004041dc
xor eax, eax
mov dword [ebx + 0x84], eax
test byte [ebx + 0x1c], 0x10
jne 0x463945
mov ecx, ebx
mov dl, 1
mov eax, dword [0x430b70]
call fcn.00432364
mov esi, eax
mov dword [ebx + 0x84], esi
mov eax, esi
mov edx, 0x2bf20
call fcn.004324fc
push ebx
push 0x465978
mov eax, dword [ebx + 0x84]
call fcn.0043250c
mov eax, dword [ebx + 0x84]
mov dl, 1
call fcn.004324ec
mov edx, 0x463a2c
mov eax, ebx
call fcn.00465140
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463962
lea eax, [ebp - 8]
call fcn.00404188
ret