Function at 0x433c50
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b151
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x570be0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov eax, dword [ebp + 8]
push 0
push 0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
push 0
push str.Playtech_WinClient_Downloader_1.0
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x5c], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
test ebx, ebx
jne 0x433daa
push str.error_HttpPostRequest_InternetOpen_
lea ecx, [ebp - 0x3c]
call fcn.004204a0
mov dword [ebp - 4], 1
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x48], ebx
lea eax, [ebp - 0x3c]
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004215a0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, esi
lea ecx, [ebp - 0x44]
call fcn.00421510
add esp, 4
mov edx, eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0042d610
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
or esi, 0xffffffff
mov dword [ebp - 0x5c], 1
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x433d46
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x433d66
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x433d83
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ebx, dword [ebp - 0x3c]
add ebx, 0xfffffff0
lea eax, [ebx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4341d3
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x4341d3
and dword [ebp - 0x50], 0xfffffe00
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x30]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x30], eax
mov eax, dword [0x57a508]
mov dword [ebp - 0x2c], 0
test al, 1
jne 0x433dfe
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 str.POST
call dword [eax + 0xc]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push ecx
push str.method
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.00439cf0
mov ecx, eax
call fcn.00439460
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.004393a0
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.004210d0
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.004391c0
lea eax, [ebp - 0x38]
push eax
push ecx
push 0x54b27c
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 9
call fcn.00439cf0
mov ecx, eax
call fcn.00439460
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.004393a0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x14], 0x10
jb 0x433e91
push dword [ebp - 0x28]
call fcn.004e71fd
add esp, 4
lea ecx, [ebp - 0x38]
call fcn.004337d0
push eax
push ecx
push str.acceptedStatusCodes
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.00439cf0
mov ecx, eax
call fcn.00439460
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.004393a0
mov eax, dword [ebp - 0x30]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x30], eax
mov eax, dword [0x57a508]
mov dword [ebp - 0x2c], 0
test al, 1
jne 0x433efe
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 [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push ecx
push str.acceptTypes
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xb
call fcn.00439cf0
mov ecx, eax
call fcn.00439460
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.004393a0
mov eax, dword [ebp - 0x30]
and eax, 0xffffff05
or eax, 5
mov dword [ebp - 0x30], eax
mov al, byte [ebp + 0x14]
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x38], al
lea eax, [ebp - 0x38]
push eax
push ecx
push str.noResponse
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xc
call fcn.00439cf0
mov ecx, eax
call fcn.00439460
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.004393a0
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.0042c030
mov esi, dword [ebp - 0x3c]
cmp dword [esi - 4], 1
jle 0x433fb9
push dword [esi - 0xc]
lea ecx, [ebp - 0x3c]
call fcn.0042c5a0
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x30]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x30], eax
mov eax, dword [0x57a508]
mov dword [ebp - 0x2c], 0
test al, 1
jne 0x433ff8
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 esi
call dword [eax + 0xc]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push ecx
push 0x54b72c
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xe
call fcn.00439cf0
mov ecx, eax
call fcn.00439460
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xd
call fcn.004393a0
mov eax, dword [ebp - 0x30]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x30], eax
mov eax, dword [0x57a508]
mov dword [ebp - 0x2c], 0
test al, 1
jne 0x434071
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 str.application_x_www_form_urlencoded
call dword [eax + 0xc]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push ecx
push str.contentType
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xf
call fcn.00439cf0
mov ecx, eax
call fcn.00439460
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xd
call fcn.004393a0
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
cmp dword [eax - 0xc], 0
je 0x43410d
lea ecx, [ebp - 0x28]
call fcn.004210d0
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x10
call fcn.004391c0
lea eax, [ebp - 0x38]
push eax
push ecx
push str.additionalRequestHeaders
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x11
call fcn.00439cf0
mov ecx, eax
call fcn.00439460
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x10
call fcn.004393a0
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x14], 0x10
jb 0x43410d
push dword [ebp - 0x28]
call fcn.004e71fd
add esp, 4
mov edx, dword [ebp - 0x48]
mov eax, dword [edx]
cmp dword [eax - 0xc], 0
je 0x43416b
lea ecx, [ebp - 0x28]
call fcn.004210d0
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x12
call fcn.004391c0
lea eax, [ebp - 0x38]
push eax
push ecx
push str.referer
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x13
call fcn.00439cf0
mov ecx, eax
call fcn.00439460
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x12
call fcn.004393a0
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x14], 0x10
jb 0x43416b
push dword [ebp - 0x28]
call fcn.004e71fd
add esp, 4
push 0
lea eax, [ebp - 0x58]
push 0xffffffffffffffff
push eax
mov edx, ebx
lea ecx, [ebp - 0x70]
call fcn.0042ed80
add esp, 0xc
push ebx
mov byte [ebp - 4], 0x14
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [ebp - 0x70]
push eax
mov ecx, edi
call fcn.00439230
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 1
mov byte [ebp - 4], 0xd
call fcn.004393a0
add esi, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4341c7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.004393a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6e0a
mov esp, ebp
pop ebp
ret