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

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x28]
xor eax, eax
push esi
push edi
push eax
push eax
mov dword [esp + 0x28], edx
xor edx, edx
mov dword [esp + 0x2c], ecx
push 0x18
pop ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.00484ef6
mov ebx, dword [esp + 0x34]
mov esi, eax
pop ecx
pop ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x3c]
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 0x482c94
push 1
push esi
call fcn.005ed680
xor eax, eax
jmp 0x482d7e
cmp ebp, 1
mov ebp, dword [sym.imp.WS2_32.dll_setsockopt]
jne 0x482cb8
push 4
lea eax, [esp + 0x34]
push eax
push 4
push 0xffff
push edi
call ebp
test eax, eax
jne 0x482d88
push 0x17
pop eax
cmp word [ebx], ax
jne 0x482ceb
push 4
lea eax, [esp + 0x18]
push eax
push 0x1b
push 0x29
push edi
call ebp
test eax, eax
je 0x482ceb
xor ebp, ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x83
mov edx, 0x73dc14
jmp 0x482d99
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 0x482d13
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x482c85
xor ebp, ebp
lea eax, [esp + 0x18]
push ebp
push ebp
push eax
push ebp
push ebp
push 4
lea eax, [esp + 0x34]
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 + 0x20]
mov ecx, dword [esp + 0x24]
push ebp
push 0x482bfb
push 0x482c15
push ebp
push 0x482b69
mov word [esi + 0xc], ax
call fcn.0048051a
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x482d07
push esi
push 0x482c15
mov edx, edi
mov ecx, ebx
call fcn.00482860
mov eax, ebx
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
xor ebp, ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x7f
mov edx, 0x73dacc
xor ecx, ecx
call fcn.0048cac3
add esp, 0xc
push 0xfd
call fcn.005c8390
int3

Function at 0x482ee9
Capabilities:
Set socket configuration
Terminate process

Disassembly:
push ecx
cmp word [edx], 0x17
mov ecx, dword [ecx + 0x34]
push 4
jne 0x482f0a
lea eax, [edx + 0x18]
push eax
push 9
push 0x29
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x482f32
jmp 0x482f34
lea eax, [edx + 4]
push eax
push 9
push 0
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x482f32
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x113
mov edx, 0x73dc5c
jmp 0x482f47
pop ecx
ret
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10f
mov edx, 0x73dc38
xor ecx, ecx
call fcn.0048cac3
add esp, 0xc
push 0xfd
call fcn.005c8390
int3
Function at 0x483435
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x1000
mov ebx, 0x74e940
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 0x73dcf4
lea eax, [ebp - 4]
push ebx
push eax
call fcn.005e6450
add esp, 0xc
cmp dword [ebp - 4], esi
je 0x48348f
push dword [ebp - 4]
push 1
push dword [ebp + 8]
push edi
call fcn.005ea1e0
push dword [ebp - 4]
mov esi, eax
call fcn.005e7100
add esp, 0x14
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x48349a
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 0x4834b3
xor eax, eax
jmp 0x483579
push edi
push 0x1000
mov edi, 0x74e940
push edi
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x73dcfc
lea eax, [ebp - 4]
push edi
push eax
call fcn.005e6450
mov ecx, dword [ebp - 4]
add esp, 0xc
test ecx, ecx
je 0x483576
cmp dword [ebx], esi
jne 0x483542
push 2
push 0
push ecx
call fcn.005e7d00
push dword [ebp - 4]
call fcn.005c90d0
mov edi, eax
cmp edi, dword [ebp + 8]
push 0
cmova edi, dword [ebp + 8]
push 0
push dword [ebp - 4]
call fcn.005e7d00
push 0x144
push 0x73dd04
lea eax, [edi + 1]
push 1
push eax
call fcn.005ed7c0
add esp, 0x2c
mov dword [ebx], eax
test eax, eax
jne 0x483562
push dword [ebp - 4]
call fcn.005e7100
pop ecx
xor eax, eax
jmp 0x483578
mov edi, dword [ebp + 8]
dec edi
cmp esi, edi
jae 0x483567
push ecx
mov eax, edi
sub eax, esi
push eax
push 1
push dword [ebx]
call fcn.005f08b0
add esp, 0x10
add esi, eax
test eax, eax
je 0x483567
mov ecx, dword [ebp - 4]
jmp 0x483546
mov ecx, dword [ebx]
mov byte [esi + ecx], 0
push dword [ebp - 4]
call fcn.005e7100
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x6d1d44]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [0x74cbc0]
inc eax
mov dword [0x74cbc0], eax
push esi
cmp eax, 1
jg 0x4836ae
xor esi, esi
push esi
push esi
push esi
call fcn.0058b410
push esi
push esi
push 0x200002
call fcn.0058b410
push esi
push esi
push 2
call fcn.004bde90
push esi
push esi
push 0xc
call fcn.004bde90
push esi
push esi
push 4
call fcn.004bde90
push esi
push esi
push 8
call fcn.004bde90
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 0x4836ae
push str.SystemFunction036
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4836a7
push 0x40
lea ecx, [esp + 0xc]
push ecx
call eax
test al, al
je 0x4836a7
movsd xmm0, qword [0x6c0418]
lea eax, [esp + 8]
push ecx
push ecx
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.004bf970
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x10c]
pop esi
xor ecx, esp
call fcn.005b8900
mov esp, ebp
pop ebp
ret
Function at 0x4841b0
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 0x48421c
push ebp
push esi
xor ebp, ebp
mov eax, dword [edi + 0x28]
cmp dword [eax + ebx*4], 0
je 0x484211
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 0x4841c4
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
Function at 0x4846f9
Capabilities:
Terminate process

Disassembly:
mov eax, 0x2614
call fcn.005b9060
mov eax, dword [0x6d1d44]
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 0x48473e
xor eax, eax
jmp 0x484810
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 0x484807
mov eax, ecx
push 0x4c
pop ecx
div ecx
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x48479a
lea eax, [esp + 0x28]
cmp dword [eax], 0x100007f
je 0x484792
inc edi
add eax, 0x4c
sub ecx, 1
jne 0x484789
push 0x1ce
push 0x73e248
push 1
shl edi, 4
push edi
call fcn.005ed7c0
add esp, 0x10
mov dword [ebx], eax
test eax, eax
je 0x484829
mov eax, dword [esp + 0x10]
mov edi, esi
test eax, eax
je 0x484807
mov ebp, dword [esp + 0x18]
lea ebx, [esp + 0x24]
mov edx, esi
mov dword [esp + 0x14], edx
cmp dword [ebx + 4], 0x100007f
je 0x4847fb
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 0x4847d0
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.005b8900
add esp, 0x2614
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x1ce
push esi
push edi
mov edx, 0x73e264
xor ecx, ecx
call fcn.0048cac3
push edi
push 0x73e280
push 0x73e29c
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c8390
int3
Function at 0x484862
Capabilities:
Get local ipv4 addresses
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov ebx, 0x272
mov eax, 0x178
push ebx
push 0x73e2c0
push 1
push eax
mov ebp, ecx
mov dword [esp + 0x20], eax
xor edi, edi
call fcn.005ed7c0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4849cc
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 0x484904
push 1
push esi
call fcn.005ed680
push 0x276
push 0x73e338
push 1
push dword [esp + 0x24]
call fcn.005ed7c0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x484904
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x276
push esi
push edi
mov edx, 0x73e354
xor ecx, ecx
call fcn.0048cac3
add esp, 0xc
push edi
push 0x73e370
push 0x73e38c
jmp 0x4849f4
lea eax, [esp + 0x10]
push eax
push esi
push 0
push 0x2a
push 0x17
call ebx
test eax, eax
je 0x484925
push 1
push esi
call fcn.005ed680
xor eax, eax
jmp 0x4849c4
mov eax, esi
test esi, esi
je 0x484945
cmp dword [eax + 0x34], 0
je 0x48493e
test byte [eax + 0x38], 0x18
jne 0x48493e
cmp dword [eax + 0x44], 1
jne 0x48493e
inc edi
mov eax, dword [eax + 8]
test eax, eax
jne 0x48492b
mov ebx, 0x28e
mov eax, edi
push ebx
push 0x73e3b0
shl eax, 2
push 1
push eax
call fcn.005ed7c0
mov edx, eax
add esp, 0x10
mov dword [ebp], edx
test edx, edx
jne 0x484993
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x73e3cc
push esi
push ebx
xor ecx, ecx
call fcn.0048cac3
add esp, 0xc
push ebx
push 0x73e3e8
push 0x73e404
jmp 0x4849f4
mov ecx, esi
test esi, esi
je 0x4849ba
cmp dword [ecx + 0x34], 0
je 0x4849b3
test byte [ecx + 0x38], 0x18
jne 0x4849b3
cmp dword [ecx + 0x44], 1
jne 0x4849b3
mov eax, dword [ecx + 4]
mov dword [edx], eax
add edx, 4
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x484999
push 1
push esi
call fcn.005ed680
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, 0x73e2dc
push esi
push ebx
xor ecx, ecx
call fcn.0048cac3
add esp, 0xc
push ebx
push 0x73e2f8
push 0x73e314
call fcn.00401109
add esp, 0xc
push esi
call fcn.005c8390
int3
Function at 0x484a7e
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.00484e2f
test eax, eax
je 0x484b71
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 0x484b0b
test edi, edi
je 0x484b0b
mov eax, ecx
sub eax, dword [esp + 0x10]
test edi, edi
je 0x484ae6
lea edx, [ecx + esi]
mov dword [esp + 0x14], edx
jmp 0x484aea
mov dword [esp + 0x14], ebp
test edi, edi
je 0x484af5
add ecx, 0x10
add ecx, esi
jmp 0x484af7
xor ecx, ecx
lea edx, [edi + 0x10]
sub ecx, eax
push edx
push dword [esp + 0x18]
sub ecx, 0x10
call fcn.00467a49
pop ecx
pop ecx
push 0x419
push 0x73e51c
push 1
lea eax, [esi - 0x10]
push ebx
push eax
call fcn.005ed970
add esp, 0x14
test eax, eax
je 0x484b7b
lea esi, [eax + 0x10]
cmp ebx, dword [esp + 0x18]
jbe 0x484b66
test edi, edi
je 0x484b66
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp + 0x1c]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x484b57
mov ebp, dword [esi - 0x10]
add ebp, esi
test eax, eax
je 0x484b57
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.00467a49
pop ecx
pop ecx
mov eax, dword [esp + 0x10]
mov dword [esi - 0x10], eax
mov eax, esi
jmp 0x484b73
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, 0x419
push esi
push edi
mov edx, 0x73e538
xor ecx, ecx
call fcn.0048cac3
push edi
push 0x73e554
push 0x73e570
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c8390
int3

Function at 0x484c1e
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
test esi, esi
je 0x484c90
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.005bb370
mov dword [esi], ebx
lea edx, [esi + 0x10]
mov dword [esi + 4], edi
add esp, 0xc
mov eax, dword [0x73e5f0]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], eax
test edi, edi
je 0x484c8a
cmp dword [edx - 0xc], 0
jbe 0x484c71
mov eax, dword [edx - 0x10]
add eax, edx
jmp 0x484c74
push 0xfffffffffffffff0
pop eax
and dword [eax + 4], 0
mov dword [eax], edi
mov ecx, dword [0x73e5f8]
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, 0x448
push edi
push esi
mov edx, 0x73e594
xor ecx, ecx
call fcn.0048cac3
push esi
push 0x73e5b0
push 0x73e5cc
call fcn.00401109
add esp, 0x18
push edi
call fcn.005c8390
int3
Function at 0x484ef6
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, edx
mov ebx, ecx
mov eax, edi
not eax
cmp ebx, eax
jae 0x484f79
lea eax, [ebx + edi]
cmp eax, 0xfffffffb
jae 0x484f79
xor eax, eax
cmp eax, edi
push 0x4eb
sbb eax, eax
and eax, 4
push 0x73e69c
push 1
lea ebp, [ebx + eax]
add ebp, edi
push ebp
call fcn.005ed7c0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x484fa8
push ebp
push 0
push esi
call fcn.005bb370
add esp, 0xc
test edi, edi
je 0x484f5c
mov ecx, dword [esp + 0x1c]
mov dword [esi + ebx], edi
test ecx, ecx
je 0x484f67
lea eax, [ebx + 4]
add eax, esi
mov dword [ecx], eax
jmp 0x484f67
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x484f67
and dword [eax], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x484f71
mov dword [eax], esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x4e9
push esi
push edi
mov edx, 0x73e640
xor ecx, ecx
call fcn.0048cac3
add esp, 0xc
push edi
push 0x73e65c
push 0x73e678
jmp 0x484fd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x4ec
push esi
push edi
mov edx, 0x73e6b8
xor ecx, ecx
call fcn.0048cac3
add esp, 0xc
push edi
push 0x73e6d4
push 0x73e6f0
call fcn.00401109
add esp, 0xc
push esi
call fcn.005c8390
int3

Function at 0x485199
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, 0x786
mov esi, edx
push ebx
push 0x73e7c4
push 1
push 8
mov edi, ecx
call fcn.005ed7c0
mov edx, eax
add esp, 0x10
test edx, edx
je 0x4851f4
xor ecx, ecx
mov dword [edx], edi
push ecx
push 0x78b
push 0x73e844
mov dword [edx + 4], esi
mov eax, dword [0x73e83c]
push 0x485170
push 0x48517e
mov dword [esi + 0x1c], eax
push ecx
mov ecx, dword [edi + 0x4f4]
call fcn.0048a8a3
add esp, 0x18
pop edi
pop esi
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x73e7e0
push esi
push ebx
xor ecx, ecx
call fcn.0048cac3
push ebx
push 0x73e7fc
push 0x73e818
call fcn.00401109
add esp, 0x18
push esi
call fcn.005c8390
int3
Function at 0x4852a0
Capabilities:
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x39c
mov eax, dword [0x6d1d44]
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 [0x74cbe8], edi
jne 0x485322
push edi
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [0x74cbf0], eax
cmp dword [0x74cbc8], edi
je 0x485322
push 0x7bf
push 0x73e860
push 0x74cbf0
push 0x73e87c
lea eax, [esp + 0x1b0]
push 0x200
push eax
call fcn.0040117f
push ebx
push dword [0x74cbf4]
lea eax, [esp + 0x1c0]
push eax
call dword [0x74cbc8]
add esp, 0x24
inc dword [0x74cbe8]
lea eax, [esp + 0x10]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4853b0
push edi
push edi
mov edx, esi
mov ecx, 0x534
call fcn.00484ef6
pop ecx
pop ecx
push 8
pop ecx
mov esi, eax
call fcn.0048b083
xor ecx, ecx
mov dword [esi + 0x500], eax
call fcn.0048b083
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 0x485381
mov dword [esi + 0xc], edi
mov ecx, esi
mov dword [esi], edi
call fcn.0048aea0
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.005b8900
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
mov esi, 0x7c8
mov edx, 0x73e888
push esi
xor ecx, ecx
call fcn.0048cac3
add esp, 0xc
push esi
push 0x73e8a4
push 0x73e8c0
call fcn.00401109
add esp, 0xc
push ebx
call fcn.005c8390
int3
Function at 0x486a88
Capabilities:
Get socket status

Disassembly:
sub esp, 0x420
mov eax, dword [0x6d1d44]
xor eax, esp
mov dword [esp + 0x41c], eax
mov ecx, dword [ecx + 0x500]
push ebp
push esi
push edi
call fcn.0048b185
xor ebp, ebp
mov dword [esp + 0xc], 0x5265c00
mov esi, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ebp
mov edi, ebp
mov dword [esp + 0x14], ebp
test esi, esi
je 0x486bd9
push ebx
mov ecx, esi
call fcn.0048b1c4
mov ebx, eax
test ebx, ebx
je 0x486bd8
cmp dword [ebx], ebp
je 0x486bc7
lea eax, [esp + 0x10]
mov dword [esp + 0x328], ebp
push eax
lea eax, [esp + 0x124]
mov dword [esp + 0x124], ebp
push eax
lea eax, [esp + 0x22c]
mov dword [esp + 0x22c], ebp
push eax
lea eax, [esp + 0x334]
push eax
push ebx
call dword [ebx]
add esp, 0x14
lea edx, [esp + 0x328]
mov ecx, ebp
mov eax, dword [edx + ecx*4]
lea ebp, [esp + 0x1c]
cmp eax, dword [ebp + ecx*4]
push 0
pop ebp
jne 0x486b7d
inc ecx
cmp ecx, 0x41
jne 0x486b27
lea edx, [esp + 0x224]
mov ecx, ebp
mov eax, dword [edx + ecx*4]
lea ebp, [esp + 0x1c]
cmp eax, dword [ebp + ecx*4]
push 0
pop ebp
jne 0x486b7d
inc ecx
cmp ecx, 0x41
jne 0x486b46
lea edx, [esp + 0x120]
mov ecx, ebp
mov eax, dword [edx + ecx*4]
lea ebp, [esp + 0x1c]
cmp eax, dword [ebp + ecx*4]
push 0
pop ebp
jne 0x486b7d
inc ecx
cmp ecx, 0x41
jne 0x486b65
jmp 0x486bc7
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x22c]
push eax
lea eax, [esp + 0x334]
push eax
push 0x40
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x486bc7
push dword [ebx + 0x18]
mov eax, 0x1000
sub eax, edi
push 0x73eaa4
push eax
lea eax, [edi + 0x751940]
push eax
call fcn.0040117f
add esp, 0x10
add edi, eax
mov ecx, esi
call fcn.0048b1af
mov esi, eax
test esi, esi
jne 0x486acd
pop ebx
xor eax, eax
mov ecx, 0x751940
test edi, edi
pop edi
cmovle ecx, eax
mov eax, str.UNKNOWN
test ecx, ecx
pop esi
cmovne eax, ecx
mov ecx, dword [esp + 0x420]
pop ebp
xor ecx, esp
call fcn.005b8900
add esp, 0x420
ret
Function at 0x48757b
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov ebx, edx
push esi
push edi
mov edi, dword [esp + 0x18]
xor esi, esi
push edi
push esi
push ebp
push dword [esp + 0x28]
mov dword [esp + 0x20], ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x48761c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x487617
push esi
push esi
push 0xe61
push 0x73ed04
push 1
push 0x30
call fcn.005ed7c0
add esp, 0x10
mov ecx, eax
push 0x20
pop edx
call fcn.00484c1e
mov ecx, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [esp + 0x24]
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [esp + 0x34]
push eax
mov dword [esi], ecx
mov ecx, dword [esp + 0x34]
push esi
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 8], ebp
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x1c], eax
mov edx, dword [edi + 0x10]
push fcn.004873da
push 0xffffffffffffffff
call fcn.00487bda
add esp, 0x18
xor eax, eax
jmp 0x48761f
push 0xfffffffffffffffc
pop eax
jmp 0x48761f
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret