Function at 0x40432c
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push ebx
mov ecx, dword [ebp + 0xc]
movzx esi, cl
mov eax, dword [ebp + 0x14]
and eax, dword [ebp + 0x14]
or eax, esi
mov edi, eax
mov ecx, esi
imul ecx, dword [ebp + 0x14]
mov edx, edi
sub edx, ecx
movzx ebx, dl
mov edx, ebx
shr edx, 1
mov word [ebp - 4], dx
mov eax, dword [ebp + 0x14]
sub eax, 0xdc4c00
movzx ecx, word [ebp - 4]
sub eax, ecx
mov edi, eax
mov eax, esi
shr eax, 3
mov word [ebp - 4], ax
movzx edx, word [ebp - 4]
and edx, 0x5600
mov ecx, esi
imul ecx, edx
mov edi, ecx
mov edx, esi
shl edx, 0x18
mov dword [ebp - 8], edx
mov edx, edi
shr edx, 2
mov edi, edx
mov ecx, dword [ebp - 8]
xor ecx, edi
mov dword [ebp - 8], ecx
cmp word [ebp - 4], 0xe817
jne 0x4043b0
mov edx, dword [ebp + 0xc]
and edx, 0xb1cb0000
mov edi, edx
jmp 0x4043f0
cmp word [ebp - 4], 0xa275
jbe 0x4043c1
mov eax, ebx
jmp 0x404636
cmp word [ebp - 4], 0x9683
jb 0x4043d4
movzx eax, word [ebp - 4]
jmp 0x404636
mov cx, word [ebp - 4]
test cx, cx
jne 0x4043f0
push edi
movzx edx, word [ebp - 4]
push edx
movzx ecx, word [ebp - 4]
push ecx
call fcn.00402bb6
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x10]
add edx, 0xce2f00
mov word [ebp - 0xc], dx
mov edx, dword [ebp - 8]
shr edx, 3
mov byte [ebp - 0x10], dl
mov edx, dword [ebp + 0x14]
xor edx, 0xf0000000
mov eax, dword [ebp + 8]
imul eax, edx
movzx esi, al
cmp esi, 0x96
jne 0x40442b
mov ecx, dword [ebp + 0x10]
movzx esi, cl
jmp 0x404609
mov ecx, esi
test cl, cl
jne 0x404609
cmp byte [ebp - 0x10], 0xe0
jbe 0x40444b
movzx edx, word [ebp - 0xc]
sub edx, dword [ebp + 8]
mov word [ebp - 4], dx
jmp 0x404609
cmp byte [ebp - 0x10], 0xc8
jne 0x40446f
push ebx
mov ecx, edi
movzx eax, word [ebp - 4]
xor ecx, eax
xor ecx, 0x6f000000
push ecx
push ebx
push dword [ebp - 8]
call fcn.00404a0c
jmp 0x404609
cmp byte [ebp - 0x10], 0xbc
jb 0x4044c4
mov eax, ebx
and eax, edi
and eax, 0xc0a40cb
push eax
mov eax, esi
and eax, edi
push eax
mov ecx, ebx
or ecx, 0x13
sub ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 8]
or ecx, 0x30b80ac
mov edx, ebx
sub edx, ecx
push edx
mov eax, dword [ebp - 8]
xor eax, 0x9803
mov ecx, ebx
add ecx, eax
push ecx
movzx eax, word [ebp - 4]
push eax
call dword [0x409134]
mov ecx, dword [ebp + 8]
or ecx, 0x8621
mov dword [ebp - 8], ecx
jmp 0x404609
cmp byte [ebp - 0x10], 0x7d
jne 0x4044d8
movzx eax, byte [ebp - 0x10]
jmp 0x404636
mov cl, byte [ebp - 0x10]
test cl, cl
jne 0x404609
mov al, byte [ebp - 0x10]
test al, al
jne 0x4044fe
movzx ecx, word [ebp - 0xc]
push ecx
push esi
push ebx
call fcn.00401be3
movzx ebx, al
jmp 0x404609
cmp byte [ebp - 0x10], 0xba
jbe 0x404510
movzx ecx, word [ebp - 4]
movzx ebx, cl
jmp 0x404609
cmp byte [ebp - 0x10], 0x36
jbe 0x4045e6
movzx ecx, word [ebp - 0xc]
sub ecx, esi
push ecx
push dword [ebp - 8]
call dword [0x409028]
mov eax, ebx
xor eax, 0xd9b2
push eax
push esi
mov edx, edi
imul edx, dword [ebp - 8]
movzx eax, word [ebp - 0xc]
imul edx, eax
push edx
mov ecx, edi
or ecx, 0x5b00
mov edx, dword [ebp - 8]
sub edx, ecx
push edx
call dword [0x409130]
movzx edx, byte [ebp - 0x10]
or edx, 0x676e00
mov ecx, edi
sub ecx, edx
mov word [ebp - 4], cx
movzx ecx, word [ebp - 0xc]
push ecx
movzx ecx, byte [ebp - 0x10]
and ecx, edi
push ecx
push esi
call dword [0x409024]
mov edx, edi
and edx, 0x788d
push edx
call dword [0x409044]
mov edx, esi
or edx, 0x60
push edx
movzx edx, byte [ebp - 0x10]
or edx, 0xbfe4
xor edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x4f65
push ecx
call dword [0x409024]
movzx ebx, al
movzx edx, word [ebp - 4]
movzx eax, byte [ebp - 0x10]
add edx, eax
push edx
call dword [0x40902c]
mov dword [ebp - 8], eax
movzx eax, word [ebp - 0xc]
push eax
call dword [section..rdata]
mov word [ebp - 0xc], ax
movzx ecx, word [ebp - 0xc]
sub ecx, 0x21
add ecx, edi
push ecx
push ebx
call dword [0x409138]
jmp 0x404609
cmp byte [ebp - 0x10], 0x5e
jbe 0x4045ff
mov eax, dword [ebp - 8]
movzx ecx, word [ebp - 0xc]
xor eax, ecx
xor eax, 0x3033
mov byte [ebp - 0x10], al
jmp 0x404609
cmp byte [ebp - 0x10], 0x1e
jb 0x404609
mov eax, esi
jmp 0x404636
mov ecx, dword [ebp - 8]
movzx esi, cl
mov eax, ebx
mov word [ebp - 4], ax
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 0x14], cl
movzx eax, byte [ebp - 0x14]
imul eax, eax, 0x45
mov byte [ebp - 0x14], al
mov eax, esi
mov ecx, 0x58
xor edx, edx
div ecx
movzx esi, al
mov eax, dword [ebp - 8]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10