Function at 0x4380c0
Capabilities:
Check http status code

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b80eb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x288
push esi
push edi
mov eax, dword [0x4ed214]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x298]
call fcn.00460230
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x3dd98]
cmp eax, 0x1f4
jg 0x438706
je 0x43851c
test eax, eax
je 0x438444
cmp eax, 0xa
je 0x438180
cmp eax, 0x190
jne 0x4388a3
mov eax, dword [0x5d90f0]
mov byte [esi + 0xc8491], 0
cmp eax, 2
jne 0x438156
push 0xf
jmp 0x438166
cmp eax, 4
jne 0x43815f
push 0x19
jmp 0x438166
cmp eax, 3
jne 0x43816d
push 0x10
mov ecx, esi
call fcn.00441d00
mov dword [esi + 0x3dd98], 0x1f4
jmp 0x4388a3
cmp byte [esi + 0xc8450], 0
jne 0x438180
push 0x22
mov ecx, esi
call fcn.00413a30
lea eax, [esi + 0x3be8c]
mov ecx, 0x186
mov dword [ebp - 0x28], eax
mov edi, eax
mov dword [ebp - 0x14], ecx
cmp byte [edi], 0
je 0x4381c1
inc ecx
add edi, 0xcc
mov dword [ebp - 0x14], ecx
cmp ecx, 0x190
jl 0x4381a5
or ecx, 0xffffffff
jmp 0x4381ed
lea ecx, [edi + 0xb4]
mov byte [edi], 1
call fcn.0046a6d0
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0xb0], 0
mov dword [edi + 0xac], 0
mov dword [edi + 4], 1
mov dword [0x5d9108], ecx
cmp ecx, 0xffffffff
je 0x43824a
mov dl, byte [esi + 0x6d48]
mov dword [ebp - 0x3c], 0
test dl, dl
je 0x438211
mov eax, dword [esi + 0x6d4c]
jmp 0x438217
mov eax, dword [esi + 0x6d10]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
test dl, dl
je 0x43822d
mov eax, dword [esi + 0x6d50]
jmp 0x438233
mov eax, dword [esi + 0x6d14]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push 0x22
push ecx
push 1
mov ecx, esi
call fcn.00430320
mov eax, dword [0x5d90f4]
lea ecx, [esi + 0xf47c]
push str.Query
mov dword [ebp - 0x20], eax
call fcn.00406be0
push 0x4f9440
lea ecx, [esi + 0xf47c]
call fcn.00407210
push 0x4f94c4
lea ecx, [esi + 0xf47c]
call fcn.00407210
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4382a3
cmp byte [eax + esi + 0xc81ee], 0
jne 0x4382a3
push 0x4f95cc
lea ecx, [esi + 0xf47c]
call fcn.00407210
xor edx, edx
mov byte [esi + 0xf4ac], 1
mov dword [ebp - 0x14], edx
lea ecx, [esi + 0x3be8c]
mov eax, 0x186
mov edi, ecx
mov dword [ebp - 0x20], eax
nop
cmp byte [edi], 0
je 0x4382db
inc eax
add edi, 0xcc
mov dword [ebp - 0x20], eax
cmp eax, 0x190
jl 0x4382c0
or eax, 0xffffffff
jmp 0x438310
lea ecx, [edi + 0xb4]
mov byte [edi], 1
call fcn.0046a6d0
mov eax, dword [ebp - 0x20]
lea ecx, [esi + 0x3be8c]
mov edx, dword [ebp - 0x14]
mov dword [edi + 0xb0], 0
mov dword [edi + 0xac], 0
mov dword [edi + 4], 1
mov dword [edx*4 + 0x5d90fc], eax
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 2
jl 0x4382b5
mov edi, 0x186
cmp byte [ecx], 0
je 0x438341
inc edi
add ecx, 0xcc
mov dword [ebp - 0x28], ecx
cmp edi, 0x190
jl 0x438325
or edi, 0xffffffff
jmp 0x438370
mov byte [ecx], 1
add ecx, 0xb4
call fcn.0046a6d0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0xb0], 0
mov dword [eax + 0xac], 0
mov dword [eax + 4], 1
mov ecx, dword [0x5d90fc]
mov dword [0x5d9104], edi
cmp ecx, 0xffffffff
je 0x4383e9
cmp edi, 0xffffffff
je 0x4383e9
mov eax, dword [0x5d90f0]
push 0x507fe8
push 0
push dword [edx*4 + 0x4c4b58]
mov edi, dword [eax*4 + 0x4c4b60]
push 0xa
push ecx
push 1
mov ecx, esi
call fcn.00430320
lea eax, [edi*8]
mov ecx, esi
shl edi, 4
add edi, 0x508008
push edi
push dword [eax + 0x4c4b84]
push dword [eax + 0x4c4b80]
push 9
push dword [0x5d9104]
push 1
call fcn.00430320
mov dword [esi + 0x3dd98], 0x190
jmp 0x4388a3
mov eax, dword [esi + 0x218]
lea ecx, [esi + 0x218]
mov eax, dword [eax + 0x14]
call eax
push 0x10010
push 0x4d9c24
push 0x4d8bf0
test eax, eax
jne 0x438423
push eax
call dword [0x4bb31c]
mov dword [esi + 0x3dd98], 0x320
jmp 0x4388a3
mov eax, dword [esi + 0x218]
lea ecx, [esi + 0x218]
call dword [eax + 0xb8]
mov dword [esi + 0x3dd98], 0x320
jmp 0x4388a3
mov al, byte [esi + 0xf4ac]
mov dword [0x5d90f8], 0xffffffff
mov dword [0x5d90fc], 0xffffffff
mov dword [0x5d9100], 0xffffffff
mov dword [0x5d9104], 0xffffffff
mov dword [0x5d9108], 0xffffffff
mov dword [0x5d9110], 0xffffffff
mov dword [0x5d910c], 0xffffffff
mov byte [0x5d9118], al
cmp byte [esi + 0xc8450], 0
jne 0x438495
mov eax, dword [esi + 0xd884]
mov ecx, esi
push 0
push 9
push str.querychip.kg
mov byte [esi + 0xc8491], 1
mov dword [0x5d9114], eax
mov dword [esi + 0xd884], 0
call fcn.0041b880
mov ecx, esi
test al, al
jne 0x4384e4
call fcn.004137a0
mov dword [esi + 0x3dd98], 0x320
jmp 0x4388a3
push 0
push 0xa
push str.querybase.kg
call fcn.0041b880
mov ecx, esi
test al, al
je 0x4384d0
push 0
push 0x12
push str.beta.kg
call fcn.0041b880
mov ecx, esi
call fcn.004137a0
mov dword [esi + 0x3dd98], 0xa
jmp 0x4388a3
mov eax, dword [esi + 0xee04]
lea edi, [esi + 0xf47c]
and eax, 0x1004001
mov ecx, edi
neg eax
sbb eax, eax
neg eax
push eax
push dword [esi + 0xeea4]
push dword [esi + 0xeea0]
push dword [esi + 0xf45c]
call fcn.004075f0
mov eax, dword [esi + 0xf494]
sub eax, 1
je 0x4386f7
sub eax, 1
je 0x438675
sub eax, 1
je 0x438684
mov edx, dword [esi + 0xee08]
mov ecx, edx
mov edi, dword [esi + 0xee04]
mov eax, edi
shr ecx, 1
shr eax, 1
xor al, cl
and al, cl
test al, 1
jne 0x438675
mov ecx, edi
mov eax, edx
shr ecx, 0xd
shr eax, 0xd
xor al, cl
and al, cl
test al, 1
jne 0x438675
mov ecx, edi
mov eax, edx
shr ecx, 0x12
shr eax, 0x12
xor al, cl
and al, cl
test al, 1
je 0x438609
mov eax, dword [0x4f9448]
mov ecx, dword [0x4f9444]
add eax, 2
add ecx, 2
mov dword [ebp - 0x18], eax
push eax
push ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
push eax
lea ecx, [esi + 0x2f0]
call fcn.0045fad0
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
lea ecx, [esi + 0x218]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
call dword [eax + 0x60]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [0x4bb340]
jmp 0x4388a3
mov eax, dword [esi + 0xee04]
shr eax, 0x13
shr edx, 0x13
xor dl, al
and dl, al
test dl, 1
je 0x4388a3
mov eax, dword [0x4f94cc]
mov ecx, dword [0x4f94c8]
add eax, 2
add ecx, 2
mov dword [ebp - 0x18], eax
push eax
push ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
push eax
lea ecx, [esi + 0x2f0]
call fcn.0045fad0
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
lea ecx, [esi + 0x218]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
call dword [eax + 0x60]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [0x4bb340]
jmp 0x4388a3
mov dword [0x5d90f8], 0
jmp 0x438899
mov ecx, dword [0x5d90f4]
push 3
test ecx, ecx
jne 0x4386be
cmp byte [esi + 0xc81fd], cl
mov ecx, edi
sete al
mov byte [esi + 0xc81fd], al
call fcn.004074c0
cmp byte [esi + 0xc81fd], 0
jmp 0x4386e4
push 0x4f95cc
call fcn.00407210
jmp 0x4388a3
cmp byte [ecx + esi + 0xc81ee], 0
sete al
mov byte [ecx + esi + 0xc81ee], al
mov ecx, edi
call fcn.004074c0
mov eax, dword [0x5d90f4]
cmp byte [eax + esi + 0xc81ee], 0
mov ecx, edi
je 0x4386af
push 0x4f9650
call fcn.00407210
jmp 0x4388a3
mov dword [0x5d90f8], 1
jmp 0x438899
sub eax, 0x320
je 0x438860
sub eax, 0x64
jne 0x4388a3
nop word [eax + eax]
cmp byte [esi + 0xc8450], 0
jne 0x438720
lea ecx, [esi + 0xf47c]
call fcn.00406e90
mov ecx, esi
call fcn.0041e440
mov al, byte [0x5d9118]
mov byte [esi + 0xf4ac], al
mov eax, dword [0x5d90fc]
mov dword [esi + 0x3dd98], 0
cmp eax, 0xffffffff
je 0x43877a
cmp eax, 0x18f
ja 0x43877a
imul eax, eax, 0xcc
mov byte [eax + esi + 0x287c4], 0
mov dword [eax + esi + 0x287c8], 0xffffffff
mov eax, dword [0x5d9100]
cmp eax, 0xffffffff
je 0x4387a4
cmp eax, 0x18f
ja 0x4387a4
imul eax, eax, 0xcc
mov byte [eax + esi + 0x287c4], 0
mov dword [eax + esi + 0x287c8], 0xffffffff
mov eax, dword [0x5d9104]
cmp eax, 0xffffffff
je 0x4387ce
cmp eax, 0x18f
ja 0x4387ce
imul eax, eax, 0xcc
mov byte [eax + esi + 0x287c4], 0
mov dword [eax + esi + 0x287c8], 0xffffffff
mov eax, dword [0x5d9108]
cmp eax, 0xffffffff
je 0x4387f8
cmp eax, 0x18f
ja 0x4387f8
imul eax, eax, 0xcc
mov byte [eax + esi + 0x287c4], 0
mov dword [eax + esi + 0x287c8], 0xffffffff
mov eax, dword [0x5d910c]
cmp eax, 0xffffffff
je 0x438822
cmp eax, 0x18f
ja 0x438822
imul eax, eax, 0xcc
mov byte [eax + esi + 0x287c4], 0
mov dword [eax + esi + 0x287c8], 0xffffffff
cmp byte [esi + 0xc7f78], 0
mov byte [esi + 0x3c684], 0
je 0x438853
lea ecx, [esi + 0x2b54]
call fcn.00457ee0
lea ecx, [esi + 0x2df4]
call fcn.00457ee0
lea ecx, [esi + 0x42f4]
call fcn.00457ee0
mov eax, dword [0x5d9114]
mov dword [esi + 0xd884], eax
jmp 0x4388a3
mov eax, dword [esi + 0x218]
lea ecx, [esi + 0x218]
push 0x10021
push 0x4d8be8
push 0x4d8c14
mov eax, dword [eax + 0xb8]
call eax
mov ecx, dword [0x5d90f8]
mov edx, 1
cmp eax, edx
cmove ecx, edx
mov dword [0x5d90f8], ecx
mov dword [esi + 0x3dd98], 0x384
lea ecx, [ebp - 0x298]
call fcn.004602d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret