Function at 0x417f44
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov edx, dword [esi + 0x1c8]
mov dword [ebp - 0x60], edx
test edx, edx
jne 0x417f6d
mov dword [ebp - 0x60], 0x36ee80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
xor edi, edi
mov ecx, dword [eax + ecx*4 + 0x154]
mov dword [ebp - 0x5c], ecx
cmp dword [eax + edx*4 + 0x468], 2
je 0x41889d
lea ecx, [esi + 0x534]
mov byte [eax + 0x1d6], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x4a], 0
mov byte [ebp - 0x49], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
cmp dword [edx + eax*4 + 0x468], 0
jne 0x41822b
mov eax, dword [esi + 0x100]
test eax, eax
je 0x417ff2
sub esp, 0xc
push eax
call dword [0x41e00c]
mov dword [esi + 0x100], 0
add esp, 0x10
call fcn.004124b4
mov dword [ebp - 0x44], eax
test eax, eax
je 0x418898
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x420fb0
call fcn.004114f8
add esp, 0x10
mov ebx, eax
test eax, eax
je 0x41809a
push 1
push eax
push 0x420fb7
push dword [ebp + 8]
call fcn.004137a3
mov dword [esp], ebx
mov edi, eax
call dword [0x41e00c]
add esp, 0x10
test edi, edi
jne 0x418207
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x6c], 0x420fbf
cmp dword [ecx + 0x138], 1
je 0x41805c
mov dword [ebp - 0x6c], 0x420fc3
mov eax, dword [ebp + 8]
cmp byte [eax + 0x1c6], 0
je 0x418074
mov edx, 0x420fc7
mov eax, 0x420fc9
jmp 0x41807b
mov edx, 0x420fcb
mov eax, edx
sub esp, 0xc
push dword [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push edx
push str.DICT
call fcn.004114f8
add esp, 0x20
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x41809f
sub esp, 0xc
jmp 0x4180e2
push eax
push eax
push str.LDAP
push dword [ebp + 8]
call fcn.004127fa
add esp, 0x10
mov dword [ebp - 0x40], 0x420fcb
test eax, eax
jne 0x4180f5
push ebx
push ebx
push dword [ebp - 0x3c]
push 0x420fdd
call fcn.004114f8
add esp, 0x10
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x4180f5
sub esp, 0xc
push dword [ebp - 0x3c]
call dword [0x41e00c]
pop ecx
push dword [ebp - 0x44]
call dword [0x41e00c]
mov edi, 0x1b
jmp 0x418288
push edx
push edx
push 0x420fe8
mov ebx, 0x420ffa
push dword [ebp + 8]
call fcn.004127fa
add esp, 0x10
test eax, eax
je 0x418115
mov ebx, 0x420fcb
push eax
push eax
push 0x421019
push dword [ebp + 8]
call fcn.004127fa
add esp, 0x10
mov edx, 0x420fcb
test eax, eax
jne 0x418142
cmp dword [esi + 0x35c], 0
je 0x418142
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x204]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x200]
test eax, eax
jne 0x418154
mov eax, 0x420fcb
push ebx
push edx
push eax
push dword [ebp - 0x40]
push dword [ebp - 0x6c]
push dword [ebp - 0x3c]
push 0x421025
push dword [ebp - 0x44]
call fcn.00412f3c
add esp, 0x20
mov ebx, eax
mov eax, dword [ebp - 0x40]
cmp byte [eax], 0
je 0x418187
sub esp, 0xc
push eax
call dword [0x41e00c]
add esp, 0x10
sub esp, 0xc
push dword [ebp - 0x3c]
call dword [0x41e00c]
add esp, 0x10
test ebx, ebx
jne 0x4181ec
push eax
push dword [ebp - 0x44]
push 1
push dword [ebp + 8]
call fcn.00413096
add esp, 0x10
mov ebx, eax
test eax, eax
jne 0x4181ec
push eax
push eax
push 0x421042
push dword [ebp - 0x44]
call fcn.00412f3c
add esp, 0x10
mov ebx, eax
test eax, eax
jne 0x4181ec
sub esp, 0xc
lea eax, [esi + 0x867c]
push dword [ebp + 0xc]
push 0
push eax
push dword [ebp + 8]
push dword [ebp - 0x44]
call fcn.00413337
add esp, 0x20
mov ebx, eax
test eax, eax
je 0x418215
push eax
push eax
push 0x421045
push esi
call fcn.0040ee49
add esp, 0x10
test ebx, ebx
je 0x418215
mov edi, ebx
jmp 0x41889d
sub esp, 0xc
push dword [ebp - 0x44]
call dword [0x41e00c]
jmp 0x418288
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx + edx*4 + 0x468], 1
jmp 0x41889d
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x38], 0
mov ebx, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 1
jmp 0x41870e
call fcn.0040cf74
mov ecx, dword [ebp + 8]
push dword [ecx + 0x148]
push dword [ecx + 0x144]
push edx
push eax
call fcn.0040cf08
mov edx, dword [ebp - 0x60]
sub edx, eax
add esp, 0x10
mov eax, edx
test edx, edx
jg 0x418290
push eax
push eax
push 0x421065
push esi
call fcn.0040ee49
mov edi, 0x38
add esp, 0x10
jmp 0x41889d
cmp edx, 0x3e8
jle 0x41829d
mov eax, 0x3e8
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp - 0x5c]
call fcn.00404368
add esp, 0x10
cmp eax, 0xffffffff
je 0x4182bc
test eax, eax
je 0x4186e9
jmp 0x4182d2
push eax
push eax
push 0x42108a
push esi
call fcn.0040ee49
mov dword [ebp - 0x48], 1
jmp 0x418347
mov eax, 0x4000
sub esp, 0xc
sub eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x5c]
push dword [ebp + 8]
call fcn.0040ebdf
add esp, 0x20
cmp eax, 0x51
je 0x418705
test eax, eax
jne 0x41839f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x68], eax
test eax, eax
jg 0x41834f
cmp dword [esi + 0x140], 0
je 0x41832c
cmp dword [esi + 0x85d0], 0
je 0x41832c
mov edx, dword [ebp + 8]
mov byte [edx + 0x1d6], 1
jmp 0x41839f
push edi
push edi
push 0x4210b9
push esi
call fcn.0040ee49
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x30], 0
add esp, 0x10
jmp 0x4186e9
cmp dword [ebp - 0x30], 1
jg 0x41836a
lea ecx, [esi + 0xc8]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x70], ecx
jmp 0x4186c8
mov eax, dword [ebp - 0x54]
or eax, dword [ebp - 0x58]
je 0x4183ab
mov eax, dword [ebp - 0x68]
cdq
sub dword [ebp - 0x58], eax
sbb dword [ebp - 0x54], edx
cmp dword [ebp - 0x54], 0
jg 0x4186dc
jl 0x418392
cmp dword [ebp - 0x58], 0
ja 0x4186dc
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
jmp 0x4186e9
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push ecx
push dword [ebp - 0x68]
push dword [ebp - 0x74]
push dword [ebp + 8]
call fcn.0041d043
add esp, 0x10
inc eax
jne 0x4186dc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x74]
mov dword [edx + eax*4 + 0x468], 2
mov dword [ebp - 0x2c], ecx
jmp 0x418398
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
cmp byte [eax], 0xa
jne 0x4186c2
cmp byte [esi + 0x2c8], 0
je 0x418414
sub esp, 0xc
push dword [ebp + 8]
push dword [ebp - 0x34]
push ebx
push 1
push esi
call fcn.0040eb0a
add esp, 0x20
cmp byte [esi + 0x2bc], 1
push dword [ebp - 0x34]
sbb eax, eax
push ebx
add eax, 3
push eax
push dword [ebp + 8]
call fcn.0040eeef
mov edx, dword [ebp - 0x34]
add dword [esi + 0x8678], edx
add esp, 0x10
add dword [esi + 0x80], edx
mov edi, eax
test eax, eax
jne 0x41889d
mov al, byte [ebx]
cmp al, 0xd
je 0x418457
cmp al, 0xa
jne 0x41855d
cmp dword [esi + 0xc8], 0x197
jne 0x418508
cmp byte [esi + 0x85d8], 0
jne 0x418508
mov ecx, dword [ebp - 0x54]
or ecx, dword [ebp - 0x58]
je 0x4184ab
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x28]
cdq
sub dword [ebp - 0x58], eax
sbb dword [ebp - 0x54], edx
cmp dword [ebp - 0x54], 0
jl 0x41853a
jg 0x41849f
cmp dword [ebp - 0x58], 0
jbe 0x41853a
mov dword [ebp - 0x30], 2
jmp 0x418541
mov dword [ebp - 0x30], 0
cmp byte [ebp - 0x49], 0
je 0x418541
mov byte [esi + 0xf9], 1
lea eax, [ebx + 1]
cmp byte [ebx + 1], 0xa
jne 0x4184d1
inc dword [ebp - 0x28]
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x28]
push eax
lea eax, [ebx + 1]
push eax
push dword [ebp + 8]
call fcn.0041d043
add esp, 0x10
mov dword [ebp - 0x30], 2
inc eax
jne 0x418541
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx + edx*4 + 0x468], 2
jmp 0x41853a
cmp dword [esi + 0x8668], 0xc8
jne 0x41853a
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
inc edx
cmp eax, edx
je 0x41853a
sub eax, edx
push ecx
push eax
push 0x4210cf
push esi
call fcn.0040ee49
add esp, 0x10
mov dword [ebp - 0x30], 0
jmp 0x418541
mov dword [ebp - 0x30], 0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x74]
mov dword [edx + eax*4 + 0x468], 2
mov dword [ebp - 0x2c], ecx
jmp 0x4186e2
mov eax, dword [ebp - 0x34]
add eax, ebx
mov dword [ebp - 0x64], eax
mov dl, byte [eax]
mov byte [ebp - 0x21], dl
mov byte [eax], 0
push edx
push 0x11
push ebx
push 0x421120
call fcn.00418cd5
add esp, 0x10
test eax, eax
je 0x41858e
cmp dword [esi + 0xc8], 0x191
je 0x4185af
push eax
push 0x13
push ebx
push 0x421132
call fcn.00418cd5
add esp, 0x10
test eax, eax
je 0x4185fc
cmp dword [esi + 0xc8], 0x197
jne 0x4185fc
sub esp, 0xc
mov edi, dword [esi + 0xc8]
push ebx
call fcn.00412981
add esp, 0x10
mov ebx, eax
test eax, eax
je 0x418898
push eax
xor eax, eax
cmp edi, 0x197
push ebx
sete al
push eax
push dword [ebp + 8]
call fcn.004134f6
mov dword [esp], ebx
mov edi, eax
call dword [0x41e00c]
add esp, 0x10
test edi, edi
je 0x4186af
jmp 0x41889d
push eax
push 0xf
push ebx
push 0x421146
call fcn.00418cd5
add esp, 0x10
test eax, eax
je 0x418627
push eax
lea eax, [ebx + 0xf]
push 0xa
push 0
push eax
call str.UWVS
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
jmp 0x418666
push eax
push 0x421156
push 0x42115c
push ebx
call fcn.004128a6
add esp, 0x10
test al, al
jne 0x4186ab
push eax
push 0x421168
push 0x421170
push ebx
call fcn.004128a6
add esp, 0x10
test al, al
je 0x41866b
sub esp, 0xc
push dword [ebp + 8]
call fcn.0041cfe4
mov byte [ebp - 0x49], 1
add esp, 0x10
jmp 0x4186af
push edi
push 0x421156
push 0x420fe8
push ebx
call fcn.004128a6
add esp, 0x10
test al, al
jne 0x4186ab
push dword [ebp - 0x70]
lea ecx, [ebp - 0x14]
push ecx
push 0x421183
push ebx
call 0x41e780
add esp, 0x10
cmp eax, 2
jne 0x4186af
mov eax, dword [esi + 0xc8]
mov dword [esi + 0x8668], eax
jmp 0x4186af
mov byte [ebp - 0x4a], 1
mov edx, dword [ebp - 0x64]
mov al, byte [ebp - 0x21]
mov byte [edx], al
mov dword [ebp - 0x34], 0
mov ebx, dword [ebp - 0x2c]
inc ebx
inc dword [ebp - 0x2c]
inc dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x18]
jl 0x4183e7
mov eax, dword [ebp - 0x68]
add dword [ebp - 0x38], eax
jmp 0x4186e9
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x38], 0
sub esp, 0xc
push dword [ebp + 8]
call fcn.00419e56
add esp, 0x10
test eax, eax
je 0x418705
mov edi, 0x2a
jmp 0x41889d
cmp dword [ebp - 0x38], 0x3fff
ja 0x418723
cmp dword [ebp - 0x30], 0
je 0x418723
cmp dword [ebp - 0x48], 0
je 0x41824d
jmp 0x418836
cmp dword [ebp - 0x48], 0
jne 0x418836
cmp dword [esi + 0x8668], 0xc8
je 0x418763
sub esp, 0xc
push dword [ebp + 8]
call fcn.00412bf6
add esp, 0x10
mov edi, eax
test eax, eax
jne 0x41889d
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x1c0], 0
je 0x418763
mov byte [ebp - 0x4a], 1
jmp 0x418769
cmp byte [ebp - 0x4a], 0
je 0x41879d
cmp dword [esi + 0x100], 0
je 0x41879d
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ecx
push ecx
push dword [edx + eax*4 + 0x154]
push edx
call fcn.0040f315
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [eax + ecx*4 + 0x154], 0xffffffff
jmp 0x4187ce
cmp dword [esi + 0x100], 0
je 0x4187c1
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp dword [ecx + edx*4 + 0x468], 2
jne 0x4187c1
mov dword [ecx + edx*4 + 0x468], 0
cmp dword [esi + 0x100], 0
jne 0x417fbd
mov eax, dword [esi + 0xc8]
cmp eax, 0xc8
je 0x41883d
push edx
push eax
push 0x421190
push esi
call fcn.0040ee49
add esp, 0x10
cmp byte [ebp - 0x4a], 0
je 0x418804
cmp dword [esi + 0x100], 0
je 0x418804
mov eax, dword [ebp + 8]
mov byte [eax + 0x1d6], 1
mov eax, dword [esi + 0x100]
test eax, eax
je 0x418825
sub esp, 0xc
push eax
call dword [0x41e00c]
mov dword [esi + 0x100], 0
add esp, 0x10
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx + edx*4 + 0x468], 0
mov edi, 0x38
jmp 0x41889d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [edx + eax*4 + 0x468], 2
mov eax, dword [edx + 0x200]
test eax, eax
je 0x418872
sub esp, 0xc
push eax
call dword [0x41e00c]
mov ecx, dword [ebp + 8]
add esp, 0x10
mov dword [ecx + 0x200], 0
mov eax, dword [ebp + 8]
xor edi, edi
mov byte [esi + 0x85d4], 1
mov byte [esi + 0xf9], 0
mov dword [eax + 0x200], 0
mov byte [eax + 0x1cf], 0
jmp 0x41889d
mov edi, 0x1b
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret