Function at 0x42e6b0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50f3db
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x574be0]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x574be0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
push 0x3004
call fcn.004eaae6
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x78], 0
test eax, eax
je 0x42e728
push fcn.004205e0
push 0x42d7e0
push 0x400
mov dword [eax], 0x400
push 0xc
add eax, 4
push eax
call fcn.004eacff
push 0
push 0
push 0
push 0
push str.Playtech_WinClient_Downloader_1.0
mov dword [esp + 0x8c], 0xffffffff
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
jne 0x42e753
xor al, al
jmp 0x42eac5
and dword [esp + 0x2c], 0xfffffe00
mov dword [esp + 0x30], 0
mov dword [esp + 0x78], 2
mov eax, dword [esp + 0x1c]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x1c], eax
mov eax, dword [0x57e594]
mov dword [esp + 0x20], 0
test al, 1
jne 0x42e7ad
or eax, 1
push 0x51a3f0
mov dword [0x57e594], eax
mov dword [0x57e548], 0x54f51c
call fcn.004eaf6f
add esp, 4
mov ecx, dword [0x57764c]
push 0xffffffffffffffff
mov eax, dword [ecx]
push 0x54e398
call dword [eax + 0xc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push ecx
push str.method
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 3
call fcn.00439ec0
mov ecx, eax
call fcn.00439630
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 2
call fcn.00439570
mov edx, esi
lea ecx, [esp + 0x50]
call fcn.004212c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 4
call fcn.00439390
lea eax, [esp + 0x14]
push eax
push ecx
push 0x54e2ac
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 5
call fcn.00439ec0
mov ecx, eax
call fcn.00439630
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 4
call fcn.00439570
mov byte [esp + 0x78], 2
cmp dword [esp + 0x64], 0x10
jb 0x42e857
push dword [esp + 0x50]
call fcn.004ea2dd
add esp, 4
mov eax, dword [esp + 0x1c]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x1c], eax
mov eax, dword [0x57e594]
mov dword [esp + 0x20], 0
test al, 1
jne 0x42e899
or eax, 1
push 0x51a3f0
mov dword [0x57e594], eax
mov dword [0x57e548], 0x54f51c
call fcn.004eaf6f
add esp, 4
mov ecx, dword [0x57764c]
push 0xffffffffffffffff
mov eax, dword [ecx]
push 0x54e3a8
call dword [eax + 0xc]
mov dword [esp + 0x14], eax
push ecx
push str.acceptedStatusCodes
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 6
call fcn.00439ec0
mov esi, eax
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.00439b90
push eax
mov ecx, esi
call fcn.00439c10
add esp, 4
mov ecx, eax
call fcn.00439630
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 2
call fcn.00439570
mov eax, dword [esp + 0x1c]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x1c], eax
mov eax, dword [0x57e594]
mov dword [esp + 0x20], 0
test al, 1
jne 0x42e937
or eax, 1
push 0x51a3f0
mov dword [0x57e594], eax
mov dword [0x57e548], 0x54f51c
call fcn.004eaf6f
add esp, 4
mov ecx, dword [0x57764c]
push 0xffffffffffffffff
mov eax, dword [ecx]
push 0x54e3c8
call dword [eax + 0xc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push ecx
push str.acceptTypes
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 7
call fcn.00439ec0
mov ecx, eax
call fcn.00439630
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 2
call fcn.00439570
mov eax, dword [esp + 0x1c]
and eax, 0xffffff05
or eax, 5
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov byte [esp + 0x14], 1
lea eax, [esp + 0x14]
push eax
push ecx
push str.noResponse
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 8
call fcn.00439ec0
mov ecx, eax
call fcn.00439630
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 2
call fcn.00439570
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x42ea4c
mov edx, ebx
lea ecx, [esp + 0x50]
call fcn.004212c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 9
call fcn.00439390
lea eax, [esp + 0x14]
push eax
push ecx
push str.additionalRequestHeaders
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 0xa
call fcn.00439ec0
mov ecx, eax
call fcn.00439630
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 9
call fcn.00439570
mov byte [esp + 0x78], 2
cmp dword [esp + 0x64], 0x10
jb 0x42ea37
push dword [esp + 0x50]
call fcn.004ea2dd
add esp, 4
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
push 0
lea eax, [esp + 0x28]
push 0xffffffffffffffff
push eax
mov edx, edi
lea ecx, [esp + 0x48]
call fcn.0042ef60
add esp, 0xc
push edi
mov byte [esp + 0x7c], 0xb
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
push str.result
lea ecx, [esp + 0x44]
call fcn.00439ec0
cmp byte [eax + 8], 5
jne 0x42eaa2
push ecx
push str.result
lea ecx, [esp + 0x44]
call fcn.00439ec0
mov ecx, eax
call fcn.00439b00
test al, al
je 0x42eaa2
mov bl, 1
jmp 0x42eaa4
xor bl, bl
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 2
call fcn.00439570
lea ecx, [esp + 0x24]
mov dword [esp + 0x78], 0xffffffff
call fcn.00439570
mov al, bl
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004e9eea
mov esp, ebp
pop ebp
ret