Function at 0x409fa9
Capabilities:
Check http status code

Disassembly:
push ebp
lea ebp, [esp - 0x3c7c]
mov eax, 0x3c7c
call fcn.0042cc80
push 0xffffffffffffffff
push 0x431f90
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x443674]
xor eax, ebp
mov dword [ebp + 0x3c78], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x3c84]
xor ebx, ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], ebx
push 0xf
mov dword [ebp - 4], ebx
pop eax
mov dword [ebp + 0xa0], eax
mov dword [ebp + 0x9c], ebx
mov byte [ebp + 0x8c], bl
mov dword [ebp + 0x84], eax
mov dword [ebp + 0x80], ebx
mov byte [ebp + 0x70], bl
mov dword [ebp + 0xbc], eax
mov dword [ebp + 0xb8], ebx
mov byte [ebp + 0xa8], bl
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x48], ebx
mov byte [ebp + 0x38], bl
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x2c], ebx
mov byte [ebp + 0x1c], bl
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x10], ebx
mov byte [ebp], bl
lea eax, [ebp + 0xc4]
push eax
lea eax, [ebp + 0x3c88]
mov byte [ebp - 4], 6
mov dword [ebp - 0x14], ebx
call fcn.00409e65
pop ecx
mov esi, eax
lea edi, [ebp + 0xa8]
mov byte [ebp - 4], 7
call fcn.00403f16
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp + 0xc4]
mov byte [ebp - 4], 6
call fcn.00403f7d
push 8
pop esi
push esi
push str.https:__
mov eax, esi
lea edx, [ebp + 0xa8]
call fcn.0040c0d5
test eax, eax
je 0x40a0bb
push 7
pop esi
push esi
push str.http:__
mov eax, esi
lea edx, [ebp + 0xa8]
call fcn.0040c0d5
test eax, eax
jne 0x40a0be
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp + 0xa8]
inc eax
push ecx
mov byte [ebp - 0x18], 0x2f
call fcn.0040c047
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
jne 0x40a115
push ebx
push 0x43bd76
lea ecx, [ebp + 0xc4]
mov dword [ebp + 0xd8], 0xf
mov dword [ebp + 0xd4], ebx
mov byte [ebp + 0xc4], bl
call fcn.00403fbf
mov byte [ebp - 4], 8
lea eax, [ebp + 0xc4]
mov dword [ebp - 0x10], edi
jmp 0x40a135
push 0xffffffffffffffff
push eax
lea eax, [ebp + 0xa8]
push eax
lea esi, [ebp + 0x54]
call fcn.0040c010
mov dword [ebp - 4], 9
mov dword [ebp - 0x10], 2
mov esi, eax
lea edi, [ebp + 0x8c]
call fcn.00403f16
test byte [ebp - 0x10], 2
je 0x40a157
and dword [ebp - 0x10], 0xfffffffd
push ebx
push 1
lea ecx, [ebp + 0x54]
call fcn.00403f7d
mov dword [ebp - 4], 6
test byte [ebp - 0x10], 1
je 0x40a176
and dword [ebp - 0x10], 0xfffffffe
push ebx
push 1
lea ecx, [ebp + 0xc4]
call fcn.00403f7d
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp + 0xa8]
cmp ecx, 0xffffffff
je 0x40a195
cmp dword [ebp + 0xbc], 0x10
jae 0x40a1aa
lea eax, [ebp + 0xa8]
jmp 0x40a1aa
cmp dword [ebp + 0xbc], 0x10
jae 0x40a1a4
lea eax, [ebp + 0xa8]
mov ecx, dword [ebp + 0xb8]
add ecx, eax
cmp dword [ebp + 0xbc], 0x10
mov eax, dword [ebp + 0xa8]
jae 0x40a1c1
lea eax, [ebp + 0xa8]
push dword [ebp - 0x24]
add eax, dword [ebp - 0x14]
push ecx
push eax
lea eax, [ebp + 0xc4]
push eax
mov dword [ebp + 0xd8], 0xf
mov dword [ebp + 0xd4], ebx
mov byte [ebp + 0xc4], bl
call fcn.0040c356
lea esi, [ebp + 0xc4]
lea edi, [ebp + 0x70]
mov byte [ebp - 4], 0xa
call fcn.00403f16
push ebx
push 1
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00403f7d
push ebx
push 0x43e0dc
lea eax, [ebp + 0x8c]
push eax
call fcn.0040bfeb
cmp eax, 0xffffffff
je 0x40a240
push eax
push ebx
lea eax, [ebp + 0x8c]
push eax
lea esi, [ebp + 0xc4]
call fcn.0040c010
mov byte [ebp - 4], 0xb
or dword [ebp - 0x10], 4
jmp 0x40a25a
lea eax, [ebp + 0x8c]
push eax
lea esi, [ebp + 0x54]
call fcn.004043a1
mov dword [ebp - 4], 0xc
or dword [ebp - 0x10], 8
mov esi, eax
lea edi, [ebp + 0x8c]
call fcn.00403f16
test byte [ebp - 0x10], 8
je 0x40a27c
and dword [ebp - 0x10], 0xfffffff7
push ebx
push 1
lea ecx, [ebp + 0x54]
call fcn.00403f7d
mov dword [ebp - 4], 6
test byte [ebp - 0x10], 4
je 0x40a29b
and dword [ebp - 0x10], 0xfffffffb
push ebx
push 1
lea ecx, [ebp + 0xc4]
call fcn.00403f7d
push ebx
push 0x43dfc4
lea eax, [ebp + 0x70]
push eax
call fcn.0040bfeb
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x40a2cc
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp + 0x70]
push eax
lea esi, [ebp + 0x54]
call fcn.0040c010
mov byte [ebp - 4], 0xd
or dword [ebp - 0x10], 0x10
jmp 0x40a304
push ebx
push 0x43bd76
lea ecx, [ebp + 0xc4]
mov dword [ebp + 0xd8], 0xf
mov dword [ebp + 0xd4], ebx
mov byte [ebp + 0xc4], bl
call fcn.00403fbf
mov dword [ebp - 4], 0xe
or dword [ebp - 0x10], 0x20
lea eax, [ebp + 0xc4]
mov esi, eax
lea edi, [ebp + 0x1c]
call fcn.00403f16
test byte [ebp - 0x10], 0x20
je 0x40a326
and dword [ebp - 0x10], 0xffffffdf
push ebx
push 1
lea ecx, [ebp + 0xc4]
call fcn.00403f7d
mov dword [ebp - 4], 6
test byte [ebp - 0x10], 0x10
je 0x40a342
and dword [ebp - 0x10], 0xffffffef
push ebx
push 1
lea ecx, [ebp + 0x54]
call fcn.00403f7d
mov eax, dword [ebp - 0x1c]
cmp eax, 0xffffffff
jne 0x40a350
mov eax, dword [ebp + 0x80]
push eax
push ebx
lea eax, [ebp + 0x70]
push eax
lea esi, [ebp + 0x54]
call fcn.0040c010
mov esi, eax
lea edi, [ebp + 0x70]
mov byte [ebp - 4], 0xf
call fcn.00403f16
push ebx
push 1
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 6
call fcn.00403f7d
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jle 0x40a3a0
add eax, 0xfffffffd
push eax
push ebx
lea eax, [ebp + 0xa8]
push eax
lea esi, [ebp + 0x54]
call fcn.0040c010
mov byte [ebp - 4], 0x10
or dword [ebp - 0x10], 0x40
jmp 0x40a3db
push ebx
push 0x43bd76
lea ecx, [ebp + 0xc4]
mov dword [ebp + 0xd8], 0xf
mov dword [ebp + 0xd4], ebx
mov byte [ebp + 0xc4], bl
call fcn.00403fbf
mov dword [ebp - 4], 0x11
or dword [ebp - 0x10], 0x80
lea eax, [ebp + 0xc4]
mov esi, eax
lea edi, [ebp + 0x38]
call fcn.00403f16
test byte [ebp - 0x10], 0x80
je 0x40a400
and dword [ebp - 0x10], 0xffffff7f
push ebx
push 1
lea ecx, [ebp + 0xc4]
call fcn.00403f7d
mov dword [ebp - 4], 6
test byte [ebp - 0x10], 0x40
je 0x40a41c
and dword [ebp - 0x10], 0xffffffbf
push ebx
push 1
lea ecx, [ebp + 0x54]
call fcn.00403f7d
push ebx
push 0x43e0e0
lea eax, [ebp + 0x8c]
push eax
call fcn.0040bfeb
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x40a456
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp + 0x8c]
push eax
lea esi, [ebp + 0x54]
call fcn.0040c010
mov byte [ebp - 4], 0x12
or dword [ebp - 0x10], 0x100
jmp 0x40a491
push ebx
push 0x43bd76
lea ecx, [ebp + 0xc4]
mov dword [ebp + 0xd8], 0xf
mov dword [ebp + 0xd4], ebx
mov byte [ebp + 0xc4], bl
call fcn.00403fbf
mov dword [ebp - 4], 0x13
or dword [ebp - 0x10], 0x200
lea eax, [ebp + 0xc4]
mov esi, eax
lea edi, [ebp]
call fcn.00403f16
test dword [ebp - 0x10], 0x200
je 0x40a4b9
and dword [ebp - 0x10], 0xfffffdff
push ebx
push 1
lea ecx, [ebp + 0xc4]
call fcn.00403f7d
mov dword [ebp - 4], 6
test dword [ebp - 0x10], 0x100
je 0x40a4db
and dword [ebp - 0x10], 0xfffffeff
push ebx
push 1
lea ecx, [ebp + 0x54]
call fcn.00403f7d
cmp dword [ebp - 0x14], 0xffffffff
lea eax, [ebp + 0x8c]
je 0x40a504
push dword [ebp - 0x14]
lea esi, [ebp + 0xc4]
push ebx
push eax
call fcn.0040c010
mov byte [ebp - 4], 0x14
or dword [ebp - 0x10], 0x400
jmp 0x40a51b
push eax
lea esi, [ebp + 0x54]
call fcn.004043a1
mov dword [ebp - 4], 0x15
or dword [ebp - 0x10], 0x800
mov esi, eax
lea edi, [ebp + 0x8c]
call fcn.00403f16
xor edi, edi
inc edi
test dword [ebp - 0x10], 0x800
je 0x40a545
and dword [ebp - 0x10], 0xfffff7ff
push ebx
push edi
lea ecx, [ebp + 0x54]
call fcn.00403f7d
mov dword [ebp - 4], 6
test dword [ebp - 0x10], 0x400
je 0x40a562
push ebx
push edi
lea ecx, [ebp + 0xc4]
call fcn.00403f7d
push 0x3a98
lea eax, [ebp + 0xe0]
push ebx
push eax
call fcn.004257f0
mov eax, dword [ebp + 0x70]
add esp, 0xc
push 0x10
pop esi
cmp dword [ebp + 0x84], esi
jae 0x40a588
lea eax, [ebp + 0x70]
push eax
call dword [0x4463c8]
mov eax, dword [ebp + 0x3c88]
cmp dword [ebp + 0x3c9c], esi
jae 0x40a5a3
lea eax, [ebp + 0x3c88]
push eax
call dword [0x4463c8]
push ebx
push ebx
push ebx
push ebx
push 0x43bd76
call dword [0x4463e8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x30], esi
jae 0x40a5c7
lea eax, [ebp + 0x1c]
push eax
call fcn.0041eda3
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x38]
pop ecx
cmp dword [ebp + 0x4c], esi
jae 0x40a5dc
lea eax, [ebp + 0x38]
push str.https
push eax
call dword [0x4464dc]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xff800000
add esi, 0x4800000
cmp dword [ebp - 0x14], ebx
je 0x40a6e5
cmp dword [ebp + 0x84], 0x10
mov eax, dword [ebp + 0x70]
jae 0x40a612
lea eax, [ebp + 0x70]
push ebx
push esi
push 3
push ebx
push ebx
push dword [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
call dword [0x446504]
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x40a6dc
cmp dword [ebp + 0xa0], 0x10
mov ecx, dword [ebp + 0x8c]
jae 0x40a645
lea ecx, [ebp + 0x8c]
push ebx
push esi
push ebx
push ebx
push ebx
push ecx
push 0x43e0ec
push eax
call dword [0x446548]
mov esi, eax
cmp esi, ebx
je 0x40a6d3
push ebx
push ebx
push ebx
push ebx
push esi
call dword [0x4464c8]
push ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x3b78]
push eax
push 0x13
push esi
mov dword [ebp - 0x1c], 0x100
call dword [0x446560]
test eax, eax
jne 0x40a692
push str.ERROR
jmp 0x40a6ec
lea eax, [ebp + 0x3b78]
push eax
call fcn.0041eda3
pop ecx
cmp eax, 0xc8
jne 0x40a68b
cmp dword [ebp - 0x10], ebx
je 0x40a6cc
lea eax, [ebp - 0x10]
push eax
push 0x3a97
lea eax, [ebp + 0xe0]
push eax
push esi
call dword [0x44640c]
mov eax, dword [ebp - 0x10]
mov byte [ebp + eax + 0xe0], bl
push esi
call dword [0x4463e4]
push dword [ebp - 0x24]
call dword [0x4463e4]
push dword [ebp - 0x14]
call dword [0x4463e4]
lea eax, [ebp + 0xe0]
push eax
mov esi, dword [ebp - 0x20]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov ecx, esi
mov byte [esi], bl
call fcn.00403f5a
push ebx
push edi
lea ecx, [ebp]
call fcn.00403f7d
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.00403f7d
push ebx
push edi
lea ecx, [ebp + 0x38]
call fcn.00403f7d
push ebx
push edi
lea ecx, [ebp + 0xa8]
call fcn.00403f7d
push ebx
push edi
lea ecx, [ebp + 0x70]
call fcn.00403f7d
push ebx
push edi
lea ecx, [ebp + 0x8c]
call fcn.00403f7d
push ebx
push edi
lea ecx, [ebp + 0x3c88]
call fcn.00403f7d
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3c78]
xor ecx, ebp
call fcn.0041e0c6
add ebp, 0x3c7c
leave
ret