Function at 0x40ef3e
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4a620c]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [eax + 0x17c], 0x258
push edi
movzx eax, byte [esi]
mov dword [ebp - 0xc], ecx
push 8
cdq
pop ecx
xor ebx, ebx
idiv ecx
mov eax, dword [0x4a620c]
push 8
mov eax, dword [eax + 0x104]
mov eax, dword [eax + 0x3678]
mov dword [eax], edx
mov eax, dword [0x4a620c]
mov eax, dword [eax + 0x104]
mov ecx, dword [eax + 0x3678]
mov ecx, dword [ecx]
mov byte [ecx + eax + 0x37bc], bl
mov eax, dword [0x4a620c]
mov ecx, dword [eax + 0x104]
mov eax, dword [ecx + 0x366c]
movzx edi, byte [eax]
movzx eax, byte [esi]
cdq
pop esi
idiv esi
mov eax, dword [ecx + 0x3674]
cmp edi, edx
jne 0x40f396
push 1
pop esi
mov dword [eax], esi
mov eax, dword [0x4a620c]
push 3
mov ecx, dword [eax + 0xc5c]
call fcn.0044aae6
mov eax, dword [0x4a620c]
push 0x21
mov ecx, dword [eax + 0xc5c]
call fcn.0044aae6
mov eax, dword [0x4a620c]
push ebx
push esi
push ebx
mov ecx, dword [eax + 0xc5c]
push 0x3f2
push 0x1c4
push ebx
push 3
call fcn.0044a96a
mov eax, dword [0x4a620c]
push ebx
mov ecx, dword [eax + 0x268]
mov eax, dword [eax + 0x104]
add eax, 0x3670
lea edx, [ecx + 0x158]
push edx
push eax
call fcn.00457838
xor edi, edi
lea eax, [edi + 4]
push esi
push eax
mov eax, dword [0x4a620c]
mov ecx, dword [eax + 0xc5c]
call fcn.0044a9d9
inc edi
cmp edi, 0xd
jl 0x40f02e
xor edi, edi
lea eax, [edi + 0x13]
push esi
push eax
mov eax, dword [0x4a620c]
mov ecx, dword [eax + 0xc5c]
call fcn.0044a9d9
inc edi
cmp edi, 8
jl 0x40f04b
mov eax, dword [0x4a620c]
push esi
push 0x23
mov ecx, dword [eax + 0xc5c]
call fcn.0044a9d9
mov eax, dword [0x4a620c]
push esi
push esi
mov ecx, dword [eax + 0xc5c]
call fcn.0044a9d9
mov eax, dword [0x4a620c]
push esi
push 2
mov ecx, dword [eax + 0xc5c]
call fcn.0044a9d9
xor edi, edi
mov dword [ebp - 8], 0x3fe
push dword [ebp - 8]
lea eax, [edi + 4]
push eax
mov eax, dword [0x4a620c]
mov ecx, dword [eax + 0xc5c]
call fcn.0044ab04
add dword [ebp - 8], 4
inc edi
cmp dword [ebp - 8], 0x432
jl 0x40f0a7
mov ecx, dword [ebp - 0xc]
push esi
call fcn.004117d1
mov eax, dword [0x4a620c]
push esi
push 0x65
lea ecx, [eax + 0xc68]
call fcn.0044b121
mov eax, dword [0x4a620c]
push esi
push 0x64
lea ecx, [eax + 0xc68]
call fcn.0044b121
mov eax, dword [0x4a620c]
push esi
push 0x66
lea ecx, [eax + 0xc68]
call fcn.0044b121
mov eax, dword [0x4a620c]
push esi
push 0x67
lea ecx, [eax + 0xc68]
call fcn.0044b121
mov eax, dword [0x4a620c]
mov ecx, dword [eax + 0x104]
mov ecx, dword [ecx + 0x3674]
cmp dword [ecx], ebx
je 0x40f43c
add eax, 0x194
push eax
call fcn.00440234
cmp eax, 2
pop ecx
jne 0x40f2c1
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov byte [ebp - 1], 1
xor esi, esi
mov ecx, dword [0x4a620c]
mov eax, dword [ecx + 0x104]
add eax, esi
cmp byte [eax + 0x37d4], bl
je 0x40f1df
mov al, byte [eax + 0x37cc]
cmp al, 0xc8
je 0x40f1df
movzx eax, al
inc dword [ebp + eax*4 - 0x2c]
add ecx, 0x1f4
lea eax, [ebp + eax*4 - 0x2c]
push ecx
call fcn.00440234
test byte [ebp - 1], al
pop ecx
je 0x40f21e
mov eax, dword [0x4a620c]
mov eax, dword [eax + 0x104]
movzx eax, byte [eax + esi + 0x37cc]
inc dword [ebp + eax*4 - 0x4c]
lea eax, [ebp + eax*4 - 0x4c]
jmp 0x40f21e
add ecx, 0x1f4
push ecx
call fcn.00440234
test byte [ebp - 1], al
pop ecx
je 0x40f21e
mov eax, dword [0x4a620c]
add eax, 0x1f4
push eax
call fcn.00440234
movzx ecx, byte [ebp - 1]
movzx eax, al
sub eax, ecx
push eax
mov eax, dword [0x4a620c]
add eax, 0x1f4
push eax
call fcn.004401eb
add esp, 0xc
shl byte [ebp - 1], 1
inc esi
cmp esi, 8
jl 0x40f185
xor edi, edi
cmp dword [ebp + edi*4 - 0x2c], ebx
je 0x40f2b7
cmp dword [ebp + edi*4 - 0x4c], ebx
jne 0x40f2b7
mov byte [ebp - 1], 1
xor esi, esi
mov ecx, dword [0x4a620c]
mov eax, dword [ecx + 0x104]
add eax, esi
cmp byte [eax + 0x37d4], bl
je 0x40f2ae
mov al, byte [eax + 0x37cc]
cmp al, 0xc8
je 0x40f2ae
movzx eax, al
cmp eax, edi
jne 0x40f2ae
add ecx, 0x1f4
push ecx
call fcn.00440234
pop ecx
mov cl, byte [ebp - 1]
test cl, al
jne 0x40f2ae
mov eax, dword [0x4a620c]
add eax, 0x1f4
push eax
call fcn.00440234
movzx ecx, byte [ebp - 1]
movzx eax, al
add eax, ecx
push eax
mov eax, dword [0x4a620c]
add eax, 0x1f4
push eax
call fcn.004401eb
add esp, 0xc
push 9
pop esi
shl byte [ebp - 1], 1
inc esi
cmp esi, 8
jl 0x40f243
inc edi
cmp edi, 8
jl 0x40f22d
xor eax, eax
mov ecx, dword [0x4a620c]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x104]
mov dl, byte [edx + eax + 1]
mov byte [ecx + eax + 0x37dc], dl
inc eax
cmp eax, 8
jl 0x40f2c3
mov eax, dword [0x4a620c]
add eax, 0x194
push eax
call fcn.00440234
mov esi, eax
mov eax, dword [0x4a620c]
add eax, 0x194
shl esi, 0x10
push eax
mov dword [ebp + 0xc], esi
call fcn.00440234
pop ecx
cmp eax, 2
pop ecx
jne 0x40f328
mov eax, dword [0x4a620c]
add eax, 0x1f4
push eax
call fcn.00440234
add esi, eax
pop ecx
mov dword [ebp + 0xc], esi
mov eax, dword [0x4a620c]
push 0x5380
mov ecx, dword [eax + 0x288]
call fcn.00453f42
mov eax, dword [0x4a620c]
push dword [ebp + 0xc]
mov ecx, dword [eax + 0x288]
mov edx, dword [ecx + 0x2800]
lea eax, [ecx + 0x2800]
mov byte [edx + ecx + 2], 0x12
inc dword [eax]
mov eax, dword [0x4a620c]
mov edi, dword [eax + 0x288]
lea esi, [edi + 0x2800]
call dword [sym.imp.ws2_32.dll_htonl_1]
mov ecx, dword [esi]
push 1
push ebx
mov dword [edi + ecx + 2], eax
add dword [esi], 4
mov eax, dword [0x4a620c]
mov ecx, dword [eax + 0x288]
call fcn.00453f71
jmp 0x40f43c
mov dword [eax], ebx
mov eax, dword [0x4a620c]
push 3
mov ecx, dword [eax + 0xc5c]
call fcn.0044aae6
mov eax, dword [0x4a620c]
push 0x21
mov ecx, dword [eax + 0xc5c]
call fcn.0044aae6
mov eax, dword [0x4a620c]
push ebx
push 1
push ebx
mov ecx, dword [eax + 0xc5c]
push 0x477
push 0x1c4
push ebx
push 0x21
call fcn.0044a96a
mov eax, dword [0x4a620c]
push ebx
push 0x1f
mov ecx, dword [eax + 0xc5c]
call fcn.0044a9d9
mov eax, dword [0x4a620c]
push ebx
push 0x65
lea ecx, [eax + 0xc68]
call fcn.0044b121
mov eax, dword [0x4a620c]
push ebx
push 0x64
lea ecx, [eax + 0xc68]
call fcn.0044b121
mov eax, dword [0x4a620c]
push ebx
push 0x66
lea ecx, [eax + 0xc68]
call fcn.0044b121
mov eax, dword [0x4a620c]
push ebx
push 0x67
lea ecx, [eax + 0xc68]
call fcn.0044b121
pop edi
pop esi
pop ebx
leave
ret 8