joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472b00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404ec8
xor eax, eax
push ebp
push 0x472c09
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.0047436c
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
cmp dword [ebp - 4], 0
je 0x472bcf
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409d58
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004733b8
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409c3c
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0047342c
jmp 0x472be1
xor edx, edx
mov eax, ebx
call fcn.004733b8
xor edx, edx
mov eax, ebx
call fcn.0047342c
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472c10
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a3c
ret

Function at 0x4745c8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ec8
xor eax, eax
push ebp
push 0x474626
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.004746a4
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x47460e
lea eax, [ebp - 4]
call fcn.004746a4
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x474610
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47462d
lea eax, [ebp - 4]
call fcn.00404a18
ret

Function at 0x474634
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ec8
xor eax, eax
push ebp
push 0x474698
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 4]
call fcn.004746a4
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.0040a0fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47469f
lea eax, [ebp - 4]
call fcn.00404a18
ret
Function at 0x476770
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4768e1
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4768bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404c00
lea eax, [ebp - 0x118]
mov edx, 0x4768f8
call fcn.00404ce0
mov eax, dword [ebp - 0x118]
call fcn.00404ed8
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x47682e
lea eax, [ebp - 0x111]
call fcn.00409f10
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404b08
jmp 0x476835
mov eax, esi
call fcn.00404a18
cmp bl, 0x61
jae 0x476856
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040df7c
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404a6c
jmp 0x476870
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040def0
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404a6c
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x476904
call fcn.0040a5ec
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404a6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4768c3
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x47f274
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x170]
mov edx, ebx
mov eax, edi
call fcn.0047f4a8
mov esi, eax
mov dword [edi + 0x170], esi
and esi, 0xff
add dword [edi + 0x174], esi
imul esi, dword [edi + 0x174], 0x8088405
inc esi
mov dword [edi + 0x174], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x178]
mov eax, edi
call fcn.0047f4a8
mov dword [edi + 0x178], eax
pop edi
pop esi
pop ebx
ret

Function at 0x47f2e8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x47f30d
inc esi
mov eax, edi
call fcn.0047f2cc
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.0047f274
inc ebx
dec esi
jne 0x47f2f7
pop edi
pop esi
pop ebx
ret
Function at 0x47f39c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404ec8
xor eax, eax
push ebp
push 0x47f411
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.0047f314
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.0047f2cc
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.0047f274
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x47f3dc
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f418
lea eax, [ebp - 4]
call fcn.00404a18
ret
Function at 0x47ffd4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4801b8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x480174
mov eax, dword [ebp - 4]
call fcn.00481950
cmp ebx, eax
jge 0x480174
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.00471f20
mov edx, dword [0x472498]
call fcn.00403df4
mov esi, eax
mov eax, esi
call fcn.0047334c
test al, al
je 0x48016a
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0x48015e
xor eax, eax
push ebp
push 0x480157
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0048058c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0041c1c0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00405064
mov eax, dword [ebp - 8]
call fcn.00404f30
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov al, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00480350
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov dl, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4801a2
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x480156
mov eax, dword [ebp - 4]
call fcn.00480610
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0040a0fc
jmp 0x4801a2
mov eax, dword [ebp - 8]
call fcn.00404a18
jmp 0x4801a2
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.00409660
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x417070]
call fcn.0040d0e8
call fcn.004043d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4801bf
lea eax, [ebp - 0x54]
call fcn.00404a18
ret
Function at 0x4866f4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ec8
xor eax, eax
push ebp
push 0x4867b4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004079dc
mov word [ebp - 0x18], bx
mov dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x20], 0x18
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00409c3c
mov eax, dword [ebp - 0x5c]
call fcn.00404ed8
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x60]
mov ecx, 0x4867cc
mov edx, dword [ebp - 4]
call fcn.00404d24
mov eax, dword [ebp - 0x60]
call fcn.00404ed8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x48678e
mov ebx, dword [ebp - 0x50]
jmp 0x486791
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4867bb
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.00404a3c
lea eax, [ebp - 4]
call fcn.00404a18
ret
Function at 0x487050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x487059
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404ec8
xor eax, eax
push ebp
push 0x487252
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00486e50
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00486e50
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.00404ab0
mov eax, dword [ebp - 0x10]
call fcn.00404cd8
sar eax, 1
jns 0x4870b3
adc eax, 0
test eax, eax
jle 0x48720f
mov dword [ebp - 0x20], eax
mov esi, 1
cmp esi, 1
je 0x4870d3
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.00404ab0
lea eax, [ebp - 0x18]
call fcn.00404a18
mov eax, dword [ebp - 0x14]
call fcn.00404cd8
mov edi, eax
sar edi, 1
jns 0x4870ec
adc edi, 0
test edi, edi
jle 0x487205
mov ebx, 1
mov edx, 0x487260
lea eax, [ebp - 0x28]
call fcn.00403230
lea eax, [ebp - 0x2c]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + edx - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov cl, 2
call fcn.00403200
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.00403230
lea eax, [ebp - 0x2c]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x30]
mov cl, 3
call fcn.00403200
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x24]
call fcn.00404c7c
mov eax, dword [ebp - 0x24]
call fcn.00409304
mov byte [ebp - 0x19], al
mov edx, 0x487260
lea eax, [ebp - 0x28]
call fcn.00403230
lea eax, [ebp - 0x2c]
mov edx, esi
add edx, edx
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + edx - 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov cl, 2
call fcn.00403200
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.00403230
lea eax, [ebp - 0x2c]
mov edx, esi
add edx, edx
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + edx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x30]
mov cl, 3
call fcn.00403200
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x34]
call fcn.00404c7c
mov eax, dword [ebp - 0x34]
call fcn.00409304
xor al, byte [ebp - 0x19]
mov byte [ebp - 0x1a], al
lea eax, [ebp - 0x3c]
mov dl, byte [ebp - 0x1a]
call fcn.00404c00
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00486e50
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x18]
call fcn.00404ce0
inc ebx
dec edi
jne 0x4870f9
inc esi
dec dword [ebp - 0x20]
jne 0x4870c3
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
call fcn.00404a6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487259
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404a3c
lea eax, [ebp - 0x24]
call fcn.00404a18
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404a3c
lea eax, [ebp - 4]
call fcn.00404a18
ret
Function at 0x4874a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ec8
xor eax, eax
push ebp
push 0x48752f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404cd8
mov esi, eax
test esi, esi
jle 0x487514
mov ebx, 1
mov eax, dword [ebp - 4]
call fcn.00404cd8
mov edx, eax
imul edx, ebx
imul edx, ebx
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ebx - 1]
xor edx, eax
lea eax, [ebp - 8]
call fcn.00404c00
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00404ce0
inc ebx
dec esi
jne 0x4874e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487536
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a3c
ret

Function at 0x487540
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4875bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x41
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404c00
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x4875d4
call fcn.00404d24
mov eax, dword [ebp - 4]
call fcn.00404ed8
push eax
call sub.kernel32.dll_GetDriveTypeA
test eax, eax
je 0x48759e
cmp eax, 1
je 0x48759e
cmp eax, 3
jne 0x48759e
mov eax, dword [esi]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp ebx, 0x5b
jne 0x48755e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4875c6
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a3c
ret

Function at 0x48f0f8
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 0x48f181
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4d9d68
push 0x202
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x48f16b
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040c874
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, 0x48f198
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4d83c4]
mov dl, 1
mov eax, dword [0x48e0e4]
call fcn.0040d1a4
call fcn.004043d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f188
lea eax, [ebp - 0x1c]
call fcn.00404a18
ret

Function at 0x48f828
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0048f744
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403e40
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, eax
mov ecx, 0x48f890
mov eax, ebx
call fcn.0048f03c
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x48f882
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.00403e40
pop esi
pop ebx
ret
Function at 0x48f8b4
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404ed8
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00403398
test ebx, ebx
je 0x48f8ff
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 0x48f9dc
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 0x48fa0d
mov ecx, dword [0x4d8570]
mov dl, 1
mov eax, dword [0x48e0e4]
call fcn.0040d168
call fcn.004043d0
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 0x48fa3a
mov ecx, dword [0x4d8164]
mov dl, 1
mov eax, dword [0x48e0e4]
call fcn.0040d168
call fcn.004043d0
xor eax, eax
push ebp
push 0x48fabb
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.00403e40
cmp byte [ebp + 8], 0
je 0x48fa95
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0048f944
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 edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0048f7a0
jmp 0x48fab1
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0048f32c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48fad8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48fae4
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 0x48fb15
mov ecx, dword [0x4d8228]
mov dl, 1
mov eax, dword [0x48e0e4]
call fcn.0040d168
call fcn.004043d0
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 0x48fb42
mov ecx, dword [0x4d8164]
mov dl, 1
mov eax, dword [0x48e0e4]
call fcn.0040d168
call fcn.004043d0
xor eax, eax
push ebp
push 0x48fbbe
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.00403e40
cmp byte [ebp + 8], 0
je 0x48fb9a
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.0048f944
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.0048f828
jmp 0x48fbb4
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.0048f32c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48fbdb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48fdc4
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.0048f5f0
xor eax, eax
push ebp
push 0x48ff35
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 0x48ff1f
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x48fe0f
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x48fe19
call fcn.0040447c
jmp 0x48ff3c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041c1c0
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 0x48ff14
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 0x48fec7
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x48feb4
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403e40
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.0048fd7c
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x48ff48]
cmp dl, byte [eax + 0x28]
je 0x48ff1b
call fcn.0040d080
jmp 0x48ff1b
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041c1e0
jmp 0x48ff1b
cmp ecx, ebx
jge 0x48fee3
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.0041c1e0
jmp 0x48fe19
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.0041c1c0
cmp edx, dword [esp + 4]
jne 0x48ff03
cmp eax, dword [esp]
pop edx
pop eax
jne 0x48fe19
push ebp
call fcn.0048fd7c
pop ecx
jmp 0x48ff1b
push ebp
call fcn.0048fd7c
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ff3c
mov eax, dword [ebp - 4]
call fcn.0048f5fc
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48ff4c
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 0x49006e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0048f5f0
xor eax, eax
push ebp
push 0x490051
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 0x48ff9c
call fcn.0040447c
jmp 0x490058
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 0x49003b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x49003b
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403e40
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 0x49003b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c874
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, 0x490088
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4d83c4]
mov dl, 1
mov eax, dword [0x48e0e4]
call fcn.0040d1a4
call fcn.004043d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490058
mov eax, dword [ebp - 4]
call fcn.0048f5fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490075
lea eax, [ebp - 0x28]
call fcn.00404a18
ret