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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x5290f4]
movzx ecx, byte [eax + 0x400]
mov edx, dword [0x5290f4]
mov dword [edx + ecx*4], 0x66f20000
mov eax, dword [0x5290f4]
mov cl, byte [eax + 0x400]
add cl, 1
mov edx, dword [0x5290f4]
mov byte [edx + 0x400], cl
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
push 0x4d6afc
mov ecx, 0x56b6c8
call fcn.0040bf50
push 0x4d6b04
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004bf4d0
add esp, 8
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jne 0x439cac
mov edx, dword [ebp + 0xc]
push edx
push 0x4d6b08
call fcn.0040cc80
add esp, 8
add eax, 9
jmp 0x439fc9
lea ecx, [ebp - 0x1c0]
call fcn.004120c0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x88], 0xa
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x234], ecx
mov dword [ebp - 4], 0
cmp dword [ebp + 0x14], 0
jg 0x439d17
jl 0x439d0e
cmp dword [ebp + 0x10], 0
jae 0x439d17
mov byte [ebp - 0x245], 1
jmp 0x439d1e
mov byte [ebp - 0x245], 0
mov dl, byte [ebp - 0x245]
mov byte [ebp - 0x229], dl
movzx eax, byte [ebp - 0x229]
test eax, eax
jne 0x439d51
cmp dword [ebp - 0x234], 0
jl 0x439ed8
jg 0x439d51
cmp dword [ebp - 0x238], 0
jbe 0x439ed8
movzx ecx, byte [0x566fd4]
test ecx, ecx
je 0x439d61
jmp 0x439ed8
movzx edx, byte [ebp - 0x229]
test edx, edx
jne 0x439d83
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp + 0x14]
jl 0x439d83
jg 0x439d7e
mov ecx, dword [ebp - 0x78]
cmp ecx, dword [ebp + 0x10]
jb 0x439d83
jmp 0x439ed8
mov dword [ebp - 0x240], 0x186fa
movzx edx, byte [ebp - 0x229]
test edx, edx
jne 0x439dd5
mov eax, dword [ebp - 0x240]
cdq
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], edx
mov eax, dword [ebp - 0x24c]
cmp eax, dword [ebp - 0x234]
jl 0x439dd5
jg 0x439dc9
mov ecx, dword [ebp - 0x250]
cmp ecx, dword [ebp - 0x238]
jbe 0x439dd5
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x240], edx
push 0
mov eax, dword [ebp - 0x240]
push eax
push 0x534818
mov ecx, dword [ebp + 8]
push ecx
call sub.WS2_32.dll_recv
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x439dfa
jmp 0x439ed8
movzx edx, byte [0x566fd4]
test edx, edx
je 0x439e0a
jmp 0x439ed8
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0x534818
call fcn.0040c930
add esp, 0x20
cmp eax, dword [ebp - 4]
je 0x439e4c
mov edx, dword [ebp + 0xc]
push edx
push str.failed_to_write__s__disk_full___n
push 0x4d6b44
call fcn.00422ff0
add esp, 0xc
jmp 0x439ed8
mov eax, dword [ebp - 4]
cdq
add eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
adc ecx, edx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 4]
cdq
mov ecx, dword [ebp - 0x238]
sub ecx, eax
mov eax, dword [ebp - 0x234]
sbb eax, edx
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], eax
cmp dword [ebp + 0x1c], 0
je 0x439e98
mov ecx, dword [ebp - 4]
push ecx
push 0x534818
lea ecx, [ebp - 0x1c0]
call fcn.00412170
push 0x4d6b4c
push 0
push 0x3e8
mov edx, dword [ebp - 0x74]
push edx
mov eax, dword [ebp - 0x78]
push eax
call fcn.004bec70
push edx
push eax
push 0
push 0x3e8
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.004bec70
push edx
push eax
mov ecx, 0x56b6c8
call fcn.0040c0c0
jmp 0x439d2a
mov eax, dword [ebp - 0x23c]
push eax
call fcn.004bf349
add esp, 4
cmp dword [ebp + 0x1c], 0
je 0x439f07
push 0x10
lea ecx, [ebp - 0x1c0]
call fcn.00413330
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.004bed60
add esp, 0xc
cmp dword [ebp + 0x14], 0
jl 0x439f7a
jg 0x439f15
cmp dword [ebp + 0x10], 0
jb 0x439f7a
mov edx, dword [ebp - 0x78]
cmp edx, dword [ebp + 0x10]
jne 0x439f25
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp + 0x14]
je 0x439f7a
lea ecx, [ebp - 0x70]
push ecx
push 1
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00401b10
add esp, 0x10
push eax
lea ecx, [ebp - 0x228]
push ecx
push 1
mov edx, dword [ebp - 0x74]
push edx
mov eax, dword [ebp - 0x78]
push eax
call fcn.00401b10
add esp, 0x10
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.__incomplete_file__cleaning_up:__s___s__s__n
push 0x56b6c8
call fcn.0040c320
add esp, 0x14
mov edx, dword [ebp + 0xc]
push edx
call fcn.004bfd84
add esp, 4
jmp 0x439fae
cmp dword [0x56b184], 2
jge 0x439fae
push 0
push 1
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.00401b10
add esp, 0x10
push eax
mov edx, dword [ebp + 0xc]
push edx
push 0x4d6b7c
push 0x56b6c8
call fcn.0040c320
add esp, 0x10
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0x1c0]
call fcn.00412160
mov eax, dword [ebp - 0x244]
mov esp, ebp
pop ebp
ret