Function at 0x402c20
Capabilities:
Check http status code

Disassembly:
sub esp, 0x28
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
xor eax, eax
push esi
mov dword [esp + 0x30], ecx
mov esi, 0x21ed7693
mov ebx, dword [esp + 0x30]
push edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x18]
mov edi, edi
cmp esi, 0xdefb712
jg 0x402e75
je 0x402dca
cmp esi, 0x67ae942
jg 0x402d15
je 0x402cee
cmp esi, 0x1e6c40f
je 0x403008
cmp esi, 0x4e6dd92
jne 0x402e64
test ebp, ebp
je 0x402ca4
mov esi, dword [ebp + 4]
mov edi, dword [ebp]
jmp 0x402ca8
xor esi, esi
xor edi, edi
mov eax, dword [0x40e20c]
test eax, eax
jne 0x402ccc
mov ecx, 0x2ba535f4
call fcn.00403f20
mov edx, 0x182fe063
mov ecx, eax
call fcn.00403e80
mov dword [0x40e20c], 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, 0x1a4d9a07
add esi, 0x6b479f3
jmp 0x402c5a
mov edx, dword [esp + 0x48]
mov ecx, ebx
call fcn.004029b0
mov ecx, dword [esp + 0x10]
test eax, eax
mov eax, 1
cmovne ecx, eax
mov dword [esp + 0x10], ecx
mov esi, 0x6b479f3
jmp 0x402c60
cmp esi, 0x6b479f3
je 0x402d99
cmp esi, 0x8581448
jne 0x402e64
test ebp, ebp
je 0x402d3f
mov ecx, 0x40d1f0
call fcn.004034c0
mov esi, eax
mov dword [esp + 0x20], esi
jmp 0x402d43
mov esi, dword [esp + 0x20]
mov eax, dword [0x40e1cc]
test eax, eax
jne 0x402d67
mov ecx, 0x2ba535f4
call fcn.00403f20
mov edx, 0xc136cec1
mov ecx, eax
call fcn.00403e80
mov dword [0x40e1cc], 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.00403460
test ebx, ebx
mov esi, 0x12dff647
mov eax, 0x4e6dd92
cmovne esi, eax
jmp 0x402c60
mov eax, dword [0x40e128]
test eax, eax
jne 0x402dbd
mov ecx, 0x2ba535f4
call fcn.00403f20
mov edx, 0x6972c784
mov ecx, eax
call fcn.00403e80
mov dword [0x40e128], eax
push ebx
call eax
mov esi, 0x12dff647
jmp 0x402c60
mov eax, dword [0x40e12c]
test eax, eax
jne 0x402dee
mov ecx, 0x2ba535f4
call fcn.00403f20
mov edx, 0xc71f7f57
mov ecx, eax
call fcn.00403e80
mov dword [0x40e12c], eax
push 0
push 0
push 0
push 0
push dword [esp + 0x24]
call eax
test eax, eax
mov dword [esp + 0x1c], eax
mov eax, 0x2a5ea3fb
mov esi, 0xe955358
cmovne esi, eax
mov eax, dword [0x40dea8]
test eax, eax
jne 0x402e33
mov ecx, 0xbb398380
call fcn.00403f20
mov edx, 0x97f883e
mov ecx, eax
call fcn.00403e80
mov dword [0x40dea8], eax
call eax
mov edi, eax
mov eax, dword [0x40e1a0]
test eax, eax
jne 0x402e5b
mov ecx, 0xbb398380
call fcn.00403f20
mov edx, 0x26c3f343
mov ecx, eax
call fcn.00403e80
mov dword [0x40e1a0], eax
push dword [esp + 0x14]
push 0
push edi
call eax
cmp esi, 0xe955358
je 0x403032
jmp 0x402c5a
cmp esi, 0x210213fa
jg 0x402f94
je 0x402f34
cmp esi, 0x12dff647
je 0x402f03
cmp esi, 0x1e47f06d
jne 0x402e64
mov ecx, 0x200
mov dword [esp + 0x24], 0x200
call fcn.004042f0
mov esi, eax
test esi, esi
je 0x402ef9
mov eax, dword [0x40dbf0]
test eax, eax
jne 0x402ed3
mov ecx, 0x50c9f0c1
call fcn.00403f20
mov edx, 0xd16bf1bd
mov ecx, eax
call fcn.00403e80
mov dword [0x40dbf0], eax
lea ecx, [esp + 0x24]
push ecx
push esi
push 0
call eax
test eax, eax
jne 0x402ef2
sub esp, 8
mov edx, esi
call fcn.004056a0
add esp, 8
mov dword [esp + 0x14], eax
mov ecx, esi
call fcn.00404250
mov esi, 0xdefb712
jmp 0x402c60
mov eax, dword [0x40e128]
test eax, eax
jne 0x402f27
mov ecx, 0x2ba535f4
call fcn.00403f20
mov edx, 0x6972c784
mov ecx, eax
call fcn.00403e80
mov dword [0x40e128], eax
push edi
call eax
mov esi, 0x1e6c40f
jmp 0x402c60
mov eax, dword [0x40dde8]
mov dword [esp + 0x28], 4
test eax, eax
jne 0x402f60
mov ecx, 0x2ba535f4
call fcn.00403f20
mov edx, 0x46124712
mov ecx, eax
call fcn.00403e80
mov dword [0x40dde8], 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 0x402d0b
cmp dword [esp + 0x2c], 0xc8
jne 0x402d0b
mov esi, 0x67ae942
jmp 0x402c60
cmp esi, 0x21ed7693
je 0x402ffe
cmp esi, 0x2a5ea3fb
jne 0x402e64
mov eax, dword [0x40e178]
test eax, eax
jne 0x402fcc
mov ecx, 0x2ba535f4
call fcn.00403f20
mov edx, 0x48c489b5
mov ecx, eax
call fcn.00403e80
mov dword [0x40e178], eax
push 0
push 0
push 3
push 0
push 0
push dword [esp + 0x44]
push dword [esp + 0x4c]
push dword [esp + 0x38]
call eax
mov edi, eax
mov esi, 0x1e6c40f
test edi, edi
mov dword [esp + 0x18], edi
mov eax, 0x8581448
cmovne esi, eax
jmp 0x402c60
mov esi, 0x1e47f06d
jmp 0x402c60
mov eax, dword [0x40e128]
test eax, eax
jne 0x40302c
mov ecx, 0x2ba535f4
call fcn.00403f20
mov edx, 0x6972c784
mov ecx, eax
call fcn.00403e80
mov dword [0x40e128], eax
push dword [esp + 0x1c]
call eax
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret