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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51590f
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x573be0]
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 [0x574ba4]
mov ecx, 0x574ba4
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 0x48201e
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x48202c
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00420bb0
jmp 0x48202c
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 [0x574ba4]
mov ecx, 0x574ba4
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 0x4820c1
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 0x4820e9
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 0x48210e
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 0x48212f
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 0x482154
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 0x48217c
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 0x482482
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 [0x574ba4]
mov ecx, 0x574ba4
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 0x482264
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 0x482289
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 0x4822ae
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 0x4822cf
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 0x4822f4
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 0x48231c
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 [0x574ba4]
mov ecx, 0x574ba4
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 [sym.imp.KERNEL32.dll_GetLastError]
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 0x4823c3
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 0x4823e8
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 0x48240d
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 0x48242e
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 0x482453
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 0x483a43
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x483a43
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 [0x57d594]
mov dword [esp + 0x78], 0
test al, 1
jne 0x4824df
or eax, 1
push 0x519370
mov dword [0x57d594], eax
mov dword [0x57d548], 0x54e51c
call fcn.004e9fbf
add esp, 4
mov ecx, dword [0x57664c]
push 0xffffffffffffffff
mov eax, dword [ecx]
push 0x54d37c
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.00439be0
mov edi, eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x40]
call fcn.00439120
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.00439290
lea ecx, [esp + 0x6c]
mov byte [esp + 0x98], 0x12
call fcn.00439290
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 0x4825b8
push dword [ecx - 0xc]
mov ecx, esi
call fcn.0042c840
mov eax, dword [esp + 0x74]
mov esi, dword [esi]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x74], eax
mov eax, dword [0x57d594]
mov dword [esp + 0x78], 0
test al, 1
jne 0x4825fc
or eax, 1
push 0x519370
mov dword [0x57d594], eax
mov dword [0x57d548], 0x54e51c
call fcn.004e9fbf
add esp, 4
mov ecx, dword [0x57664c]
push 0xffffffffffffffff
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x6c], eax
push ecx
push 0x54d2bc
lea ecx, [esp + 0x54]
mov byte [esp + 0xa0], 0x15
call fcn.00439be0
mov esi, eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x40]
call fcn.00439120
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.00439290
lea ecx, [esp + 0x6c]
mov byte [esp + 0x98], 0x14
call fcn.00439290
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 0x4826ce
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.004398b0
push eax
lea ecx, [esp + 0x40]
call fcn.00439930
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439120
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.00439290
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.00439290
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.004398b0
push eax
lea ecx, [esp + 0x40]
call fcn.00439930
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439120
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.00439290
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.00439290
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.004398b0
push eax
lea ecx, [esp + 0x40]
call fcn.00439930
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439120
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.00439290
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.00439290
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.004398b0
push eax
lea ecx, [esp + 0x40]
call fcn.00439930
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439120
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.00439290
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.00439290
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.004398b0
push eax
lea ecx, [esp + 0x40]
call fcn.00439930
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439120
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.00439290
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.00439290
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.004398b0
push eax
lea ecx, [esp + 0x40]
call fcn.00439930
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439120
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.00439290
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.00439290
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.004398b0
push eax
lea ecx, [esp + 0x40]
call fcn.00439930
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439120
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.00439290
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.00439290
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.004398b0
push eax
lea ecx, [esp + 0x40]
call fcn.00439930
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439120
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.00439290
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.00439290
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.004398b0
push eax
lea ecx, [esp + 0x40]
call fcn.00439930
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439120
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.00439290
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.00439290
push ecx
push str.acceptedStatusCodes
lea ecx, [esp + 0x54]
call fcn.00439be0
mov esi, eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439120
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.00439290
mov eax, dword [esp + 0x84]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x84], eax
mov eax, dword [0x57d594]
mov dword [esp + 0x88], 0
test al, 1
jne 0x482eac
or eax, 1
push 0x519370
mov dword [0x57d594], eax
mov dword [0x57d548], 0x54e51c
call fcn.004e9fbf
add esp, 4
mov ecx, dword [0x57664c]
push 0xffffffffffffffff
mov eax, dword [ecx]
push 0x54d3a0
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.00439be0
mov esi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439120
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.00439290
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x17
call fcn.00439290
mov esi, dword [0x57b2ac]
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 0x482f89
cmp ecx, dword [esi - 0x10]
jne 0x482f89
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x482fc3
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x482f9d
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.004ea3ef
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 [0x574ba4]
mov ecx, 0x574ba4
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.0042c2d0
mov esi, dword [esp + 0x18]
cmp dword [esi - 4], 1
jle 0x48302c
push dword [esi - 0xc]
lea ecx, [esp + 0x1c]
call fcn.0042c840
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x84]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x84], eax
mov eax, dword [0x57d594]
mov dword [esp + 0x88], 0
test al, 1
jne 0x483077
or eax, 1
push 0x519370
mov dword [0x57d594], eax
mov dword [0x57d548], 0x54e51c
call fcn.004e9fbf
add esp, 4
mov ecx, dword [0x57664c]
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.00439be0
mov edi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439120
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.00439290
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x23
call fcn.00439290
mov eax, dword [esp + 0x84]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x84], eax
mov eax, dword [0x57d594]
mov dword [esp + 0x88], 0
test al, 1
jne 0x48316f
or eax, 1
push 0x519370
mov dword [0x57d594], eax
mov dword [0x57d548], 0x54e51c
call fcn.004e9fbf
add esp, 4
mov ecx, dword [0x57664c]
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.00439be0
mov edi, eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x70]
call fcn.00439120
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.00439290
lea ecx, [esp + 0x7c]
mov byte [esp + 0x98], 0x23
call fcn.00439290
mov edi, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x50]
push 0xffffffffffffffff
push eax
mov edx, edi
lea ecx, [esp + 0x68]
call fcn.0042f000
add esp, 0xc
push edi
mov byte [esp + 0x9c], 0x26
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
jne 0x483644
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
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 0x48329e
movzx edi, cx
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x4832ae
push edi
push eax
lea ecx, [esp + 0x24]
call fcn.00420bb0
jmp 0x4832ae
push 0xf
push str.downloadPackage
lea ecx, [esp + 0x24]
call fcn.00420c80
mov byte [esp + 0x98], 0x28
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
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 0x4832f9
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x483309
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00420bb0
jmp 0x483309
push 0x12
push str.closeInternetError
lea ecx, [esp + 0x1c]
call fcn.00420c80
mov byte [esp + 0x98], 0x2a
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
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 0x4833a9
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 0x4833ce
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 0x4833f3
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 0x483414
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 0x483439
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 0x48345e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
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 0x4834a1
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x4834af
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00420bb0
jmp 0x4834af
push str.error_InternetCloseHandle
lea ecx, [esp + 0x18]
call fcn.00420650
mov byte [esp + 0x98], 0x30
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x98], 0x31
cmp dword [esp + 0x38], 0
jne 0x4834fa
mov eax, str.downloadPackage
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x48350a
push edi
push eax
lea ecx, [esp + 0x24]
call fcn.00420bb0
jmp 0x48350a
push 0xf
push str.downloadPackage
lea ecx, [esp + 0x24]
call fcn.00420c80
mov byte [esp + 0x98], 0x32
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
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 [sym.imp.KERNEL32.dll_GetLastError]
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 0x48358a
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 0x4835b2
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 0x4835d7
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 0x4835f8
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 0x48361d
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 0x483647
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x483647
or ebx, 0xffffffff
push str.result
lea ecx, [esp + 0x60]
mov byte [esp + 0x16], 0
call fcn.00439d60
cmp eax, 0x57b240
je 0x483690
push ecx
push str.result
lea ecx, [esp + 0x64]
call fcn.00439be0
cmp byte [eax + 8], 5
jne 0x483690
push ecx
push str.result
lea ecx, [esp + 0x64]
call fcn.00439be0
mov ecx, eax
call fcn.00439820
mov byte [esp + 0x12], al
mov edx, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
cmp byte [esp + 0x12], 0
mov byte [esp + 0x98], 0x36
jne 0x4839a3
push str.error
lea ecx, [esp + 0x60]
call fcn.00439d60
cmp eax, 0x57b240
je 0x4839a8
push ecx
push str.error
lea ecx, [esp + 0x64]
call fcn.00439be0
cmp byte [eax + 8], 4
jne 0x4839a8
push ecx
push str.error
lea ecx, [esp + 0x64]
call fcn.00439be0
mov edi, eax
cmp byte [edi + 8], 4
je 0x483718
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004ed740
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 0x54c728
call fcn.004204a0
mov byte [esp + 0x9c], 0x38
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
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 0x4837dd
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 0x483802
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 0x483823
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 0x483848
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 [0x574ba4]
mov ecx, 0x574ba4
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 0x4838e8
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 0x48390d
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 0x483932
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 0x483953
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 0x483978
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 0x48399d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esp + 0x14]
jmp 0x4839a8
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 0x4839c9
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.00439290
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 0x4839fb
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 0x483a1e
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.00439290
lea ecx, [esp + 0x4c]
mov dword [esp + 0x98], 0xffffffff
call fcn.00439290
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