Function at 0x403270
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push 0x10
push 1
mov eax, edx
xorps xmm0, xmm0
push 0x10000
push 0
mov dword [ebp - 0x1c], eax
mov edi, ecx
movlpd qword [ebp - 0x18], xmm0
call fcn.00402240
add esp, 0x10
mov ecx, edi
call fcn.00401680
mov ecx, edi
call fcn.00401790
test eax, eax
jne 0x4032ce
push str.timeout_reached_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00401050
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
cmp dword [edi + 0x20], 6
jge 0x4032d9
or ecx, 0xffffffff
jmp 0x4032ef
mov eax, dword [edi]
movzx ecx, byte [eax]
movzx eax, byte [eax + 1]
shl ecx, 8
or ecx, eax
cmp ecx, 0x80
je 0x403311
push ecx
push str.unexpected_response__0x_04x__n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00401050
add esp, 0xc
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov edx, dword [ebp - 0x14]
mov esi, 0x2f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [ebp - 0x28], 4
xor ebx, ebx
mov eax, esi
bts ecx, eax
cmp eax, 0x20
push 0xc
cmovae ebx, ecx
xor ecx, ebx
cmp eax, 0x40
cmovae ebx, ecx
add ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
adc ebx, edx
mov edx, ecx
add edx, 0xfff00000
mov dword [ebp - 0x14], ebx
mov ecx, edx
mov byte [ebp - 0x24], dl
adc ebx, 0xffffffff
mov eax, ebx
mov byte [ebp - 0x20], bl
shrd ecx, eax, 8
mov eax, ebx
mov byte [ebp - 0x23], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, ebx
shrd edx, eax, 0x18
mov eax, ebx
mov byte [ebp - 0x22], cl
shr eax, 8
mov ecx, edi
mov byte [ebp - 0x1f], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0x1e], al
lea eax, [ebp - 0x28]
mov byte [ebp - 0x21], dl
mov edx, 0x11
shr ebx, 0x18
push eax
mov byte [ebp - 0x1d], bl
call fcn.00401550
add esp, 8
mov ecx, edi
call fcn.00401680
mov ecx, edi
call fcn.00401790
mov ecx, edi
call fcn.00401af0
cmp eax, 0x93
jne 0x4033d0
mov ebx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edx
jmp 0x4033d6
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
dec esi
cmp esi, 0x14
jge 0x403322
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push edx
push ebx
push dword [ebp - 0x1c]
push str.partition_size:__s__0x_llx_n
push 2
call esi
add esp, 4
push eax
call fcn.00401050
add esp, 0x14
mov edx, 0x12
mov ecx, edi
push 0
push 0
call fcn.00401550
add esp, 8
mov ecx, edi
call fcn.00401680
mov ecx, edi
call fcn.00401790
test eax, eax
jne 0x403442
push str.timeout_reached_n
push 2
call esi
add esp, 4
push eax
call fcn.00401050
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
cmp dword [edi + 0x20], 6
jge 0x40344d
or ecx, 0xffffffff
jmp 0x403463
mov eax, dword [edi]
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
shl eax, 8
or ecx, eax
cmp ecx, 0x80
je 0x403481
push ecx
push str.unexpected_response__0x_04x__n
push 2
call esi
add esp, 4
push eax
call fcn.00401050
add esp, 0xc
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov edx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret