Function at 0x42e4b0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50c1db
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x570be0]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x570be0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
push 0x3004
call fcn.004e7a06
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x78], 0
test eax, eax
je 0x42e528
push fcn.004205e0
push 0x42d5e0
push 0x400
mov dword [eax], 0x400
push 0xc
add eax, 4
push eax
call fcn.004e7c1f
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 0x42e553
xor al, al
jmp 0x42e8c5
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 [0x57a508]
mov dword [esp + 0x20], 0
test al, 1
jne 0x42e5ad
or eax, 1
push 0x516d90
mov dword [0x57a508], eax
mov dword [0x57a4c0], 0x54c4ec
call fcn.004e7e8f
add esp, 4
mov ecx, dword [0x57363c]
push 0xffffffffffffffff
mov eax, dword [ecx]
push 0x54b368
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.00439cf0
mov ecx, eax
call fcn.00439460
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 2
call fcn.004393a0
mov edx, esi
lea ecx, [esp + 0x50]
call fcn.004210d0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 4
call fcn.004391c0
lea eax, [esp + 0x14]
push eax
push ecx
push 0x54b27c
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 5
call fcn.00439cf0
mov ecx, eax
call fcn.00439460
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 4
call fcn.004393a0
mov byte [esp + 0x78], 2
cmp dword [esp + 0x64], 0x10
jb 0x42e657
push dword [esp + 0x50]
call fcn.004e71fd
add esp, 4
mov eax, dword [esp + 0x1c]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x1c], eax
mov eax, dword [0x57a508]
mov dword [esp + 0x20], 0
test al, 1
jne 0x42e699
or eax, 1
push 0x516d90
mov dword [0x57a508], eax
mov dword [0x57a4c0], 0x54c4ec
call fcn.004e7e8f
add esp, 4
mov ecx, dword [0x57363c]
push 0xffffffffffffffff
mov eax, dword [ecx]
push 0x54b378
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.00439cf0
mov esi, eax
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.004399c0
push eax
mov ecx, esi
call fcn.00439a40
add esp, 4
mov ecx, eax
call fcn.00439460
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 2
call fcn.004393a0
mov eax, dword [esp + 0x1c]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x1c], eax
mov eax, dword [0x57a508]
mov dword [esp + 0x20], 0
test al, 1
jne 0x42e737
or eax, 1
push 0x516d90
mov dword [0x57a508], eax
mov dword [0x57a4c0], 0x54c4ec
call fcn.004e7e8f
add esp, 4
mov ecx, dword [0x57363c]
push 0xffffffffffffffff
mov eax, dword [ecx]
push 0x54b398
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.00439cf0
mov ecx, eax
call fcn.00439460
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 2
call fcn.004393a0
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.00439cf0
mov ecx, eax
call fcn.00439460
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 2
call fcn.004393a0
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x42e84c
mov edx, ebx
lea ecx, [esp + 0x50]
call fcn.004210d0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 9
call fcn.004391c0
lea eax, [esp + 0x14]
push eax
push ecx
push str.additionalRequestHeaders
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 0xa
call fcn.00439cf0
mov ecx, eax
call fcn.00439460
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 9
call fcn.004393a0
mov byte [esp + 0x78], 2
cmp dword [esp + 0x64], 0x10
jb 0x42e837
push dword [esp + 0x50]
call fcn.004e71fd
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.0042ed80
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.00439cf0
cmp byte [eax + 8], 5
jne 0x42e8a2
push ecx
push str.result
lea ecx, [esp + 0x44]
call fcn.00439cf0
mov ecx, eax
call fcn.00439930
test al, al
je 0x42e8a2
mov bl, 1
jmp 0x42e8a4
xor bl, bl
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 2
call fcn.004393a0
lea ecx, [esp + 0x24]
mov dword [esp + 0x78], 0xffffffff
call fcn.004393a0
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.004e6e0a
mov esp, ebp
pop ebp
ret