Function at 0x402c50
Capabilities:
Check http status code

Disassembly:
sub esp, 0x28
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov ebx, dword [esp + 0x2c]
xor eax, eax
push esi
push edi
mov dword [esp + 0x30], edx
mov esi, 0x1adcb804
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x1c]
lea esp, [esp]
cmp esi, 0x1adcb804
jg 0x402e01
je 0x402df7
cmp esi, 0xb8d2ed0
jg 0x402dab
je 0x402d7a
cmp esi, 0x371e1b0
je 0x402d1e
cmp esi, 0x854de9b
jne 0x402dbf
test ebp, ebp
je 0x402cd4
mov esi, dword [ebp + 4]
mov edi, dword [ebp]
jmp 0x402cd8
xor esi, esi
xor edi, edi
mov eax, dword [0x40dfec]
test eax, eax
jne 0x402cfc
mov ecx, 0x2911d7d0
call fcn.00403f40
mov edx, 0x437349fa
mov ecx, eax
call fcn.00403ea0
mov dword [0x40dfec], eax
push esi
push edi
push 0xffffffffffffffff
push dword [esp + 0x4c]
push ebx
call eax
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xf7e4b2e0
add esi, 0xb8d2ed0
jmp 0x402c88
mov eax, dword [0x40e06c]
mov dword [esp + 0x28], 4
test eax, eax
jne 0x402d4a
mov ecx, 0x2911d7d0
call fcn.00403f40
mov edx, 0x1d4eee8b
mov ecx, eax
call fcn.00403ea0
mov dword [0x40e06c], eax
push 0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x34]
push ecx
push 0x20000013
push ebx
call eax
test eax, eax
je 0x402ded
cmp dword [esp + 0x2c], 0xc8
jne 0x402ded
mov esi, 0x174460a5
jmp 0x402c90
mov eax, dword [0x40e360]
test eax, eax
jne 0x402d9e
mov ecx, 0x2911d7d0
call fcn.00403f40
mov edx, 0x322e6e1d
mov ecx, eax
call fcn.00403ea0
mov dword [0x40e360], eax
push ebx
call eax
mov esi, 0x2c23e22d
jmp 0x402c90
cmp esi, 0x174460a5
je 0x402dd0
cmp esi, 0x1981d438
je 0x4030d8
cmp esi, 0x18aca77d
je 0x403102
jmp 0x402c88
mov edx, dword [esp + 0x48]
mov ecx, ebx
call fcn.004029f0
mov ecx, dword [esp + 0x10]
test eax, eax
mov eax, 1
cmovne ecx, eax
mov dword [esp + 0x10], ecx
mov esi, 0xb8d2ed0
jmp 0x402c90
mov esi, 0x3692c0dc
jmp 0x402c90
cmp esi, 0x297054b0
jg 0x402fd7
je 0x402f38
cmp esi, 0x1b957c62
je 0x402e79
cmp esi, 0x1e65e403
jne 0x402dbf
mov eax, dword [0x40e05c]
test eax, eax
jne 0x402e47
mov ecx, 0x2911d7d0
call fcn.00403f40
mov edx, 0x1398202c
mov ecx, eax
call fcn.00403ea0
mov dword [0x40e05c], eax
push 0
push 0
push 3
push 0
push 0
push dword [esp + 0x44]
push dword [esp + 0x4c]
push dword [esp + 0x3c]
call eax
mov edi, eax
mov esi, 0x1981d438
test edi, edi
mov dword [esp + 0x1c], edi
mov eax, 0x1b957c62
cmovne esi, eax
jmp 0x402c90
test ebp, ebp
je 0x402e8f
mov ecx, 0x40d200
call fcn.00403560
mov ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x402e93
mov ebx, dword [esp + 0x14]
mov eax, dword [0x40de64]
test eax, eax
jne 0x402eb7
mov ecx, 0x2911d7d0
call fcn.00403f40
mov edx, 0x9a6a6758
mov ecx, eax
call fcn.00403ea0
mov dword [0x40de64], eax
push 0
push 0x844cc300
push 0
push 0
push 0
push dword [esp + 0x50]
push ebx
push edi
call eax
mov ebx, eax
mov eax, dword [0x40df2c]
test eax, eax
jne 0x402ef2
mov ecx, 0xb98d61a4
call fcn.00403f40
mov edx, 0x522321a7
mov ecx, eax
call fcn.00403ea0
mov dword [0x40df2c], eax
call eax
mov esi, eax
mov eax, dword [0x40db6c]
test eax, eax
jne 0x402f1a
mov ecx, 0xb98d61a4
call fcn.00403f40
mov edx, 0x7d9f5ada
mov ecx, eax
call fcn.00403ea0
mov dword [0x40db6c], eax
mov ecx, dword [esp + 0x14]
push ecx
push 0
push esi
call eax
test ebx, ebx
mov esi, 0x2c23e22d
mov eax, 0x854de9b
cmovne esi, eax
jmp 0x402c90
mov eax, dword [0x40dec0]
test eax, eax
jne 0x402f5c
mov ecx, 0x2911d7d0
call fcn.00403f40
mov edx, 0x9c43d6ce
mov ecx, eax
call fcn.00403ea0
mov dword [0x40dec0], eax
push 0
push 0
push 0
push 0
push dword [esp + 0x28]
call eax
test eax, eax
mov dword [esp + 0x20], eax
mov eax, 0x1e65e403
mov esi, 0x18aca77d
cmovne esi, eax
mov eax, dword [0x40df2c]
test eax, eax
jne 0x402fa1
mov ecx, 0xb98d61a4
call fcn.00403f40
mov edx, 0x522321a7
mov ecx, eax
call fcn.00403ea0
mov dword [0x40df2c], eax
call eax
mov edi, eax
mov eax, dword [0x40db6c]
test eax, eax
jne 0x402fc9
mov ecx, 0xb98d61a4
call fcn.00403f40
mov edx, 0x7d9f5ada
mov ecx, eax
call fcn.00403ea0
mov dword [0x40db6c], eax
push dword [esp + 0x18]
push 0
push edi
call eax
jmp 0x402dbf
cmp esi, 0x2c23e22d
je 0x4030a7
cmp esi, 0x3692c0dc
jne 0x402dbf
mov eax, dword [0x40df2c]
mov dword [esp + 0x24], 0x200
test eax, eax
jne 0x40301b
mov ecx, 0xb98d61a4
call fcn.00403f40
mov edx, 0x522321a7
mov ecx, eax
call fcn.00403ea0
mov dword [0x40df2c], eax
call eax
mov esi, eax
mov eax, dword [0x40daf8]
test eax, eax
jne 0x403043
mov ecx, 0xb98d61a4
call fcn.00403f40
mov edx, 0xb27f9f0b
mov ecx, eax
call fcn.00403ea0
mov dword [0x40daf8], eax
push 0x200
push 8
push esi
call eax
mov esi, eax
test esi, esi
je 0x40309d
mov eax, dword [0x40dbe0]
test eax, eax
jne 0x403077
mov ecx, 0x527d12e5
call fcn.00403f40
mov edx, 0x8a375824
mov ecx, eax
call fcn.00403ea0
mov dword [0x40dbe0], eax
lea ecx, [esp + 0x24]
push ecx
push esi
push 0
call eax
test eax, eax
jne 0x403096
sub esp, 8
mov edx, esi
call fcn.00405720
add esp, 8
mov dword [esp + 0x18], eax
mov ecx, esi
call fcn.00404220
mov esi, 0x297054b0
jmp 0x402c90
mov eax, dword [0x40e360]
test eax, eax
jne 0x4030cb
mov ecx, 0x2911d7d0
call fcn.00403f40
mov edx, 0x322e6e1d
mov ecx, eax
call fcn.00403ea0
mov dword [0x40e360], eax
push edi
call eax
mov esi, 0x1981d438
jmp 0x402c90
mov eax, dword [0x40e360]
test eax, eax
jne 0x4030fc
mov ecx, 0x2911d7d0
call fcn.00403f40
mov edx, 0x322e6e1d
mov ecx, eax
call fcn.00403ea0
mov dword [0x40e360], eax
push dword [esp + 0x20]
call eax
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret