Function at 0x40f6b1
Capabilities:
Check http status code

Disassembly:
push 0x8bc
mov eax, 0x46f81a
call fcn.00450159
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x2c], ebx
call fcn.0040e08f
mov esi, dword [ebp + 8]
push 0xa
lea eax, [ebp - 0x1c]
push eax
push esi
mov dword [ebp - 4], ebx
call fcn.00452576
add esp, 0xc
push str.offer_
lea ecx, [ebp - 0x30]
call fcn.0040161d
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004015e6
imul esi, esi, 0x858
add esi, 0x48e810
push esi
lea ecx, [ebp - 0x8c8]
call fcn.0040f12d
push ebx
push str.jenkat
lea ecx, [ebp - 0x4d8]
mov byte [ebp - 4], 2
mov byte [ebp - 0x1d], 1
call fcn.004034e0
cmp eax, 0xffffffff
je 0x40f74a
lea ecx, [edi + 0x274]
push str.Jenkat_Games_Install_Manager
call fcn.004015c1
cmp byte [ebp - 0x344], 0
je 0x40fb70
mov dword [ebp - 0x34], ebx
cmp byte [ebp - 0x1d], 0
je 0x40fb5f
mov edi, 0x473d5f
push edi
lea ecx, [ebp - 0x24]
call fcn.0040161d
push edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0040161d
mov esi, dword [ebp - 0x34]
lea esi, [ebp + esi - 0x4c0]
lea ecx, [esi - 0x14]
push edi
mov byte [ebp - 4], 4
mov dword [ebp - 0x60], ecx
call fcn.004028da
test eax, eax
je 0x40fb34
xor ebx, ebx
lea edi, [ebp - 0x32c]
lea ecx, [edi + 0xc]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
jne 0x40f7dd
cmp dword [edi - 4], 1
jne 0x40f7ce
push 0x475020
lea ecx, [ebp - 0x24]
call fcn.004015e6
mov eax, dword [edi]
jmp 0x40f857
cmp byte [edi + 8], 0
je 0x40f836
mov byte [ebp - 0x1d], 0
jmp 0x40fb34
mov eax, dword [ebp - 0x34]
push dword [ebp + eax - 0x4cc]
call fcn.004028fc
test eax, eax
jne 0x40f8ea
cmp dword [edi - 4], 1
jne 0x40f827
mov eax, dword [edi + 0x10]
cmp dword [eax - 0xc], 0
je 0x40f7ba
mov eax, dword [ebp - 0x30]
push dword [eax - 0xc]
lea ecx, [ebp - 0x28]
push eax
call fcn.00401503
push str._accepted_
lea ecx, [ebp - 0x28]
call fcn.004015e6
mov eax, dword [edi + 0x10]
lea ecx, [ebp - 0x28]
jmp 0x40f85a
cmp byte [edi + 8], 0
je 0x40f836
mov eax, dword [edi + 0x10]
cmp dword [eax - 0xc], 0
jg 0x40f872
push 0x473d5f
lea ecx, [edi + 4]
call fcn.004028da
test eax, eax
je 0x40f863
push 0x475020
lea ecx, [ebp - 0x24]
call fcn.004015e6
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x24]
push dword [eax - 0xc]
push eax
call fcn.00401503
inc ebx
add edi, 0x28
cmp ebx, 0xa
jl 0x40f7a9
jmp 0x40f8ea
mov eax, dword [ebp - 0x30]
push dword [eax - 0xc]
lea ecx, [ebp - 0x28]
push eax
call fcn.00401503
push str._declined_
lea ecx, [ebp - 0x28]
call fcn.004015e6
imul ebx, ebx, 0x28
lea eax, [ebp + ebx - 0x31c]
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x28]
push eax
call fcn.00401503
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0
call fcn.0040161d
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.i_temp.temp
mov byte [ebp - 4], 5
call fcn.0040161d
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x4c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 6
call fcn.0040393d
mov byte [ebp - 4], 4
call fcn.0040758d
add esp, 0xc
mov byte [ebp - 0x1d], 0
cmp byte [ebp - 0x1d], 0
je 0x40fb34
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax - 0xc]
push ecx
lea edi, [esi - 8]
push eax
mov ecx, edi
call fcn.00401503
mov ecx, dword [ebp - 0x48]
push edi
call fcn.0040f5eb
lea edi, [esi - 4]
push 0x473d5f
mov ecx, edi
call fcn.004028da
test eax, eax
je 0x40f94b
lea eax, [ebp - 0x68]
push 0x96
push eax
call fcn.004070b7
mov eax, dword [eax]
or dword [ebp - 0x2c], 1
pop ecx
pop ecx
push 0
push eax
mov ecx, edi
call fcn.004034e0
cmp eax, 0xffffffff
jg 0x40f94b
xor bl, bl
jmp 0x40f94d
mov bl, 1
test byte [ebp - 0x2c], 1
je 0x40f962
mov ecx, dword [ebp - 0x68]
and dword [ebp - 0x2c], 0xfffffffe
add ecx, 0xfffffff0
call fcn.004010dc
test bl, bl
je 0x40fb34
push 0x473d5f
mov ecx, esi
call fcn.004028da
test eax, eax
je 0x40f9a3
lea eax, [ebp - 0x58]
push 0x95
push eax
call fcn.004070b7
mov eax, dword [eax]
or dword [ebp - 0x2c], 2
pop ecx
pop ecx
push 0
push eax
mov ecx, esi
call fcn.004034e0
cmp eax, 0xffffffff
jg 0x40f9a3
xor bl, bl
jmp 0x40f9a5
mov bl, 1
test byte [ebp - 0x2c], 2
je 0x40f9ba
mov ecx, dword [ebp - 0x58]
and dword [ebp - 0x2c], 0xfffffffd
add ecx, 0xfffffff0
call fcn.004010dc
test bl, bl
je 0x40fb34
push str.file
lea ecx, [ebp - 0x3c]
call fcn.0040161d
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.0040393d
lea edi, [esi + 8]
push 0x473d5f
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.004028da
test eax, eax
je 0x40fa0b
push edi
lea ecx, [ebp - 0x3c]
call fcn.00404d02
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x38]
call fcn.00404d02
push 0x474ffc
lea eax, [ebp - 0x4d8]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00405089
add esp, 0xc
mov eax, dword [eax]
push dword [eax - 0xc]
mov edi, dword [ebp - 0x48]
push eax
lea ecx, [edi + 0x214]
mov byte [ebp - 4], 9
call fcn.00401503
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
mov byte [ebp - 4], 8
call fcn.004010dc
mov eax, dword [ebp - 0x28]
cmp dword [eax - 0xc], 0
jle 0x40fa93
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 0
call fcn.0040161d
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.i_temp.temp
mov byte [ebp - 4], 0xa
call fcn.0040161d
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x40], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xb
call fcn.0040393d
mov byte [ebp - 4], 8
call fcn.0040758d
add esp, 0xc
push ecx
lea eax, [esi + 0x10]
mov dword [ebp - 0x4c], esp
mov ecx, esp
push eax
call fcn.0040393d
push ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 0x44], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xc
call fcn.0040393d
push ecx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x40], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xd
call fcn.0040393d
push ecx
lea eax, [esi - 0xc]
mov dword [ebp - 0x70], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xe
call fcn.0040393d
push ecx
lea eax, [esi - 8]
mov dword [ebp - 0x54], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xf
call fcn.0040393d
push ecx
mov dword [ebp - 0x5c], esp
mov ecx, esp
add esi, 0xfffffff0
push esi
mov byte [ebp - 4], 0x10
call fcn.0040393d
push ecx
mov dword [ebp - 0x64], esp
mov ecx, esp
push dword [ebp - 0x60]
mov byte [ebp - 4], 0x11
call fcn.0040393d
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.0040f276
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004010dc
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.004010dc
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004010dc
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.004010dc
add dword [ebp - 0x34], 0x28
cmp dword [ebp - 0x34], 0x190
jl 0x40f75a
push str._accepted
lea ecx, [ebp - 0x30]
call fcn.004015e6
xor ebx, ebx
jmp 0x40fb7d
push str._declined
lea ecx, [ebp - 0x30]
call fcn.004015e6
push 0x474570
lea ecx, [ebp - 0x30]
call fcn.004015e6
mov eax, dword [ebp - 0x4d8]
push dword [eax - 0xc]
lea ecx, [ebp - 0x30]
push eax
call fcn.00401503
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push ebx
call fcn.0040161d
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
push str.i_temp.temp
mov byte [ebp - 4], 0x12
call fcn.0040161d
push ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x54], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x13
call fcn.0040393d
mov byte [ebp - 4], 2
call fcn.0040758d
add esp, 0xc
lea ecx, [ebp - 0x8c8]
mov byte [ebp - 4], 1
call fcn.00412fe6
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004010dc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.0040e098
call fcn.004501dc
ret 4