Function at 0x4d3d00
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x516857
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x572bb0]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x78], ebx
push str.IN_URL
lea ecx, [esp + 0x48]
call fcn.00471c70
push str.downloadPackage
lea ecx, [esp + 0x50]
mov dword [esp + 0xbc], 0
call fcn.00471bb0
mov byte [esp + 0xb8], 1
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4d3d83
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x70], esi
lea eax, [esp + 0x44]
mov byte [esp + 0xb8], 2
push eax
lea edx, [esp + 0x74]
lea ecx, [esp + 0x44]
call fcn.00472fc0
add esp, 4
lea ecx, [ebx + 0xe4]
mov byte [esp + 0xb8], 3
mov dword [esp + 0x48], ecx
mov edx, eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0xb8], 4
cmp dword [ebx + 0x80], 0
je 0x4d3df1
push 0
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [ebx + 0x7c]
push eax
call fcn.00473100
mov byte [esp + 0xb8], 3
or ebx, 0xffffffff
mov edx, dword [esp + 0x28]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4d3e19
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb8], 2
mov ecx, ebx
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d3e3e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0xb8], 1
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d3e5f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb8], 0
mov ecx, ebx
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d3e84
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0xb8], 0xffffffff
mov ecx, ebx
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d3eac
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 + 0x67], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esp + 0x40], eax
test eax, eax
jne 0x4d41de
push str.downloadPackage
lea ecx, [esp + 0x48]
call fcn.00471bb0
push str.openInternetError
lea ecx, [esp + 0x50]
mov dword [esp + 0xbc], 5
call fcn.00471bb0
mov byte [esp + 0xb8], 6
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4d3f1b
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x40], esi
lea eax, [esp + 0x4c]
mov byte [esp + 0xb8], 7
push eax
lea edx, [esp + 0x44]
lea ecx, [esp + 0x4c]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x44]
mov byte [esp + 0xb8], 8
push ecx
mov edx, eax
lea ecx, [esp + 0x2c]
call fcn.00472fc0
add esp, 4
mov edi, eax
lea ecx, [esp + 0x70]
mov byte [esp + 0xb8], 9
call fcn.0047cff0
mov edx, eax
mov byte [esp + 0xb8], 0xa
mov ecx, edi
call fcn.00473f80
mov byte [esp + 0xb8], 9
mov ecx, ebx
mov edx, dword [esp + 0x70]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d3faa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb8], 8
mov ecx, ebx
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d3fcf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb8], 7
mov ecx, ebx
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d3ff4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0xb8], 6
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d4015
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb8], 5
mov ecx, ebx
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d403a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0xb8], 0xffffffff
mov ecx, ebx
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d4062
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.error_InternetOpen
lea ecx, [esp + 0x48]
call fcn.00471c70
push str.downloadPackage
lea ecx, [esp + 0x50]
mov dword [esp + 0xbc], 0xb
call fcn.00471bb0
mov byte [esp + 0xb8], 0xc
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4d40ad
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x48], esi
lea eax, [esp + 0x44]
mov byte [esp + 0xb8], 0xd
push eax
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x2c]
call fcn.00472fc0
add esp, 4
mov edi, eax
mov byte [esp + 0xb8], 0xe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, edi
lea ecx, [esp + 0x44]
call fcn.00472f20
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x78]
mov byte [esp + 0xb8], 0xf
cmp dword [eax + 0x80], 0
je 0x4d411f
push 2
push ecx
lea ecx, [esp + 0x54]
add eax, 0x7c
push ecx
push eax
call fcn.00473100
mov byte [esp + 0xb8], 0xe
mov ecx, ebx
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d4144
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb8], 0xd
mov ecx, ebx
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d4169
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0xb8], 0xc
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d418a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb8], 0xb
mov ecx, ebx
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d41af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0xb8], 0xffffffff
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4d5731
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4d5731
and dword [esp + 0x84], 0xfffffe00
mov dword [esp + 0x88], 0
mov dword [esp + 0xb8], 0x11
mov eax, dword [esp + 0x1c]
and eax, 0xffffff04
mov dword [esp + 0x20], 0
or eax, 0x104
mov dword [esp + 0x1c], eax
mov eax, dword [0x57c5d0]
test al, 1
jne 0x4d4241
or eax, 1
mov dword [0x57c510], 0x54e26c
push 0x518e70
mov dword [0x57c5d0], eax
call fcn.004ea214
add esp, 4
mov ecx, dword [0x573ffc]
push 0xffffffffffffffff
push 0x54d354
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [esp + 0x14], eax
push ecx
push str.method
lea ecx, [esp + 0x84]
mov byte [esp + 0xc0], 0x12
call fcn.0048ac10
mov edi, eax
lea ecx, [esp + 0x5c]
lea eax, [esp + 0x14]
push eax
call fcn.0048a170
movsx ecx, byte [edi + 8]
mov ebx, dword [esp + 0x64]
xor ecx, ebx
mov eax, dword [esp + 0x5c]
and ecx, 0xff
mov byte [edi + 8], bl
xor ebx, ecx
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [edi], eax
mov eax, dword [esp + 0x60]
mov dword [edi + 4], eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [edi + 8]
mov esi, ecx
shl esi, 0x17
mov eax, ecx
sar esi, 0x1f
xor eax, ebx
shl esi, 8
and eax, 0x100
xor esi, ebx
mov dword [esp + 0x60], edx
xor eax, ecx
and esi, 0x100
xor ebx, esi
mov dword [edi + 8], eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x64], ebx
call fcn.0048a2e0
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 0x11
call fcn.0048a2e0
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x48]
call fcn.0047d4b0
mov esi, eax
mov byte [esp + 0xb8], 0x13
mov ecx, dword [esi]
cmp dword [ecx - 4], 1
jle 0x4d431d
push dword [ecx - 0xc]
mov ecx, esi
call fcn.0047e0e0
mov eax, dword [esp + 0x1c]
mov esi, dword [esi]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [0x57c5d0]
test al, 1
jne 0x4d4361
or eax, 1
mov dword [0x57c510], 0x54e26c
push 0x518e70
mov dword [0x57c5d0], eax
call fcn.004ea214
add esp, 4
mov ecx, dword [0x573ffc]
push 0xffffffffffffffff
push esi
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [esp + 0x14], eax
push ecx
push 0x54d294
lea ecx, [esp + 0x84]
mov byte [esp + 0xc0], 0x14
call fcn.0048ac10
mov esi, eax
lea ecx, [esp + 0x5c]
lea eax, [esp + 0x14]
push eax
call fcn.0048a170
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x64]
xor ecx, ebx
mov eax, dword [esp + 0x5c]
and ecx, 0xff
mov byte [esi + 8], bl
xor ebx, ecx
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esi], eax
mov eax, dword [esp + 0x60]
mov dword [esi + 4], eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
mov eax, ecx
sar edx, 0x1f
xor eax, ebx
shl edx, 8
and eax, 0x100
xor edx, ebx
xor eax, ecx
and edx, 0x100
mov dword [esi + 8], eax
xor ebx, edx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x64], ebx
call fcn.0048a2e0
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 0x13
call fcn.0048a2e0
mov byte [esp + 0xb8], 0x11
or ecx, 0xffffffff
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d4436
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
and dword [esp + 0x64], 0xfffffe00
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x34]
and eax, 0xffffff01
mov dword [esp + 0x38], 0
or eax, 1
mov dword [esp + 0x2c], 0xc8
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb8], 0x17
call fcn.0048a8e0
push eax
lea ecx, [esp + 0x60]
call fcn.0048a960
mov esi, eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
call fcn.0048a170
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x1c]
xor ecx, ebx
mov eax, dword [esp + 0x14]
and ecx, 0xff
mov byte [esi + 8], bl
xor ebx, ecx
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esi], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
mov eax, ecx
sar edx, 0x1f
xor eax, ebx
shl edx, 8
and eax, 0x100
xor edx, ebx
xor eax, ecx
and edx, 0x100
mov dword [esi + 8], eax
xor ebx, edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebx
call fcn.0048a2e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 0x16
call fcn.0048a2e0
mov eax, dword [esp + 0x34]
and eax, 0xffffff01
mov dword [esp + 0x38], 0
or eax, 1
mov dword [esp + 0x2c], 0xc9
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb8], 0x18
call fcn.0048a8e0
push eax
lea ecx, [esp + 0x60]
call fcn.0048a960
mov esi, eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
call fcn.0048a170
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x1c]
xor ecx, ebx
mov eax, dword [esp + 0x14]
and ecx, 0xff
mov byte [esi + 8], bl
xor ebx, ecx
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esi], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
mov eax, ecx
sar edx, 0x1f
xor eax, ebx
shl edx, 8
and eax, 0x100
xor edx, ebx
xor eax, ecx
and edx, 0x100
mov dword [esi + 8], eax
xor ebx, edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebx
call fcn.0048a2e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 0x16
call fcn.0048a2e0
mov eax, dword [esp + 0x34]
and eax, 0xffffff01
mov dword [esp + 0x38], 0
or eax, 1
mov dword [esp + 0x2c], 0xca
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb8], 0x19
call fcn.0048a8e0
push eax
lea ecx, [esp + 0x60]
call fcn.0048a960
mov esi, eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
call fcn.0048a170
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x1c]
xor ecx, ebx
mov eax, dword [esp + 0x14]
and ecx, 0xff
mov byte [esi + 8], bl
xor ebx, ecx
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esi], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
mov eax, ecx
sar edx, 0x1f
xor eax, ebx
shl edx, 8
and eax, 0x100
xor edx, ebx
xor eax, ecx
and edx, 0x100
mov dword [esi + 8], eax
xor ebx, edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebx
call fcn.0048a2e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 0x16
call fcn.0048a2e0
mov eax, dword [esp + 0x34]
and eax, 0xffffff01
mov dword [esp + 0x38], 0
or eax, 1
mov dword [esp + 0x2c], 0xcb
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb8], 0x1a
call fcn.0048a8e0
push eax
lea ecx, [esp + 0x60]
call fcn.0048a960
mov esi, eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
call fcn.0048a170
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x1c]
xor ecx, ebx
mov eax, dword [esp + 0x14]
and ecx, 0xff
mov byte [esi + 8], bl
xor ebx, ecx
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esi], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
mov eax, ecx
sar edx, 0x1f
xor eax, ebx
shl edx, 8
and eax, 0x100
xor edx, ebx
xor eax, ecx
and edx, 0x100
mov dword [esi + 8], eax
xor ebx, edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebx
call fcn.0048a2e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 0x16
call fcn.0048a2e0
mov eax, dword [esp + 0x34]
and eax, 0xffffff01
mov dword [esp + 0x38], 0
or eax, 1
mov dword [esp + 0x2c], 0xcc
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb8], 0x1b
call fcn.0048a8e0
push eax
lea ecx, [esp + 0x60]
call fcn.0048a960
mov esi, eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
call fcn.0048a170
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x1c]
xor ecx, ebx
mov eax, dword [esp + 0x14]
and ecx, 0xff
mov byte [esi + 8], bl
xor ebx, ecx
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esi], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], edx
mov dword [esi + 4], eax
mov dword [esp + 0x14], 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 + 0x14]
mov dword [esi + 8], eax
mov dword [esp + 0x1c], ebx
call fcn.0048a2e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 0x16
call fcn.0048a2e0
mov eax, dword [esp + 0x34]
and eax, 0xffffff01
mov dword [esp + 0x38], 0
or eax, 1
mov dword [esp + 0x2c], 0xcd
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb8], 0x1c
call fcn.0048a8e0
push eax
lea ecx, [esp + 0x60]
call fcn.0048a960
mov esi, eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
call fcn.0048a170
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x1c]
xor ecx, ebx
mov eax, dword [esp + 0x14]
and ecx, 0xff
mov byte [esi + 8], bl
xor ebx, ecx
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esi], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
mov eax, ecx
sar edx, 0x1f
xor eax, ebx
shl edx, 8
and eax, 0x100
xor edx, ebx
xor eax, ecx
and edx, 0x100
mov dword [esi + 8], eax
xor ebx, edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebx
call fcn.0048a2e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 0x16
call fcn.0048a2e0
mov eax, dword [esp + 0x34]
and eax, 0xffffff01
mov dword [esp + 0x38], 0
or eax, 1
mov dword [esp + 0x2c], 0xce
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb8], 0x1d
call fcn.0048a8e0
push eax
lea ecx, [esp + 0x60]
call fcn.0048a960
mov esi, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.0048a170
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x1c]
xor ecx, ebx
mov eax, dword [esp + 0x14]
and ecx, 0xff
mov byte [esi + 8], bl
xor ebx, ecx
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esi], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
mov eax, ecx
sar edx, 0x1f
xor eax, ebx
shl edx, 8
and eax, 0x100
xor edx, ebx
xor eax, ecx
and edx, 0x100
mov dword [esi + 8], eax
xor ebx, edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebx
call fcn.0048a2e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 0x16
call fcn.0048a2e0
mov eax, dword [esp + 0x34]
and eax, 0xffffff01
mov dword [esp + 0x38], 0
or eax, 1
mov dword [esp + 0x2c], 0xcf
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb8], 0x1e
call fcn.0048a8e0
push eax
lea ecx, [esp + 0x60]
call fcn.0048a960
mov esi, eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
call fcn.0048a170
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x1c]
xor ecx, ebx
mov eax, dword [esp + 0x14]
and ecx, 0xff
mov byte [esi + 8], bl
xor ebx, ecx
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esi], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
mov eax, ecx
sar edx, 0x1f
xor eax, ebx
shl edx, 8
and eax, 0x100
xor edx, ebx
xor eax, ecx
and edx, 0x100
mov dword [esi + 8], eax
xor ebx, edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebx
call fcn.0048a2e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 0x16
call fcn.0048a2e0
mov eax, dword [esp + 0x34]
and eax, 0xffffff01
mov dword [esp + 0x38], 0
or eax, 1
mov dword [esp + 0x2c], 0xe2
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb8], 0x1f
call fcn.0048a8e0
push eax
lea ecx, [esp + 0x60]
call fcn.0048a960
mov esi, eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
call fcn.0048a170
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x1c]
xor ecx, ebx
mov eax, dword [esp + 0x14]
and ecx, 0xff
mov byte [esi + 8], bl
xor ebx, ecx
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esi], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
mov eax, ecx
sar edx, 0x1f
xor eax, ebx
shl edx, 8
and eax, 0x100
xor edx, ebx
xor eax, ecx
and edx, 0x100
mov dword [esi + 8], eax
xor ebx, edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebx
call fcn.0048a2e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 0x16
call fcn.0048a2e0
push ecx
push str.acceptedStatusCodes
lea ecx, [esp + 0x84]
call fcn.0048ac10
mov esi, eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x5c]
push eax
call fcn.0048a170
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x1c]
mov eax, ebx
xor eax, ecx
mov byte [esi + 8], bl
mov ecx, dword [esi]
and eax, 0xff
mov edx, dword [esi + 4]
xor ebx, eax
mov eax, dword [esp + 0x14]
mov dword [esi], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
mov eax, ecx
sar edx, 0x1f
xor eax, ebx
shl edx, 8
and eax, 0x100
xor edx, ebx
xor eax, ecx
and edx, 0x100
mov dword [esi + 8], eax
xor ebx, edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebx
call fcn.0048a2e0
mov eax, dword [esp + 0x34]
and eax, 0xffffff04
mov dword [esp + 0x38], 0
or eax, 0x104
mov dword [esp + 0x34], eax
mov eax, dword [0x57c5d0]
test al, 1
jne 0x4d4bbb
or eax, 1
mov dword [0x57c510], 0x54e26c
push 0x518e70
mov dword [0x57c5d0], eax
call fcn.004ea214
add esp, 4
mov ecx, dword [0x573ffc]
push 0xffffffffffffffff
push 0x54d378
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [esp + 0x2c], eax
push ecx
push str.acceptTypes
lea ecx, [esp + 0x84]
mov byte [esp + 0xc0], 0x20
call fcn.0048ac10
mov esi, eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
call fcn.0048a170
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x1c]
mov eax, ebx
xor eax, ecx
mov byte [esi + 8], bl
mov ecx, dword [esi]
and eax, 0xff
mov edx, dword [esi + 4]
xor ebx, eax
mov eax, dword [esp + 0x14]
mov dword [esi], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 8]
mov edx, ecx
shl edx, 0x17
mov eax, ecx
sar edx, 0x1f
xor eax, ebx
shl edx, 8
and eax, 0x100
xor edx, ebx
xor eax, ecx
and edx, 0x100
mov dword [esi + 8], eax
xor ebx, edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebx
call fcn.0048a2e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 0x16
call fcn.0048a2e0
mov esi, dword [0x57a264]
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 0x4d4c9b
cmp ecx, dword [esi - 0x10]
jne 0x4d4c9b
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x4d4cd5
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x4d4caf
call fcn.004722b0
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.004ea853
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb8], 0x21
mov eax, dword [eax + 0xec]
push dword [eax - 0xc]
push eax
call fcn.0047a5d0
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4d4d17
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x44], eax
lea edx, [esp + 0x44]
mov byte [esp + 0xb8], 0x22
lea ecx, [esp + 0x4c]
call fcn.0047db90
mov esi, dword [esp + 0x44]
cmp dword [esi - 4], 1
jle 0x4d4d54
push dword [esi - 0xc]
lea ecx, [esp + 0x48]
call fcn.0047e0e0
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x34]
and eax, 0xffffff04
mov dword [esp + 0x38], 0
or eax, 0x104
mov dword [esp + 0x34], eax
mov eax, dword [0x57c5d0]
test al, 1
jne 0x4d4d96
or eax, 1
mov dword [0x57c510], 0x54e26c
push 0x518e70
mov dword [0x57c5d0], eax
call fcn.004ea214
add esp, 4
mov ecx, dword [0x573ffc]
push 0xffffffffffffffff
push esi
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [esp + 0x2c], eax
push ecx
push str.outputFile
lea ecx, [esp + 0x84]
mov byte [esp + 0xc0], 0x23
call fcn.0048ac10
mov edi, eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
call fcn.0048a170
movsx ecx, byte [edi + 8]
mov ebx, dword [esp + 0x1c]
mov eax, ebx
xor eax, ecx
mov byte [edi + 8], bl
mov ecx, dword [edi]
and eax, 0xff
mov edx, dword [edi + 4]
xor ebx, eax
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 4], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 8]
mov edx, ecx
shl edx, 0x17
mov eax, ecx
sar edx, 0x1f
xor eax, ebx
shl edx, 8
and eax, 0x100
xor edx, ebx
xor eax, ecx
and edx, 0x100
mov dword [edi + 8], eax
xor ebx, edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebx
call fcn.0048a2e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 0x22
call fcn.0048a2e0
mov eax, dword [esp + 0x34]
and eax, 0xffffff04
mov dword [esp + 0x38], 0
or eax, 0x104
mov dword [esp + 0x34], eax
mov eax, dword [0x57c5d0]
test al, 1
jne 0x4d4e88
or eax, 1
mov dword [0x57c510], 0x54e26c
push 0x518e70
mov dword [0x57c5d0], eax
call fcn.004ea214
add esp, 4
mov ecx, dword [0x573ffc]
push 0xffffffffffffffff
push str.binary
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [esp + 0x2c], eax
push ecx
push str.responseType
lea ecx, [esp + 0x84]
mov byte [esp + 0xc0], 0x24
call fcn.0048ac10
mov edi, eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
call fcn.0048a170
movsx ecx, byte [edi + 8]
mov ebx, dword [esp + 0x1c]
mov eax, ebx
xor eax, ecx
mov byte [edi + 8], bl
mov ecx, dword [edi]
and eax, 0xff
mov edx, dword [edi + 4]
xor ebx, eax
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 4], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 8]
mov edx, ecx
shl edx, 0x17
mov eax, ecx
sar edx, 0x1f
xor eax, ebx
shl edx, 8
and eax, 0x100
xor edx, ebx
xor eax, ecx
and edx, 0x100
mov dword [edi + 8], eax
xor ebx, edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebx
call fcn.0048a2e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb8], 0x22
call fcn.0048a2e0
mov edi, dword [esp + 0x40]
lea eax, [esp + 0x7c]
push 0
push 0xffffffffffffffff
push eax
mov edx, edi
lea ecx, [esp + 0xa0]
call fcn.00480840
add esp, 0xc
push edi
mov byte [esp + 0xbc], 0x25
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
jne 0x4d52cd
push str.downloadPackage
lea ecx, [esp + 0x58]
call fcn.00471bb0
push str.closeInternetError
lea ecx, [esp + 0x2c]
mov byte [esp + 0xbc], 0x26
call fcn.00471bb0
mov byte [esp + 0xb8], 0x27
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4d4fb9
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x48], edi
lea eax, [esp + 0x28]
mov byte [esp + 0xb8], 0x28
push eax
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x78]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x54]
mov byte [esp + 0xb8], 0x29
push ecx
mov edx, eax
lea ecx, [esp + 0x74]
call fcn.00472fc0
add esp, 4
mov ebx, eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xb8], 0x2a
call fcn.0047cff0
mov edx, eax
mov byte [esp + 0xb8], 0x2b
mov ecx, ebx
call fcn.00473f80
mov byte [esp + 0xb8], 0x2a
or ebx, 0xffffffff
mov edx, dword [esp + 0x40]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d504b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb8], 0x29
mov ecx, ebx
mov edx, dword [esp + 0x70]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d5070
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb8], 0x28
mov ecx, ebx
mov edx, dword [esp + 0x74]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d5095
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0xb8], 0x27
mov ecx, ebx
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d50b6
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb8], 0x26
mov ecx, ebx
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d50db
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb8], 0x25
mov ecx, ebx
mov edx, dword [esp + 0x54]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d5100
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4d511c
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
mov eax, str.error_InternetCloseHandle
mov byte [esp + 0xb8], 0x2c
test eax, 0xffff0000
jne 0x4d5159
movzx edi, ax
mov ecx, edi
call fcn.00471400
test eax, eax
je 0x4d5167
push edi
push eax
lea ecx, [esp + 0x30]
call fcn.004724d0
jmp 0x4d5167
push str.error_InternetCloseHandle
lea ecx, [esp + 0x2c]
call fcn.00471eb0
push str.downloadPackage
lea ecx, [esp + 0x58]
mov byte [esp + 0xbc], 0x2d
call fcn.00471bb0
mov byte [esp + 0xb8], 0x2e
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4d51a1
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x74], edi
lea eax, [esp + 0x28]
mov byte [esp + 0xb8], 0x2f
push eax
lea edx, [esp + 0x78]
lea ecx, [esp + 0x44]
call fcn.00472fc0
add esp, 4
mov ebx, eax
mov byte [esp + 0xb8], 0x30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, ebx
lea ecx, [esp + 0x4c]
call fcn.00472f20
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x78]
mov byte [esp + 0xb8], 0x31
cmp dword [eax + 0x80], 0
je 0x4d5213
push 2
push ecx
lea ecx, [esp + 0x5c]
add eax, 0x7c
push ecx
push eax
call fcn.00473100
mov byte [esp + 0xb8], 0x30
or ebx, 0xffffffff
mov edx, dword [esp + 0x48]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d523b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb8], 0x2f
mov ecx, ebx
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d5260
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0xb8], 0x2e
mov ecx, ebx
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d5281
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb8], 0x2d
mov ecx, ebx
mov edx, dword [esp + 0x54]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d52a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb8], 0x25
mov ecx, ebx
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d52d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4d52d0
or ebx, 0xffffffff
push str.result
lea ecx, [esp + 0x98]
mov byte [esp + 0x5f], 0
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4d5322
push ecx
push str.result
lea ecx, [esp + 0x9c]
call fcn.0048ac10
cmp byte [eax + 8], 5
jne 0x4d5322
push ecx
push str.result
lea ecx, [esp + 0x9c]
call fcn.0048ac10
mov ecx, eax
call fcn.0048a850
mov byte [esp + 0x5b], al
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4d533e
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x28], edi
cmp byte [esp + 0x5b], 0
mov byte [esp + 0xb8], 0x32
jne 0x4d568e
push str.error
lea ecx, [esp + 0x98]
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4d5693
push ecx
push str.error
lea ecx, [esp + 0x9c]
call fcn.0048ac10
cmp byte [eax + 8], 4
jne 0x4d5693
push ecx
push str.error
lea ecx, [esp + 0x9c]
call fcn.0048ac10
mov edi, eax
cmp byte [edi + 8], 4
je 0x4d53c8
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
add esp, 0xc
push dword [edi]
lea ecx, [esp + 0x2c]
call fcn.00471eb0
push str.downloadPackage_
lea ecx, [esp + 0x58]
call fcn.00471bb0
push ecx
mov byte [esp + 0xbc], 0x33
mov ecx, esp
mov dword [esp + 0x94], esp
push 0x54c730
call fcn.00471bb0
mov byte [esp + 0xbc], 0x34
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4d5421
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x78], edi
lea eax, [esp + 0x58]
mov byte [esp + 0xbc], 0x35
push eax
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x48]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x2c]
mov byte [esp + 0xbc], 0x36
push ecx
mov edx, eax
lea ecx, [esp + 0x50]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0xbc], 0x37
mov ecx, eax
mov byte [esp + 0xbc], 0x3a
call fcn.00474300
mov byte [esp + 0xbc], 0x39
add esp, 4
mov edx, dword [esp + 0x48]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d54a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb8], 0x38
mov ecx, ebx
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d54cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0xb8], 0x33
mov ecx, ebx
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d54ec
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb8], 0x32
mov ecx, ebx
mov edx, dword [esp + 0x54]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d5511
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.error_HttpRequest
lea ecx, [esp + 0x74]
call fcn.00471c70
push str.downloadPackage
lea ecx, [esp + 0x58]
mov byte [esp + 0xbc], 0x3b
call fcn.00471bb0
mov byte [esp + 0xb8], 0x3c
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4d5559
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x74], edi
lea eax, [esp + 0x70]
mov byte [esp + 0xb8], 0x3d
push eax
lea edx, [esp + 0x78]
lea ecx, [esp + 0x94]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0xb8], 0x3e
push ecx
mov edx, eax
lea ecx, [esp + 0xac]
call fcn.00472fc0
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x78]
mov byte [esp + 0xb8], 0x3f
cmp dword [eax + 0x80], 0
je 0x4d55cd
push 2
push ecx
lea ecx, [esp + 0x5c]
add eax, 0x7c
push ecx
push eax
call fcn.00473100
mov byte [esp + 0xb8], 0x3e
mov ecx, ebx
mov edx, dword [esp + 0xa8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d55f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb8], 0x3d
mov ecx, ebx
mov edx, dword [esp + 0x90]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d561d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0xb8], 0x3c
mov ecx, ebx
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d563e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb8], 0x3b
mov ecx, ebx
mov edx, dword [esp + 0x54]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d5663
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb8], 0x32
mov ecx, ebx
mov edx, dword [esp + 0x70]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d5688
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esp + 0x28]
jmp 0x4d5693
mov byte [esp + 0x53], 1
add edi, 0xfffffff0
mov byte [esp + 0xb8], 0x25
mov ecx, ebx
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d56b4
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x94]
mov byte [esp + 0xb8], 0x22
call fcn.0048a2e0
add esi, 0xfffffff0
mov byte [esp + 0xb8], 0x21
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d56e9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb8], 0x16
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4d570c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb8], 0x11
call fcn.0048a2e0
lea ecx, [esp + 0x7c]
mov dword [esp + 0xb8], 0xffffffff
call fcn.0048a2e0
mov al, byte [esp + 0x53]
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret