joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414e64
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0
mov eax, dword [ebp + 8]
add eax, 4
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push dword [edx]
call sub.KERNEL32.DLL_WriteFile
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
pop ebp
ret

Function at 0x414e88
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0
mov eax, dword [ebp + 8]
add eax, 4
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push dword [edx]
call sub.KERNEL32.DLL_ReadFile
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
pop ebp
ret

Function at 0x414ed0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x414ee4
push dword [ebp + 8]
call fcn.00414f24
pop ecx
push 0
push 0
push dword [ebp + 0x14]
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call sub.KERNEL32.DLL_CreateFileA
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0xffffffff
jne 0x414f0b
xor eax, eax
pop ebp
ret
push 0
mov edx, dword [ebp + 8]
push dword [edx]
call sub.KERNEL32.DLL_GetFileSize
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov al, 1
pop ebp
ret

Function at 0x415304
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov byte [ebp - 1], 0
push 0xf003f
push 0
push 0
call sub.ADVAPI32.DLL_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x415329
xor eax, eax
jmp 0x41536b
push 0xf01ff
push dword [ebp + 0xc]
push dword [ebp - 8]
call sub.ADVAPI32.DLL_OpenServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41535c
push dword [ebp - 0xc]
call sub.ADVAPI32.DLL_DeleteService
test eax, eax
je 0x415352
mov byte [ebp - 1], 1
push dword [ebp - 8]
call sub.ADVAPI32.DLL_CloseServiceHandle
jmp 0x415360
mov byte [ebp - 1], 0
push dword [ebp - 0xc]
call sub.ADVAPI32.DLL_CloseServiceHandle
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x415370
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov byte [ebp - 1], 0
push 0xf003f
push 0
push 0
call sub.ADVAPI32.DLL_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x415395
xor eax, eax
jmp 0x4153db
push 0xf01ff
push dword [ebp + 0xc]
push dword [ebp - 8]
call sub.ADVAPI32.DLL_OpenServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4153b2
xor eax, eax
jmp 0x4153db
lea edx, [ebp - 0x2c]
push edx
push 1
push dword [ebp - 0xc]
call sub.ADVAPI32.DLL_ControlService
test eax, eax
je 0x4153c8
mov byte [ebp - 1], 1
push dword [ebp - 8]
call sub.ADVAPI32.DLL_CloseServiceHandle
push dword [ebp - 0xc]
call sub.ADVAPI32.DLL_CloseServiceHandle
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x4299c8
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push esi
push edi
mov eax, 0x54f290
call fcn.00506ee8
mov dword [ebp - 0x10], 2
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.0053d98c
inc dword [ebp - 0x10]
mov word [ebp - 0x1c], 8
lea edx, [ebp + 8]
lea eax, [ebp + 8]
call fcn.0053d98c
inc dword [ebp - 0x10]
mov dword [ebp - 0xc8], 0x94
lea edx, [ebp - 0xc8]
push edx
call sub.KERNEL32.DLL_GetVersionExA
mov ecx, dword [ebp - 0xb8]
sub ecx, 2
jb 0x429a2b
je 0x429a31
jmp 0x429a37
mov byte [ebp - 0x2d], 0
jmp 0x429a3b
mov byte [ebp - 0x2d], 1
jmp 0x429a3b
mov byte [ebp - 0x2d], 0
cmp byte [ebp - 0x2d], 0
je 0x429b2b
mov esi, 0x54ed9c
lea edi, [ebp - 0x11c]
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x11c], 0x44
mov word [ebp - 0xec], 0
mov eax, dword [0x55f8f8]
mov eax, dword [eax]
call fcn.004c71c8
mov dword [ebp - 0x10c], eax
mov edx, dword [0x55f8f8]
mov eax, dword [edx]
call fcn.004c71bc
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], 1
mov dword [ebp - 0x100], 1
lea edx, [ebp - 0xd8]
push edx
lea ecx, [ebp - 0x11c]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
mov word [ebp - 0x1c], 0x14
lea eax, [ebp - 4]
call fcn.00402538
mov ecx, eax
inc dword [ebp - 0x10]
lea edx, [ebp + 0xc]
mov eax, 0x54ef9d
call fcn.0053de50
lea eax, [ebp - 4]
call fcn.00402dd4
push eax
lea eax, [ebp + 8]
call fcn.00402dd4
push eax
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
setne dl
and edx, 1
push edx
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0053daf8
pop ecx
test cl, cl
je 0x429bbf
push 0xffffffffffffffff
push dword [ebp - 0xd8]
call sub.KERNEL32.DLL_WaitForSingleObject
jmp 0x429bbf
lea eax, [ebp + 0xc]
call fcn.00402dd4
push eax
call fcn.00402e38
pop ecx
mov dword [ebp - 0x34], eax
push 0
push 0
mov word [ebp - 0x1c], 0x20
lea eax, [ebp - 8]
call fcn.00402538
mov ecx, eax
inc dword [ebp - 0x10]
lea edx, [ebp + 0xc]
mov eax, 0x54ef9f
call fcn.0053de50
lea eax, [ebp - 8]
call fcn.00402dd4
push eax
lea eax, [ebp + 8]
call fcn.00402dd4
push eax
push 0
push 0
call sub.SHELL32.DLL_ShellExecuteA
push eax
dec dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0053daf8
pop ecx
test ecx, ecx
je 0x429bbf
cmp byte [ebp + 0x10], 0
je 0x429bb5
lea eax, [ebp + 0xc]
call fcn.00402dd4
push eax
call fcn.00402e38
pop ecx
cmp eax, dword [ebp - 0x34]
jne 0x429bbf
push 0x64
call sub.KERNEL32.DLL_Sleep
jmp 0x429b98
push 0x7d0
call sub.KERNEL32.DLL_Sleep
mov al, 1
push eax
dec dword [ebp - 0x10]
lea eax, [ebp + 8]
mov edx, 2
call fcn.0053daf8
dec dword [ebp - 0x10]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0053daf8
pop eax
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x429bf4
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe78
mov eax, 0x54f2cc
call fcn.00506ee8
mov dword [ebp - 8], 1
lea edx, [ebp + 8]
lea eax, [ebp + 8]
call fcn.0053d98c
inc dword [ebp - 8]
mov word [ebp - 0x14], 8
mov dword [ebp - 0x28], 0x100
push dword [ebp - 0x28]
push 0x160
lea edx, [ebp - 0x188]
push edx
push 0
lea eax, [ebp + 8]
call fcn.00402dd4
push eax
call sub.SHELL32.DLL_SHGetFileInfoA
mov eax, dword [ebp - 0x188]
push eax
dec dword [ebp - 8]
lea eax, [ebp + 8]
mov edx, 2
call fcn.0053daf8
pop eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret

Function at 0x42e84c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 1
jl 0x42e85c
cmp dword [ebp + 8], 9
jle 0x42e867
push str.bad_pack_level
call fcn.00435629
pop ecx
mov eax, dword [ebp + 8]
mov dword [0x560f68], eax
push 0x10000
push 0
push 0x59d7b4
call fcn.005069d4
add esp, 0xc
mov edx, dword [ebp + 8]
movzx ecx, word [edx*8 + 0x550e8e]
mov dword [0x560f64], ecx
mov eax, dword [ebp + 8]
movzx edx, word [eax*8 + 0x550e8c]
mov dword [0x560f6c], edx
mov ecx, dword [ebp + 8]
movzx eax, word [ecx*8 + 0x550e90]
mov dword [0x560f70], eax
mov edx, dword [ebp + 8]
movzx ecx, word [edx*8 + 0x550e92]
mov dword [0x560f60], ecx
cmp dword [ebp + 8], 1
jne 0x42e8d5
mov eax, dword [ebp + 0xc]
or word [eax], 4
jmp 0x42e8e2
cmp dword [ebp + 8], 9
jne 0x42e8e2
mov edx, dword [ebp + 0xc]
or word [edx], 2
xor ecx, ecx
mov dword [0x560f50], ecx
xor eax, eax
mov dword [0x560f44], eax
push 0x10000
push 0x57d7b4
call dword [0x560f38]
add esp, 8
mov dword [0x560f5c], eax
cmp dword [0x560f5c], 0
je 0x42e91b
cmp dword [0x560f5c], 0xffffffff
jne 0x42e930
mov dword [0x560f58], 1
xor edx, edx
mov dword [0x560f5c], edx
pop ecx
pop ebp
ret
xor ecx, ecx
mov dword [0x560f58], ecx
jmp 0x42e93f
call fcn.0042eb82
cmp dword [0x560f5c], 0x106
jae 0x42e954
cmp dword [0x560f58], 0
je 0x42e93a
xor eax, eax
mov dword [0x560f48], eax
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, dword [0x560f48]
shl ecx, 5
mov eax, dword [ebp - 4]
xor edx, edx
mov dl, byte [eax + 0x57d7b4]
xor ecx, edx
and ecx, 0x7fff
mov dword [0x560f48], ecx
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jb 0x42e960
pop ecx
pop ebp
ret
Function at 0x42ecc6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [0x560f4c], 2
jmp 0x42eef3
mov edx, dword [0x560f48]
shl edx, 5
mov ecx, dword [0x560f50]
add ecx, 3
xor eax, eax
mov al, byte [ecx + 0x57d7b3]
xor edx, eax
and edx, 0x7fff
mov dword [0x560f48], edx
mov edx, dword [0x560f48]
movzx ecx, word [edx*2 + 0x59d7b4]
mov dword [ebp - 4], ecx
mov eax, dword [0x560f50]
and eax, 0x7fff
mov word [eax*2 + 0x58d7b4], cx
mov edx, dword [0x560f48]
mov ax, word [0x560f50]
mov word [edx*2 + 0x59d7b4], ax
cmp dword [ebp - 4], 0
je 0x42ed75
mov edx, dword [0x560f50]
sub edx, dword [ebp - 4]
cmp edx, 0x7efa
ja 0x42ed75
push dword [ebp - 4]
call fcn.0042e98e
pop ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [0x560f5c]
jbe 0x42ed75
mov eax, dword [0x560f5c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jb 0x42ee6f
mov edx, dword [ebp - 0xc]
sub edx, 3
push edx
mov ecx, dword [0x560f50]
sub ecx, dword [0x560f54]
push ecx
call fcn.004333bf
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
sub dword [0x560f5c], eax
mov edx, dword [ebp - 0xc]
cmp edx, dword [0x560f64]
ja 0x42ee28
dec dword [ebp - 0xc]
inc dword [0x560f50]
mov ecx, dword [0x560f48]
shl ecx, 5
mov eax, dword [0x560f50]
add eax, 3
xor edx, edx
mov dl, byte [eax + 0x57d7b3]
xor ecx, edx
and ecx, 0x7fff
mov dword [0x560f48], ecx
mov ecx, dword [0x560f48]
movzx eax, word [ecx*2 + 0x59d7b4]
mov dword [ebp - 4], eax
mov edx, dword [0x560f50]
and edx, 0x7fff
mov word [edx*2 + 0x58d7b4], ax
mov ecx, dword [0x560f48]
mov ax, word [0x560f50]
mov word [ecx*2 + 0x59d7b4], ax
dec dword [ebp - 0xc]
jne 0x42edb5
inc dword [0x560f50]
jmp 0x42ee97
mov edx, dword [ebp - 0xc]
add dword [0x560f50], edx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov eax, dword [0x560f50]
xor edx, edx
mov dl, byte [eax + 0x57d7b4]
mov dword [0x560f48], edx
mov ecx, dword [0x560f48]
shl ecx, 5
mov eax, dword [0x560f50]
xor edx, edx
mov dl, byte [eax + 0x57d7b5]
xor ecx, edx
and ecx, 0x7fff
mov dword [0x560f48], ecx
jmp 0x42ee97
mov ecx, dword [0x560f50]
xor eax, eax
mov al, byte [ecx + 0x57d7b4]
push eax
push 0
call fcn.004333bf
add esp, 8
mov dword [ebp - 8], eax
dec dword [0x560f5c]
inc dword [0x560f50]
cmp dword [ebp - 8], 0
je 0x42eede
push 0
mov edx, dword [0x560f50]
sub edx, dword [0x560f44]
push edx
cmp dword [0x560f44], 0
jl 0x42eec2
mov ecx, 0x57d7b4
add ecx, dword [0x560f44]
jmp 0x42eec4
xor ecx, ecx
push ecx
call fcn.004331ef
add esp, 0xc
mov eax, dword [0x560f50]
mov dword [0x560f44], eax
jmp 0x42eede
call fcn.0042eb82
cmp dword [0x560f5c], 0x106
jae 0x42eef3
cmp dword [0x560f58], 0
je 0x42eed9
cmp dword [0x560f5c], 0
jne 0x42ece0
push 1
mov edx, dword [0x560f50]
sub edx, dword [0x560f44]
push edx
cmp dword [0x560f44], 0
jl 0x42ef25
mov eax, 0x57d7b4
add eax, dword [0x560f44]
jmp 0x42ef27
xor eax, eax
push eax
call fcn.004331ef
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x4351f8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
jne 0x43520b
mov dword [ebp - 4], 0xffffffff
jmp 0x435243
mov eax, dword [0x551bb8]
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x435243
mov edx, dword [ebp + 8]
xor ecx, ecx
mov cl, byte [edx]
xor ecx, dword [ebp - 4]
and ecx, 0xff
mov eax, dword [ecx*4 + 0x551bbc]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp + 8]
dec dword [ebp + 0xc]
jne 0x435219
mov ecx, dword [ebp - 4]
mov dword [0x551bb8], ecx
mov eax, dword [ebp - 4]
xor eax, 0xffffffff
pop ecx
pop ebp
ret
Function at 0x4407e0
Capabilities:
Packed with generic packer

Disassembly:
pop es
pop es
push esp
jae 0x44085a
imul edx, dword [ecx + 0x62], sym.Projectclient.exe__Suitabcontrol_TsuiTab_
nop
mov eax, 0x3c004c
or eax, 0x54495553
popal
bound eax, qword [ebx + 0x6f]
outsb dx, byte [esi]
je 0x440871
outsd dx, dword [esi]
insb byte es:[edi], dx
xor dword [eax], eax
cmp byte [0x5b004d], dh
add bh, bh
pop esp
jg 0x44085b
add byte [ecx], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], 0
add byte [eax], al
or eax, dword [eax]
add eax, 0x67696c41
outsb dx, byte [esi]
sal byte [eax + 0x45], 1
add byte [eax], ah
add al, byte [eax]
jmp [eax + 0x1b]
add byte [eax], al
or byte [0x654c0a00], 0x66
je 0x4408b2
Function at 0x448e3c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x448eae
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
Function at 0x45e3e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45e51c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x45e534
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.0045fb6c
mov eax, dword [ebp - 4]
call fcn.0045f3fc
xor edx, edx
push ebp
push 0x45e4ff
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
jne 0x45e49e
test si, si
jne 0x45e450
mov eax, dword [ebp - 8]
call fcn.0047d1e0
mov esi, eax
cmp esi, 0xffff
jbe 0x45e450
call fcn.0048de7c
movzx ebx, si
push 0
push ebx
movzx eax, si
sub eax, ebx
mov edx, dword [ebp - 8]
lea eax, [edx + eax]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10290]
push eax
call sub.WSOCK32.DLL_send
test eax, eax
je 0x45e49e
cmp eax, 0xffffffff
jle 0x45e47f
sub ebx, eax
jmp 0x45e48e
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.0045faa0
test ebx, ebx
je 0x45e49e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x45e453
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x45e4e9
mov eax, dword [ebp - 4]
mov byte [eax + 0x10090], 0
mov ecx, 0x45e54c
mov dl, 1
mov eax, dword [0x45dab4]
call fcn.004807f8
call fcn.0048e708
mov eax, dword [ebp - 4]
cmp word [eax + 0x1028a], 0
je 0x45e4e9
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1028c]
call dword [ebx + 0x10288]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e506
mov eax, dword [ebp - 4]
call fcn.0045f454
ret
Function at 0x45e660
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45e7fa
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x45e810
lea edx, [ebp - 0xc]
movzx eax, si
call fcn.0047cc04
push dword [ebp - 0xc]
push 0x45e820
lea eax, [ebp - 8]
mov edx, 3
call fcn.0048f004
mov ecx, dword [ebp - 8]
mov dl, 8
mov eax, ebx
call fcn.0045fb6c
test si, si
jne 0x45e701
push 2
push 0x10000
lea eax, [ebx + 0x30]
push eax
movzx eax, word [ebx + 0x10290]
push eax
call sub.WSOCK32.DLL_recv
cmp eax, 0xffffffff
jne 0x45e6f0
lea ecx, [ebp - 0x10]
mov dx, 0x2733
mov eax, ebx
call fcn.0045faa0
mov eax, dword [ebp - 4]
call fcn.0048ec8c
jmp 0x45e757
mov esi, eax
cmp esi, 0xffff
jbe 0x45e757
call fcn.0048de7c
jmp 0x45e757
push 2
push 0x10000
lea eax, [ebx + 0x30]
push eax
movzx eax, word [ebx + 0x10290]
push eax
call sub.WSOCK32.DLL_recv
movzx edx, si
cmp eax, edx
jge 0x45e757
test eax, eax
jne 0x45e731
mov eax, dword [ebp - 4]
call fcn.0048ec8c
jmp 0x45e7df
inc eax
jne 0x45e742
lea ecx, [ebp - 0x14]
mov dx, 0x2733
mov eax, ebx
call fcn.0045faa0
mov eax, dword [0x55f8f4]
mov eax, dword [eax]
call fcn.004c9528
cmp byte [ebx + 0x10090], 0
je 0x45e701
cmp byte [ebx + 0x10090], 0
jne 0x45e7aa
movzx edi, si
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0048f2c8
push 0
push edi
mov eax, dword [ebp - 4]
call fcn.0048f194
mov edx, 1
dec edx
test eax, eax
je 0x45e787
cmp edx, dword [eax - 4]
jb 0x45e78c
call fcn.0048de7c
inc edx
lea eax, [eax + edx - 1]
push eax
movzx eax, word [ebx + 0x10290]
push eax
call sub.WSOCK32.DLL_recv
mov edx, dword [ebp - 4]
xchg edx, eax
call fcn.0048f2c8
jmp 0x45e7df
mov byte [ebx + 0x10090], 0
mov ecx, 0x45e82c
mov dl, 1
mov eax, dword [0x45dab4]
call fcn.004807f8
call fcn.0048e708
cmp word [ebx + 0x1028a], 0
je 0x45e7df
mov edx, ebx
mov eax, dword [ebx + 0x1028c]
call dword [ebx + 0x10288]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e801
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.0048ecb0
ret
Function at 0x45ec2c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0048f12c
xor eax, eax
push ebp
push 0x45edf4
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x45ee0c
mov dl, 8
mov eax, dword [ebp - 4]
call fcn.0045fb6c
push 0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x46d2b4]
call fcn.00472110
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x45ed84
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
jne 0x45ed3f
mov eax, dword [ebp - 4]
lea edx, [eax + 0x30]
mov ecx, 0x10000
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 8]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
push 0
push ebx
mov eax, dword [ebp - 0x10]
sub eax, ebx
cmp eax, 0x10000
jbe 0x45ecc3
call fcn.0048de7c
mov edx, dword [ebp - 4]
lea eax, [edx + eax + 0x30]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10290]
push eax
call sub.WSOCK32.DLL_send
test eax, eax
je 0x45ed3f
cmp eax, 0xffffffff
jle 0x45ed10
sub ebx, eax
mov edx, dword [ebp - 4]
add dword [edx + 0x1008c], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0x100ca], 0
je 0x45ed1f
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x100cc]
call dword [esi + 0x100c8]
jmp 0x45ed1f
lea ecx, [ebp - 0x14]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.0045faa0
mov eax, dword [0x55f8f4]
mov eax, dword [eax]
call fcn.004c9528
test ebx, ebx
je 0x45ed3f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x45ecaf
mov eax, dword [ebp - 0xc]
call fcn.00471bf4
push edx
push eax
mov eax, dword [ebp - 0xc]
call fcn.00471c28
cmp edx, dword [esp + 4]
jne 0x45ed5a
cmp eax, dword [esp]
pop edx
pop eax
je 0x45ed6e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x45ec86
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ed8b
mov eax, dword [ebp - 0xc]
call fcn.0048df3c
ret
Function at 0x45ee34
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45efe2
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x45eff8
mov dl, 8
mov eax, ebx
call fcn.0045fb6c
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00471c14
cmp byte [ebx + 0x10090], 0
jne 0x45ef8e
xor eax, eax
mov dword [ebx + 0x1008c], eax
mov eax, dword [ebp - 4]
call fcn.00471c28
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x45ee99
call fcn.0048de7c
mov dword [ebx + 0x100b8], eax
mov eax, dword [ebp - 4]
call fcn.00471c28
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.00471bf4
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x45eec8
call fcn.0048de7c
cmp eax, 0x10000
jle 0x45eed4
mov eax, 0x10000
lea edx, [ebx + 0x30]
mov ecx, eax
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
push 0
push esi
mov eax, dword [ebp - 8]
sub eax, esi
cmp eax, 0x10000
jbe 0x45eefb
call fcn.0048de7c
lea eax, [ebx + eax + 0x30]
push eax
movzx eax, word [ebx + 0x10290]
push eax
call sub.WSOCK32.DLL_send
test eax, eax
je 0x45efcc
test eax, eax
jle 0x45ef3b
sub esi, eax
add dword [ebx + 0x1008c], eax
cmp word [ebx + 0x100ca], 0
je 0x45ef49
mov edx, ebx
mov eax, dword [ebx + 0x100cc]
call dword [ebx + 0x100c8]
jmp 0x45ef49
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, ebx
call fcn.0045faa0
mov eax, dword [0x55f8f4]
mov eax, dword [eax]
call fcn.004c9528
test esi, esi
je 0x45ef62
cmp byte [ebx + 0x10090], 0
je 0x45eee7
mov eax, dword [ebp - 4]
call fcn.00471c28
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.00471bf4
cmp edx, dword [esp + 4]
jne 0x45ef7d
cmp eax, dword [esp]
pop edx
pop eax
je 0x45ef8e
cmp byte [ebx + 0x10090], 0
je 0x45ee9f
cmp byte [ebx + 0x10090], 0
je 0x45efcc
mov byte [ebx + 0x10090], 0
mov ecx, 0x45f00c
mov dl, 1
mov eax, dword [0x45dab4]
call fcn.004807f8
call fcn.0048e708
cmp word [ebx + 0x1028a], 0
je 0x45efcc
mov edx, ebx
mov eax, dword [ebx + 0x1028c]
call dword [ebx + 0x10288]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45efe9
lea eax, [ebp - 0xc]
call fcn.0048ec8c
ret
Function at 0x45f9a8
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x45fa74
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x45fa88
mov dl, 4
mov eax, ebx
call fcn.0045fb6c
mov byte [ebx + 0x10298], 0
mov si, word [ebx + 0x10290]
cmp si, 0xffff
je 0x45fa5e
movzx eax, si
push eax
call sub.WSOCK32.DLL_closesocket
test eax, eax
jne 0x45fa50
test byte [ebx + 0x1c], 8
jne 0x45fa0d
cmp word [ebx + 0x10052], 0
je 0x45fa0d
mov edx, ebx
mov eax, dword [ebx + 0x10054]
call dword [ebx + 0x10050]
cmp byte [ebx + 0x10091], 0
jne 0x45fa5e
push 0
push 1
push 2
call sub.WSOCK32.DLL_socket
mov esi, eax
cmp esi, 0xffff
jbe 0x45fa30
call fcn.0048de7c
mov word [ebx + 0x10290], si
push 0x3d
push 0x465
mov eax, dword [ebx + 0x10294]
push eax
movzx eax, si
push eax
call sub.WSOCK32.DLL_WSAAsyncSelect
jmp 0x45fa5e
lea ecx, [ebp - 4]
mov dx, 0x2733
mov eax, ebx
call fcn.0045faa0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fa7b
lea eax, [ebp - 4]
call fcn.0048ec8c
ret

Function at 0x45fc14
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x45fc50
mov dl, 8
mov eax, ebx
call fcn.0045fb6c
push 2
push 1
lea eax, [ebx + 0x30]
push eax
movzx eax, word [ebx + 0x10290]
push eax
call sub.WSOCK32.DLL_recv
test eax, eax
jle 0x45fc42
mov al, 1
pop ebx
ret
xor eax, eax
pop ebx
ret

Function at 0x45fc60
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x45fc67
mov eax, dword [esp + 0x10000]
mov ebx, eax
mov ecx, 0x45fcb4
mov dl, 8
mov eax, ebx
call fcn.0045fb6c
push 0
push 0x10000
lea eax, [esp + 8]
push eax
movzx eax, word [ebx + 0x10290]
push eax
call sub.WSOCK32.DLL_recv
add esp, 0x10004
pop ebx
ret