Function at 0x402a80
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x6812a8]
mov edx, dword [eax + 4]
push ebx
or ebx, 0xffffffff
cmp edx, ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
je 0x40271a
mov esi, dword [0x67db18]
lea eax, [edx + edx*2]
shl eax, 6
sub eax, edx
lea eax, [eax + eax*2]
add esi, edx
lea esi, [esi + eax*2 + 0x203d8]
jmp 0x40271c
xor esi, esi
mov eax, dword [ecx + 4]
xor edi, edi
cmp eax, edi
jne 0x40272a
mov eax, 0x6264b0
push eax
lea ecx, [ebp - 0xd4]
call fcn.00402c70
lea ecx, [ebp - 0xd4]
push 0x64a334
push ecx
call fcn.00606760
add esp, 8
test eax, eax
jne 0x40278d
cmp esi, edi
je 0x40278d
lea ebx, [esi + 0x91]
mov esi, ebx
cmp dword [esi], 0xffffffff
jne 0x40276b
push edi
push 5
push 0xd
mov ecx, ebx
call fcn.00449ff0
inc edi
add esi, 4
cmp edi, 7
jl 0x40275a
mov ecx, dword [0x67d8a4]
push 1
push 1
push 1
call fcn.00415cf0
or ebx, 0xffffffff
jmp 0x402a74
lea edx, [ebp - 0xd4]
push 0x64a324
push edx
call fcn.00606760
add esp, 8
test eax, eax
jne 0x4027e4
cmp esi, edi
je 0x4027e4
lea ebx, [esi + 0x91]
mov esi, ebx
cmp dword [esi], 0xffffffff
jne 0x4027c2
push edi
push 0xa
push 0x42
mov ecx, ebx
call fcn.00449ff0
inc edi
add esi, 4
cmp edi, 7
jl 0x4027b1
mov ecx, dword [0x67d8a4]
push 1
push 1
push 1
call fcn.00415cf0
or ebx, 0xffffffff
jmp 0x402a74
lea eax, [ebp - 0xd4]
push 0x64a31c
push eax
call fcn.00606760
add esp, 8
test eax, eax
jne 0x402878
cmp esi, edi
je 0x402878
push 5
mov ecx, esi
call fcn.004cf7d0
test eax, eax
jne 0x402825
push 1
push edi
lea ecx, [ebp - 8]
push ecx
mov ecx, esi
mov dword [ebp - 8], 5
mov dword [ebp - 4], ebx
call fcn.004d83e0
push 4
mov ecx, esi
call fcn.004cf7d0
test eax, eax
jne 0x40284a
push 1
push edi
lea edx, [ebp - 8]
push edx
mov ecx, esi
mov dword [ebp - 8], 4
mov dword [ebp - 4], ebx
call fcn.004d83e0
push 6
mov ecx, esi
call fcn.004cf7d0
test eax, eax
jne 0x402a74
push 1
push edi
lea eax, [ebp - 8]
push eax
mov ecx, esi
mov dword [ebp - 8], 6
mov dword [ebp - 4], ebx
call fcn.004d83e0
jmp 0x402a74
lea ecx, [ebp - 0xd4]
push 0x64a310
push ecx
call fcn.00606760
add esp, 8
test eax, eax
jne 0x4028ae
cmp esi, edi
je 0x4028ae
movsx ecx, word [esi + 0x55]
call fcn.004d0370
push 1
push 1
push eax
mov ecx, esi
call fcn.004d8440
jmp 0x402a74
lea edx, [ebp - 0xd4]
push 0x64a300
push edx
call fcn.00606760
add esp, 8
test eax, eax
jne 0x4028d9
cmp esi, edi
je 0x4028d9
or dword [esi + 0x105], 0x400000
jmp 0x402b4a
lea eax, [ebp - 0xd4]
push 0x64a2f4
push eax
call fcn.00606760
add esp, 8
test eax, eax
jne 0x402918
cmp esi, edi
je 0x402918
mov eax, dword [esi + 0x105]
or eax, 0x1000000
mov ecx, esi
mov dword [esi + 0x105], eax
call fcn.004d97f0
mov dword [esi + 0x4d], eax
mov dword [esi + 0x49], eax
jmp 0x402a74
lea ecx, [ebp - 0xd4]
push 0x64a2e0
push ecx
call fcn.00606760
add esp, 8
test eax, eax
jne 0x402943
cmp esi, edi
je 0x402943
or dword [esi + 0x105], 0x800000
jmp 0x402b4a
lea edx, [ebp - 0xd4]
push 0x64a2d4
push edx
call fcn.00606760
add esp, 8
test eax, eax
jne 0x402974
mov eax, dword [0x6812a8]
mov byte [eax + 0x38], 0x30
mov ecx, dword [0x67d8a4]
call fcn.0041a740
jmp 0x402a74
lea ecx, [ebp - 0xd4]
push 0x64a2c0
push ecx
call fcn.00606760
add esp, 8
test eax, eax
jne 0x4029f1
mov ecx, dword [0x67db18]
xor edx, edx
mov dl, byte [ecx + 0x1ead8]
inc edx
test edx, edx
jle 0x4029ca
mov eax, dword [0x6812a0]
push 0
push 0xc8
push eax
push edi
push 0
push 0
call fcn.00497960
mov ecx, dword [0x67db18]
xor edx, edx
mov dl, byte [ecx + 0x1ead8]
inc edi
inc edx
cmp edi, edx
jl 0x40299f
test esi, esi
je 0x4029dd
mov ecx, dword [0x67d8a4]
push 0
push 0
call fcn.0040ebb0
mov ecx, dword [0x67d8a4]
push 0
push 1
call fcn.00417350
jmp 0x402a74
lea eax, [ebp - 0xd4]
push 0x64a2b4
push eax
call fcn.00606760
add esp, 8
test eax, eax
jne 0x402a52
xor ecx, ecx
mov eax, 0x9c
mov esi, dword [0x6812a8]
mov edi, dword [eax + esi]
xor edx, edx
cmp ecx, 6
setne dl
add eax, 4
dec edx
and edx, 0x1863c
add edx, 0x64
add edi, edx
mov dword [eax + esi - 4], edi
inc ecx
cmp eax, 0xb8
jl 0x402a10
mov eax, dword [0x67d8a4]
mov ecx, dword [eax + 0x44]
mov ecx, dword [ecx + 0x58]
push 1
push 1
call fcn.0054a7a0
jmp 0x402a74
lea edx, [ebp - 0xd4]
push 0x64a2a0
push edx
call fcn.00606760
add esp, 8
test eax, eax
jne 0x402ad7
mov ecx, 2
call fcn.004e6a20
mov eax, dword [0x68ba40]
mov ecx, dword [eax + 0x20]
mov esi, dword [ecx + 0x414]
xor eax, eax
mov ecx, ebx
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x402a99
call fcn.005f804b
mov edi, dword [ebp - 0xc]
mov ecx, dword [edi + 4]
xor edx, edx
cmp ecx, edx
je 0x402bf1
mov al, byte [ecx - 1]
test al, al
je 0x402bf1
cmp al, 0xff
je 0x402bf1
cmp ebx, edx
jne 0x402c15
dec al
mov byte [ecx - 1], al
mov dword [edi + 4], edx
mov dword [edi + 8], edx
mov dword [edi + 0xc], edx
jmp 0x402c3d
lea eax, [ebp - 0xd4]
push 0x64a288
push eax
call fcn.00606760
add esp, 8
test eax, eax
jne 0x402af9
mov ecx, 1
jmp 0x402a6f
lea ecx, [ebp - 0xd4]
push 0x64a274
push ecx
call fcn.00606760
add esp, 8
test eax, eax
jne 0x402b60
cmp esi, edi
je 0x402b60
push edi
mov ecx, esi
mov word [esi + 0x18], 0x3e7
call fcn.004cf820
test eax, eax
jne 0x402b3c
push 1
push 1
lea edx, [ebp - 8]
push edx
mov ecx, esi
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
call fcn.004d83e0
push edi
mov ecx, esi
call fcn.004cf930
inc edi
cmp edi, 0x46
jl 0x402b3c
mov ecx, dword [0x67d8a4]
push 1
push 1
push 1
call fcn.00415cf0
jmp 0x402a74
lea eax, [ebp - 0xd4]
push 0x64a264
push eax
call fcn.00606760
add esp, 8
test eax, eax
jne 0x402b8d
mov al, byte [0x68e424]
test al, al
sete cl
mov byte [0x68e424], cl
jmp 0x402a74
lea edx, [ebp - 0xd4]
push 0x64a254
push edx
call fcn.00606760
add esp, 8
test eax, eax
jne 0x402c60
mov dl, byte [0x682442]
test dl, dl
sete al
test al, al
mov byte [0x682442], al
jne 0x402bd7
call fcn.0054ab60
mov ecx, dword [0x67d8a4]
push edi
push 1
call fcn.00417350
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0054acd0
mov ecx, dword [0x67d8a4]
push edi
push 1
call fcn.00417350
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, edx
jne 0x402c00
push 1
mov ecx, edi
call fcn.00404140
jmp 0x402c3d
mov eax, dword [edi + 0xc]
cmp eax, 0x1f
ja 0x402c0c
cmp eax, ebx
jae 0x402c1d
push 1
mov ecx, edi
call fcn.00404140
push ebx
mov ecx, edi
call fcn.004049b0
mov edi, dword [edi + 4]
mov eax, dword [ebp - 0xc]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [eax + 8], ebx
mov eax, dword [eax + 4]
mov byte [eax + ebx], 0
mov ecx, dword [0x67db18]
mov byte [ecx + 0x1e53c], 1
mov al, byte [0x67be98]
test al, al
je 0x402c60
mov edx, dword [0x67db18]
mov byte [edx + 0x1e300], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret