joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423410
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x44bb48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [esp + 0x28]
push 0xc
mov eax, dword [edi + 4]
mov dword [esp + 0x14], eax
call dword [sym.imp.WS2_32.dll_htonl]
lea esi, [edi + 0xb]
mov dword [esp + 0xc], eax
xor ebx, ebx
mov al, byte [esi]
mov byte [esp + 0x14], bl
cmp al, bl
je 0x423540
push 0x45f300
lea ecx, [esp + 0x2c]
call fcn.00401000
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], ebx
call fcn.00401030
test eax, eax
je 0x42352d
mov cl, byte [edi + 8]
mov edi, esi
mov byte [0x45f3ab], cl
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
cmp ebp, 0xfffffffd
jbe 0x42349a
call fcn.00446f90
mov edi, dword [0x45f40c]
cmp edi, ebx
je 0x4234cc
mov al, byte [edi - 1]
cmp al, bl
je 0x4234cc
cmp al, 0xff
je 0x4234cc
cmp ebp, ebx
jne 0x4234f8
dec al
mov byte [edi - 1], al
mov dword [0x45f40c], ebx
mov dword [0x45f410], ebx
mov dword [0x45f414], ebx
jmp 0x423527
cmp ebp, ebx
jne 0x4234de
push 1
mov ecx, 0x45f408
call fcn.00401ff0
jmp 0x423527
mov eax, dword [0x45f414]
cmp eax, 0x1f
ja 0x4234ec
cmp eax, ebp
jae 0x423509
push 1
mov ecx, 0x45f408
call fcn.00401ff0
push ebp
mov ecx, 0x45f408
call fcn.004022a0
mov edi, dword [0x45f40c]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x45f40c]
mov dword [0x45f410], ebp
mov byte [eax + ebp], bl
call fcn.00434130
pop ebp
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.00401010
jmp 0x423545
mov byte [esp + 0x14], 1
mov edx, dword [esp + 0x2c]
push ebx
lea ecx, [esp + 0x10]
push 0xc
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [esp + 0x18]
pop edi
test eax, eax
pop esi
pop ebx
setg al
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x423570
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
push esi
push edi
push 0xa000
call fcn.0043a0eb
mov esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], esi
add esp, 4
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov edx, dword [esp + 8]
add edx, 8
mov ecx, 0x45f438
mov dword [esp + 8], edx
lea edx, [esp + 8]
push edx
push eax
call fcn.00420540
mov eax, dword [esp + 8]
sub eax, esi
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov edx, dword [esp + 0x14]
mov dword [esi], eax
mov ecx, dword [esp + 8]
push 0
sub ecx, esi
push ecx
push esi
push edx
call dword [sym.imp.WS2_32.dll_send]
push esi
mov edi, eax
call fcn.00439308
mov eax, dword [esp + 0xc]
add esp, 4
sub eax, esi
cmp edi, eax
pop edi
sete al
pop esi
pop ecx
ret
Function at 0x4235f0
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x44bb68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push 0xc
mov cl, byte [eax + 9]
mov byte [0x45f3b0], cl
mov dl, byte [eax + 8]
mov byte [0x45f3b1], dl
mov ecx, dword [0x45f3b0]
and ecx, 0xff
mov dword [0x45f320], ecx
mov edx, dword [eax + 4]
mov dword [esp + 8], edx
call dword [sym.imp.WS2_32.dll_htonl]
push 0x45f300
lea ecx, [esp + 0x20]
mov dword [esp + 4], eax
mov byte [esp + 0xc], 0
call fcn.00401000
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0
call fcn.00401030
test eax, eax
je 0x423670
call fcn.00434130
mov ecx, dword [esp + 0x20]
push 0
lea eax, [esp + 4]
push 0xc
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x1c]
jg 0x4236aa
call fcn.00401010
xor al, al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
call fcn.00401010
mov ecx, dword [esp + 0xc]
mov al, 1
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x423870
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
sub esp, 0x108
lea eax, [esp + 4]
push esi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x423895
pop esi
add esp, 0x108
ret
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test eax, eax
jne 0x4238b0
pop esi
add esp, 0x108
ret
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x18]
push 0
push ecx
push 1
push 2
push 0x10
push 0xf01ff
push str.Qvod_Terminal
push str.Qvod_Terminal
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov esi, eax
test esi, esi
jne 0x4238e9
pop esi
add esp, 0x108
ret
lea edx, [esp + 4]
mov dword [esp + 4], 0x4564a4
push edx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
pop esi
add esp, 0x108
ret
Function at 0x423920
Capabilities:
Check for time delay via gettickcount
Query service status
Start service

Disassembly:
sub esp, 0x1c
push ebx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test eax, eax
jne 0x42393c
pop ebx
add esp, 0x1c
ret
push 0xf01ff
push str.Qvod_Terminal
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
test ebx, ebx
jne 0x423958
pop ebx
add esp, 0x1c
ret
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x42396c
pop ebx
add esp, 0x1c
ret
lea eax, [esp + 4]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x423981
pop ebx
add esp, 0x1c
ret
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebp, dword [esp + 0x24]
mov esi, eax
cmp dword [esp + 0x14], 2
jne 0x4239fb
mov eax, 0xcccccccd
mul dword [esp + 0x28]
shr edx, 3
cmp edx, 0x3e8
jae 0x4239b4
mov edx, 0x3e8
jmp 0x4239c1
cmp edx, 0x2710
jbe 0x4239c1
mov edx, 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x10]
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x4239fb
cmp dword [esp + 0x24], ebp
jbe 0x4239e8
call edi
mov ebp, dword [esp + 0x24]
mov esi, eax
jmp 0x4239f4
call edi
mov ecx, dword [esp + 0x28]
sub eax, esi
cmp eax, ecx
ja 0x4239fb
cmp dword [esp + 0x14], 2
je 0x423999
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [esp + 0x14]
xor eax, eax
pop edi
cmp ecx, 4
pop esi
pop ebp
sete al
pop ebx
add esp, 0x1c
ret

Function at 0x423a20
Capabilities:
Stop service

Disassembly:
sub esp, 0x1c
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test eax, eax
jne 0x423a3a
add esp, 0x1c
ret
push 0x20
push str.Qvod_Terminal
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
test eax, eax
jne 0x423a50
add esp, 0x1c
ret
lea ecx, [esp]
push ecx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
neg eax
sbb eax, eax
neg eax
add esp, 0x1c
ret
Function at 0x424fd0
Capabilities:
Create thread

Disassembly:
mov eax, dword [ecx + 0x264]
test eax, eax
je 0x424ff4
push ecx
push 0
push 0x425000
mov dword [ecx + 0x264], 0
call fcn.0043a873
add esp, 0xc
ret

Function at 0x4251a0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44bc23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov al, byte [esp + 3]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0xc], al
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x48], al
mov edx, dword [ecx]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], edx
call fcn.00425fd0
lea ecx, [esp + 0x5c]
call fcn.00425fd0
lea eax, [esp + 0x20]
lea ecx, [esp + 0x78]
push eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call fcn.004262f0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x8c]
call fcn.004262f0
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x80]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
mov dword [eax], ecx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xa8]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xac]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0xb0]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xb4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xb8]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0xbc]
push eax
call fcn.00426370
add esp, 0x28
lea ecx, [esp + 0x44]
lea edx, [esp + 0x3c]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0xac], 1
call fcn.00425c10
mov eax, dword [esp + 0x74]
mov byte [esp + 0xa4], bl
cmp eax, ebx
mov esi, 0x19
je 0x42530f
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x74]
add ecx, esi
dec eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x74], eax
je 0x425300
mov eax, ecx
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jne 0x425309
lea ecx, [esp + 0x48]
call fcn.00425b90
cmp dword [esp + 0x74], ebx
jne 0x4252e1
mov eax, dword [esp + 0x38]
mov dword [esp + 0xa4], 0xffffffff
cmp eax, ebx
je 0x425355
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
add ecx, esi
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x38], eax
je 0x42533d
cmp ecx, dword [esp + 0x14]
jne 0x425346
lea ecx, [esp + 0xc]
call fcn.00425b90
cmp dword [esp + 0x38], ebx
jne 0x425322
mov edx, dword [esp + 0x3c]
lea eax, [edx + 0x10]
jmp 0x42535c
mov eax, dword [esp + 0x3c]
add eax, 0x10
mov ecx, dword [esp + 0x9c]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xa0
ret 4
Function at 0x426b60
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.WS2_32.dll_htons]
push edi
mov ebx, ecx
push 0x1c
mov byte [0x45ad50], 0
call esi
push 0x302
mov word [esp + 0x14], ax
call esi
mov edi, dword [ebx + 4]
mov word [esp + 0x12], ax
mov ax, word [ebx + 4]
inc edi
push eax
mov dword [ebx + 4], edi
call esi
mov ebp, dword [sym.imp.WS2_32.dll_sendto]
and eax, 0xffff
mov ecx, 5
mov esi, 0x45f560
lea edi, [esp + 0x18]
mov dword [esp + 0x14], eax
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 8]
mov esi, 3
mov ecx, dword [ebx]
push 0x10
push edi
push 0
lea eax, [esp + 0x1c]
push 0x1c
push eax
push ecx
call ebp
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
dec esi
jne 0x426bc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x426bf0
Capabilities:
Create thread
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
push 0x11
push 2
mov esi, ecx
push 2
call dword [sym.imp.WS2_32.dll_socket]
lea ecx, [esp + 4]
push 4
push ecx
push 0x1006
push 0xffff
push eax
mov dword [esi], eax
mov dword [esp + 0x18], 0x3e8
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, esi
call fcn.00426c40
push esi
push 0
push 0x427310
call fcn.0043a873
add esp, 0xc
pop esi
pop ecx
ret

Function at 0x426c40
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x44bc78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push 0x24
call fcn.0043a0eb
mov esi, dword [sym.imp.WS2_32.dll_htons]
add esp, 4
mov ebp, eax
push 0x24
call esi
push 0x301
mov word [ebp], ax
call esi
mov word [ebp + 2], ax
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp + 4], eax
mov edi, dword [ebx + 4]
add edi, 0x24
mov dword [ebx + 4], edi
mov cl, byte [0x45f578]
mov byte [ebp + 0x22], cl
mov edx, dword [0x45f548]
mov dword [ebp + 0x1c], edx
mov ax, word [0x456c10]
push eax
call esi
lea edi, [ebp + 8]
mov ecx, 5
mov esi, 0x45f560
mov word [ebp + 0x20], ax
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 8]
lea eax, [ebx + 0x18]
push eax
mov word [esi], 2
mov ecx, dword [0x45f554]
mov dword [ebx + 0xc], ecx
mov dx, word [0x45f318]
lea ecx, [esp + 0x14]
mov word [ebx + 0xa], dx
call fcn.00401000
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.00401020
mov ecx, dword [ebx]
push 0x10
push esi
push 0
push 0x24
push ebp
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
push 0xc
call fcn.0043a0eb
mov edx, dword [ebx + 0x3c]
mov esi, eax
add esp, 4
mov dword [esi], edx
mov dword [esi + 8], ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 4], eax
lea ecx, [esp + 0x10]
mov dword [ebx + 0x3c], esi
mov dword [esp + 0x1c], 0xffffffff
call fcn.00401010
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x426e10
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x44bcb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, ecx
push ebp
push esi
lea eax, [ebx + 0x18]
push edi
push eax
lea ecx, [esp + 0x14]
call fcn.00401000
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.00401020
push 0x1c
call fcn.0043a0eb
mov esi, dword [sym.imp.WS2_32.dll_htons]
add esp, 4
mov ebp, eax
push 0x1c
call esi
push 0x303
mov word [ebp], ax
call esi
mov word [ebp + 2], ax
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp + 4], eax
mov eax, dword [ebx + 4]
add eax, 0x1c
lea edx, [ebx + 8]
lea edi, [ebp + 8]
mov ecx, 5
mov esi, 0x45f560
push 0x10
mov dword [ebx + 4], eax
push edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx]
push 0
push 0x1c
push ebp
push eax
call dword [sym.imp.WS2_32.dll_sendto]
push 0xc
call fcn.0043a0eb
mov ecx, dword [ebx + 0x3c]
mov esi, eax
add esp, 4
mov dword [esi], ecx
mov dword [esi + 8], ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 4], eax
lea ecx, [esp + 0x10]
mov dword [ebx + 0x3c], esi
mov dword [esp + 0x1c], 0xffffffff
call fcn.00401010
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x426fb0
Capabilities:
Create thread

Disassembly:
sub esp, 0x7c
push ebx
push esi
mov esi, dword [esp + 0x88]
push edi
mov edi, ecx
mov ebx, 1
mov al, byte [esi + 0xe]
test al, al
jne 0x427082
cmp dword [0x45f55c], ebx
je 0x42712a
mov eax, dword [0x45f554]
mov dword [0x45f3a4], eax
mov ecx, dword [esi + 8]
mov dword [0x45f54c], ecx
mov dx, word [esi + 0xc]
lea ecx, [esp + 0x20]
mov word [0x45f550], dx
call fcn.0040b500
push 4
push 0x45f54c
lea ecx, [esp + 0x28]
call fcn.0040b540
lea eax, [esp + 0xc]
lea ecx, [esp + 0x20]
push eax
call fcn.0040b520
mov eax, dword [0x45f578]
mov ecx, dword [esp + 0xc]
cmp eax, 6
mov dword [0x45f560], ecx
jl 0x427055
call fcn.004331f0
cmp eax, 6
jge 0x427055
call fcn.00433110
mov ecx, edi
call fcn.00426c40
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x7c
ret 4
mov dword [0x45f55c], ebx
mov al, byte [esi + 0xf]
cmp al, bl
jne 0x42712a
push 0
push 0
push 0x436950
call fcn.0043a873
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x7c
ret 4
cmp al, bl
jne 0x4270f7
cmp dword [0x45f55c], ebx
je 0x42712a
mov edx, dword [esi + 8]
lea ecx, [esp + 0x20]
mov dword [0x45f54c], edx
mov ax, word [esi + 0xc]
mov word [0x45f550], ax
call fcn.0040b500
push 4
push 0x45f54c
lea ecx, [esp + 0x28]
call fcn.0040b540
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x24]
call fcn.0040b520
mov eax, dword [0x45f578]
mov edx, dword [esp + 0xc]
cmp eax, 6
mov dword [0x45f560], edx
jl 0x427055
call fcn.004331f0
cmp eax, 6
jge 0x427055
jmp 0x42703e
cmp al, 2
jne 0x427102
call fcn.004320f0
jmp 0x427119
cmp al, 3
jne 0x427120
mov eax, dword [esi + 8]
mov dword [0x45f554], eax
mov cx, word [esi + 0xc]
mov word [0x45f318], cx
mov ecx, edi
call fcn.00426c40
mov dword [0x45f55c], 0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x7c
ret 4
Function at 0x427140
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
cmp byte [eax + 8], 2
jne 0x42716a
call fcn.00426c40
push 0
push 0
push 0x4342b0
call fcn.0043a873
add esp, 0xc
mov dword [0x45f55c], 0
xor eax, eax
ret 4

Function at 0x427170
Capabilities:
Access peb ldr_data
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x44bcf1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
xor eax, eax
mov al, byte [esi + 0x36]
mov bx, word [esi + 0x34]
lea ecx, [esi + 8]
push edi
mov edi, dword [esi + 0x30]
push ecx
mov ecx, 0x45f438
mov dword [esp + 0x38], eax
call fcn.0041e4a0
mov ebp, eax
test ebp, ebp
je 0x4272f3
add esi, 0x1c
mov ecx, ebp
push esi
call fcn.00415eb0
test eax, eax
jne 0x4272f3
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x427209
push 0xb6
call fcn.0043a0eb
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov dword [esp + 0x2c], 0
je 0x4272a0
push esi
push 0
push ebx
push edi
mov ecx, eax
call fcn.004063d0
jmp 0x4272a2
cmp eax, 1
jne 0x427254
push 0xb6
call fcn.0043a0eb
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov dword [esp + 0x2c], 1
je 0x427245
push esi
push 1
push ebx
push edi
mov ecx, eax
call fcn.004063d0
push ebp
push eax
mov dword [esp + 0x34], 0xffffffff
push 0
jmp 0x4272ae
xor eax, eax
push ebp
push eax
mov dword [esp + 0x34], 0xffffffff
push eax
jmp 0x4272ae
mov ecx, dword [0x45f578]
cmp ecx, 2
je 0x4272c6
cmp ecx, 3
jne 0x42726b
cmp eax, 4
jl 0x4272c6
jmp 0x427270
cmp ecx, 7
je 0x4272c6
cmp eax, 2
jne 0x4272f3
push 0xb6
call fcn.0043a0eb
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov dword [esp + 0x2c], 2
je 0x4272a0
push esi
push 0
push ebx
push edi
mov ecx, eax
call fcn.004063d0
jmp 0x4272a2
xor eax, eax
push ebp
push eax
mov dword [esp + 0x34], 0xffffffff
push 0xa
mov ecx, 0x45f438
call fcn.0041d6f0
test eax, eax
je 0x4272f3
push eax
mov ecx, ebp
call fcn.00415600
jmp 0x4272f3
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push 0x10
push edx
mov ecx, dword [eax]
push 0
push 1
push 0x455968
push ecx
mov word [esp + 0x2c], 2
mov dword [esp + 0x30], edi
mov word [esp + 0x2e], bx
call dword [sym.imp.WS2_32.dll_sendto]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x4286e0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x38
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
test eax, eax
jle 0x4288c2
push ebx
push ebp
push esi
push edi
jmp 0x4286fd
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
cmp eax, 0x3e8
jle 0x428713
mov esi, 0x3e8
mov dword [esp + 0x18], esi
jmp 0x428719
mov dword [esp + 0x18], eax
mov esi, eax
lea ebx, [esi + 0xd]
push ebx
call fcn.0043a0eb
mov ebp, eax
mov eax, dword [edi + 4]
add esp, 4
mov dword [ebp + 4], eax
mov ecx, dword [edi + 8]
push ebx
mov dword [ebp + 8], ecx
mov byte [ebp + 0xc], 4
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, esi
mov esi, dword [esp + 0x4c]
mov edx, ecx
lea edi, [ebp + 0xd]
shr ecx, 2
mov dword [ebp], eax
mov eax, dword [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add eax, 0x1c
and ecx, 3
mov dword [esp + 0x40], ebp
rep movsb byte es:[edi], byte [esi]
mov edx, dword [eax - 0x18]
mov eax, dword [eax + 4]
mov ecx, dword [0x45ad18]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], ebx
mov esi, dword [eax + 4]
mov edi, eax
cmp esi, ecx
mov al, 1
je 0x42879b
mov eax, dword [esi + 0xc]
mov edi, esi
cmp edx, eax
setb al
test al, al
je 0x428794
mov esi, dword [esi]
jmp 0x428797
mov esi, dword [esi + 8]
cmp esi, ecx
jne 0x428782
mov ecx, dword [esp + 0x58]
add ecx, 0x1c
mov dword [esp + 0x1c], ecx
cmp byte [ecx + 8], 0
je 0x4287cd
lea edx, [esp + 0x3c]
lea eax, [esp + 0x24]
push edx
push edi
push esi
push eax
call fcn.0040e450
mov ecx, dword [eax]
mov byte [esp + 0x38], 1
mov dword [esp + 0x34], ecx
jmp 0x428863
test al, al
mov dword [esp + 0x14], edi
je 0x42881e
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push edx
call fcn.00437b80
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
cmp ecx, edx
jne 0x428811
lea edx, [esp + 0x13]
lea eax, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x5c]
push eax
push edi
lea ecx, [esp + 0x38]
push esi
push ecx
lea ecx, [edx + 0x1c]
mov byte [esp + 0x27], 1
call fcn.0040e450
jmp 0x428859
lea ecx, [esp + 0x14]
call fcn.0040e840
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xc], edx
jae 0x42884b
lea ecx, [esp + 0x13]
lea edx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push edi
lea eax, [esp + 0x3c]
push esi
push eax
add ecx, 0x1c
mov byte [esp + 0x27], 1
call fcn.0040e450
jmp 0x428859
lea edx, [esp + 0x13]
mov byte [esp + 0x13], 0
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
call fcn.00409f60
mov esi, dword [esp + 0x58]
cmp dword [esi + 0x28], 1
jne 0x428876
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x20]
push 0x10
push ecx
mov eax, dword [edx]
push 0
push ebx
push ebp
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x50]
mov edi, dword [esi + 4]
mov edx, dword [esp + 0x4c]
sub ecx, eax
add edi, eax
add edx, eax
mov dword [esi + 4], edi
test ecx, ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], edx
jg 0x4286f9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x38
ret 0x10
xor eax, eax
add esp, 0x38
ret 0x10
Function at 0x428d70
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x44be70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [esp + 0x54]
push ebx
mov dword [esp + 8], ecx
push esi
mov eax, dword [eax + 0x18]
xor esi, esi
mov ecx, dword [eax + 0x5f]
cmp ecx, esi
je 0x428f41
lea edx, [esp + 0x20]
push edx
call fcn.004051c0
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
push eax
push 0x45f3d8
push ecx
mov dword [esp + 0x54], esi
call fcn.004052f0
push str..torrent
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x60], 1
call fcn.00402480
mov eax, dword [eax + 4]
add esp, 0x18
cmp eax, esi
jne 0x428de8
mov eax, 0x44e270
push 0x100
push esi
push eax
call fcn.004396ea
mov ebx, eax
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, esi
je 0x428e1e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x428e15
cmp al, 0xff
je 0x428e15
dec al
mov byte [ecx], al
jmp 0x428e1e
push ecx
call fcn.00439308
add esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], esi
cmp eax, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov byte [esp + 0x48], 0
je 0x428e54
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x428e4b
cmp al, 0xff
je 0x428e4b
dec al
mov byte [ecx], al
jmp 0x428e54
push ecx
call fcn.00439308
add esp, 4
cmp ebx, esi
jg 0x428e8f
mov ecx, dword [esp + 0x24]
cmp ecx, esi
je 0x428f41
mov al, byte [ecx - 1]
test al, al
je 0x428f37
cmp al, 0xff
je 0x428f37
dec al
pop esi
mov byte [ecx - 1], al
pop ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 0x10
push ebp
push edi
push ebx
call fcn.0043bab8
mov esi, eax
lea eax, [esi + 5]
push eax
mov dword [esp + 0x18], eax
call fcn.0043a0eb
add esp, 8
mov edi, eax
lea eax, [esi + 1]
push eax
mov byte [edi + 4], 0xa
call dword [sym.imp.WS2_32.dll_htonl]
lea ebp, [edi + 5]
push esi
push ebp
push ebx
mov dword [edi], eax
call fcn.00439ead
add esp, 0xc
test eax, eax
jle 0x428ee2
add ebp, eax
sub esi, eax
je 0x428ee2
push esi
push ebp
push ebx
call fcn.00439ead
add esp, 0xc
test eax, eax
jg 0x428ecd
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push edi
call fcn.004286e0
push ebx
call fcn.004399fc
push edi
call fcn.00439308
mov ecx, dword [esp + 0x34]
add esp, 8
test ecx, ecx
pop edi
pop ebp
je 0x428f41
mov al, byte [ecx - 1]
test al, al
je 0x428f37
cmp al, 0xff
je 0x428f37
dec al
pop esi
mov byte [ecx - 1], al
pop ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 0x10
dec ecx
push ecx
call fcn.00439308
add esp, 4
mov ecx, dword [esp + 0x40]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 0x10