joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ca40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x57ec74]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0043c9e0
add esp, 0x14
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb96a
mov esp, ebp
pop ebp
ret

Function at 0x43cd90
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x57ec74]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xf0000040
push 1
push 0
push 0
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xd0], 0
push eax
mov edi, edx
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x43cdf3
lea eax, [ebp - 0x24]
push eax
push 0x20
push dword [ebp - 0xd0]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [ebp - 0xd0]
test eax, eax
jne 0x43ce05
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb96a
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test eax, eax
je 0x43cdf3
mov edx, esi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x43ce14
movups xmm0, xmmword [0x55df8c]
push 0x20
lea eax, [ebp - 0x44]
sub edx, ecx
push eax
push 0x400
push 0x20
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.0043dac0
add esp, 0x24
test eax, eax
je 0x43cdf3
xor esi, esi
nop dword [eax]
mov dl, byte [ebp + esi - 0x24]
mov cl, dl
and dl, 0xf
shr cl, 4
cmp cl, 0xa
sbb al, al
and al, 0xf9
add al, 0x37
add al, cl
cmp dl, 0xa
mov byte [ebp + esi*2 - 0x88], al
sbb al, al
and al, 0xf9
add al, 0x37
add al, dl
mov byte [ebp + esi*2 - 0x87], al
inc esi
cmp esi, 0x20
jb 0x43ce50
lea edx, [ebp - 0xcc]
mov byte [ebp - 0x48], 0
lea ecx, [ebp - 0x44]
call fcn.0043ccd0
mov eax, edx
mov byte [ebp - 0x8c], 0
push eax
lea eax, [ebp - 0x88]
push eax
push 0x400
push 0x55d9f0
push 0x87
push edi
call fcn.0043cb30
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
mov al, 1
pop edi
pop esi
call fcn.004cb96a
mov esp, ebp
pop ebp
ret
Function at 0x441150
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
lea edi, [ebx + 4]
mov dword [ebx + 0xc], eax
mov eax, dword [edi]
test eax, eax
je 0x44121e
cmp eax, 0xffffffff
je 0x44121e
mov esi, dword [0x595540]
push 0
push 0
push dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp dword [esi], eax
je 0x4411a9
push str.Startup__:_Associate_Device_failed_for_pre_created_socket.
call fcn.00442d60
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x59555c
call esi
mov eax, dword [edi]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push dword [esp + 0x10]
mov dword [esp + 0x18], ebx
push eax
push ecx
lea eax, [esp + 0x24]
push eax
call fcn.00445150
push 0x59555c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, ebx
call fcn.004423e0
test al, al
jne 0x4412b8
push str.Startup__:_Register_Receive_failed.
call fcn.00442d60
add esp, 4
push 0x59555c
call esi
push edi
call fcn.00442f90
push 0x59555c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x441255
push str.Startup__:_Socket_Creation_Failure.
call fcn.00442d60
add esp, 4
mov dword [edi], 0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [0x595540]
push 0
push 0
push dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp dword [esi], eax
je 0x441284
push str.Startup__:_Associate_Device_failed.
call fcn.00442d60
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x59555c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push dword [esp + 0x10]
mov dword [esp + 0x18], ebx
push eax
push ecx
lea eax, [esp + 0x24]
push eax
call fcn.00445150
push 0x59555c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 0xc]
mov ecx, 5
test eax, eax
pop edi
cmove eax, ecx
mov dword [ebx + 0x10], eax
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x441320
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x57ec74]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [esp + 0x18], ecx
cmp dword [eax + 0x14], 0x10
push edi
jb 0x441348
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x44137a
push str.Connect__:_gethostbyname___failed.
call fcn.00442d60
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004cb96a
mov esp, ebp
pop ebp
ret 8
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
mov dword [esp + 0x10], ebx
nop word [eax + eax]
push 0x59199c
xor bh, bh
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x59199c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x591988]
cmp eax, dword [0x59198c]
push 0x59199c
sete bl
call edi
test bl, bl
jne 0x4413e9
mov ecx, dword [0x59198c]
mov bh, 1
mov eax, dword [0x591984]
mov eax, dword [eax + ecx*4]
inc ecx
cmp ecx, dword [0x591994]
mov dword [esp + 0x10], eax
cmovge ecx, dword [0x591990]
mov dword [0x59198c], ecx
push 0x59199c
call edi
test bh, bh
jne 0x441427
cmp esi, 0xa
jg 0x441404
push 0x32
inc esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x441390
push str.Connect__:_try_count_exceeding.
call fcn.00442d60
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004cb96a
mov esp, ebp
pop ebp
ret 8
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
push 0x10
push ebx
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x44146a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Connect__:_WSAEventSelect___failed:_error_code:__d
call fcn.00442d60
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004cb96a
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x14]
mov ecx, 2
push dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 8], eax
mov word [esp + 0x28], cx
mov dword [esp + 0x2c], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x595574
mov word [esp + 0x2a], ax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x14]
push dword [esp + 0x14]
mov dword [esp + 0x1c], esi
push eax
push ecx
lea eax, [esp + 0x28]
push eax
call fcn.004452d0
push 0x595574
call edi
push 0x10
lea eax, [esp + 0x28]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x441508
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x441508
push eax
push str.Connect__:_connect___failed:_error_code:__d
call fcn.00442d60
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004cb96a
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x34]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004cb96a
mov esp, ebp
pop ebp
ret 8
Function at 0x441fa0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x57ec74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0
mov eax, ecx
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push ecx
push 4
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 0xb5367df1
push ecx
push 0x10
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0x11cfcbac
push ecx
push 0xc8000006
push dword [eax + 4]
mov dword [ebp - 0xc], 0x8000ca95
mov dword [ebp - 8], 0x92a1485f
mov dword [ebp - 0x18], 0
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push 1
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
jne 0x44203e
push str.Failed_to_create_socket_in_IOCP_setup.
call fcn.00442d60
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb96a
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
nop word [eax + eax]
push 0x59193c
xor bh, bh
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x59193c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x591928]
cmp eax, dword [0x59192c]
push 0x59193c
sete bl
call esi
test bl, bl
jne 0x4420a5
mov ecx, dword [0x59192c]
mov bh, 1
mov eax, dword [0x591924]
mov edi, dword [eax + ecx*4]
inc ecx
cmp ecx, dword [0x591934]
cmovge ecx, dword [0x591930]
mov dword [0x59192c], ecx
push 0x59193c
call esi
test bh, bh
jne 0x4420bc
mov ecx, 0x3e8
call fcn.00442830
jmp 0x442050
push dword [edi + 0x20]
call fcn.004cbc8a
mov eax, dword [ebp - 0x1c]
add esp, 4
mov ebx, dword [ebp - 0x24]
mov dword [edi + 0x28], 0
mov dword [edi + 0x18], 3
mov dword [edi + 0x14], eax
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov eax, dword [eax + 4]
push 0x595544
mov dword [edi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push 0x20
push 0x20
push 0
push 0x595500
push ebx
push dword [eax + 4]
call dword [ebp - 0x20]
test eax, eax
jne 0x442166
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x442166
push str.AcceptEx___Failed_and_IO_aint_pending.
call fcn.00442d60
add esp, 4
mov ecx, edi
call fcn.00440ee0
push edi
call fcn.004447d0
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x595544
call esi
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb96a
mov esp, ebp
pop ebp
ret
push 0x595544
call esi
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cb96a
mov esp, ebp
pop ebp
ret
Function at 0x442180
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 0xc]
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
call fcn.004cbccd
push esi
push dword [ebp + 8]
mov ebx, eax
push ebx
mov dword [ebp - 4], ebx
call fcn.004ea7c0
add esp, 0x10
xor ecx, ecx
test esi, esi
jle 0x4421ca
mov eax, ecx
cdq
idiv dword [0x591920]
mov al, byte [edx + 0x591820]
xor byte [ecx + ebx], al
inc ecx
cmp ecx, esi
jl 0x4421b3
push esi
call fcn.004cbccd
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x44220d
test eax, eax
je 0x4421fd
push esi
test ebx, ebx
je 0x4421f2
push ebx
push eax
call fcn.004ea7c0
add esp, 0xc
jmp 0x44220d
push 0
push eax
call fcn.004ea420
add esp, 0xc
call fcn.005138df
mov dword [eax], 0x16
call fcn.005137b9
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp + 8], 0
push 0x59193c
mov byte [ebp + 0xf], 0
call edi
push 0x59193c
call edi
mov eax, dword [0x591928]
cmp eax, dword [0x59192c]
push 0x59193c
sete bl
call esi
test bl, bl
jne 0x442277
mov ecx, dword [0x59192c]
mov eax, dword [0x591924]
mov byte [ebp + 0xf], 1
mov ebx, dword [eax + ecx*4]
inc ecx
cmp ecx, dword [0x591934]
mov dword [ebp + 8], ebx
cmovge ecx, dword [0x591930]
mov dword [0x59192c], ecx
jmp 0x44227a
mov ebx, dword [ebp + 8]
push 0x59193c
call esi
cmp byte [ebp + 0xf], 0
jne 0x442293
mov ecx, 0x3e8
call fcn.00442830
jmp 0x442221
push dword [ebx + 0x20]
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
call fcn.004cbc8a
mov ecx, dword [ebp - 8]
add esp, 4
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x18], 1
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x1c], 0xffffffff
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x28], 0
pop edi
test ecx, ecx
je 0x4422d0
mov eax, dword [ecx + 4]
mov dword [ebx + 0x28], eax
push 0
push ebx
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x44234c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x44234c
push dword [ebx + 0x20]
call fcn.004cbc8a
add esp, 4
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
push ebx
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
call fcn.004447d0
push 1
push dword [ebp - 4]
call fcn.004cbcbf
add esp, 8
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
push dword [ebp - 4]
call fcn.004cbcbf
add esp, 8
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4423e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0x59193c
xor bh, bh
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x59193c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x591928]
cmp eax, dword [0x59192c]
push 0x59193c
sete bl
call edi
test bl, bl
jne 0x442465
mov ecx, dword [0x59192c]
mov bh, 1
mov eax, dword [0x591924]
mov esi, dword [eax + ecx*4]
inc ecx
cmp ecx, dword [0x591934]
cmovge ecx, dword [0x591930]
mov dword [0x59192c], ecx
push 0x59193c
call edi
test bh, bh
jne 0x44247c
mov ecx, 0x3e8
call fcn.00442830
jmp 0x442410
push dword [esi + 0x20]
call fcn.004cbc8a
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [esi + 0x18], 2
mov dword [esi + 0x14], ecx
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
test ecx, ecx
je 0x4424ba
mov eax, dword [ecx + 4]
mov dword [esi + 0x28], eax
push 0
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x442534
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x442534
push eax
push str.RegisterRecv__:_registration_failed:_error_code:__d
call fcn.00442d60
push dword [esi + 0x20]
call fcn.004cbc8a
add esp, 0xc
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
push esi
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
call fcn.004447d0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442540
Capabilities:
Encode data using xor
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
cmp dword [esi + 0x28], 0
jg 0x442727
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x18]
sub eax, 2
je 0x4425eb
sub eax, 1
je 0x4425a0
sub eax, 1
jne 0x442727
mov ecx, dword [esi + 0x10]
push dword [edi + 0x1c]
push dword [esi + 4]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test al, al
jne 0x442720
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi + 0x10]
push 0
push dword [edi + 0x1c]
mov eax, dword [ecx]
push dword [esi + 4]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x4425bf
push dword [edi + 0x1c]
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, esi
call fcn.00441fa0
test al, al
jne 0x442727
push str.HandleGoodIoCompletions__:_setup_new_accept_failed
call fcn.00442d60
mov eax, dword [esi]
add esp, 4
mov ecx, esi
call dword [eax + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [ebp + 0x10]
nop
push 0
push 0x1000
push ebx
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp edi, 0xffffffff
je 0x44270c
mov ecx, dword [esi + 0x10]
test edi, edi
je 0x4426f5
test ecx, ecx
jne 0x442625
push str.ProcessRecv__:_socket_handler_invalid.
jmp 0x4426d1
mov ecx, dword [esi + 0x20]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jge 0x4426cc
mov eax, dword [esi + 0x14]
push edi
add eax, ecx
push ebx
push eax
call fcn.004ea7c0
add dword [esi + 0x20], edi
add esp, 0xc
mov ebx, dword [esi + 0x20]
mov eax, dword [esi + 0x14]
mov dword [esp + 0x10], eax
push ebx
push eax
push eax
call fcn.004ea7c0
add esp, 0xc
xor ecx, ecx
test ebx, ebx
jle 0x442681
mov esi, dword [esp + 0x10]
mov eax, ecx
cdq
idiv dword [0x591920]
mov al, byte [edx + 0x591820]
xor byte [ecx + esi], al
inc ecx
cmp ecx, ebx
jl 0x442666
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x10]
push 0
push ebx
push dword [esp + 0x18]
mov eax, dword [ecx]
push dword [esi + 4]
call dword [eax + 8]
mov edx, dword [esi + 0x20]
mov ebx, eax
cmp ebx, edx
jle 0x4426a8
mov ebx, dword [ebp + 0x10]
mov dword [esi + 0x20], 0
jmp 0x4426d9
test ebx, ebx
jle 0x4426c2
mov ecx, dword [esi + 0x14]
sub edx, ebx
push edx
lea eax, [ecx + ebx]
push eax
push ecx
call fcn.004ea7c0
mov edx, dword [esi + 0x20]
add esp, 0xc
sub edx, ebx
mov ebx, dword [ebp + 0x10]
mov dword [esi + 0x20], edx
jmp 0x4426d9
push str.ProcessRecv__:_AddData___failed_to_add.
call fcn.00442d60
add esp, 4
cmp edi, 0x1000
je 0x4425f0
mov ecx, esi
call fcn.004423e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
test ecx, ecx
je 0x442727
mov eax, dword [ecx]
push 0
push dword [esi + 4]
call dword [eax + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.HandleGoodIoCompletions__:_recv_failed:_error_code:__d
call fcn.00442d60
add esp, 8
mov ecx, esi
call fcn.004423e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x446060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
push dword [ebp + 8]
mov edi, ecx
push ebx
call fcn.004ea7c0
add esp, 0xc
xor ecx, ecx
test esi, esi
jle 0x446095
mov eax, ecx
cdq
idiv dword [edi + 0x100]
mov al, byte [edx + edi]
xor byte [ecx + ebx], al
inc ecx
cmp ecx, esi
jl 0x446081
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x446b60
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
push edi
call fcn.004cbccd
push edi
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.004ea7c0
add esp, 0x10
xor ecx, ecx
test edi, edi
jle 0x446b9d
mov eax, ecx
cdq
idiv dword [0x591ac0]
mov al, byte [edx + 0x5919c0]
xor byte [ecx + esi], al
inc ecx
cmp ecx, edi
jl 0x446b86
push 0
push edi
push esi
push dword [ebx]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x446bc8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 1
push esi
call fcn.004cbcbf
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 8
push 1
push esi
call fcn.004cbcbf
add esp, 8
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x44a9c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x44a9eb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044b3e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x44aa0d
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x44aa0f
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x44aa93
jg 0x44aa24
test esi, esi
je 0x44aa93
test ecx, ecx
jl 0x44aa6d
jg 0x44aa2e
test eax, eax
je 0x44aa6d
cmp edi, ecx
jg 0x44aa42
jl 0x44aa38
cmp esi, eax
jae 0x44aa42
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.004ea7c0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x44aa70
mov edx, dword [ebp + 8]
test edi, edi
jl 0x44aa93
jg 0x44aa7a
test esi, esi
je 0x44aa93
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x44aa93
push eax
push esi
push 1
push edx
call fcn.00514a45
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44aab0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x44aadb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044b4c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x44aafd
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x44aaff
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x44ab9e
jg 0x44ab1c
test esi, esi
je 0x44ab9e
test ecx, ecx
jl 0x44ab69
jg 0x44ab26
test eax, eax
je 0x44ab69
cmp ebx, ecx
jg 0x44ab3a
jl 0x44ab30
cmp esi, eax
jae 0x44ab3a
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.004ea7c0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x44ab70
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x44ab9e
jg 0x44ab7a
test esi, esi
je 0x44ab9e
cmp dword [edi + 0x4c], 0
je 0x44ab9e
mov ecx, edi
call fcn.0044c090
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.0051509a
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
pop edi
pop esi
sbb edx, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc