Function at 0x5dc470
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x672419
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x76c12c]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [0x76c12c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
push 0x14
mov dword [esp + 0x18], edi
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
xor esi, esi
mov dword [esp + 0x48], esi
cmp eax, esi
je 0x5dc4de
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], edi
mov dword [eax + 0xc], 0x5d87f0
mov dword [esp + 0x10], eax
jmp 0x5dc4e2
mov dword [esp + 0x10], esi
or edi, 0xffffffff
mov dword [esp + 0x48], edi
push 0x12
xor eax, eax
push str.waDownloadFileEx:7
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], ax
call fcn.00401f00
mov dword [esp + 0x48], 1
mov ebx, dword [esp + 0x14]
add ebx, 4
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dc542
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 2
cmp eax, esi
je 0x5dc58c
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d2840
mov dword [esp + 0x10], eax
jmp 0x5dc590
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0x13
xor edx, edx
push str.waGetNumDownloads:0
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 3
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dc5e6
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 4
cmp eax, esi
je 0x5dc630
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d43b0
mov dword [esp + 0x10], eax
jmp 0x5dc634
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0x13
xor edx, edx
push str.waGetDownloadName:1
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 5
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dc68a
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 6
cmp eax, esi
je 0x5dc6d4
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d2eb0
mov dword [esp + 0x10], eax
jmp 0x5dc6d8
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0x11
xor edx, edx
push str.waGetDownloadId:1
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 7
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dc72e
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 8
cmp eax, esi
je 0x5dc778
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d4240
mov dword [esp + 0x10], eax
jmp 0x5dc77c
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0x12
xor edx, edx
push str.waGetDownloadURL:1
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 9
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dc7d2
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0xa
cmp eax, esi
je 0x5dc81c
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d36d0
mov dword [esp + 0x10], eax
jmp 0x5dc820
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0x17
xor edx, edx
push str.waGetDownloadProgress:1
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 0xb
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dc876
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0xc
cmp eax, esi
je 0x5dc8c0
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d35c0
mov dword [esp + 0x10], eax
jmp 0x5dc8c4
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0x15
xor edx, edx
push str.waGetDownloadStatus:1
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 0xd
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dc91a
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0xe
cmp eax, esi
je 0x5dc964
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d5740
mov dword [esp + 0x10], eax
jmp 0x5dc968
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0x16
xor edx, edx
push str.waGetDownloadedBytes:1
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 0xf
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dc9be
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x10
cmp eax, esi
je 0x5dca08
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d55a0
mov dword [esp + 0x10], eax
jmp 0x5dca0c
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0x19
xor edx, edx
push str.waGetDownloadTotalBytes:1
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 0x11
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dca62
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x12
cmp eax, esi
je 0x5dcaac
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d34c0
mov dword [esp + 0x10], eax
jmp 0x5dcab0
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0x12
xor edx, edx
push str.waGetDownloadBps:1
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 0x13
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dcb06
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x14
cmp eax, esi
je 0x5dcb50
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d52a0
mov dword [esp + 0x10], eax
jmp 0x5dcb54
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0x18
xor edx, edx
push str.waGetDownloadedMD5Hash:1
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 0x15
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dcbaa
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x16
cmp eax, esi
je 0x5dcbf4
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d4fc0
mov dword [esp + 0x10], eax
jmp 0x5dcbf8
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0x19
xor edx, edx
push str.waGetDownloadedSHA1Hash:1
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 0x17
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dcc4e
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x18
cmp eax, esi
je 0x5dcc98
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d58e0
mov dword [esp + 0x10], eax
jmp 0x5dcc9c
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0xf
xor edx, edx
push str.waRunDownload:5
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 0x19
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dccf2
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x1a
cmp eax, esi
je 0x5dcd3c
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5db8d0
mov dword [esp + 0x10], eax
jmp 0x5dcd40
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0xb
xor edx, edx
push str.waRunFile:5
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 0x1b
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dcd96
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x1c
cmp eax, esi
je 0x5dcde0
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5da3a0
mov dword [esp + 0x10], eax
jmp 0x5dcde4
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0xd
xor edx, edx
push str.waRunFileEx:5
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 0x1d
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dce3a
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x1e
cmp eax, esi
je 0x5dce84
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d4ea0
mov dword [esp + 0x10], eax
jmp 0x5dce88
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0x12
xor edx, edx
push str.waGetDesktopPath:0
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 0x1f
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dcede
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x20
cmp eax, esi
je 0x5dcf28
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d4ab0
mov dword [esp + 0x10], eax
jmp 0x5dcf2c
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0x10
xor edx, edx
push str.waGetCachePath:1
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 0x21
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dcf82
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x22
cmp eax, esi
je 0x5dcfcc
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d2d90
mov dword [esp + 0x10], eax
jmp 0x5dcfd0
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0xf
xor edx, edx
push str.waGetTempPath:1
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 0x23
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dd026
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x24
cmp eax, esi
je 0x5dd070
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d32e0
mov dword [esp + 0x10], eax
jmp 0x5dd074
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0x11
xor edx, edx
push str.waPauseDownload:3
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 0x25
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dd0ca
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x26
cmp eax, esi
je 0x5dd114
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d31d0
mov dword [esp + 0x10], eax
jmp 0x5dd118
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0x12
xor edx, edx
push str.waResumeDownload:1
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 0x27
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dd16e
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x28
cmp eax, esi
je 0x5dd1b8
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d30c0
mov dword [esp + 0x10], eax
jmp 0x5dd1bc
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0x18
xor edx, edx
push str.waDeleteDownloadedFile:1
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 0x29
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dd212
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x2a
cmp eax, esi
je 0x5dd25c
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d4080
mov dword [esp + 0x10], eax
jmp 0x5dd260
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0x19
xor edx, edx
push str.waGetDownloadedFileName:1
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 0x2b
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dd2b6
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x2c
cmp eax, esi
je 0x5dd300
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d3400
mov dword [esp + 0x10], eax
jmp 0x5dd304
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0x12
xor edx, edx
push str.waCancelDownload:1
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 0x2d
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dd35a
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x2e
cmp eax, esi
je 0x5dd3a4
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d8660
mov dword [esp + 0x10], eax
jmp 0x5dd3a8
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0x15
xor edx, edx
push str.waGetRemoteFileSize:4
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 0x2f
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dd3fe
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x30
cmp eax, esi
je 0x5dd448
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d2fa0
mov dword [esp + 0x10], eax
jmp 0x5dd44c
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0x12
xor edx, edx
push str.waGetDownloadMap:1
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 0x31
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dd4a2
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x32
cmp eax, esi
je 0x5dd4ec
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d3f00
mov dword [esp + 0x10], eax
jmp 0x5dd4f0
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0x17
xor edx, edx
push str.waGetDownloadTempFile:1
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 0x33
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dd546
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x34
cmp eax, esi
je 0x5dd590
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d48f0
mov dword [esp + 0x10], eax
jmp 0x5dd594
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0x21
xor edx, edx
push str.waGetScarlettTempDownloadFolder:0
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 0x35
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dd5ea
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x36
cmp eax, esi
je 0x5dd634
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d6530
mov dword [esp + 0x10], eax
jmp 0x5dd638
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push 0x19
xor edx, edx
push str.waExistDownloadTempFile:1
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
mov word [esp + 0x24], dx
call fcn.00401f00
mov dword [esp + 0x48], 0x37
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dd68e
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x38
cmp eax, esi
je 0x5dd6d8
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d81f0
mov dword [esp + 0x10], eax
jmp 0x5dd6dc
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waContinueFileDownload:11
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x39
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dd71d
mov eax, dword [esp + 0x1c]
push eax
call fcn.0058d051
add esp, 4
xor ecx, ecx
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], cx
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x3a
cmp eax, esi
je 0x5dd767
mov edx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0x5da6b0
mov dword [esp + 0x10], eax
jmp 0x5dd76b
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waUninstallProgram:3
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x3b
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dd7ac
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x3c
cmp eax, esi
je 0x5dd7f6
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5da290
mov dword [esp + 0x10], eax
jmp 0x5dd7fa
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waNavigateBack:0
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x3d
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dd83b
mov eax, dword [esp + 0x1c]
push eax
call fcn.0058d051
add esp, 4
xor ecx, ecx
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], cx
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x3e
cmp eax, esi
je 0x5dd885
mov edx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0x5da180
mov dword [esp + 0x10], eax
jmp 0x5dd889
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waNavigateForward:0
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x3f
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dd8ca
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x40
cmp eax, esi
je 0x5dd914
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5da080
mov dword [esp + 0x10], eax
jmp 0x5dd918
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waCanNavigateBack:0
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x41
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dd959
mov eax, dword [esp + 0x1c]
push eax
call fcn.0058d051
add esp, 4
xor ecx, ecx
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], cx
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x42
cmp eax, esi
je 0x5dd9a3
mov edx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0x5d9fa0
mov dword [esp + 0x10], eax
jmp 0x5dd9a7
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waCanNavigateForward:0
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x43
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dd9e8
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x44
cmp eax, esi
je 0x5dda32
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d98a0
mov dword [esp + 0x10], eax
jmp 0x5dda36
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waGetURLFromNavigateStack:1
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x45
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dda77
mov eax, dword [esp + 0x1c]
push eax
call fcn.0058d051
add esp, 4
xor ecx, ecx
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], cx
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x46
cmp eax, esi
je 0x5ddac1
mov edx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0x5d4a10
mov dword [esp + 0x10], eax
jmp 0x5ddac5
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waGetScarlettVersion:0
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x47
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5ddb06
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x48
cmp eax, esi
je 0x5ddb50
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d7ea0
mov dword [esp + 0x10], eax
jmp 0x5ddb54
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waLog:2
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x49
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5ddb95
mov eax, dword [esp + 0x1c]
push eax
call fcn.0058d051
add esp, 4
xor ecx, ecx
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], cx
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x4a
cmp eax, esi
je 0x5ddbdf
mov edx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0x5d2050
mov dword [esp + 0x10], eax
jmp 0x5ddbe3
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waShowBalloon:4
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x4b
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5ddc24
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x4c
cmp eax, esi
je 0x5ddc6e
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d7bd0
mov dword [esp + 0x10], eax
jmp 0x5ddc72
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waShowCustomBalloon:3
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x4d
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5ddcb3
mov eax, dword [esp + 0x1c]
push eax
call fcn.0058d051
add esp, 4
xor ecx, ecx
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], cx
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x4e
cmp eax, esi
je 0x5ddcfd
mov edx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0x5d7bd0
mov dword [esp + 0x10], eax
jmp 0x5ddd01
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waShowCustomBalloon:4
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x4f
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5ddd42
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x50
cmp eax, esi
je 0x5ddd8c
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d9620
mov dword [esp + 0x10], eax
jmp 0x5ddd90
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waShowCustomNotification:5
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x51
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dddd1
mov eax, dword [esp + 0x1c]
push eax
call fcn.0058d051
add esp, 4
xor ecx, ecx
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], cx
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x52
cmp eax, esi
je 0x5dde1b
mov edx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0x5d2780
mov dword [esp + 0x10], eax
jmp 0x5dde1f
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waShowNews:2
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x53
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dde60
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x54
cmp eax, esi
je 0x5ddeaa
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d4830
mov dword [esp + 0x10], eax
jmp 0x5ddeae
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waGetUUID:0
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x55
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5ddeef
mov eax, dword [esp + 0x1c]
push eax
call fcn.0058d051
add esp, 4
xor ecx, ecx
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], cx
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x56
cmp eax, esi
je 0x5ddf39
mov edx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0x5d2d00
mov dword [esp + 0x10], eax
jmp 0x5ddf3d
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waGetMachineUUID:0
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x57
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5ddf7e
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x58
cmp eax, esi
je 0x5ddfc8
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d2bd0
mov dword [esp + 0x10], eax
jmp 0x5ddfcc
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waLoadOnWindowsStart:1
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x59
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5de00d
mov eax, dword [esp + 0x1c]
push eax
call fcn.0058d051
add esp, 4
xor ecx, ecx
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], cx
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x5a
cmp eax, esi
je 0x5de057
mov edx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0x5d2bd0
mov dword [esp + 0x10], eax
jmp 0x5de05b
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waLoadOnWindowsStart:2
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x5b
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5de09c
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x5c
cmp eax, esi
je 0x5de0e6
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d2b50
mov dword [esp + 0x10], eax
jmp 0x5de0ea
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waCheckLoadOnWindowsStart:0
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x5d
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5de12b
mov eax, dword [esp + 0x1c]
push eax
call fcn.0058d051
add esp, 4
xor ecx, ecx
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], cx
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x5e
cmp eax, esi
je 0x5de175
mov edx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0x5d26e0
mov dword [esp + 0x10], eax
jmp 0x5de179
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waStartMinimized:1
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x5f
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5de1ba
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x60
cmp eax, esi
je 0x5de204
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5da600
mov dword [esp + 0x10], eax
jmp 0x5de208
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waEnableMainFrameDomainProtection:1
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x61
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5de249
mov eax, dword [esp + 0x1c]
push eax
call fcn.0058d051
add esp, 4
xor ecx, ecx
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], cx
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x62
cmp eax, esi
je 0x5de293
mov edx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0x5d76d0
mov dword [esp + 0x10], eax
jmp 0x5de297
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waSetMinimumSize:3
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x63
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5de2d8
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x64
cmp eax, esi
je 0x5de322
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d9d20
mov dword [esp + 0x10], eax
jmp 0x5de326
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waDoClick:4
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x65
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5de367
mov eax, dword [esp + 0x1c]
push eax
call fcn.0058d051
add esp, 4
xor ecx, ecx
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], cx
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x66
cmp eax, esi
je 0x5de3b1
mov edx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0x5d9c60
mov dword [esp + 0x10], eax
jmp 0x5de3b5
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waPushURLToNavigateStack:1
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x67
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5de3f6
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x68
cmp eax, esi
je 0x5de440
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d95a0
mov dword [esp + 0x10], eax
jmp 0x5de444
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waIsAdmin:0
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x69
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5de485
mov eax, dword [esp + 0x1c]
push eax
call fcn.0058d051
add esp, 4
xor ecx, ecx
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], cx
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x6a
cmp eax, esi
je 0x5de4cf
mov edx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0x5d24d0
mov dword [esp + 0x10], eax
jmp 0x5de4d3
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waShowLoadingScreen:1
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x6b
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5de514
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x6c
cmp eax, esi
je 0x5de55e
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d7300
mov dword [esp + 0x10], eax
jmp 0x5de562
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waForceShowWindow:0
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x6d
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5de5a3
mov eax, dword [esp + 0x1c]
push eax
call fcn.0058d051
add esp, 4
xor ecx, ecx
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], cx
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x6e
cmp eax, esi
je 0x5de5ed
mov edx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0x5d71e0
mov dword [esp + 0x10], eax
jmp 0x5de5f1
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waSetUserLoggedIn:1
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x6f
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5de632
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x70
cmp eax, esi
je 0x5de67c
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d70c0
mov dword [esp + 0x10], eax
jmp 0x5de680
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waEnableTrayIcon:1
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x71
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5de6c1
mov eax, dword [esp + 0x1c]
push eax
call fcn.0058d051
add esp, 4
xor ecx, ecx
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], cx
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x72
cmp eax, esi
je 0x5de70b
mov edx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0x5d6ad0
mov dword [esp + 0x10], eax
jmp 0x5de70f
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waGoOffline:0
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x73
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5de750
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x74
cmp eax, esi
je 0x5de79a
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d6a00
mov dword [esp + 0x10], eax
jmp 0x5de79e
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waGoOnline:0
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x75
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5de7df
mov eax, dword [esp + 0x1c]
push eax
call fcn.0058d051
add esp, 4
xor ecx, ecx
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], cx
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x76
cmp eax, esi
je 0x5de829
mov edx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0x5d2a80
mov dword [esp + 0x10], eax
jmp 0x5de82d
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waSetStartElevated:1
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x77
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5de86e
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x78
cmp eax, esi
je 0x5de8b8
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d2a00
mov dword [esp + 0x10], eax
jmp 0x5de8bc
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waGetStartElevated:0
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x79
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5de8fd
mov eax, dword [esp + 0x1c]
push eax
call fcn.0058d051
add esp, 4
xor ecx, ecx
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], cx
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x7a
cmp eax, esi
je 0x5de947
mov edx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0x5d6940
mov dword [esp + 0x10], eax
jmp 0x5de94b
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waEmptyNavigationHistory:0
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x7b
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5de98c
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x7c
cmp eax, esi
je 0x5de9d6
mov ecx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0x5d6800
mov dword [esp + 0x10], eax
jmp 0x5de9da
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waSetWindowStateObject:1
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x7d
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5dea1b
mov eax, dword [esp + 0x1c]
push eax
call fcn.0058d051
add esp, 4
xor ecx, ecx
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], cx
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x7e
cmp eax, esi
je 0x5dea65
mov edx, dword [esp + 0x14]
mov dword [eax], vtable.TSpecificFunctor_class_ScarlettAPI_.0
mov dword [eax + 8], esi
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], 0x5d9520
mov dword [esp + 0x10], eax
jmp 0x5dea69
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
push str.waGetApplicationStartMode:0
lea ecx, [esp + 0x20]
call fcn.00402050
mov dword [esp + 0x48], 0x7f
lea ecx, [esp + 0x1c]
call fcn.0045a090
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [esp + 0x48], edi
cmp dword [esp + 0x30], 8
jb 0x5deaaa
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058d051
add esp, 4
xor eax, eax
push 0x14
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], ax
call fcn.0058d3f0
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], 0x80
cmp eax, esi
je 0x5deaf4