Function at 0x47dcf0
Capabilities:
Create http request
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51338f
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x570be0]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, str.IN_URL
mov dword [esp + 0x98], 0
test eax, 0xffff0000
jne 0x47dd6e
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x47dd7c
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00420bb0
jmp 0x47dd7c
push str.IN_URL
lea ecx, [esp + 0x18]
call fcn.00420650
push str.downloadPackage
lea ecx, [esp + 0x28]
mov dword [esp + 0x9c], 1
call fcn.004204a0
mov byte [esp + 0x98], 2
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x2c], esi
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 3
call fcn.004215a0
add esp, 4
lea ecx, [ebx + 0xe4]
mov byte [esp + 0x98], 4
mov dword [esp + 0x28], ecx
push ecx
mov edx, eax
lea ecx, [esp + 0x20]
call fcn.004215a0
add esp, 4
mov byte [esp + 0x98], 5
cmp dword [ebx + 0x80], 0
je 0x47de11
push 0
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [ebx + 0x7c]
push eax
call fcn.004216b0
mov byte [esp + 0x98], 4
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x47de39
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x98], 3
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47de5e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x98], 2
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47de7f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x98], 1
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47dea4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x98], 0xffffffff
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47decc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push 0
push 0
push str.Playtech_WinClient_Downloader_1.0
mov byte [esp + 0x27], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x47e1d2
push str.downloadPackage
lea ecx, [esp + 0x20]
call fcn.004204a0
push str.openInternetError
lea ecx, [esp + 0x28]
mov dword [esp + 0x9c], 6
call fcn.004204a0
mov byte [esp + 0x98], 7
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x2c], esi
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], 8
call fcn.004215a0
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
mov edx, eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 9
call fcn.004215a0
add esp, 4
mov edi, eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x98], 0xa
call fcn.0042b3b0
mov edx, eax
mov ecx, edi
mov byte [esp + 0x98], 0xb
call fcn.00422510
mov byte [esp + 0x98], 0xa
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47dfb4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x98], 9
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47dfd9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x98], 8
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47dffe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x98], 7
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47e01f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x98], 6
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47e044
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x98], 0xffffffff
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47e06c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.error_InternetOpen
lea ecx, [esp + 0x20]
call fcn.00420550
push str.downloadPackage
lea ecx, [esp + 0x28]
mov dword [esp + 0x9c], 0xc
call fcn.004204a0
mov byte [esp + 0x98], 0xd
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x2c], esi
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], 0xe
call fcn.004215a0
add esp, 4
mov edi, eax
mov byte [esp + 0x98], 0xf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, edi
lea ecx, [esp + 0x1c]
call fcn.00421510
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x98], 0x10
cmp dword [eax + 0x80], 0
je 0x47e113
push 2
push ecx
lea ecx, [esp + 0x2c]
push ecx
add eax, 0x7c
push eax
call fcn.004216b0
mov byte [esp + 0x98], 0xf
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47e138
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x98], 0xe
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47e15d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x98], 0xd
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47e17e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x98], 0xc
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47e1a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x98], 0xffffffff
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x47f793
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x47f793
and dword [esp + 0x54], 0xfffffe00
mov dword [esp + 0x58], 0
mov dword [esp + 0x98], 0x12
mov eax, dword [esp + 0x74]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x74], eax
mov eax, dword [0x57a508]
mov dword [esp + 0x78], 0
test al, 1
jne 0x47e22f
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 + 0x6c], eax
push ecx
push str.method
lea ecx, [esp + 0x54]
mov byte [esp + 0xa0], 0x13
call fcn.00439cf0
mov edi, eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x40]
call fcn.00439230
movsx ecx, byte [edi + 8]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
xor ecx, ebx
mov byte [edi + 8], bl
mov edx, dword [edi + 4]
and ecx, 0xff
xor ebx, ecx
mov ecx, dword [edi]
mov dword [edi], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 4], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi + 8]
mov esi, ecx
shl esi, 0x17
sar esi, 0x1f
mov eax, ecx
xor eax, ebx
shl esi, 8
xor esi, ebx
and eax, 0x100
xor eax, ecx
and esi, 0x100
xor ebx, esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x40], edx
mov dword [edi + 8], eax
mov dword [esp + 0x44], ebx
call fcn.004393a0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x98], 0x12
call fcn.004393a0
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
call fcn.0042b850
mov esi, eax
mov byte [esp + 0x98], 0x14
mov ecx, dword [esi]
cmp dword [ecx - 4], 1
jle 0x47e308
push dword [ecx - 0xc]
mov ecx, esi
call fcn.0042c5a0
mov eax, dword [esp + 0x74]
mov esi, dword [esi]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x74], eax
mov eax, dword [0x57a508]
mov dword [esp + 0x78], 0
test al, 1
jne 0x47e34c
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 [esp + 0x6c], eax
push ecx
push 0x54b27c
lea ecx, [esp + 0x54]
mov byte [esp + 0xa0], 0x15
call fcn.00439cf0
mov esi, eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x40]
call fcn.00439230
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
xor ecx, ebx
mov byte [esi + 8], bl
mov edx, dword [esi + 4]
and ecx, 0xff
xor ebx, ecx
mov ecx, dword [esi]
mov dword [esi], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 4], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, ecx
shl edx, 8
xor eax, ebx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x3c]
mov dword [esi + 8], eax
mov dword [esp + 0x44], ebx
call fcn.004393a0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x98], 0x14
call fcn.004393a0
mov byte [esp + 0x98], 0x12
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47e41e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
and dword [esp + 0x44], 0xfffffe00
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x84]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x7c], 0xc8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x98], 0x18
call fcn.004399c0
push eax
lea ecx, [esp + 0x40]
call fcn.00439a40
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439230
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x74]
mov byte [esi + 8], bl
mov edx, dword [esi + 4]
mov eax, ebx
xor eax, ecx
mov ecx, dword [esi]
and eax, 0xff
xor ebx, eax
mov eax, dword [esp + 0x6c]
mov dword [esi], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 4], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, ecx
shl edx, 8
xor eax, ebx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x6c]
mov dword [esi + 8], eax
mov dword [esp + 0x74], ebx
call fcn.004393a0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.004393a0
mov eax, dword [esp + 0x84]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x7c], 0xc9
lea ecx, [esp + 0x3c]
mov byte [esp + 0x98], 0x19
call fcn.004399c0
push eax
lea ecx, [esp + 0x40]
call fcn.00439a40
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439230
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x74]
mov eax, ebx
xor eax, ecx
mov byte [esi + 8], bl
mov ecx, dword [esi]
and eax, 0xff
xor ebx, eax
mov eax, dword [esp + 0x6c]
mov edx, dword [esi + 4]
mov dword [esi], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 4], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, ecx
shl edx, 8
xor eax, ebx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x6c]
mov dword [esi + 8], eax
mov dword [esp + 0x74], ebx
call fcn.004393a0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.004393a0
mov eax, dword [esp + 0x84]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x7c], 0xca
lea ecx, [esp + 0x3c]
mov byte [esp + 0x98], 0x1a
call fcn.004399c0
push eax
lea ecx, [esp + 0x40]
call fcn.00439a40
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439230
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
xor ecx, ebx
mov byte [esi + 8], bl
mov edx, dword [esi + 4]
and ecx, 0xff
xor ebx, ecx
mov ecx, dword [esi]
mov dword [esi], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 4], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, ecx
shl edx, 8
xor eax, ebx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x6c]
mov dword [esi + 8], eax
mov dword [esp + 0x74], ebx
call fcn.004393a0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.004393a0
mov eax, dword [esp + 0x84]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x7c], 0xcb
lea ecx, [esp + 0x3c]
mov byte [esp + 0x98], 0x1b
call fcn.004399c0
push eax
lea ecx, [esp + 0x40]
call fcn.00439a40
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439230
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
xor ecx, ebx
mov byte [esi + 8], bl
mov edx, dword [esi + 4]
and ecx, 0xff
xor ebx, ecx
mov ecx, dword [esi]
mov dword [esi], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 4], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, ecx
shl edx, 8
xor eax, ebx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x6c]
mov dword [esi + 8], eax
mov dword [esp + 0x74], ebx
call fcn.004393a0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.004393a0
mov eax, dword [esp + 0x84]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x7c], 0xcc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x98], 0x1c
call fcn.004399c0
push eax
lea ecx, [esp + 0x40]
call fcn.00439a40
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439230
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
xor ecx, ebx
mov byte [esi + 8], bl
mov edx, dword [esi + 4]
and ecx, 0xff
xor ebx, ecx
mov ecx, dword [esi]
mov dword [esi], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 4], eax
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x70], edx
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, ecx
shl edx, 8
xor eax, ebx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x6c]
mov dword [esi + 8], eax
mov dword [esp + 0x74], ebx
call fcn.004393a0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.004393a0
mov eax, dword [esp + 0x84]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x7c], 0xcd
lea ecx, [esp + 0x3c]
mov byte [esp + 0x98], 0x1d
call fcn.004399c0
push eax
lea ecx, [esp + 0x40]
call fcn.00439a40
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439230
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
xor ecx, ebx
mov byte [esi + 8], bl
mov edx, dword [esi + 4]
and ecx, 0xff
xor ebx, ecx
mov ecx, dword [esi]
mov dword [esi], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 4], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, ecx
shl edx, 8
xor eax, ebx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x6c]
mov dword [esi + 8], eax
mov dword [esp + 0x74], ebx
call fcn.004393a0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.004393a0
mov eax, dword [esp + 0x84]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x7c], 0xce
lea ecx, [esp + 0x3c]
mov byte [esp + 0x98], 0x1e
call fcn.004399c0
push eax
lea ecx, [esp + 0x40]
call fcn.00439a40
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439230
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
xor ecx, ebx
mov byte [esi + 8], bl
mov edx, dword [esi + 4]
and ecx, 0xff
xor ebx, ecx
mov ecx, dword [esi]
mov dword [esi], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 4], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, ecx
shl edx, 8
xor eax, ebx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x6c]
mov dword [esi + 8], eax
mov dword [esp + 0x74], ebx
call fcn.004393a0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.004393a0
mov eax, dword [esp + 0x84]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x7c], 0xcf
lea ecx, [esp + 0x3c]
mov byte [esp + 0x98], 0x1f
call fcn.004399c0
push eax
lea ecx, [esp + 0x40]
call fcn.00439a40
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439230
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
xor ecx, ebx
mov byte [esi + 8], bl
mov edx, dword [esi + 4]
and ecx, 0xff
xor ebx, ecx
mov ecx, dword [esi]
mov dword [esi], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 4], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
mov eax, ebx
xor eax, ecx
sar edx, 0x1f
and eax, 0x100
xor eax, ecx
shl edx, 8
mov dword [esi + 8], eax
xor edx, ebx
and edx, 0x100
xor ebx, edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x74], ebx
call fcn.004393a0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.004393a0
mov eax, dword [esp + 0x84]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x7c], 0xe2
lea ecx, [esp + 0x3c]
mov byte [esp + 0x98], 0x20
call fcn.004399c0
push eax
lea ecx, [esp + 0x40]
call fcn.00439a40
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439230
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
xor ecx, ebx
mov byte [esi + 8], bl
mov edx, dword [esi + 4]
and ecx, 0xff
xor ebx, ecx
mov ecx, dword [esi]
mov dword [esi], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 4], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
shl edx, 8
mov eax, ebx
xor eax, ecx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x6c]
mov dword [esi + 8], eax
mov dword [esp + 0x74], ebx
call fcn.004393a0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.004393a0
push ecx
push str.acceptedStatusCodes
lea ecx, [esp + 0x54]
call fcn.00439cf0
mov esi, eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439230
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x74]
mov eax, ebx
xor eax, ecx
mov byte [esi + 8], bl
mov ecx, dword [esi]
mov edx, dword [esi + 4]
and eax, 0xff
xor ebx, eax
mov eax, dword [esp + 0x6c]
mov dword [esi], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 4], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
shl edx, 8
mov eax, ebx
xor eax, ecx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x6c]
mov dword [esi + 8], eax
mov dword [esp + 0x74], ebx
call fcn.004393a0
mov eax, dword [esp + 0x84]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x84], eax
mov eax, dword [0x57a508]
mov dword [esp + 0x88], 0
test al, 1
jne 0x47ebfc
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 + 0x7c], eax
push ecx
push str.acceptTypes
lea ecx, [esp + 0x54]
mov byte [esp + 0xa0], 0x21
call fcn.00439cf0
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439230
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x74]
mov byte [esi + 8], bl
mov edx, dword [esi + 4]
mov eax, ebx
xor eax, ecx
mov ecx, dword [esi]
and eax, 0xff
xor ebx, eax
mov eax, dword [esp + 0x6c]
mov dword [esi], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 4], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
shl edx, 8
mov eax, ebx
xor eax, ecx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x6c]
mov dword [esi + 8], eax
mov dword [esp + 0x74], ebx
call fcn.004393a0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.004393a0
mov esi, dword [0x578228]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x47ecd9
cmp ecx, dword [esi - 0x10]
jne 0x47ecd9
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x47ed13
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x47eced
call fcn.004208f0
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.004e82bf
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x98], 0x22
mov eax, dword [eax + 0xec]
lea ecx, [esp + 0x24]
push dword [eax - 0xc]
push eax
call fcn.00428650
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
lea edx, [esp + 0x18]
lea ecx, [esp + 0x24]
mov byte [esp + 0x98], 0x23
call fcn.0042c030
mov esi, dword [esp + 0x18]
cmp dword [esi - 4], 1
jle 0x47ed7c
push dword [esi - 0xc]
lea ecx, [esp + 0x1c]
call fcn.0042c5a0
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x84]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x84], eax
mov eax, dword [0x57a508]
mov dword [esp + 0x88], 0
test al, 1
jne 0x47edc7
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 [esp + 0x7c], eax
push ecx
push str.outputFile
lea ecx, [esp + 0x54]
mov byte [esp + 0xa0], 0x24
call fcn.00439cf0
mov edi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439230
movsx ecx, byte [edi + 8]
mov ebx, dword [esp + 0x74]
mov byte [edi + 8], bl
mov edx, dword [edi + 4]
mov eax, ebx
xor eax, ecx
mov ecx, dword [edi]
and eax, 0xff
xor ebx, eax
mov eax, dword [esp + 0x6c]
mov dword [edi], eax
mov eax, dword [esp + 0x70]
mov dword [edi + 4], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [edi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
shl edx, 8
mov eax, ebx
xor eax, ecx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x6c]
mov dword [edi + 8], eax
mov dword [esp + 0x74], ebx
call fcn.004393a0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x23
call fcn.004393a0
mov eax, dword [esp + 0x84]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x84], eax
mov eax, dword [0x57a508]
mov dword [esp + 0x88], 0
test al, 1
jne 0x47eebf
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.binary
call dword [eax + 0xc]
mov dword [esp + 0x7c], eax
push ecx
push str.responseType
lea ecx, [esp + 0x54]
mov byte [esp + 0xa0], 0x25
call fcn.00439cf0
mov edi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439230
movsx ecx, byte [edi + 8]
mov ebx, dword [esp + 0x74]
mov byte [edi + 8], bl
mov edx, dword [edi + 4]
mov eax, ebx
xor eax, ecx
mov ecx, dword [edi]
and eax, 0xff
xor ebx, eax
mov eax, dword [esp + 0x6c]
mov dword [edi], eax
mov eax, dword [esp + 0x70]
mov dword [edi + 4], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [edi + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
shl edx, 8
mov eax, ebx
xor eax, ecx
xor edx, ebx
and eax, 0x100
and edx, 0x100
xor eax, ecx
xor ebx, edx
lea ecx, [esp + 0x6c]
mov dword [edi + 8], eax
mov dword [esp + 0x74], ebx
call fcn.004393a0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x23
call fcn.004393a0
mov edi, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x50]
push 0xffffffffffffffff
push eax
mov edx, edi
lea ecx, [esp + 0x68]
call fcn.0042ed80
add esp, 0xc
push edi
mov byte [esp + 0x9c], 0x26
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
jne 0x47f394
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, str.downloadPackage
shr eax, 0x10
mov byte [esp + 0x98], 0x27
mov dword [esp + 0x38], eax
mov ecx, str.downloadPackage
test eax, eax
jne 0x47efee
movzx edi, cx
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x47effe
push edi
push eax
lea ecx, [esp + 0x24]
call fcn.00420bb0
jmp 0x47effe
push 0xf
push str.downloadPackage
lea ecx, [esp + 0x24]
call fcn.00420c80
mov byte [esp + 0x98], 0x28
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, str.closeInternetError
mov byte [esp + 0x98], 0x29
test eax, 0xffff0000
jne 0x47f049
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x47f059
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00420bb0
jmp 0x47f059
push 0x12
push str.closeInternetError
lea ecx, [esp + 0x1c]
call fcn.00420c80
mov byte [esp + 0x98], 0x2a
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x2c], edi
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x38]
mov byte [esp + 0x9c], 0x2b
call fcn.004215a0
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
mov edx, eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x9c], 0x2c
call fcn.004215a0
add esp, 4
mov ebx, eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x98], 0x2d
call fcn.0042b3b0
mov edx, eax
mov ecx, ebx
mov byte [esp + 0x98], 0x2e
call fcn.00422510
mov byte [esp + 0x98], 0x2d
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f0f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x98], 0x2c
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f11e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x98], 0x2b
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f143
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x98], 0x2a
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f164
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x98], 0x28
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f189
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x98], 0x26
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f1ae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, str.error_InternetCloseHandle
mov byte [esp + 0x98], 0x2f
test eax, 0xffff0000
jne 0x47f1f1
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x47f1ff
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00420bb0
jmp 0x47f1ff
push str.error_InternetCloseHandle
lea ecx, [esp + 0x18]
call fcn.00420650
mov byte [esp + 0x98], 0x30
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x98], 0x31
cmp dword [esp + 0x38], 0
jne 0x47f24a
mov eax, str.downloadPackage
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x47f25a
push edi
push eax
lea ecx, [esp + 0x24]
call fcn.00420bb0
jmp 0x47f25a
push 0xf
push str.downloadPackage
lea ecx, [esp + 0x24]
call fcn.00420c80
mov byte [esp + 0x98], 0x32
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x38], edi
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x34]
mov byte [esp + 0x9c], 0x33
call fcn.004215a0
add esp, 4
mov ebx, eax
mov byte [esp + 0x98], 0x34
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, ebx
lea ecx, [esp + 0x38]
call fcn.00421510
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x98], 0x35
cmp dword [eax + 0x80], 0
je 0x47f2da
push 2
push ecx
lea ecx, [esp + 0x24]
push ecx
add eax, 0x7c
push eax
call fcn.004216b0
mov byte [esp + 0x98], 0x34
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f302
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x98], 0x33
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f327
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x98], 0x32
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f348
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x98], 0x30
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f36d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x98], 0x26
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f397
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x47f397
or ebx, 0xffffffff
push str.result
lea ecx, [esp + 0x60]
mov byte [esp + 0x16], 0
call fcn.00439e70
cmp eax, 0x5781c0
je 0x47f3e0
push ecx
push str.result
lea ecx, [esp + 0x64]
call fcn.00439cf0
cmp byte [eax + 8], 5
jne 0x47f3e0
push ecx
push str.result
lea ecx, [esp + 0x64]
call fcn.00439cf0
mov ecx, eax
call fcn.00439930
mov byte [esp + 0x12], al
mov edx, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
cmp byte [esp + 0x12], 0
mov byte [esp + 0x98], 0x36
jne 0x47f6f3
push str.error
lea ecx, [esp + 0x60]
call fcn.00439e70
cmp eax, 0x5781c0
je 0x47f6f8
push ecx
push str.error
lea ecx, [esp + 0x64]
call fcn.00439cf0
cmp byte [eax + 8], 4
jne 0x47f6f8
push ecx
push str.error
lea ecx, [esp + 0x64]
call fcn.00439cf0
mov edi, eax
cmp byte [edi + 8], 4
je 0x47f468
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004eb62b
add esp, 0xc
push dword [edi]
lea ecx, [esp + 0x18]
call fcn.00420650
push str.downloadPackage_
lea ecx, [esp + 0x20]
call fcn.004204a0
push ecx
mov byte [esp + 0x9c], 0x37
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x54a6f8
call fcn.004204a0
mov byte [esp + 0x9c], 0x38
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x3c], edi
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x40]
lea ecx, [esp + 0x38]
mov byte [esp + 0xa0], 0x39
call fcn.004215a0
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov edx, eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa0], 0x3a
call fcn.004215a0
add esp, 4
mov byte [esp + 0x9c], 0x3b
mov ecx, eax
mov byte [esp + 0x9c], 0x3e
call fcn.00422850
mov byte [esp + 0x9c], 0x3d
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
add esp, 4
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f52d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x98], 0x3c
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f552
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x98], 0x37
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f573
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x98], 0x36
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f598
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.error_HttpRequest
lea ecx, [esp + 0x30]
call fcn.00420550
push str.downloadPackage
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9c], 0x3f
call fcn.004204a0
mov byte [esp + 0x98], 0x40
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x38], edi
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x34]
mov byte [esp + 0x9c], 0x41
call fcn.004215a0
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov edx, eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x9c], 0x42
call fcn.004215a0
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x98], 0x43
cmp dword [eax + 0x80], 0
je 0x47f638
push 2
push ecx
lea ecx, [esp + 0x30]
push ecx
add eax, 0x7c
push eax
call fcn.004216b0
mov byte [esp + 0x98], 0x42
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f65d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x98], 0x41
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f682
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x98], 0x40
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f6a3
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x98], 0x3f
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f6c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x98], 0x36
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f6ed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esp + 0x14]
jmp 0x47f6f8
mov byte [esp + 0x13], 1
add edi, 0xfffffff0
mov ecx, ebx
lea eax, [edi + 0xc]
mov byte [esp + 0x98], 0x26
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f719
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x98], 0x23
call fcn.004393a0
add esi, 0xfffffff0
mov ecx, ebx
lea eax, [esi + 0xc]
mov byte [esp + 0x98], 0x22
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47f74b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x98], 0x17
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x47f76e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x98], 0x12
call fcn.004393a0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x98], 0xffffffff
call fcn.004393a0
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret