Function at 0x61106e
Capabilities:
Check http status code
Write file on windows

Disassembly:
push 0x194
mov eax, 0x498cce
call fcn.00691238
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x18c], eax
call dword [0x49c2ec]
push ecx
push edi
lea ecx, [ebp - 0xf4]
mov dword [esi + 0x30], eax
call fcn.006143fd
push ecx
push ecx
xor edi, edi
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.00613f49
push eax
lea ecx, [ebp - 0x6c]
call fcn.00619c99
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 2
call fcn.0061441c
push ecx
push ecx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00619b69
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
call fcn.00619b04
cmp eax, 0xc8
jne 0x6115ad
cmp byte [ebp + 0x1c], 0
jne 0x6114d8
lea ecx, [ebp - 0x6c]
call fcn.00619a5d
push eax
lea ecx, [ebp - 0x184]
call fcn.00619aef
mov byte [ebp - 4], 4
mov esi, 0x4be5e4
mov eax, dword [0x4be5e0]
test al, 1
jne 0x61115e
or eax, 1
mov dword [0x4be5e0], eax
push 0x4a2ce8
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.0061a682
push 0x49b78b
call fcn.0068ba7f
pop ecx
mov byte [ebp - 4], 4
push edi
mov ecx, esi
call fcn.00613f49
push eax
lea ecx, [ebp - 0x184]
call fcn.00613fb5
mov dword [ebp - 0x178], eax
cmp eax, 0xffffffff
je 0x611384
push eax
push 0x4a2d14
lea ecx, [ebp - 0x184]
call fcn.00613fb5
mov esi, eax
cmp esi, 0xffffffff
jne 0x6111a6
lea ecx, [ebp - 0x184]
call fcn.006148e4
mov esi, eax
mov ecx, 0x4be5e4
call fcn.006148e4
sub esi, dword [ebp - 0x178]
mov ecx, 0x4be5e4
sub esi, eax
push esi
call fcn.006148e4
add eax, dword [ebp - 0x178]
lea ecx, [ebp - 0x184]
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.006140d1
mov byte [ebp - 4], 6
mov esi, 0x4be5e8
mov eax, dword [0x4be5e0]
test al, 2
jne 0x611215
or eax, 2
mov dword [0x4be5e0], eax
push 0x4a2d1c
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00619c55
push 0x49b781
call fcn.0068ba7f
pop ecx
mov byte [ebp - 4], 6
push edi
mov ecx, esi
call fcn.00613f49
push eax
lea ecx, [ebp - 0x178]
call fcn.00613fb5
mov esi, eax
mov dword [ebp - 0x17c], esi
cmp esi, 0xffffffff
je 0x611375
mov ecx, 0x4be5e8
call fcn.006148e4
add eax, esi
push eax
push ecx
lea ecx, [ebp - 0x178]
call fcn.00613f6c
mov esi, eax
cmp esi, 0xffffffff
jne 0x611267
lea ecx, [ebp - 0x178]
call fcn.006148e4
mov esi, eax
mov ecx, 0x4be5e8
call fcn.006148e4
sub esi, dword [ebp - 0x17c]
mov ecx, 0x4be5e8
sub esi, eax
push esi
call fcn.006148e4
add eax, dword [ebp - 0x17c]
lea ecx, [ebp - 0x178]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.006140d1
push ecx
push 0x3b
push 0x20
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00614052
mov ecx, eax
call fcn.00614052
mov ecx, eax
call fcn.00614040
push eax
lea ecx, [ebp - 0x17c]
call fcn.00619aef
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 0xa
call fcn.00613f2f
lea ecx, [ebp - 0x17c]
call fcn.00613f49
push ecx
mov esi, eax
lea ecx, [ebp - 0xf4]
push esi
call fcn.006143fd
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00613f49
mov ecx, dword [ebp - 0x18c]
push eax
call fcn.00613f34
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0xa
call fcn.0061441c
push ecx
push esi
lea ecx, [ebp - 0x174]
call fcn.006141df
push ecx
push dword [ebp - 0x188]
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00613f49
push eax
lea ecx, [ebp - 0x19c]
call fcn.00619a1b
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.006146b2
push eax
mov ecx, ebx
call fcn.0061a66d
lea ecx, [ebp - 0x19c]
call fcn.00619969
lea ecx, [ebp - 0x174]
call fcn.0061441c
lea ecx, [ebp - 0x17c]
call fcn.00613f2f
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 4
call fcn.00613f2f
mov esi, dword [ebp - 0x18c]
mov ecx, esi
call fcn.00613f4c
test al, al
jne 0x6113a4
mov ecx, ebx
call fcn.00613f4c
test al, al
je 0x6114c7
push dword [ebp - 0x180]
lea ecx, [ebp - 0x178]
call fcn.0061a682
push 0x3f
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0xe
call fcn.0061400c
cmp eax, 0xffffffff
je 0x6113fd
push eax
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x178]
call fcn.0061416c
push eax
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0xf
call fcn.00613f57
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 0xe
call fcn.00613f2f
push 0x2f
lea ecx, [ebp - 0x178]
call fcn.0061400c
cmp eax, 0xffffffff
je 0x6114bc
inc eax
lea ecx, [ebp - 0x178]
push eax
lea eax, [ebp - 0x180]
push eax
call fcn.006140a6
push eax
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x10
call fcn.00613f57
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 0xe
call fcn.00613f2f
push ecx
lea ecx, [ebp - 0x178]
call fcn.00613f49
push eax
lea ecx, [ebp - 0xf4]
call fcn.006143fd
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.00613f49
push eax
mov ecx, esi
call fcn.00613f34
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0xe
call fcn.0061441c
push ecx
push dword [ebp - 0x188]
lea ecx, [ebp - 0x178]
call fcn.00613f49
push eax
lea ecx, [ebp - 0x19c]
call fcn.00619a1b
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.006146b2
push eax
mov ecx, ebx
call fcn.0061a66d
lea ecx, [ebp - 0x19c]
call fcn.00619969
lea ecx, [ebp - 0x178]
call fcn.00613f2f
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 3
call fcn.00613f2f
jmp 0x6114de
mov esi, dword [ebp - 0x18c]
mov ecx, esi
call fcn.00613f4c
test al, al
jne 0x6114f4
mov ecx, ebx
call fcn.00613f4c
test al, al
je 0x61155e
push ecx
push dword [ebp - 0x194]
lea ecx, [ebp - 0xf4]
call fcn.006143fd
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.00613f49
push eax
mov ecx, esi
call fcn.00613f34
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 3
call fcn.0061441c
push ecx
push dword [ebp - 0x188]
lea ecx, [ebp - 0x19c]
push dword [ebp - 0x194]
call fcn.00619a1b
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.006146b2
push eax
mov ecx, ebx
call fcn.0061a66d
lea ecx, [ebp - 0x19c]
call fcn.00619969
push 0x4a2d28
mov ecx, ebx
call fcn.00613f49
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.0068c02a
add esp, 0xc
test eax, eax
jne 0x6115ad
push dword [ebp - 0x190]
lea ecx, [ebp - 0x2c]
push 1
call fcn.00613f17
push eax
lea ecx, [ebp - 0x2c]
call fcn.0061a91d
push eax
call fcn.0068c292
push dword [ebp - 0x190]
call fcn.0068c380
add esp, 0x14
jmp 0x6115b2
mov edi, 0x80004005
lea ecx, [ebp - 0x2c]
call fcn.0061aa2f
lea ecx, [ebp - 0x6c]
call fcn.00619bad
mov eax, edi
call fcn.006911e7
ret 0x18