Function at 0x42e750
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50e3bb
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x573be0]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x573be0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
push 0x3004
call fcn.004e9b36
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x78], 0
test eax, eax
je 0x42e7c8
push fcn.004205e0
push 0x42d880
push 0x400
mov dword [eax], 0x400
push 0xc
add eax, 4
push eax
call fcn.004e9d4f
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 0x42e7f3
xor al, al
jmp 0x42eb65
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 [0x57d594]
mov dword [esp + 0x20], 0
test al, 1
jne 0x42e84d
or eax, 1
push 0x519370
mov dword [0x57d594], eax
mov dword [0x57d548], 0x54e51c
call fcn.004e9fbf
add esp, 4
mov ecx, dword [0x57664c]
push 0xffffffffffffffff
mov eax, dword [ecx]
push 0x54d37c
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.00439be0
mov ecx, eax
call fcn.00439350
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 2
call fcn.00439290
mov edx, esi
lea ecx, [esp + 0x50]
call fcn.004212c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 4
call fcn.004390b0
lea eax, [esp + 0x14]
push eax
push ecx
push 0x54d2bc
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 5
call fcn.00439be0
mov ecx, eax
call fcn.00439350
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 4
call fcn.00439290
mov byte [esp + 0x78], 2
cmp dword [esp + 0x64], 0x10
jb 0x42e8f7
push dword [esp + 0x50]
call fcn.004e932d
add esp, 4
mov eax, dword [esp + 0x1c]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x1c], eax
mov eax, dword [0x57d594]
mov dword [esp + 0x20], 0
test al, 1
jne 0x42e939
or eax, 1
push 0x519370
mov dword [0x57d594], eax
mov dword [0x57d548], 0x54e51c
call fcn.004e9fbf
add esp, 4
mov ecx, dword [0x57664c]
push 0xffffffffffffffff
mov eax, dword [ecx]
push 0x54d388
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.00439be0
mov esi, eax
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.004398b0
push eax
mov ecx, esi
call fcn.00439930
add esp, 4
mov ecx, eax
call fcn.00439350
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 2
call fcn.00439290
mov eax, dword [esp + 0x1c]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x1c], eax
mov eax, dword [0x57d594]
mov dword [esp + 0x20], 0
test al, 1
jne 0x42e9d7
or eax, 1
push 0x519370
mov dword [0x57d594], eax
mov dword [0x57d548], 0x54e51c
call fcn.004e9fbf
add esp, 4
mov ecx, dword [0x57664c]
push 0xffffffffffffffff
mov eax, dword [ecx]
push 0x54d3a0
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.00439be0
mov ecx, eax
call fcn.00439350
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 2
call fcn.00439290
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.00439be0
mov ecx, eax
call fcn.00439350
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 2
call fcn.00439290
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x42eaec
mov edx, ebx
lea ecx, [esp + 0x50]
call fcn.004212c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 9
call fcn.004390b0
lea eax, [esp + 0x14]
push eax
push ecx
push str.additionalRequestHeaders
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 0xa
call fcn.00439be0
mov ecx, eax
call fcn.00439350
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 9
call fcn.00439290
mov byte [esp + 0x78], 2
cmp dword [esp + 0x64], 0x10
jb 0x42ead7
push dword [esp + 0x50]
call fcn.004e932d
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.0042f000
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.00439be0
cmp byte [eax + 8], 5
jne 0x42eb42
push ecx
push str.result
lea ecx, [esp + 0x44]
call fcn.00439be0
mov ecx, eax
call fcn.00439820
test al, al
je 0x42eb42
mov bl, 1
jmp 0x42eb44
xor bl, bl
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 2
call fcn.00439290
lea ecx, [esp + 0x24]
mov dword [esp + 0x78], 0xffffffff
call fcn.00439290
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.004e8f3a
mov esp, ebp
pop ebp
ret