Function at 0x407ad0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xadc
push esi
push edi
sub esp, 0xc
mov ecx, esp
lea eax, [ebp + 0xc]
push eax
call fcn.0041c2b0
lea ecx, [ebp - 0xad0]
push ecx
call fcn.00406000
add esp, 0x10
mov ecx, 0xf
mov esi, eax
lea edi, [ebp - 0xa8c]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xf
lea esi, [ebp - 0xa8c]
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
push 0x1ab0dfe
lea ecx, [ebp - 0x50]
call fcn.0041c250
push 0
push 0
push 0
push 1
push 0x1ab0dff
call dword [0x1d671cc]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], 0x100
mov dword [ebp - 8], 0
mov edx, dword [0x1d66e80]
push edx
mov eax, dword [ebp - 0x40]
push eax
call dword [0x1d672a4]
test eax, eax
jne 0x407b64
mov dword [ebp - 8], 1
cmp dword [ebp - 0x58], 0
je 0x407d59
push 0
push 0
push 3
push 0
push 0
movzx ecx, word [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x58]
push eax
call dword [0x1d672c8]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x407d4f
cmp dword [ebp - 8], 0
je 0x407baa
mov dword [ebp - 0x164], 0xc00100
jmp 0x407bb4
mov dword [ebp - 0x164], 0x400100
push 0
mov ecx, dword [ebp - 0x164]
push ecx
push 0
push 0
mov edx, dword [0x1d66cb4]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0x1ab1b58
mov ecx, dword [ebp - 0x54]
push ecx
call dword [0x1d672f8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x407d45
cmp dword [ebp - 8], 0
je 0x407c15
mov edx, dword [ebp - 0x168]
or edx, 0x10300
mov dword [ebp - 0x168], edx
push 4
lea eax, [ebp - 0x168]
push eax
push 0x1f
mov ecx, dword [ebp - 4]
push ecx
call dword [0x1d670d4]
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [0x1d67290]
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x174], 0x100
push 0
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x278]
push ecx
push 0x13
mov edx, dword [ebp - 4]
push edx
call dword [0x1d67310]
test eax, eax
jne 0x407c7c
push 0x1ab1b5c
mov ecx, dword [ebp + 8]
call fcn.0041c250
lea ecx, [ebp - 0x50]
call fcn.0041c310
lea ecx, [ebp + 0xc]
call fcn.0041c310
mov eax, dword [ebp + 8]
jmp 0x407d78
lea eax, [ebp - 0x278]
push eax
call fcn.0041a2d0
add esp, 4
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0xc8
jne 0x407d19
cmp dword [ebp - 0x170], 0
je 0x407d17
lea ecx, [ebp - 0xa50]
push ecx
push 0x7cf
lea edx, [ebp - 0xa48]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [0x1d671f4]
mov dword [ebp - 0xa4c], eax
cmp dword [ebp - 0xa4c], 0
je 0x407cdb
cmp dword [ebp - 0xa50], 0
jne 0x407cdd
jmp 0x407d17
mov ecx, dword [ebp - 0xa50]
mov byte [ebp + ecx - 0xa48], 0
lea edx, [ebp - 0xa48]
push edx
lea eax, [ebp - 0xadc]
push eax
lea ecx, [ebp - 0x50]
call fcn.0041c4c0
push eax
lea ecx, [ebp - 0x50]
call fcn.0041c3b0
lea ecx, [ebp - 0xadc]
call fcn.0041c310
jmp 0x407ca6
jmp 0x407d3b
push 0x1ab1b64
mov ecx, dword [ebp + 8]
call fcn.0041c250
lea ecx, [ebp - 0x50]
call fcn.0041c310
lea ecx, [ebp + 0xc]
call fcn.0041c310
mov eax, dword [ebp + 8]
jmp 0x407d78
mov ecx, dword [ebp - 4]
push ecx
call dword [0x1d671c8]
mov edx, dword [ebp - 0x54]
push edx
call dword [0x1d671c8]
mov eax, dword [ebp - 0x58]
push eax
call dword [0x1d671c8]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041c2b0
lea ecx, [ebp - 0x50]
call fcn.0041c310
lea ecx, [ebp + 0xc]
call fcn.0041c310
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret