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

Disassembly:
push 0xffffffffffffffff
push 0x4a3af6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
push edx
xor ebx, ebx
lea eax, [esp + 0xd8]
mov edx, ecx
mov dword [esp + 0x18], ebx
push eax
lea ecx, [esp + 0xf8]
mov dword [esp + 0xdc], ebx
call fcn.00422430
cmp dword [esp + 0x118], ebx
mov dword [esp + 0x124], ebx
jne 0x422691
lea ecx, [esp + 0xf0]
mov dword [esp + 0x124], 0xffffffff
call fcn.0041fb10
xor al, al
jmp 0x423d28
mov ebp, dword [esp + 0xf0]
push 8
push str.announce
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00401920
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, ebp
mov byte [esp + 0x12c], 1
call fcn.0041f000
mov esi, dword [eax]
cmp esi, ebx
mov edi, dword [eax + 4]
mov eax, dword [ebp + 4]
mov dword [esp + 0x40], eax
je 0x4226e5
cmp esi, ebp
je 0x4226ea
call fcn.0048c48f
cmp edi, dword [esp + 0x40]
mov byte [esp + 0x124], bl
setne byte [esp + 0x13]
cmp dword [esp + 0x30], 0x10
jb 0x42270e
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00409f10
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
je 0x42274a
cmp esi, ebx
jne 0x42272d
call fcn.0048c48f
cmp edi, dword [esi + 4]
jne 0x422737
call fcn.0048c48f
mov ecx, dword [esp + 0x12c]
push 0xffffffffffffffff
lea eax, [edi + 0x30]
push ebx
push eax
call fcn.00401840
push 0xd
push str.creation_date
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00401920
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
mov byte [esp + 0x12c], 2
call fcn.0041f000
mov esi, dword [eax]
cmp esi, ebx
mov ecx, dword [ebp + 4]
mov edi, dword [eax + 4]
mov dword [esp + 0x40], ecx
je 0x422797
cmp esi, ebp
je 0x42279c
call fcn.0048c48f
cmp edi, dword [esp + 0x40]
mov byte [esp + 0x124], bl
setne byte [esp + 0x13]
cmp dword [esp + 0x30], 0x10
jb 0x4227c0
mov edx, dword [esp + 0x1c]
push edx
call fcn.00409f10
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
je 0x4227f6
cmp esi, ebx
jne 0x4227df
call fcn.0048c48f
cmp edi, dword [esi + 4]
jne 0x4227e9
call fcn.0048c48f
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x12c]
mov dword [ecx + 0x1c], eax
push 0xd
push str.launch_target
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00401920
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
mov byte [esp + 0x12c], 3
call fcn.0041f000
mov esi, dword [eax]
cmp esi, ebx
mov ecx, dword [ebp + 4]
mov edi, dword [eax + 4]
mov dword [esp + 0x40], ecx
je 0x422843
cmp esi, ebp
je 0x422848
call fcn.0048c48f
cmp edi, dword [esp + 0x40]
mov byte [esp + 0x124], bl
setne byte [esp + 0x13]
cmp dword [esp + 0x30], 0x10
jb 0x42286c
mov edx, dword [esp + 0x1c]
push edx
call fcn.00409f10
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
je 0x4228ab
cmp esi, ebx
jne 0x42288b
call fcn.0048c48f
cmp edi, dword [esi + 4]
jne 0x422895
call fcn.0048c48f
mov ecx, dword [esp + 0x12c]
push 0xffffffffffffffff
lea eax, [edi + 0x30]
push ebx
push eax
add ecx, 0x6c
call fcn.00401840
push 0xa
push str.autolaunch
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00401920
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
mov byte [esp + 0x12c], 4
call fcn.0041f000
mov esi, dword [eax]
cmp esi, ebx
mov edx, dword [ebp + 4]
mov edi, dword [eax + 4]
mov dword [esp + 0x40], edx
je 0x4228f8
cmp esi, ebp
je 0x4228fd
call fcn.0048c48f
cmp edi, dword [esp + 0x40]
mov byte [esp + 0x124], bl
setne byte [esp + 0x13]
cmp dword [esp + 0x30], 0x10
jb 0x422921
mov eax, dword [esp + 0x1c]
push eax
call fcn.00409f10
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
je 0x42295a
cmp esi, ebx
jne 0x422940
call fcn.0048c48f
cmp edi, dword [esi + 4]
jne 0x42294a
call fcn.0048c48f
mov ecx, dword [edi + 0x2c]
mov edx, dword [esp + 0x12c]
mov dword [edx + 0x138], ecx
push 0xe
push str.download_label
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00401920
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
mov byte [esp + 0x12c], 5
call fcn.0041f000
mov esi, dword [eax]
cmp esi, ebx
mov edx, dword [ebp + 4]
mov edi, dword [eax + 4]
mov dword [esp + 0x40], edx
je 0x4229a7
cmp esi, ebp
je 0x4229ac
call fcn.0048c48f
cmp edi, dword [esp + 0x40]
mov byte [esp + 0x124], bl
setne byte [esp + 0x13]
cmp dword [esp + 0x30], 0x10
jb 0x4229d0
mov eax, dword [esp + 0x1c]
push eax
call fcn.00409f10
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
je 0x422a12
cmp esi, ebx
jne 0x4229ef
call fcn.0048c48f
cmp edi, dword [esi + 4]
jne 0x4229f9
call fcn.0048c48f
mov ecx, dword [esp + 0x12c]
push 0xffffffffffffffff
lea eax, [edi + 0x30]
push ebx
push eax
add ecx, 0xa4
call fcn.00401840
push 0xa
push str.done_label
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00401920
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, ebp
mov byte [esp + 0x12c], 6
call fcn.0041f000
mov esi, dword [eax]
cmp esi, ebx
mov edi, dword [eax + 4]
mov eax, dword [ebp + 4]
mov dword [esp + 0x40], eax
je 0x422a5f
cmp esi, ebp
je 0x422a64
call fcn.0048c48f
cmp edi, dword [esp + 0x40]
mov byte [esp + 0x124], bl
setne byte [esp + 0x13]
cmp dword [esp + 0x30], 0x10
jb 0x422a88
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00409f10
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
je 0x422aca
cmp esi, ebx
jne 0x422aa7
call fcn.0048c48f
cmp edi, dword [esi + 4]
jne 0x422ab1
call fcn.0048c48f
mov ecx, dword [esp + 0x12c]
push 0xffffffffffffffff
lea eax, [edi + 0x30]
push ebx
push eax
add ecx, 0x88
call fcn.00401840
push 9
push str.show_eula
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00401920
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
mov byte [esp + 0x12c], 7
call fcn.0041f000
mov esi, dword [eax]
cmp esi, ebx
mov ecx, dword [ebp + 4]
mov edi, dword [eax + 4]
mov dword [esp + 0x40], ecx
je 0x422b17
cmp esi, ebp
je 0x422b1c
call fcn.0048c48f
cmp edi, dword [esp + 0x40]
mov byte [esp + 0x124], bl
setne byte [esp + 0x13]
cmp dword [esp + 0x30], 0x10
jb 0x422b40
mov edx, dword [esp + 0x1c]
push edx
call fcn.00409f10
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
je 0x422b76
cmp esi, ebx
jne 0x422b5f
call fcn.0048c48f
cmp edi, dword [esi + 4]
jne 0x422b69
call fcn.0048c48f
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x12c]
mov dword [ecx + 0x20], eax
push 0xb
push str.choose_path
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00401920
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
mov byte [esp + 0x12c], 8
call fcn.0041f000
mov esi, dword [eax]
cmp esi, ebx
mov ecx, dword [ebp + 4]
mov edi, dword [eax + 4]
mov dword [esp + 0x40], ecx
je 0x422bc3
cmp esi, ebp
je 0x422bc8
call fcn.0048c48f
cmp edi, dword [esp + 0x40]
mov byte [esp + 0x124], bl
setne byte [esp + 0x13]
cmp dword [esp + 0x30], 0x10
jb 0x422bec
mov edx, dword [esp + 0x1c]
push edx
call fcn.00409f10
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
je 0x422c22
cmp esi, ebx
jne 0x422c0b
call fcn.0048c48f
cmp edi, dword [esi + 4]
jne 0x422c15
call fcn.0048c48f
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x12c]
mov dword [ecx + 0x24], eax
push 0xf
push str.direct_download
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00401920
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
mov byte [esp + 0x12c], 9
call fcn.0041f000
mov esi, dword [eax]
cmp esi, ebx
mov ecx, dword [ebp + 4]
mov edi, dword [eax + 4]
mov dword [esp + 0x40], ecx
je 0x422c6f
cmp esi, ebp
je 0x422c74
call fcn.0048c48f
cmp edi, dword [esp + 0x40]
mov byte [esp + 0x124], bl
setne byte [esp + 0x13]
cmp dword [esp + 0x30], 0x10
jb 0x422c98
mov edx, dword [esp + 0x1c]
push edx
call fcn.00409f10
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
je 0x422cda
cmp esi, ebx
jne 0x422cb7
call fcn.0048c48f
cmp edi, dword [esi + 4]
jne 0x422cc1
call fcn.0048c48f
mov ecx, dword [esp + 0x12c]
push 0xffffffffffffffff
lea eax, [edi + 0x30]
push ebx
push eax
add ecx, 0xd0
call fcn.00401840
push 9
push str.notes_url
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00401920
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
mov byte [esp + 0x12c], 0xa
call fcn.0041f000
mov esi, dword [eax]
cmp esi, ebx
mov edx, dword [ebp + 4]
mov edi, dword [eax + 4]
mov dword [esp + 0x40], edx
je 0x422d27
cmp esi, ebp
je 0x422d2c
call fcn.0048c48f
cmp edi, dword [esp + 0x40]
mov byte [esp + 0x124], bl
setne byte [esp + 0x13]
cmp dword [esp + 0x30], 0x10
jb 0x422d50
mov eax, dword [esp + 0x1c]
push eax
call fcn.00409f10
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
je 0x422d92
cmp esi, ebx
jne 0x422d6f
call fcn.0048c48f
cmp edi, dword [esi + 4]
jne 0x422d79
call fcn.0048c48f
mov ecx, dword [esp + 0x12c]
push 0xffffffffffffffff
lea eax, [edi + 0x30]
push ebx
push eax
add ecx, 0x100
call fcn.00401840
push 6
push str.locale
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00401920
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, ebp
mov byte [esp + 0x12c], 0xb
call fcn.0041f000
mov esi, dword [eax]
cmp esi, ebx
mov edi, dword [eax + 4]
mov eax, dword [ebp + 4]
mov dword [esp + 0x40], eax
je 0x422ddf
cmp esi, ebp
je 0x422de4
call fcn.0048c48f
cmp edi, dword [esp + 0x40]
mov byte [esp + 0x124], bl
setne byte [esp + 0x13]
cmp dword [esp + 0x30], 0x10
jb 0x422e08
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00409f10
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
je 0x422e4a
cmp esi, ebx
jne 0x422e27
call fcn.0048c48f
cmp edi, dword [esi + 4]
jne 0x422e31
call fcn.0048c48f
mov ecx, dword [esp + 0x12c]
push 0xffffffffffffffff
lea eax, [edi + 0x30]
push ebx
push eax
add ecx, 0x11c
call fcn.00401840
push 0xf
push str.direct_download
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00401920
mov edi, dword [ebp + 4]
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
mov byte [esp + 0x12c], 0xc
call fcn.0041f000
mov esi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x422e92
cmp eax, ebp
je 0x422e97
call fcn.0048c48f
cmp dword [esi + 4], edi
mov byte [esp + 0x124], bl
setne byte [esp + 0x13]
cmp dword [esp + 0x5c], 0x10
jb 0x422eba
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00409f10
add esp, 4
cmp byte [esp + 0x13], bl
je 0x42302d
mov esi, 0xf
push esi
push str.direct_download
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00401920
lea edx, [esp + 0x44]
push edx
mov ecx, ebp
mov byte [esp + 0x128], 0xd
call fcn.00421b20
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x88], esp
push 0xffffffffffffffff
add eax, 8
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401840
lea ecx, [esp + 0x34]
call fcn.00421190
cmp dword [esp + 0x5c], 0x10
jb 0x422f36
mov eax, dword [esp + 0x48]
push eax
call fcn.00409f10
add esp, 4
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
cmp esi, edx
jbe 0x422f50
call fcn.0048c48f
mov edx, dword [esp + 0x20]
jmp 0x422f50
cmp dword [esp + 0x1c], edx
mov edi, edx
jbe 0x422f61
call fcn.0048c48f
mov edx, dword [esp + 0x20]
cmp esi, edi
je 0x423002
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
cmp esi, edx
mov byte [esp + 0x124], 0x10
jb 0x422f93
call fcn.0048c48f
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x98]
call fcn.00401840
lea ecx, [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x130]
add ecx, 0xf0
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], 0xffffffff
call fcn.00420b90
cmp dword [esp + 0xa4], 0x10
jb 0x422fe9
mov edx, dword [esp + 0x90]
push edx
call fcn.00409f10
add esp, 4
mov edx, dword [esp + 0x20]
cmp esi, edx
jb 0x422ffa
call fcn.0048c48f
mov edx, dword [esp + 0x20]
add esi, 0x1c
jmp 0x422f50
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
mov byte [esp + 0x124], bl
je 0x42302d
mov eax, dword [esp + 0x6c]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00406940
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00409f10
add esp, 4
push 0xb
push str.server_list
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00401920
mov edi, dword [ebp + 4]
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
mov byte [esp + 0x12c], 0x11
call fcn.0041f000
mov esi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x423075
cmp eax, ebp
je 0x42307a
call fcn.0048c48f
cmp dword [esi + 4], edi
mov byte [esp + 0x124], bl
setne byte [esp + 0x13]
cmp dword [esp + 0x5c], 0x10
jb 0x42309d
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00409f10
add esp, 4
cmp byte [esp + 0x13], bl
je 0x4235bd
push 0xb
push str.server_list
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00401920
lea edx, [esp + 0x44]
push edx
mov ecx, ebp
mov byte [esp + 0x128], 0x12
call fcn.00421b20
cmp dword [eax + 0x28], 4
mov edi, 0x10
sete byte [esp + 0x13]
cmp dword [esp + 0x5c], edi
mov byte [esp + 0x124], bl
jb 0x423103
mov eax, dword [esp + 0x48]
push eax
call fcn.00409f10
add esp, 4
cmp byte [esp + 0x13], bl
je 0x4235bd
push str.server_list
lea ecx, [esp + 0x48]
call fcn.00401a20
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebp
mov byte [esp + 0x128], 0x13
call fcn.00421b20
cmp dword [esp + 0x5c], edi
mov esi, dword [eax + 0x24]
mov dword [esp + 0x68], esi
mov byte [esp + 0x124], bl
jb 0x423150
mov edx, dword [esp + 0x48]
push edx
call fcn.00409f10
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x42316d
call fcn.0048c48f
mov dword [esp + 0x64], edi
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
mov dword [esp + 0x6c], eax
jbe 0x423186
call fcn.0048c48f
mov eax, dword [esp + 0x6c]
cmp edi, eax
je 0x4235bd
cmp edi, dword [esi + 8]
jb 0x423198
call fcn.0048c48f
cmp dword [edi + 0x28], 3
jne 0x423599
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
cmp eax, dword [ecx + 8]
jb 0x4231b4
call fcn.0048c48f
mov edx, dword [esp + 0x64]
mov esi, dword [edx]
push str.begin
lea ecx, [esp + 0x90]
call fcn.00401a20
mov eax, dword [esi + 4]
or dword [esp + 0x14], 1
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0xec]
push edx
mov ecx, esi
mov byte [esp + 0x12c], 0x14
mov dword [esp + 0xe4], eax
call fcn.0041f000
mov edi, eax
mov eax, dword [edi]
cmp eax, ebx
je 0x423205
cmp eax, esi
je 0x42320a
call fcn.0048c48f
mov eax, dword [esp + 0xdc]
cmp dword [edi + 4], eax
je 0x4232c2
push 0x4c9978
lea ecx, [esp + 0xb4]
call fcn.00401a20
mov ecx, dword [esi + 4]
or dword [esp + 0x14], 2
lea edx, [esp + 0xb0]
push edx
lea eax, [esp + 0xe4]
mov dword [esp + 0x3c], ecx
push eax
mov ecx, esi
mov dword [esp + 0x12c], 0x15
call fcn.0041f000
mov edi, eax
mov eax, dword [edi]
cmp eax, ebx
je 0x423265
cmp eax, esi
je 0x42326a
call fcn.0048c48f
mov ecx, dword [esp + 0x38]
cmp dword [edi + 4], ecx
je 0x4232c2
push 0x4c9974
lea ecx, [esp + 0x74]
call fcn.00401a20
mov edx, dword [esi + 4]
or dword [esp + 0x14], 4
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x44], edx
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
mov dword [esp + 0x130], 0x16
mov dword [esp + 0x48], esi
call fcn.0041f000
mov ecx, eax
call fcn.00405df0
test al, al
mov byte [esp + 0x13], 1
jne 0x4232c6
mov byte [esp + 0x13], bl
test byte [esp + 0x14], 4
je 0x4232ff
and dword [esp + 0x14], 0xfffffffb
cmp dword [esp + 0x88], 0x10
jb 0x4232e9
mov eax, dword [esp + 0x74]
push eax
call fcn.00409f10
add esp, 4
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
test byte [esp + 0x14], 2
je 0x42333e
and dword [esp + 0x14], 0xfffffffd
cmp dword [esp + 0xc8], 0x10
jb 0x423325
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.00409f10
add esp, 4
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
test byte [esp + 0x14], 1
mov dword [esp + 0x124], ebx
je 0x42336b
and dword [esp + 0x14], 0xfffffffe
cmp dword [esp + 0xa4], 0x10
jb 0x42336b
mov edx, dword [esp + 0x90]
push edx
call fcn.00409f10
add esp, 4
cmp byte [esp + 0x13], bl
je 0x423599
push str.begin
lea ecx, [esp + 0x74]
call fcn.00401a20
or dword [esp + 0x14], 8
lea eax, [esp + 0x70]
push eax
mov ecx, esi
mov byte [esp + 0x128], 0x17
call fcn.00421b20
mov edi, 1
cmp dword [eax + 0x28], edi
jne 0x423416
push 0x4c9978
lea ecx, [esp + 0xb4]
call fcn.00401a20
or dword [esp + 0x14], 0x10
lea ecx, [esp + 0xb0]
push ecx
mov ecx, esi
mov dword [esp + 0x128], 0x18
call fcn.00421b20
cmp dword [eax + 0x28], edi
jne 0x423416
push 0x4c9974
lea ecx, [esp + 0x90]
call fcn.00401a20
or dword [esp + 0x14], 0x20
lea edx, [esp + 0x8c]
push edx
mov ecx, esi
mov dword [esp + 0x128], 0x19
call fcn.00421b20
cmp dword [eax + 0x28], 2
mov byte [esp + 0x13], 1
je 0x42341a
mov byte [esp + 0x13], bl
test byte [esp + 0x14], 0x20
je 0x423432
and dword [esp + 0x14], 0xffffffdf
lea ecx, [esp + 0x8c]
call fcn.00427a00
test byte [esp + 0x14], 0x10
je 0x42344a
and dword [esp + 0x14], 0xffffffef
lea ecx, [esp + 0xb0]
call fcn.00427a00
test byte [esp + 0x14], 8
mov dword [esp + 0x124], ebx
je 0x423466
and dword [esp + 0x14], 0xfffffff7
lea ecx, [esp + 0x70]
call fcn.00427a00
cmp byte [esp + 0x13], bl
je 0x423599
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
push 0x4c9974
lea ecx, [esp + 0x90]
mov byte [esp + 0x128], 0x1a
call fcn.00401a20
lea eax, [esp + 0x8c]
push eax
mov ecx, esi
mov byte [esp + 0x128], 0x1b
call fcn.00421b20
push 0xffffffffffffffff
add eax, 8
push ebx
push eax
lea ecx, [esp + 0xbc]
call fcn.00401840
lea ecx, [esp + 0x8c]
mov byte [esp + 0x124], 0x1a
call fcn.00427a00
push str.begin
lea ecx, [esp + 0x90]
call fcn.00401a20
lea ecx, [esp + 0x8c]
push ecx
mov ecx, esi
mov byte [esp + 0x128], 0x1c
call fcn.00421b20
mov edx, dword [eax + 4]
lea ecx, [esp + 0x8c]
mov dword [esp + 0xcc], edx
mov byte [esp + 0x124], 0x1a
call fcn.00427a00
push 0x4c9978
lea ecx, [esp + 0x90]
call fcn.00401a20
lea eax, [esp + 0x8c]
push eax
mov ecx, esi
mov byte [esp + 0x128], 0x1d
call fcn.00421b20
mov ecx, dword [eax + 4]
mov dword [esp + 0xd0], ecx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x124], 0x1a
call fcn.00427a00
mov ecx, dword [esp + 0x12c]
lea edx, [esp + 0xb0]
push edx
add ecx, 0xf0
call fcn.00420b90
lea ecx, [esp + 0xb0]
mov byte [esp + 0x124], bl
call fcn.00427a00
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
cmp ecx, dword [eax + 8]
jb 0x4235ab
call fcn.0048c48f
add dword [esp + 0x64], 0x2c
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
jmp 0x423171
push 0xd
push str.download_type
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
call fcn.00401920
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
mov byte [esp + 0x12c], 0x1e
call fcn.0041f000
mov esi, dword [eax]
cmp esi, ebx
mov ecx, dword [ebp + 4]
mov edi, dword [eax + 4]
mov dword [esp + 0x38], ecx
je 0x423610
cmp esi, ebp
je 0x423615
call fcn.0048c48f
cmp edi, dword [esp + 0x38]
mov byte [esp + 0x124], bl
setne byte [esp + 0x13]
cmp dword [esp + 0x88], 0x10
jb 0x42363c
mov edx, dword [esp + 0x74]
push edx
call fcn.00409f10
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
je 0x42367b
cmp esi, ebx
jne 0x423661
call fcn.0048c48f
cmp edi, dword [esi + 4]
jne 0x42366b
call fcn.0048c48f
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x12c]
mov dword [ecx + 0xec], eax
push 4
push str.info
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
call fcn.00401920
lea edx, [esp + 0x70]
push edx
mov ecx, ebp
mov byte [esp + 0x128], 0x1f
call fcn.00421b20
cmp dword [esp + 0x88], 0x10
mov esi, dword [eax]
mov byte [esp + 0x124], bl
jb 0x4236d5
mov eax, dword [esp + 0x74]
push eax
call fcn.00409f10
add esp, 4
mov eax, 0xf
push 4
push str.name
lea ecx, [esp + 0x4c]
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00401920
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov byte [esp + 0x12c], 0x20
call fcn.0041f000
mov ebp, dword [eax]
cmp ebp, ebx
mov edi, dword [eax + 4]
mov eax, dword [esi + 4]
mov dword [esp + 0x38], eax
je 0x423735
cmp ebp, esi
je 0x42373a
call fcn.0048c48f
cmp edi, dword [esp + 0x38]
mov byte [esp + 0x124], bl
setne byte [esp + 0x13]
cmp dword [esp + 0x5c], 0x10
jb 0x42375e
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00409f10
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
je 0x42379d
cmp ebp, ebx
jne 0x42377d
call fcn.0048c48f
cmp edi, dword [ebp + 4]
jne 0x423787
call fcn.0048c48f
mov ecx, dword [esp + 0x12c]
push 0xffffffffffffffff
lea eax, [edi + 0x30]
push ebx
push eax
add ecx, 0x50
call fcn.00401840
push 6
push str.pieces
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00401920
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov byte [esp + 0x12c], 0x21
call fcn.0041f000
mov ebp, dword [eax]
cmp ebp, ebx
mov ecx, dword [esi + 4]
mov edi, dword [eax + 4]
mov dword [esp + 0x38], ecx
je 0x4237ea
cmp ebp, esi
je 0x4237ef
call fcn.0048c48f
cmp edi, dword [esp + 0x38]
mov byte [esp + 0x124], bl
setne byte [esp + 0x13]
cmp dword [esp + 0x5c], 0x10
jb 0x423813
mov edx, dword [esp + 0x48]
push edx
call fcn.00409f10
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
je 0x423854
cmp ebp, ebx
jne 0x423832
call fcn.0048c48f
cmp edi, dword [ebp + 4]
jne 0x42383c
call fcn.0048c48f
push 0xffffffffffffffff
lea eax, [edi + 0x30]
mov edi, dword [esp + 0x130]
push ebx
push eax
lea ecx, [edi + 0x2c]
call fcn.00401840
jmp 0x42385b
mov edi, dword [esp + 0x12c]
push 0xc
push str.piece_length
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00401920
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov byte [esp + 0x12c], 0x22
call fcn.0041f000
mov ebp, dword [eax]
cmp ebp, ebx
mov edx, dword [eax + 4]
mov eax, dword [esi + 4]
mov dword [esp + 0x64], edx
mov dword [esp + 0x38], eax
je 0x4238ac
cmp ebp, esi
je 0x4238b1
call fcn.0048c48f
mov ecx, dword [esp + 0x64]
cmp ecx, dword [esp + 0x38]
mov byte [esp + 0x124], bl
setne byte [esp + 0x13]
cmp dword [esp + 0x5c], 0x10
jb 0x4238d9
mov edx, dword [esp + 0x48]
push edx
call fcn.00409f10
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
je 0x423910
cmp ebp, ebx
jne 0x4238f8
call fcn.0048c48f
mov eax, dword [esp + 0x64]
cmp eax, dword [ebp + 4]
jne 0x423906
call fcn.0048c48f
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x2c]
mov dword [edi + 0x48], edx
mov ecx, dword [edi + 0x40]
mov eax, 0xcccccccd
mul ecx
push 5
shr edx, 4
push str.files
lea ecx, [esp + 0xb8]
mov dword [edi + 0x28], edx
mov dword [esp + 0xd0], 0xf
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
call fcn.00401920
mov eax, dword [esi + 4]
lea ecx, [esp + 0xb0]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov byte [esp + 0x12c], 0x23
mov dword [esp + 0x40], eax
call fcn.0041f000
mov ebp, eax
mov eax, dword [ebp]
cmp eax, ebx
je 0x42397c
cmp eax, esi
je 0x423981
call fcn.0048c48f
mov eax, dword [esp + 0x38]
cmp dword [ebp + 4], eax
mov byte [esp + 0x124], bl
setne byte [esp + 0x13]
cmp dword [esp + 0xc8], 0x10
jb 0x4239ae
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.00409f10
add esp, 4
cmp byte [esp + 0x13], bl
je 0x423c39
push str.files
lea ecx, [esp + 0xb4]
call fcn.00401a20
lea edx, [esp + 0xb0]
push edx
mov ecx, esi
mov byte [esp + 0x128], 0x24
call fcn.00421b20
cmp dword [esp + 0xc8], 0x10
mov esi, dword [eax + 0x24]
mov dword [esp + 0x68], esi
mov byte [esp + 0x124], bl
jb 0x423a08
mov eax, dword [esp + 0xb4]
push eax
call fcn.00409f10
add esp, 4
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
mov ebp, dword [esi + 4]
cmp ebp, dword [esi + 8]
jbe 0x423a2e
call fcn.0048c48f
mov dword [esp + 0x64], ebp
mov edi, dword [esi + 8]
cmp dword [esi + 4], edi
jbe 0x423a3f
call fcn.0048c48f
cmp ebp, edi
je 0x423d0f
cmp ebp, dword [esi + 8]
jb 0x423a51
call fcn.0048c48f
mov esi, dword [ebp]
push 6
mov ebp, 0xf
push str.length
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00401920
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
mov byte [esp + 0x128], 0x25
call fcn.00421b20
mov edx, dword [eax + 4]
mov edi, 0x10
cmp dword [esp + 0x5c], edi
mov dword [esp + 0x6c], edx
mov byte [esp + 0x124], bl
jb 0x423aaf
mov eax, dword [esp + 0x48]
push eax
call fcn.00409f10
add esp, 4
push 4
push str.path
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00401920
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
mov byte [esp + 0x128], 0x26
call fcn.00421b20
cmp dword [esp + 0x5c], edi
mov esi, dword [eax + 0x24]
jb 0x423af5
mov edx, dword [esp + 0x48]
push edx
call fcn.00409f10
add esp, 4
mov eax, 0xf
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
mov byte [esp + 0x124], 0x27
jbe 0x423b30
call fcn.0048c48f
lea ecx, [ecx]
mov ebp, dword [esi + 8]
cmp dword [esi + 4], ebp
jbe 0x423b3d
call fcn.0048c48f
cmp edi, ebp
je 0x423b80
cmp dword [esp + 0x84], ebx
jbe 0x423b57
push 0x5c
push 1
lea ecx, [esp + 0x78]
call fcn.00411a20
cmp edi, dword [esi + 8]
jb 0x423b61
call fcn.0048c48f
push 0xffffffffffffffff
push ebx
lea eax, [edi + 8]
push eax
lea ecx, [esp + 0x7c]
call fcn.004084c0
cmp edi, dword [esi + 8]
jb 0x423b7b
call fcn.0048c48f
add edi, 0x2c
jmp 0x423b30
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x98]
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
call fcn.00401840
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xa8], edx
mov ecx, dword [esp + 0x12c]
lea eax, [esp + 0x8c]
push eax
add ecx, 0xc0
mov byte [esp + 0x128], 0x28
call fcn.0041cc20
mov esi, 0x10
cmp dword [esp + 0xa4], esi
jb 0x423bf8
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00409f10
add esp, 4
cmp dword [esp + 0x88], esi
mov byte [esp + 0x124], bl
jb 0x423c15
mov edx, dword [esp + 0x74]
push edx
call fcn.00409f10
add esp, 4
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
cmp ecx, dword [eax + 8]
jb 0x423c27
call fcn.0048c48f
add dword [esp + 0x64], 0x2c
mov esi, dword [esp + 0x68]
mov ebp, dword [esp + 0x64]
jmp 0x423a32
push str.length
lea ecx, [esp + 0x90]
call fcn.00401a20
lea edx, [esp + 0x8c]
push edx
mov ecx, esi
mov byte [esp + 0x128], 0x29
call fcn.00421b20
mov eax, dword [eax + 4]
mov ebp, 0x10
cmp dword [esp + 0xa4], ebp
mov dword [edi + 0x4c], eax
mov byte [esp + 0x124], bl
jb 0x423c8c
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00409f10
add esp, 4
mov esi, dword [edi + 0x4c]
push 0xffffffffffffffff
lea eax, [edi + 0x50]
push ebx
push eax
lea ecx, [esp + 0x98]
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
call fcn.00401840
mov dword [esp + 0xa8], esi
lea edx, [esp + 0x8c]
push edx
lea ecx, [edi + 0xc0]
mov byte [esp + 0x128], 0x2a
call fcn.0041cc20
cmp dword [esp + 0xa4], ebp
jb 0x423cf6
mov eax, dword [esp + 0x90]
push eax
call fcn.00409f10
add esp, 4
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
lea ecx, [esp + 0xf0]
mov dword [esp + 0x124], 0xffffffff
call fcn.0041fb10
mov al, 1
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x118
ret 4