Function at 0x455570
Capabilities:
Encode data using base64
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x512c5f
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x573be0]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov dword [esp + 0x58], ecx
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x4c], eax
mov eax, 0x550780
mov dword [esp + 0xb0], 0
test eax, 0xffff0000
jne 0x4555ec
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x4555fa
push esi
push eax
lea ecx, [esp + 0x54]
call fcn.00420bb0
jmp 0x4555fa
push 0x550780
lea ecx, [esp + 0x50]
call fcn.00420650
push str.downloadFile
lea ecx, [esp + 0x54]
mov dword [esp + 0xb4], 1
call fcn.004204a0
mov byte [esp + 0xb0], 2
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
mov byte [esp + 0xb0], 3
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x70]
mov byte [esp + 0xb4], 4
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x4c]
push ecx
mov edx, eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb4], 5
call fcn.00421890
add esp, 4
mov ebx, eax
mov byte [esp + 0xb0], 6
call fcn.004ead9d
push eax
mov edx, ebx
lea ecx, [esp + 0x2c]
call fcn.00421800
add esp, 4
mov ecx, dword [esp + 0x58]
mov byte [esp + 0xb0], 7
cmp dword [ecx + 0xc], 0
je 0x4556c4
push 0
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [ecx + 8]
push eax
call fcn.004219a0
mov byte [esp + 0xb0], 6
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4556ec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 5
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x455711
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 4
mov edx, dword [esp + 0x6c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x455736
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0xb0], 3
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x455757
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [esp + 0xb0], 2
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45577b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 1
mov edx, dword [esp + 0x50]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4557a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0xb0], 0xffffffff
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4557c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
mov dword [esp + 0x74], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x60], eax
mov esi, dword [ebp + 8]
push 0x54d2bc
mov ecx, esi
mov dword [esp + 0xb4], 8
call fcn.00439d60
cmp eax, 0x57b240
je 0x45741b
push 0x54d2bc
mov ecx, esi
call fcn.00439d60
cmp byte [eax + 8], 4
jne 0x45741b
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x54], eax
push 0x54d2bc
mov ecx, esi
mov byte [esp + 0xb4], 0xd
call fcn.00439d60
mov esi, eax
cmp byte [esi + 8], 4
je 0x455866
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004ed740
add esp, 0xc
push dword [esi]
lea ecx, [esp + 0x58]
call fcn.00420650
lea edx, [esp + 0x54]
mov ecx, edx
call fcn.0042c120
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x64], eax
lea edx, [esp + 0x64]
lea ecx, [esp + 0x54]
mov byte [esp + 0xb0], 0xe
call fcn.0042bd90
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, 0x5507f0
mov byte [esp + 0xb0], 0xf
test eax, 0xffff0000
jne 0x4558e8
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x4558f8
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00420bb0
jmp 0x4558f8
push 0xc
push 0x5507f0
lea ecx, [esp + 0x1c]
call fcn.00420c80
mov byte [esp + 0xb0], 0x10
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, str.strUrl
mov byte [esp + 0xb0], 0x11
test eax, 0xffff0000
jne 0x455943
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x455951
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00420bb0
jmp 0x455951
push str.strUrl
lea ecx, [esp + 0x1c]
call fcn.00420650
mov byte [esp + 0xb0], 0x12
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x4c], eax
mov eax, str.downloadFile
shr eax, 0x10
mov byte [esp + 0xb0], 0x13
mov dword [esp + 0x6c], eax
mov ecx, str.downloadFile
test eax, eax
jne 0x4559a5
movzx esi, cx
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x4559b5
push esi
push eax
lea ecx, [esp + 0x54]
call fcn.00420bb0
jmp 0x4559b5
push 0xc
push str.downloadFile
lea ecx, [esp + 0x54]
call fcn.00420c80
mov byte [esp + 0xb0], 0x14
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
mov byte [esp + 0xb0], 0x15
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x34]
mov byte [esp + 0xb4], 0x16
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov edx, eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb4], 0x17
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x54]
push ecx
mov edx, eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xb4], 0x18
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov edx, eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb4], 0x19
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x64]
push ecx
mov edx, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 0x1a
call fcn.00421890
add esp, 4
mov ecx, dword [esp + 0x58]
mov byte [esp + 0xb0], 0x1b
cmp dword [ecx + 0xc], 0
je 0x455a99
push 0
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [ecx + 8]
push eax
call fcn.004219a0
mov byte [esp + 0xb0], 0x1a
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 0x455ac1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x19
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x455ae6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x18
mov edx, dword [esp + 0x50]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x455b0b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x17
mov edx, dword [esp + 0x68]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x455b30
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x16
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 0x455b55
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0xb0], 0x15
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x455b76
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [esp + 0xb0], 0x14
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x455b9a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x12
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x455bbf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x10
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x455be4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0xe
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x455c09
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp + 8]
push str.fileName
mov ecx, ebx
call fcn.00439d60
cmp eax, 0x57b240
je 0x45730c
push str.fileName
mov ecx, ebx
call fcn.00439d60
cmp byte [eax + 8], 4
jne 0x45730c
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x70], eax
push str.fileName
mov ecx, ebx
mov byte [esp + 0xb4], 0x20
call fcn.00439d60
mov esi, eax
cmp byte [esi + 8], 4
je 0x455c80
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004ed740
add esp, 0xc
push dword [esi]
lea ecx, [esp + 0x74]
call fcn.00420650
lea edx, [esp + 0x70]
mov ecx, edx
call fcn.0042c120
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x4c], eax
push str.responseType
mov ecx, ebx
mov byte [esp + 0xb4], 0x21
call fcn.00439d60
cmp eax, 0x57b240
je 0x455d0d
push str.responseType
mov ecx, ebx
call fcn.00439d60
cmp byte [eax + 8], 4
jne 0x455d0d
push str.responseType
mov ecx, ebx
call fcn.00439d60
mov esi, eax
cmp byte [esi + 8], 4
je 0x455d02
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004ed740
add esp, 0xc
push dword [esi]
lea ecx, [esp + 0x50]
call fcn.00420650
and dword [esp + 0x9c], 0xfffffe00
mov dword [esp + 0xa0], 0
push str.acceptedStatusCodes
mov ecx, ebx
mov byte [esp + 0xb4], 0x23
call fcn.00439d60
cmp eax, 0x57b240
je 0x455d73
push str.acceptedStatusCodes
mov ecx, ebx
call fcn.00439d60
mov al, byte [eax + 8]
test al, al
je 0x455d55
cmp al, 6
jne 0x455d73
push str.acceptedStatusCodes
mov ecx, ebx
call fcn.00439d60
push eax
lea ecx, [esp + 0x98]
call fcn.00439350
jmp 0x455f8e
mov eax, dword [esp + 0x3c]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x3c], eax
mov eax, dword [0x57d594]
mov dword [esp + 0x40], 0
test al, 1
jne 0x455db5
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 0x54d388
call dword [eax + 0xc]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x94]
mov byte [esp + 0xb0], 0x24
call fcn.004398b0
push eax
lea ecx, [esp + 0x98]
call fcn.00439930
mov esi, eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x80]
call fcn.00439120
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x84]
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 + 0x7c]
mov dword [esi], eax
mov eax, dword [esp + 0x80]
mov dword [esi + 4], eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x7c], 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 + 0x7c]
mov dword [esi + 8], eax
mov dword [esp + 0x84], ebx
call fcn.00439290
lea ecx, [esp + 0x34]
mov byte [esp + 0xb0], 0x23
call fcn.00439290
mov eax, dword [esp + 0x3c]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x3c], eax
mov eax, dword [0x57d594]
mov dword [esp + 0x40], 0
test al, 1
jne 0x455ec1
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 0x54dd68
call dword [eax + 0xc]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x94]
mov byte [esp + 0xb0], 0x25
call fcn.004398b0
push eax
lea ecx, [esp + 0x98]
call fcn.00439930
mov esi, eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x80]
call fcn.00439120
movsx ecx, byte [esi + 8]
mov ebx, dword [esp + 0x84]
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 + 0x7c]
mov dword [esi], eax
mov eax, dword [esp + 0x80]
mov dword [esi + 4], eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x7c], 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 + 0x7c]
mov dword [esi + 8], eax
mov dword [esp + 0x84], ebx
call fcn.00439290
lea ecx, [esp + 0x34]
mov byte [esp + 0xb0], 0x23
call fcn.00439290
mov ebx, dword [ebp + 8]
push str.onFinishId
mov ecx, ebx
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
call fcn.00439d60
cmp eax, 0x57b240
je 0x455fdf
push str.onFinishId
mov ecx, ebx
call fcn.00439d60
cmp byte [eax + 8], 1
jne 0x455fdf
push str.onFinishId
mov ecx, ebx
call fcn.00439d60
mov ecx, eax
call fcn.00439520
mov dword [esp + 0x20], eax
jmp 0x456177
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, str.onFinishId_not_exist
mov byte [esp + 0xb0], 0x26
test eax, 0xffff0000
jne 0x456022
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x456030
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00420bb0
jmp 0x456030
push str.onFinishId_not_exist
jmp 0x5dc8d8
mov byte [esp + 0xb0], 0x27
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0xb0], 0x28
cmp dword [esp + 0x6c], 0
jne 0x45607b
mov eax, str.downloadFile
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x45608b
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00420bb0
jmp 0x45608b
push 0xc
push str.downloadFile
lea ecx, [esp + 0x20]
call fcn.00420c80
mov byte [esp + 0xb0], 0x29
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x28], esi
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb4], 0x2a
call fcn.00421890
add esp, 4
mov ecx, dword [esp + 0x58]
mov byte [esp + 0xb0], 0x2b
cmp dword [ecx + 0xc], 0
je 0x4560e7
push 2
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [ecx + 8]
push eax
call fcn.004219a0
mov byte [esp + 0xb0], 0x2a
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45610c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0xb0], 0x29
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45612d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x27
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x456152
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x23
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x456177
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.onProgressId
mov ecx, ebx
call fcn.00439d60
cmp eax, 0x57b240
je 0x4561b8
push str.onProgressId
mov ecx, ebx
call fcn.00439d60
cmp byte [eax + 8], 1
jne 0x4561b8
push str.onProgressId
mov ecx, ebx
call fcn.00439d60
mov ecx, eax
call fcn.00439520
mov dword [esp + 0x24], eax
jmp 0x456350
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, str.onProgressId_not_exist
mov byte [esp + 0xb0], 0x2c
test eax, 0xffff0000
jne 0x4561fb
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x456209
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00420bb0
jmp 0x456209
push str.onProgressId_not_exist
lea ecx, [esp + 0x18]
call fcn.00420650
mov byte [esp + 0xb0], 0x2d
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0xb0], 0x2e
cmp dword [esp + 0x6c], 0
jne 0x456254
mov eax, str.downloadFile
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x456264
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00420bb0
jmp 0x456264
push 0xc
push str.downloadFile
lea ecx, [esp + 0x20]
call fcn.00420c80
mov byte [esp + 0xb0], 0x2f
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x28], esi
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb4], 0x30
call fcn.00421890
add esp, 4
mov ecx, dword [esp + 0x58]
mov byte [esp + 0xb0], 0x31
cmp dword [ecx + 0xc], 0
je 0x4562c0
push 2
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [ecx + 8]
push eax
call fcn.004219a0
mov byte [esp + 0xb0], 0x30
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4562e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0xb0], 0x2f
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x456306
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x2d
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45632b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x23
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x456350
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.progressPercent
mov ecx, ebx
mov dword [esp + 0x54], 0
call fcn.00439d60
cmp eax, 0x57b240
je 0x4563b0
push str.progressPercent
mov ecx, ebx
call fcn.00439d60
mov al, byte [eax + 8]
cmp al, 1
je 0x456386
cmp al, 2
je 0x456386
cmp al, 5
jne 0x4563b0
push str.progressPercent
mov ecx, ebx
call fcn.00439d60
mov ecx, eax
call fcn.00439520
mov ebx, eax
mov dword [esp + 0x50], ebx
test ebx, ebx
js 0x4563a8
cmp ebx, 0x64
jle 0x4563b0
mov dword [esp + 0x50], 0
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 0x4563dc
cmp ecx, dword [esi - 0x10]
jne 0x4563dc
lea ebx, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x456416
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
jne 0x4563f0
call fcn.004208f0
mov eax, dword [esi - 0xc]
mov dword [ebx + 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, [ebx + 0x10]
push eax
call fcn.004ea3ef
add esp, 0x10
lea eax, [ebx + 0x10]
mov dword [esp + 0x18], eax
lea esi, [eax - 0x10]
mov byte [esp + 0xb0], 0x32
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x45644f
cmp ecx, dword [esi]
jne 0x45644f
mov ebx, esi
mov dword [esp + 0x68], ebx
mov eax, 1
lock xadd dword [edx], eax
jmp 0x456490
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov ebx, eax
mov dword [esp + 0x68], ebx
test ebx, ebx
jne 0x456467
call fcn.004208f0
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.004ea3ef
add esp, 0x10
lea eax, [ebx + 0x10]
mov dword [esp + 0x90], eax
mov byte [esp + 0xb0], 0x33
mov ebx, dword [esp + 0x70]
lea ecx, [esp + 0x18]
push dword [ebx - 0xc]
push ebx
call fcn.00428940
mov esi, dword [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0042cee0
add esp, 4
test al, al
je 0x456b67
lea edx, [ebx - 0x10]
mov dword [esp + 0x14], 1
mov dword [esp + 0x1c], edx
lea esp, [esp]
push 0x2e
push ebx
call fcn.004ed550
mov edi, eax
add esp, 8
test edi, edi
je 0x4564fe
sub edi, ebx
sar edi, 1
mov dword [esp + 0x28], edi
cmp edi, 0xffffffff
jne 0x456505
mov eax, dword [ebx - 0xc]
mov dword [esp + 0x28], eax
mov ecx, dword [ebx - 0x10]
lea edi, [ebx - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x45652a
cmp ecx, dword [edi]
jne 0x45652a
mov eax, 1
lock xadd dword [edx], eax
jmp 0x45656e
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov edx, eax
mov dword [esp + 0x48], edx
test edx, edx
je 0x4563eb
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.004ea3ef
mov edi, dword [esp + 0x58]
add esp, 0x10
lea eax, [edi + 0x10]
mov dword [esp + 0x30], eax
mov byte [esp + 0xb0], 0x34
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x48], eax
mov byte [esp + 0xb0], 0x35
push dword [esp + 0x14]
lea eax, [esp + 0x4c]
push str.___d_
push eax
call fcn.00421610
mov edi, dword [esp + 0x54]
add esp, 0xc
lea ecx, [esp + 0x30]
push edi
push dword [esp + 0x2c]
call fcn.00475a40
lea eax, [esp + 0x30]
push eax
lea edx, [esp + 0x94]
lea ecx, [esp + 0x30]
call fcn.00422130
add esp, 4
mov byte [esp + 0xb0], 0x36
mov edx, dword [eax]
lea ecx, [esi - 0x10]
lea eax, [edx - 0x10]
mov dword [esp + 0x28], edx
mov dword [esp + 0x5c], ecx
cmp eax, ecx
je 0x4566b6
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [esp + 0x78], eax
jl 0x4566a5
lea esi, [edx - 0x10]
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x4566a1
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x456638
cmp ecx, dword [esi]
jne 0x456638
mov eax, 1
lock xadd dword [edx], eax
jmp 0x45667c
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [esp + 0x28], edx
test edx, edx
je 0x4563eb
mov ecx, dword [esi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.004ea3ef
mov esi, dword [esp + 0x38]
add esp, 0x10
mov ecx, dword [esp + 0x78]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x456698
mov edx, dword [esp + 0x5c]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0x10
mov dword [esp + 0x18], esi
jmp 0x4566b6
mov edx, dword [esp + 0x28]
push dword [edx - 0xc]
lea ecx, [esp + 0x1c]
push edx
call fcn.00420c80
mov esi, dword [esp + 0x18]
mov byte [esp + 0xb0], 0x35
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 0x4566dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, esi
call fcn.0042cee0
lea edx, [edi - 0x10]
or edi, 0xffffffff
add esp, 4
test al, al
mov ecx, edi
lea eax, [edx + 0xc]
je 0x456748
inc dword [esp + 0x14]
mov byte [esp + 0xb0], 0x34
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x456713
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x33
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x456738
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esp + 0x14], 0x3e8
jle 0x4564e0
jmp 0x456794
mov byte [esp + 0xb0], 0x34
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x456761
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x33
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x456786
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esp + 0x14], 0x3e8
jle 0x45698a
push str.downloadFile_findfile_1000
lea ecx, [esp + 0x64]
call fcn.00420600
push str.ERROR_could_not_find_valid_file_name_to_use
lea ecx, [esp + 0x4c]
call fcn.00420550
push str.downloadFile
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 0x37
call fcn.004204a0
mov byte [esp + 0xb0], 0x38
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x2c], edi
lea eax, [esp + 0x48]
push eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x60]
mov byte [esp + 0xb4], 0x39
call fcn.00421890
add esp, 4
mov ecx, dword [esp + 0x58]
mov byte [esp + 0xb0], 0x3a
cmp dword [ecx + 0xc], 0
je 0x456822
push 2
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [ecx + 8]
push eax
call fcn.004219a0
mov byte [esp + 0xb0], 0x39
mov edx, dword [esp + 0x5c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x456848
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [esp + 0xb0], 0x38
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45686c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x37
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x456891
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x33
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4568b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x32
mov edx, dword [esp + 0x68]
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4568d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0xb0], 0x23
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4568f9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x94]
mov byte [esp + 0xb0], 0x21
call fcn.00439290
mov byte [esp + 0xb0], 0x20
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x456932
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0xe
mov edx, dword [esp + 0x1c]
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x456954
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0xd
mov edx, dword [esp + 0x64]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x456979
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 8
mov edx, dword [esp + 0x54]
jmp 0x457522
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, str.strOutputPath
mov byte [esp + 0xb0], 0x3b
test eax, 0xffff0000
jne 0x4569cd
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x4569db
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00420bb0
jmp 0x4569db
push str.strOutputPath
lea ecx, [esp + 0x18]
call fcn.00420650
mov byte [esp + 0xb0], 0x3c
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0xb0], 0x3d
cmp dword [esp + 0x6c], 0
jne 0x456a26
mov eax, str.downloadFile
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x456a36
push edi
push eax
lea ecx, [esp + 0x38]
call fcn.00420bb0
jmp 0x456a36
push 0xc
push str.downloadFile
lea ecx, [esp + 0x38]
call fcn.00420c80
mov byte [esp + 0xb0], 0x3e
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x60]
mov byte [esp + 0xb4], 0x3f
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov edx, eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xb4], 0x40
call fcn.00421890
add esp, 4
mov ecx, dword [esp + 0x58]
mov byte [esp + 0xb0], 0x41
cmp dword [ecx + 0xc], 0
je 0x456aad
push 0
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [ecx + 8]
push eax
call fcn.004219a0
mov byte [esp + 0xb0], 0x40
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 0x456ad3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x3f
mov edx, dword [esp + 0x5c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x456af9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [esp + 0xb0], 0x3e
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x456b1d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x3c
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x456b42
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x33
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x456b67
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x10
call fcn.004e93a3
mov ecx, eax
add esp, 4
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x456b8f
mov byte [ecx + 8], 0
and dword [ecx + 8], 0xfffffeff
mov dword [ecx + 0xc], 0
jmp 0x456b97
mov dword [esp + 0x14], 0
mov byte [esp + 0xb0], 0x33
mov eax, dword [esp + 0x3c]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x3c], eax
mov eax, dword [0x57d594]
mov dword [esp + 0x40], 0
test al, 1
jne 0x456be1
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 + 0x34], eax
lea eax, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0xb8], 0x44
mov ecx, dword [esp + 0x1c]
push str.method
call fcn.00439be0
mov ecx, eax
call fcn.00439350
lea ecx, [esp + 0x34]
mov byte [esp + 0xb0], 0x33
call fcn.00439290
lea edx, [esp + 0x54]
lea ecx, [esp + 0x2c]
call fcn.0042bb40
mov dword [esp + 0x1c], eax
mov byte [esp + 0xb0], 0x45
mov ecx, dword [eax]
cmp dword [ecx - 4], 1
jle 0x456c5a
push dword [ecx - 0xc]
mov ecx, eax
call fcn.0042c840
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x3c], eax
mov eax, dword [0x57d594]
mov dword [esp + 0x40], 0
test al, 1
jne 0x456ca2
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 dword [esp + 0x20]
call dword [eax + 0xc]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0xb8], 0x46
mov ecx, dword [esp + 0x1c]
push 0x54d2bc
call fcn.00439be0
mov ecx, eax
call fcn.00439350
lea ecx, [esp + 0x34]
mov byte [esp + 0xb0], 0x45
call fcn.00439290
mov byte [esp + 0xb0], 0x33
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x456d10
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x94]
push eax
push ecx
push str.acceptedStatusCodes
mov ecx, edi
call fcn.00439be0
mov ecx, eax
call fcn.00439350
mov eax, dword [esp + 0x3c]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x3c], eax
mov eax, dword [0x57d594]
mov dword [esp + 0x40], 0
test al, 1
jne 0x456d72
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 + 0x34], eax
lea eax, [esp + 0x34]
push eax
push ecx
push str.acceptTypes
mov ecx, edi
mov byte [esp + 0xbc], 0x47
call fcn.00439be0
mov ecx, eax
call fcn.00439350
lea ecx, [esp + 0x34]
mov byte [esp + 0xb0], 0x33
call fcn.00439290
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x30], eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x18]
mov byte [esp + 0xb0], 0x48
call fcn.0042c2d0
mov edi, dword [esp + 0x30]
cmp dword [edi - 4], 1
jle 0x456dfd
push dword [edi - 0xc]
lea ecx, [esp + 0x34]
call fcn.0042c840
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x3c], eax
mov eax, dword [0x57d594]
mov dword [esp + 0x40], 0
test al, 1
jne 0x456e3f
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 edi
call dword [eax + 0xc]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0xb8], 0x49
mov ecx, dword [esp + 0x1c]
push str.outputFile
call fcn.00439be0
mov ecx, eax
call fcn.00439350
lea ecx, [esp + 0x34]
mov byte [esp + 0xb0], 0x48
call fcn.00439290
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x2c]
call fcn.0042bb40
mov dword [esp + 0x1c], eax
mov byte [esp + 0xb0], 0x4a
mov ecx, dword [eax]
cmp dword [ecx - 4], 1
jle 0x456eb4
push dword [ecx - 0xc]
mov ecx, eax
call fcn.0042c840
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x3c], eax
mov eax, dword [0x57d594]
mov dword [esp + 0x40], 0
test al, 1
jne 0x456efc
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 dword [esp + 0x20]
call dword [eax + 0xc]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0xb8], 0x4b
mov ecx, dword [esp + 0x1c]
push str.responseType
call fcn.00439be0
mov ecx, eax
call fcn.00439350
lea ecx, [esp + 0x34]
mov byte [esp + 0xb0], 0x4a
call fcn.00439290
mov byte [esp + 0xb0], 0x48
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 0x456f6b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x3c]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], 0
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0xb8], 0x4c
mov ecx, dword [esp + 0x1c]
push str.progressCallbackId
call fcn.00439be0
mov ecx, eax
call fcn.00439350
lea ecx, [esp + 0x34]
mov byte [esp + 0xb0], 0x48
call fcn.00439290
mov eax, dword [esp + 0x3c]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], 0
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0xb8], 0x4d
mov ecx, dword [esp + 0x1c]
push str.finishCallbackId
call fcn.00439be0
mov ecx, eax
call fcn.00439350
lea ecx, [esp + 0x34]
mov byte [esp + 0xb0], 0x48
call fcn.00439290
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x45706b
mov eax, dword [esp + 0x3c]
and eax, 0xffffff01
or eax, 1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x34], ecx
lea eax, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0xb8], 0x4e
mov ecx, dword [esp + 0x1c]
push str.progressPercent
call fcn.00439be0
mov ecx, eax
call fcn.00439350
lea ecx, [esp + 0x34]
mov byte [esp + 0xb0], 0x48
call fcn.00439290
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [esp + 0x3c]
and ecx, 0xffffff01
or ecx, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], 0
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0xb8], 0x4f
mov ecx, dword [esp + 0x1c]
push str.hadleLife
call fcn.00439be0
mov ecx, eax
call fcn.00439350
lea ecx, [esp + 0x34]
mov byte [esp + 0xb0], 0x48
call fcn.00439290
lea eax, [esp + 0x74]
push eax
push 0
push dword [esp + 0x1c]
push 0x450b40
push 0
push 0
call fcn.004e9fd4
mov ecx, eax
mov eax, dword [esp + 0x34]
add esp, 0x18
mov dword [esp + 0x74], eax
test ecx, ecx
jne 0x457300
mov eax, dword [esp + 0x14]
test eax, eax
je 0x45710c
push ecx
mov ecx, eax
call fcn.004577f0
push str.downloadFile_beginthreadex_error
lea ecx, [esp + 0x64]
call fcn.00420600
push str._beginthreadex_error
lea ecx, [esp + 0x28]
call fcn.00420550
push str.downloadFile
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 0x50
call fcn.004204a0
mov byte [esp + 0xb0], 0x51
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
mov dword [esp + 0x5c], eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x30]
mov byte [esp + 0xb4], 0x52
call fcn.00421890
add esp, 4
mov ecx, dword [esp + 0x58]
mov byte [esp + 0xb0], 0x53
cmp dword [ecx + 0xc], 0
je 0x45719e
push 2
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [ecx + 8]
push eax
call fcn.004219a0
mov byte [esp + 0xb0], 0x52
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 0x4571c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x51
mov edx, dword [esp + 0x5c]
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4571e7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x50
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45720d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x48
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x457233
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x74], 0
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov ecx, edi
lea eax, [edx + 0xc]
mov byte [esp + 0xb0], 0x33
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45725f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x32
mov edx, dword [esp + 0x68]
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x457281
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov ecx, edi
lea eax, [esi + 0xc]
mov byte [esp + 0xb0], 0x23
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4572a2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x94]
mov byte [esp + 0xb0], 0x21
call fcn.00439290
mov byte [esp + 0xb0], 0x20
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4572db
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [esp + 0xb0], 0xe
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x456954
mov ecx, dword [ebx]
push ebx
jmp 0x45694f
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x45723b
push 0x1d
push str.downloadFile_fileName_missing
lea ecx, [esp + 0x68]
call fcn.00420c80
push str.fileName_error
lea ecx, [esp + 0x28]
call fcn.00420550
push str.downloadFile
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 0x1c
call fcn.004204a0
mov byte [esp + 0xb0], 0x1d
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x30]
mov byte [esp + 0xb4], 0x1e
call fcn.00421890
add esp, 4
mov ecx, dword [esp + 0x58]
mov byte [esp + 0xb0], 0x1f
cmp dword [ecx + 0xc], 0
je 0x45739c
push 2
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [ecx + 8]
push eax
call fcn.004219a0
mov byte [esp + 0xb0], 0x1e
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4573c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0xb0], 0x1d
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4573e2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x1c
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x457407
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0xe
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
jmp 0x45693e
push 0x18
push str.downloadFile_url_missing
lea ecx, [esp + 0x68]
call fcn.00420c80
push str.url_error
lea ecx, [esp + 0x28]
call fcn.00420550
push str.downloadFile
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 9
call fcn.004204a0
mov byte [esp + 0xb0], 0xa
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x30]
mov byte [esp + 0xb4], 0xb
call fcn.00421890
add esp, 4
mov ecx, dword [esp + 0x58]
mov byte [esp + 0xb0], 0xc
cmp dword [ecx + 0xc], 0
je 0x4574ab
push 2
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [ecx + 8]
push eax
call fcn.004219a0
mov byte [esp + 0xb0], 0xb
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4574d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0xb0], 0xa
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4574f1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 9
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x457516
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 8
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45753b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x4575d7
mov eax, 8
mov word [ebx], ax
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x50], eax
mov byte [esp + 0xb0], 0x54
mov eax, dword [esp + 0x74]
push dword [esp + 0x60]
test eax, eax
mov edx, str.true
mov ecx, str.false
cmovne ecx, edx
push ecx
push eax
lea eax, [esp + 0x5c]
push str.__threadId__:__d____result__:__s____error__:___s__
push eax
call fcn.00421610
add esp, 0x14
lea ecx, [esp + 0x50]
push 0x54df28
push 0x54d17c
call fcn.00421ef0
mov esi, dword [esp + 0x50]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
add esi, 0xfffffff0
mov dword [ebx + 8], eax
mov byte [esp + 0xb0], 8
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4575d7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5509e0
lea ecx, [esp + 0x28]
call fcn.00420550
push str.downloadFile
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 0x55
call fcn.004204a0
mov byte [esp + 0xb0], 0x56
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov byte [esp + 0xb0], 0x57
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 + 0x94]
mov byte [esp + 0xb4], 0x58
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x24]
push ecx
mov edx, eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0xb4], 0x59
call fcn.00421890
add esp, 4
mov ebx, eax
mov byte [esp + 0xb0], 0x5a
call fcn.004ead9d
push eax
mov edx, ebx
lea ecx, [esp + 0x60]
call fcn.00421800
add esp, 4
mov ecx, dword [esp + 0x58]
mov byte [esp + 0xb0], 0x5b
cmp dword [ecx + 0xc], 0
je 0x4576af
push 0
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [ecx + 8]
push eax
call fcn.004219a0
mov byte [esp + 0xb0], 0x5a
mov edx, dword [esp + 0x5c]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4576d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x59
mov edx, dword [esp + 0x78]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4576fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x58
mov edx, dword [esp + 0x90]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x457724
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0xb0], 0x57
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x457745
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0xb0], 0x56
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x457766
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 0x55
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45778b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xb0], 8
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 0x4577b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0xb0], 0xffffffff
mov edx, dword [esp + 0x60]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4577d6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8