Function at 0x435060
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebx + 0x174]
push edi
mov dword [ebp - 0x24], eax
cmp eax, ecx
jne 0x435087
mov dword [ebp - 0x24], 0x36ee80
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + eax*4 + 0xc8]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov byte [ebp - 1], cl
mov byte [ebp - 2], cl
mov dword [ebp - 0x20], ecx
mov byte [esi + 0x132], cl
lea esp, [esp]
cmp byte [esi + 0x129], 0
jne 0x43529b
movzx esi, word [ebp + 0x14]
mov edi, dword [ebp + 0x10]
push esi
push edi
push str._INFO_REPLY
push ebx
call fcn.00424380
mov eax, dword [ebx + 0xcc]
add esp, 0x10
test eax, eax
je 0x4350f2
push eax
call dword [0x4d40dc]
add esp, 4
mov dword [ebx + 0xcc], 0
call fcn.004325c0
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4357cf
push esi
push edi
push str._NAME
call fcn.004265b0
add esp, 0xc
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4357c2
mov esi, dword [ebp + 8]
push 1
push eax
push str.__.2x
call fcn.00432260
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x435271
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xac], 1
mov edi, 0x49fc68
mov esi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], 0x4a3320
je 0x43515d
mov dword [ebp - 0xc], 0x4a3324
push 0x4a310c
push ebx
call fcn.00431d70
add esp, 8
test eax, eax
jne 0x43518a
mov edx, dword [ebp - 0x14]
push edx
push 0x4a38c4
call fcn.004265b0
mov esi, eax
add esp, 8
test esi, esi
je 0x4357db
push 0x4a32fc
push ebx
call fcn.00431d70
add esp, 8
test eax, eax
jne 0x4351a3
mov dword [ebp - 0x10], 0x4a32dc
push 0x4a0e64
push ebx
call fcn.00431d70
add esp, 8
test eax, eax
jne 0x4351c6
cmp dword [ebx + 0x30c], eax
je 0x4351c6
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x144]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x140]
test eax, eax
jne 0x4351d8
mov eax, 0x49fc68
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp - 0x1c]
push edi
push eax
mov eax, dword [ebp - 0xc]
push esi
push eax
movzx eax, word [ebp + 0x14]
push eax
push ecx
push 0x4a38a0
push edx
call fcn.00432da0
add esp, 0x24
mov edi, eax
test esi, esi
je 0x435212
cmp byte [esi], 0
je 0x435212
push esi
call dword [0x4d40dc]
add esp, 4
test edi, edi
jne 0x43525b
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
push esi
push eax
call fcn.00432e80
mov edi, eax
add esp, 8
test edi, edi
jne 0x43525b
push 0x4a00c4
push esi
call fcn.00432da0
mov edi, eax
add esp, 8
test edi, edi
jne 0x43525b
mov ecx, dword [ebp + 0xc]
push ecx
push eax
mov eax, dword [ebp + 8]
lea edx, [ebx + 0x85b0]
push edx
push eax
push esi
call fcn.004325d0
add esp, 0x14
mov edi, eax
xor esi, esi
test edi, edi
je 0x435274
push 0x4a3880
push ebx
call fcn.00424400
add esp, 8
jmp 0x435274
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [0x4d40dc]
push esi
call fcn.0041bca0
add esp, 8
test edi, edi
jne 0x4357fe
mov edx, dword [ebp + 8]
mov byte [edx + 0x129], 1
mov esi, edx
mov eax, dword [esi + 0xbc]
mov ecx, dword [esi + 0xb8]
push eax
push ecx
call fcn.00437a20
push edx
push eax
call fcn.00437a50
mov edx, dword [ebp - 0x24]
sub edx, eax
add esp, 0x10
test edx, edx
jle 0x435807
cmp dword [ebx + 0x470], 2
jne 0x4352e6
mov eax, dword [ebp - 0x28]
push 0
push 0xffffffffffffffff
push eax
call fcn.00435cb0
add esp, 0xc
test eax, eax
je 0x4358b9
lea eax, [ebx + 0x48c]
mov dword [ebp - 0xc], eax
mov edi, eax
xor eax, eax
mov byte [esi + 0x129], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 1
jmp 0x435310
cmp dword [ebp - 8], 0
je 0x43576c
cmp dword [ebp - 0x20], 0
jne 0x435815
mov ecx, dword [esi + 0xbc]
mov edx, dword [esi + 0xb8]
push ecx
push edx
call fcn.00437a20
push edx
push eax
call fcn.00437a50
mov ecx, dword [ebp - 0x24]
sub ecx, eax
add esp, 0x10
test ecx, ecx
jle 0x435807
cmp ecx, 0x3e8
jl 0x43535b
mov ecx, 0x3e8
mov eax, dword [ebp - 0x28]
push ecx
push 0xffffffffffffffff
push eax
call fcn.00435cb0
add esp, 0xc
cmp eax, 0xffffffff
je 0x435739
test eax, eax
je 0x43574e
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x28]
mov edx, 0x4000
sub edx, dword [ebp - 0x1c]
push edx
push eax
push ecx
push esi
call fcn.004240f0
add esp, 0x14
test eax, eax
js 0x43575f
xor ecx, ecx
cmp eax, ecx
je 0x4353af
mov dword [ebp - 8], ecx
jmp 0x43574e
mov eax, dword [ebp - 0x18]
cmp eax, ecx
jg 0x4353df
mov dword [ebp - 8], ecx
cmp dword [ebx + 0x108], ecx
je 0x4353d5
cmp dword [ebx + 0x8524], ecx
je 0x4353d5
mov byte [esi + 0x132], 1
jmp 0x43574e
push 0x4a3868
jmp 0x43573e
add dword [ebp - 0x1c], eax
cmp dword [ebp - 8], 1
jle 0x435478
mov edx, dword [ebp - 0x34]
or edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebx + 0x48c]
mov dword [ebp - 0xc], ecx
je 0x43542c
cdq
sub dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
sbb eax, edx
mov dword [ebp - 0x30], eax
test eax, eax
jg 0x43574e
jl 0x435420
cmp dword [ebp - 0x34], 0
ja 0x43574e
mov dword [ebp - 8], 0
jmp 0x43574e
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 0x14]
push ecx
push eax
push edx
push esi
mov dword [ebp - 0x14], 0
call fcn.00439b50
add esp, 0x10
cmp eax, 0xffffffff
jne 0x435461
push 0x4a3854
push ebx
call fcn.00424380
mov dword [ebp - 8], 0
jmp 0x43574b
mov eax, dword [ebp - 0x14]
push eax
push 0x4a3830
push ebx
call fcn.00424380
add esp, 0xc
jmp 0x43574e
mov dword [ebp - 0x14], ecx
cmp eax, ecx
jle 0x43574e
mov edx, 1
jmp 0x435490
mov ecx, dword [ebp - 0xc]
add dword [ebp - 0x10], edx
cmp byte [ecx], 0xa
jne 0x43563b
cmp byte [ebx + 0x278], 0
je 0x4354b9
mov edx, dword [ebp - 0x10]
push esi
push edx
push edi
push 1
push ebx
call fcn.004242a0
add esp, 0x14
cmp byte [ebx + 0x26b], 0
mov eax, 2
je 0x4354cc
mov eax, 3
mov ecx, dword [ebp - 0x10]
push ecx
push edi
push eax
push esi
call fcn.00424580
add esp, 0x10
test eax, eax
jne 0x4358bb
mov al, byte [edi]
cmp al, 0xd
je 0x435653
cmp al, 0xa
je 0x435653
mov eax, dword [ebp - 0x10]
mov dl, byte [eax + edi]
push 0x11
push edi
push 0x4a356c
mov byte [ebp - 3], dl
mov byte [eax + edi], 0
call fcn.00438900
add esp, 0xc
test eax, eax
je 0x435523
mov eax, dword [ebx + 0x90]
cmp eax, 0x191
je 0x435544
push 0x13
push edi
push str.AUTHENTICATION
call fcn.00438900
add esp, 0xc
test eax, eax
je 0x43555c
mov eax, dword [ebx + 0x90]
cmp eax, 0x197
jne 0x43555c
push edi
push eax
push esi
call fcn.00432360
add esp, 0xc
test eax, eax
jne 0x4358bb
jmp 0x43561f
push 0xf
push edi
push 0x4a0d7c
call fcn.00438900
add esp, 0xc
test eax, eax
je 0x43558b
push 0xa
lea eax, [edi + 0xf]
push 0
push eax
call fcn.004618a1
add esp, 0xc
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
jmp 0x43561f
push 0x4a3648
push 0x4a3614
push edi
call fcn.00432840
add esp, 0xc
test al, al
je 0x4355a8
mov byte [ebp - 1], 1
jmp 0x43561f
push 0x4a34b8
push str._FIND:
push edi
call fcn.00432840
add esp, 0xc
test al, al
je 0x4355d9
push 0x4a3814
push ebx
call fcn.00424380
push esi
mov byte [ebp - 2], 1
call fcn.00439b30
add esp, 0xc
jmp 0x43561f
push 0x4a3648
push 0x4a32fc
push edi
call fcn.00432840
add esp, 0xc
test al, al
je 0x4355f6
mov byte [ebp - 1], 1
jmp 0x43561f
lea esi, [ebx + 0x90]
push esi
lea ecx, [ebp - 0x2c]
push ecx
push 0x4a3804
push edi
call fcn.00460dcf
add esp, 0x10
cmp eax, 2
jne 0x43561c
mov edx, dword [esi]
mov dword [ebx + 0x859c], edx
mov esi, dword [ebp + 8]
mov al, byte [ebp - 3]
mov ecx, dword [ebp - 0x10]
mov byte [ecx + edi], al
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], 0
inc edi
mov edx, 1
mov ecx, dword [ebp - 0x14]
add dword [ebp - 0xc], edx
add ecx, edx
mov dword [ebp - 0x14], ecx
cmp ecx, eax
jl 0x435490
jmp 0x43574e
xor ecx, ecx
cmp dword [ebx + 0x90], 0x197
lea eax, [ebx + 0x48c]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], eax
jne 0x4353a7
cmp byte [ebx + 0x852c], cl
jne 0x4353a7
mov eax, dword [ebp - 0x34]
or eax, dword [ebp - 0x30]
mov dword [ebp - 8], 2
je 0x4356d5
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
push ecx
push edx
push 0x4a37e0
push ebx
call fcn.00424380
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x14]
add esp, 0x10
cdq
sub dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
sbb eax, edx
mov dword [ebp - 0x30], eax
test eax, eax
jg 0x43574e
jl 0x435420
cmp dword [ebp - 0x34], 0
ja 0x43574e
mov dword [ebp - 8], 0
jmp 0x43574e
cmp byte [ebp - 2], cl
je 0x4353a7
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x14]
mov byte [ebx + 0xc5], 1
push eax
push 0x4a37c4
push ebx
call fcn.00424380
add esp, 0xc
cmp byte [edi + 1], 0xa
jne 0x435704
inc edi
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push ecx
push edx
lea eax, [edi + 1]
push eax
push esi
call fcn.00439b50
add esp, 0x10
cmp eax, 0xffffffff
je 0x43544a
mov ecx, dword [ebp - 0x18]
push ecx
push 0x4a3830
push ebx
call fcn.00424380
add esp, 0xc
jmp 0x43574e
push 0x4a3794
push ebx
mov dword [ebp - 0x20], 1
call fcn.00424400
add esp, 8
push esi
call fcn.00438090
add esp, 4
test eax, eax
jne 0x435821
cmp dword [ebp - 0x1c], 0x4000
jb 0x435310
cmp dword [ebp - 0x20], 0
jne 0x435815
cmp dword [ebx + 0x859c], 0xc8
je 0x4357a1
push esi
call fcn.00432bd0
add esp, 4
test eax, eax
jne 0x4358bb
cmp byte [esi + 0x11c], al
je 0x4357a1
mov byte [ebp - 1], 1
jmp 0x4357a7
cmp byte [ebp - 1], 0
je 0x4357b0
cmp dword [ebx + 0xcc], 0
jne 0x43582d
cmp dword [ebx + 0xcc], 0
jne 0x4350b0
jmp 0x435849
mov edx, dword [ebp - 0x1c]
push edx
call dword [0x4d40dc]
add esp, 4
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x4d40dc]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [0x4d40dc]
add esp, 8
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4a376c
push ebx
call fcn.00424400
add esp, 8
pop edi
pop esi
mov eax, 0x38
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x2a
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
mov edx, dword [esi + edi*4 + 0xc8]
push edx
call dword [0x49f794]
mov dword [esi + edi*4 + 0xc8], 0xffffffff
mov eax, dword [ebx + 0x90]
cmp eax, 0xc8
je 0x435887
push eax
push 0x4a373c
push ebx
call fcn.00424400
add esp, 0xc
cmp byte [ebp - 1], 0
je 0x43587b
cmp dword [ebx + 0xcc], 0
je 0x43587b
mov byte [esi + 0x132], 1
pop edi
pop esi
mov eax, 0x38
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x140]
push eax
call fcn.0041bca0
push 0x4a3714
mov dword [esi + 0x140], 0
push ebx
mov byte [ebx + 0x8528], 1
call fcn.00424380
add esp, 0xc
mov byte [ebx + 0xc5], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret