Function at 0x482fd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x516a7f
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x574be0]
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 [0x575ba4]
mov ecx, 0x575ba4
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 0x48304e
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x48305c
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00420bb0
jmp 0x48305c
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 [0x575ba4]
mov ecx, 0x575ba4
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.00421890
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.00421890
add esp, 4
mov byte [esp + 0x98], 5
cmp dword [ebx + 0x80], 0
je 0x4830f1
push 0
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [ebx + 0x7c]
push eax
call fcn.004219a0
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 0x483119
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 0x48313e
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 0x48315f
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 0x483184
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 0x4831ac
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 [0x51b518]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4834b2
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 [0x575ba4]
mov ecx, 0x575ba4
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.00421890
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
mov edx, eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 9
call fcn.00421890
add esp, 4
mov edi, eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x98], 0xa
call fcn.0042b6a0
mov edx, eax
mov ecx, edi
mov byte [esp + 0x98], 0xb
call fcn.00422800
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 0x483294
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 0x4832b9
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 0x4832de
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 0x4832ff
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 0x483324
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 0x48334c
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 [0x575ba4]
mov ecx, 0x575ba4
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.00421890
add esp, 4
mov edi, eax
mov byte [esp + 0x98], 0xf
call dword [0x51b0d4]
push eax
mov edx, edi
lea ecx, [esp + 0x1c]
call fcn.00421800
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x98], 0x10
cmp dword [eax + 0x80], 0
je 0x4833f3
push 2
push ecx
lea ecx, [esp + 0x2c]
push ecx
add eax, 0x7c
push eax
call fcn.004219a0
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 0x483418
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 0x48343d
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 0x48345e
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 0x483483
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 0x484a73
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x484a73
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 [0x57e594]
mov dword [esp + 0x78], 0
test al, 1
jne 0x48350f
or eax, 1
push 0x51a4b0
mov dword [0x57e594], eax
mov dword [0x57e548], 0x54f52c
call fcn.004eb010
add esp, 4
mov ecx, dword [0x57764c]
push 0xffffffffffffffff
mov eax, dword [ecx]
push 0x54e3a8
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.00439ec0
mov edi, eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x40]
call fcn.00439400
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.00439570
lea ecx, [esp + 0x6c]
mov byte [esp + 0x98], 0x12
call fcn.00439570
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
call fcn.0042bb40
mov esi, eax
mov byte [esp + 0x98], 0x14
mov ecx, dword [esi]
cmp dword [ecx - 4], 1
jle 0x4835e8
push dword [ecx - 0xc]
mov ecx, esi
call fcn.0042c790
mov eax, dword [esp + 0x74]
mov esi, dword [esi]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x74], eax
mov eax, dword [0x57e594]
mov dword [esp + 0x78], 0
test al, 1
jne 0x48362c
or eax, 1
push 0x51a4b0
mov dword [0x57e594], eax
mov dword [0x57e548], 0x54f52c
call fcn.004eb010
add esp, 4
mov ecx, dword [0x57764c]
push 0xffffffffffffffff
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x6c], eax
push ecx
push 0x54e2bc
lea ecx, [esp + 0x54]
mov byte [esp + 0xa0], 0x15
call fcn.00439ec0
mov esi, eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x40]
call fcn.00439400
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.00439570
lea ecx, [esp + 0x6c]
mov byte [esp + 0x98], 0x14
call fcn.00439570
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 0x4836fe
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.00439b90
push eax
lea ecx, [esp + 0x40]
call fcn.00439c10
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439400
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.00439570
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.00439570
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.00439b90
push eax
lea ecx, [esp + 0x40]
call fcn.00439c10
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439400
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.00439570
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.00439570
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.00439b90
push eax
lea ecx, [esp + 0x40]
call fcn.00439c10
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439400
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.00439570
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.00439570
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.00439b90
push eax
lea ecx, [esp + 0x40]
call fcn.00439c10
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439400
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.00439570
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.00439570
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.00439b90
push eax
lea ecx, [esp + 0x40]
call fcn.00439c10
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439400
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.00439570
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.00439570
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.00439b90
push eax
lea ecx, [esp + 0x40]
call fcn.00439c10
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439400
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.00439570
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.00439570
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.00439b90
push eax
lea ecx, [esp + 0x40]
call fcn.00439c10
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439400
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.00439570
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.00439570
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.00439b90
push eax
lea ecx, [esp + 0x40]
call fcn.00439c10
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439400
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.00439570
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.00439570
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.00439b90
push eax
lea ecx, [esp + 0x40]
call fcn.00439c10
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439400
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.00439570
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.00439570
push ecx
push str.acceptedStatusCodes
lea ecx, [esp + 0x54]
call fcn.00439ec0
mov esi, eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439400
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.00439570
mov eax, dword [esp + 0x84]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x84], eax
mov eax, dword [0x57e594]
mov dword [esp + 0x88], 0
test al, 1
jne 0x483edc
or eax, 1
push 0x51a4b0
mov dword [0x57e594], eax
mov dword [0x57e548], 0x54f52c
call fcn.004eb010
add esp, 4
mov ecx, dword [0x57764c]
push 0xffffffffffffffff
mov eax, dword [ecx]
push 0x54e3d8
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.00439ec0
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439400
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.00439570
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.00439570
mov esi, dword [0x57c2ac]
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 0x483fb9
cmp ecx, dword [esi - 0x10]
jne 0x483fb9
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x483ff3
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x483fcd
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.004eb43f
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.00428940
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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.0042c220
mov esi, dword [esp + 0x18]
cmp dword [esi - 4], 1
jle 0x48405c
push dword [esi - 0xc]
lea ecx, [esp + 0x1c]
call fcn.0042c790
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x84]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x84], eax
mov eax, dword [0x57e594]
mov dword [esp + 0x88], 0
test al, 1
jne 0x4840a7
or eax, 1
push 0x51a4b0
mov dword [0x57e594], eax
mov dword [0x57e548], 0x54f52c
call fcn.004eb010
add esp, 4
mov ecx, dword [0x57764c]
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.00439ec0
mov edi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439400
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.00439570
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x23
call fcn.00439570
mov eax, dword [esp + 0x84]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x84], eax
mov eax, dword [0x57e594]
mov dword [esp + 0x88], 0
test al, 1
jne 0x48419f
or eax, 1
push 0x51a4b0
mov dword [0x57e594], eax
mov dword [0x57e548], 0x54f52c
call fcn.004eb010
add esp, 4
mov ecx, dword [0x57764c]
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.00439ec0
mov edi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439400
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.00439570
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x23
call fcn.00439570
mov edi, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x50]
push 0xffffffffffffffff
push eax
mov edx, edi
lea ecx, [esp + 0x68]
call fcn.0042ef60
add esp, 0xc
push edi
mov byte [esp + 0x9c], 0x26
call dword [0x51b504]
test eax, eax
jne 0x484674
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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 0x4842ce
movzx edi, cx
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x4842de
push edi
push eax
lea ecx, [esp + 0x24]
call fcn.00420bb0
jmp 0x4842de
push 0xf
push str.downloadPackage
lea ecx, [esp + 0x24]
call fcn.00420c80
mov byte [esp + 0x98], 0x28
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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 0x484329
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x484339
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00420bb0
jmp 0x484339
push 0x12
push str.closeInternetError
lea ecx, [esp + 0x1c]
call fcn.00420c80
mov byte [esp + 0x98], 0x2a
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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.00421890
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
mov edx, eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x9c], 0x2c
call fcn.00421890
add esp, 4
mov ebx, eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x98], 0x2d
call fcn.0042b6a0
mov edx, eax
mov ecx, ebx
mov byte [esp + 0x98], 0x2e
call fcn.00422800
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 0x4843d9
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 0x4843fe
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 0x484423
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 0x484444
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 0x484469
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 0x48448e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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 0x4844d1
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x4844df
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00420bb0
jmp 0x4844df
push str.error_InternetCloseHandle
lea ecx, [esp + 0x18]
call fcn.00420650
mov byte [esp + 0x98], 0x30
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x98], 0x31
cmp dword [esp + 0x38], 0
jne 0x48452a
mov eax, str.downloadPackage
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x48453a
push edi
push eax
lea ecx, [esp + 0x24]
call fcn.00420bb0
jmp 0x48453a
push 0xf
push str.downloadPackage
lea ecx, [esp + 0x24]
call fcn.00420c80
mov byte [esp + 0x98], 0x32
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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.00421890
add esp, 4
mov ebx, eax
mov byte [esp + 0x98], 0x34
call dword [0x51b0d4]
push eax
mov edx, ebx
lea ecx, [esp + 0x38]
call fcn.00421800
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x98], 0x35
cmp dword [eax + 0x80], 0
je 0x4845ba
push 2
push ecx
lea ecx, [esp + 0x24]
push ecx
add eax, 0x7c
push eax
call fcn.004219a0
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 0x4845e2
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 0x484607
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 0x484628
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 0x48464d
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 0x484677
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x484677
or ebx, 0xffffffff
push str.result
lea ecx, [esp + 0x60]
mov byte [esp + 0x16], 0
call fcn.0043a040
cmp eax, 0x57c240
je 0x4846c0
push ecx
push str.result
lea ecx, [esp + 0x64]
call fcn.00439ec0
cmp byte [eax + 8], 5
jne 0x4846c0
push ecx
push str.result
lea ecx, [esp + 0x64]
call fcn.00439ec0
mov ecx, eax
call fcn.00439b00
mov byte [esp + 0x12], al
mov edx, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
cmp byte [esp + 0x12], 0
mov byte [esp + 0x98], 0x36
jne 0x4849d3
push str.error
lea ecx, [esp + 0x60]
call fcn.0043a040
cmp eax, 0x57c240
je 0x4849d8
push ecx
push str.error
lea ecx, [esp + 0x64]
call fcn.00439ec0
cmp byte [eax + 8], 4
jne 0x4849d8
push ecx
push str.error
lea ecx, [esp + 0x64]
call fcn.00439ec0
mov edi, eax
cmp byte [edi + 8], 4
je 0x484748
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004ee7ab
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 0x54d738
call fcn.004204a0
mov byte [esp + 0x9c], 0x38
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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.00421890
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov edx, eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa0], 0x3a
call fcn.00421890
add esp, 4
mov byte [esp + 0x9c], 0x3b
mov ecx, eax
mov byte [esp + 0x9c], 0x3e
call fcn.00422b40
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 0x48480d
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 0x484832
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 0x484853
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 0x484878
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 [0x575ba4]
mov ecx, 0x575ba4
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.00421890
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov edx, eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x9c], 0x42
call fcn.00421890
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x98], 0x43
cmp dword [eax + 0x80], 0
je 0x484918
push 2
push ecx
lea ecx, [esp + 0x30]
push ecx
add eax, 0x7c
push eax
call fcn.004219a0
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 0x48493d
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 0x484962
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 0x484983
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 0x4849a8
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 0x4849cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esp + 0x14]
jmp 0x4849d8
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 0x4849f9
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.00439570
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 0x484a2b
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 0x484a4e
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.00439570
lea ecx, [esp + 0x4c]
mov dword [esp + 0x98], 0xffffffff
call fcn.00439570
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