Function at 0x402ba0
Capabilities:
Check http status code

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x28]
xor eax, eax
push ebp
mov ebp, dword [esp + 0x3c]
push esi
push edi
mov dword [esp + 0x28], edx
mov esi, 0x1b6686c8
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x24]
mov edi, edi
cmp esi, 0x16b9a71d
jg 0x402e47
je 0x402df1
cmp esi, 0xf450061
jg 0x402d44
je 0x402cee
cmp esi, 0x8075aed
je 0x402c88
cmp esi, 0x8290e48
jne 0x402cd6
test ebp, ebp
je 0x402c2e
mov ecx, str.i_r_m_r_9Br_n
call fcn.004033b0
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x402c32
mov esi, dword [esp + 0x1c]
mov eax, dword [0x40e404]
test eax, eax
jne 0x402c56
mov ecx, 0x10bdc591
call fcn.00403df0
mov edx, 0x99ebd4d5
mov ecx, eax
call fcn.00403d50
mov dword [0x40e404], eax
push 0
push 0x844cc300
push 0
push 0
push 0
push dword [esp + 0x50]
push esi
push edi
call eax
mov ecx, esi
mov ebx, eax
call fcn.00403350
test ebx, ebx
mov esi, 0x1402cc84
mov eax, 0xf450061
cmovne esi, eax
jmp 0x402be0
mov eax, dword [0x40e020]
test eax, eax
jne 0x402cac
mov ecx, 0x10bdc591
call fcn.00403df0
mov edx, 0x9fc26543
mov ecx, eax
call fcn.00403d50
mov dword [0x40e020], eax
push 0
push 0
push 0
push 0
push dword [esp + 0x24]
call eax
mov ecx, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x18], eax
mov esi, 0x2c178272
mov eax, 0x16b9a71d
cmovne esi, eax
call fcn.004040f0
cmp esi, 0x2c178272
jne 0x402be0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
test ebp, ebp
je 0x402cfa
mov esi, dword [ebp + 4]
mov edi, dword [ebp]
jmp 0x402cfe
xor esi, esi
xor edi, edi
mov eax, dword [0x40e16c]
test eax, eax
jne 0x402d22
mov ecx, 0x10bdc591
call fcn.00403df0
mov edx, 0x40f2fa77
mov ecx, eax
call fcn.00403d50
mov dword [0x40e16c], 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, 0xeae5cc6
add esi, 0x212e91c7
jmp 0x402bda
cmp esi, 0x1402cc84
je 0x402dc0
cmp esi, 0x16a7e0b5
jne 0x402cd6
mov ecx, 0x200
mov dword [esp + 0x20], 0x200
call fcn.00404190
mov esi, eax
test esi, esi
je 0x402db6
mov eax, dword [0x40de90]
test eax, eax
jne 0x402d90
mov ecx, 0x6bd100a4
call fcn.00403df0
mov edx, 0x89b6eba9
mov ecx, eax
call fcn.00403d50
mov dword [0x40de90], eax
lea ecx, [esp + 0x20]
push ecx
push esi
push 0
call eax
test eax, eax
jne 0x402daf
sub esp, 8
mov edx, esi
call fcn.00405620
add esp, 8
mov dword [esp + 0x14], eax
mov ecx, esi
call fcn.004040f0
mov esi, 0x8075aed
jmp 0x402be0
mov eax, dword [0x40e094]
test eax, eax
jne 0x402de4
mov ecx, 0x10bdc591
call fcn.00403df0
mov edx, 0x31afdd90
mov ecx, eax
call fcn.00403d50
mov dword [0x40e094], eax
push edi
call eax
mov esi, 0x1e0b0199
jmp 0x402be0
mov eax, dword [0x40de3c]
test eax, eax
jne 0x402e15
mov ecx, 0x10bdc591
call fcn.00403df0
mov edx, 0x101993a1
mov ecx, eax
call fcn.00403d50
mov dword [0x40de3c], eax
push 0
push 0
push 3
push 0
push 0
push dword [esp + 0x3c]
push dword [esp + 0x44]
push dword [esp + 0x34]
call eax
mov edi, eax
mov esi, 0x1e0b0199
test edi, edi
mov dword [esp + 0x24], edi
mov eax, 0x8290e48
cmovne esi, eax
jmp 0x402be0
cmp esi, 0x1e0b0199
jg 0x402e9a
je 0x402f37
cmp esi, 0x18a5a270
je 0x402e73
cmp esi, 0x1b6686c8
jne 0x402cd6
mov esi, 0x16a7e0b5
jmp 0x402be0
mov edx, dword [esp + 0x48]
mov ecx, ebx
call fcn.00402930
mov ecx, dword [esp + 0x10]
test eax, eax
mov eax, 1
cmovne ecx, eax
mov dword [esp + 0x10], ecx
mov esi, 0x212e91c7
jmp 0x402be0
cmp esi, 0x212e91c7
je 0x402f06
cmp esi, 0x2fdcee8d
jne 0x402cd6
mov eax, dword [0x40e360]
mov dword [esp + 0x30], 4
test eax, eax
jne 0x402eda
mov ecx, 0x10bdc591
call fcn.00403df0
mov edx, 0x1ecf5d06
mov ecx, eax
call fcn.00403d50
mov dword [0x40e360], eax
push 0
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x3c]
push ecx
push 0x20000013
push ebx
call eax
test eax, eax
je 0x402e90
cmp dword [esp + 0x34], 0xc8
jne 0x402e90
mov esi, 0x18a5a270
jmp 0x402be0
mov eax, dword [0x40e094]
test eax, eax
jne 0x402f2a
mov ecx, 0x10bdc591
call fcn.00403df0
mov edx, 0x31afdd90
mov ecx, eax
call fcn.00403d50
mov dword [0x40e094], eax
push ebx
call eax
mov esi, 0x1402cc84
jmp 0x402be0
mov eax, dword [0x40e094]
test eax, eax
jne 0x402f5b
mov ecx, 0x10bdc591
call fcn.00403df0
mov edx, 0x31afdd90
mov ecx, eax
call fcn.00403d50
mov dword [0x40e094], eax
push dword [esp + 0x18]
call eax
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret