Function at 0x4956e0
Capabilities:
Contain obfuscated stackstrings
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ab02
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x595be0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
push 0x573230
lea ecx, [ebp - 0x64]
call fcn.004289c0
mov dword [ebp - 4], 0
push 0x573238
lea ecx, [ebp - 0x68]
call fcn.00428940
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x174]
call fcn.0042a230
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x18c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x18c]
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x148], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
add edx, 0xe4
push edx
mov eax, dword [ebp - 0x148]
push eax
lea ecx, [ebp - 0x138]
push ecx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp - 0x16c]
mov dword [ebp - 0x98], edx
mov byte [ebp - 4], 4
push 0
mov eax, dword [ebp - 0x98]
push eax
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x78
call fcn.00453320
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x138]
call fcn.00428a40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.00428a40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x174]
call fcn.00428a40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00428a40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00428a40
mov byte [ebp - 0xd], 0
push 0
push 0
push 0
push 0
push str.Playtech_WinClient_Downloader_1.0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x495a46
push 0x57333c
lea ecx, [ebp - 0x44]
call fcn.00428940
mov dword [ebp - 4], 5
push str.openInternetError
lea ecx, [ebp - 0x60]
call fcn.00428940
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc8]
call fcn.0042a230
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x140], edx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x140]
push ecx
lea edx, [ebp - 0x170]
push edx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x17c], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x17c]
push edx
lea eax, [ebp - 0xc0]
push eax
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0x184], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x184]
push edx
call fcn.0042b9c0
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xc0]
call fcn.00428a40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x170]
call fcn.00428a40
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc8]
call fcn.00428a40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x60]
call fcn.00428a40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00428a40
push str.error_InternetOpen
lea ecx, [ebp - 0x4c]
call fcn.004289c0
mov dword [ebp - 4], 0xa
push 0x573370
lea ecx, [ebp - 0x38]
call fcn.00428940
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x160]
call fcn.0042a230
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0xd0]
push edx
lea eax, [ebp - 0xe8]
push eax
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x190]
mov dword [ebp - 0xd8], ecx
mov byte [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0xd8]
push edx
lea eax, [ebp - 0x178]
push eax
call fcn.0042a8b0
add esp, 0xc
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0xe0], ecx
mov byte [ebp - 4], 0xe
push 2
mov edx, dword [ebp - 0xe0]
push edx
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x78
call fcn.00453320
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x178]
call fcn.00428a40
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xe8]
call fcn.00428a40
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x160]
call fcn.00428a40
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x38]
call fcn.00428a40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00428a40
jmp 0x4963a1
push 0
lea ecx, [ebp - 0x78]
call fcn.00449980
mov dword [ebp - 4], 0xf
push 0x573314
lea ecx, [ebp - 0x24c]
call fcn.00449b90
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x24c]
push ecx
push str.method
lea ecx, [ebp - 0x78]
call fcn.0044ac60
mov ecx, eax
call fcn.0044a0b0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x24c]
call fcn.00449f60
mov edx, dword [ebp - 0x14]
add edx, 0xe4
push edx
lea eax, [ebp - 0xf8]
push eax
call fcn.004388d0
add esp, 8
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0x188], ecx
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x188]
call fcn.00439380
push eax
lea ecx, [ebp - 0x1cc]
call fcn.00449b90
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0x1cc]
push edx
push 0x573318
lea ecx, [ebp - 0x78]
call fcn.0044ac60
mov ecx, eax
call fcn.0044a0b0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x1cc]
call fcn.00449f60
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xf8]
call fcn.00428a40
push 0
lea ecx, [ebp - 0x34]
call fcn.00449980
mov byte [ebp - 4], 0x13
push 0xc8
lea ecx, [ebp - 0x22c]
call fcn.00449ad0
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0044af90
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x22c]
call fcn.00449f60
push 0xc9
lea ecx, [ebp - 0x1ec]
call fcn.00449ad0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x1ec]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0044af90
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1ec]
call fcn.00449f60
push 0xca
lea ecx, [ebp - 0x26c]
call fcn.00449ad0
mov byte [ebp - 4], 0x16
lea edx, [ebp - 0x26c]
push edx
lea ecx, [ebp - 0x34]
call fcn.0044af90
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x26c]
call fcn.00449f60
push 0xcb
lea ecx, [ebp - 0x20c]
call fcn.00449ad0
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0044af90
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x20c]
call fcn.00449f60
push 0xcc
lea ecx, [ebp - 0x1ac]
call fcn.00449ad0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x1ac]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0044af90
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1ac]
call fcn.00449f60
push 0xcd
lea ecx, [ebp - 0x1bc]
call fcn.00449ad0
mov byte [ebp - 4], 0x19
lea edx, [ebp - 0x1bc]
push edx
lea ecx, [ebp - 0x34]
call fcn.0044af90
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1bc]
call fcn.00449f60
push 0xce
lea ecx, [ebp - 0x1dc]
call fcn.00449ad0
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x34]
call fcn.0044af90
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1dc]
call fcn.00449f60
push 0xcf
lea ecx, [ebp - 0x1fc]
call fcn.00449ad0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x1fc]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0044af90
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1fc]
call fcn.00449f60
push 0xe2
lea ecx, [ebp - 0x21c]
call fcn.00449ad0
mov byte [ebp - 4], 0x1c
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x34]
call fcn.0044af90
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x21c]
call fcn.00449f60
lea eax, [ebp - 0x34]
push eax
push str.acceptedStatusCodes
lea ecx, [ebp - 0x78]
call fcn.0044ac60
mov ecx, eax
call fcn.0044a0b0
push 0x5733fc
lea ecx, [ebp - 0x23c]
call fcn.00449b90
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x23c]
push ecx
push str.acceptTypes
lea ecx, [ebp - 0x78]
call fcn.0044ac60
mov ecx, eax
call fcn.0044a0b0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x23c]
call fcn.00449f60
push 0x59d2f8
lea ecx, [ebp - 0x1c]
call fcn.00428920
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x14]
add edx, 0xec
push edx
lea ecx, [ebp - 0x1c]
call fcn.004309d0
lea ecx, [ebp - 0x20]
call fcn.0042a230
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00438f10
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.00439380
push eax
lea ecx, [ebp - 0x25c]
call fcn.00449b90
mov byte [ebp - 4], 0x20
lea edx, [ebp - 0x25c]
push edx
push str.outputFile
lea ecx, [ebp - 0x78]
call fcn.0044ac60
mov ecx, eax
call fcn.0044a0b0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x25c]
call fcn.00449f60
push str.binary
lea ecx, [ebp - 0x27c]
call fcn.00449b90
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x27c]
push eax
push str.responseType
lea ecx, [ebp - 0x78]
call fcn.0044ac60
mov ecx, eax
call fcn.0044a0b0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x27c]
call fcn.00449f60
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.0043cbc0
add esp, 0x14
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
jne 0x496028
push 0x573398
lea ecx, [ebp - 0x54]
call fcn.00428940
mov byte [ebp - 4], 0x23
push str.closeInternetError
lea ecx, [ebp - 0x5c]
call fcn.00428940
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x154]
call fcn.0042a230
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x100], edx
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x100]
push ecx
lea edx, [ebp - 0x118]
push edx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x108]
push edx
lea eax, [ebp - 0x14c]
push eax
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x110], ecx
mov byte [ebp - 4], 0x27
mov edx, dword [ebp - 0x110]
push edx
call fcn.0042b9c0
add esp, 4
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x14c]
call fcn.00428a40
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x118]
call fcn.00428a40
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x154]
call fcn.00428a40
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x5c]
call fcn.00428a40
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x54]
call fcn.00428a40
push str.error_InternetCloseHandle
lea ecx, [ebp - 0x40]
call fcn.004289c0
mov byte [ebp - 4], 0x28
push 0x5733d4
lea ecx, [ebp - 0x3c]
call fcn.00428940
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0xa4]
call fcn.0042a230
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
lea eax, [ebp - 0x9c]
push eax
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x164], ecx
mov byte [ebp - 4], 0x2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x164]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.0042a8b0
add esp, 0xc
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x90], ecx
mov byte [ebp - 4], 0x2c
push 2
mov edx, dword [ebp - 0x90]
push edx
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x78
call fcn.00453320
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x94]
call fcn.00428a40
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x9c]
call fcn.00428a40
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0xa4]
call fcn.00428a40
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x3c]
call fcn.00428a40
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x40]
call fcn.00428a40
mov byte [ebp - 0xe], 0
push 0x5733f4
lea ecx, [ebp - 0x88]
call fcn.0044afc0
movzx ecx, al
test ecx, ecx
je 0x49607b
push 0x573470
lea ecx, [ebp - 0x88]
call fcn.0044ac60
mov ecx, eax
call fcn.0044b1b0
movzx edx, al
test edx, edx
je 0x49607b
push 0x573478
lea ecx, [ebp - 0x88]
call fcn.0044ac60
mov ecx, eax
call fcn.0044a710
mov byte [ebp - 0xe], al
lea ecx, [ebp - 0x18]
call fcn.0042a230
mov byte [ebp - 4], 0x2d
movzx eax, byte [ebp - 0xe]
test eax, eax
jne 0x496347
push 0x573480
lea ecx, [ebp - 0x88]
call fcn.0044afc0
movzx ecx, al
test ecx, ecx
je 0x4962f7
push 0x573488
lea ecx, [ebp - 0x88]
call fcn.0044ac60
mov ecx, eax
call fcn.0044b310
movzx edx, al
test edx, edx
je 0x4962f7
push 0x573424
lea ecx, [ebp - 0x88]
call fcn.0044ac60
mov ecx, eax
call fcn.0044a200
push eax
lea ecx, [ebp - 0x18]
call fcn.00428d70
push str.downloadPackage_
lea ecx, [ebp - 0x48]
call fcn.00428940
mov byte [ebp - 4], 0x2e
push ecx
mov ecx, esp
mov dword [ebp - 0x198], esp
push 0x57342c
call fcn.00428940
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x19c], eax
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0xf4]
call fcn.0042a230
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], ecx
mov byte [ebp - 4], 0x30
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xec]
push ecx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0xc4], eax
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xcc], edx
mov byte [ebp - 4], 0x31
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xcc]
push ecx
lea edx, [ebp - 0xe4]
push edx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 0x32
mov ecx, dword [ebp - 0xdc]
push ecx
mov byte [ebp - 4], 0x35
call fcn.0042ba30
add esp, 8
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0xe4]
call fcn.00428a40
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0xec]
call fcn.00428a40
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0xf4]
call fcn.00428a40
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x48]
call fcn.00428a40
push str.error_HttpRequest
lea ecx, [ebp - 0x58]
call fcn.004289c0
mov byte [ebp - 4], 0x36
push str.downloadPackage
lea ecx, [ebp - 0x50]
call fcn.00428940
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0x13c]
call fcn.0042a230
mov dword [ebp - 0xfc], eax
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0x104], edx
mov byte [ebp - 4], 0x38
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x104]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 0x39
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0x12c]
push eax
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x124], ecx
mov byte [ebp - 4], 0x3a
push 2
mov edx, dword [ebp - 0x124]
push edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x78
call fcn.00453320
mov byte [ebp - 4], 0x39
lea ecx, [ebp - 0x12c]
call fcn.00428a40
mov byte [ebp - 4], 0x38
lea ecx, [ebp - 0x134]
call fcn.00428a40
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0x13c]
call fcn.00428a40
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x50]
call fcn.00428a40
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x58]
call fcn.00428a40
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x18]
call fcn.00428a40
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x88]
call fcn.00449f60
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x20]
call fcn.00428a40
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1c]
call fcn.00428a40
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x34]
call fcn.00449f60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00449f60
jmp 0x4963a1
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x18]
call fcn.00428a40
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x88]
call fcn.00449f60
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x20]
call fcn.00428a40
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1c]
call fcn.00428a40
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x34]
call fcn.00449f60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00449f60
xor ecx, ecx
jne 0x49581b
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret