Function at 0x426b4e
Capabilities:
Check if file exists

Disassembly:
push 0x160
mov eax, 0x4920a8
call fcn.00474ec1
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x160], ebx
cmp dword [0x4bfb94], esi
je 0x426b97
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x158], esp
push str.DownloadScrollFile__...
call fcn.00409f78
mov ecx, 0x4bfcf0
call fcn.004437f6
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14c], esi
cmp eax, esi
jle 0x42707b
mov dword [ebp - 0x150], esi
cmp dword [ebp - 0x14c], esi
jl 0x42709f
cmp dword [ebp - 0x14c], eax
jge 0x42709f
mov eax, dword [ebx]
add eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x2c]
add eax, 0x28
push eax
call fcn.004016f0
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], 0x10
mov ecx, dword [ebp - 0x2c]
mov edx, ecx
jae 0x426dc5
lea edx, [ebp - 0x2c]
mov eax, edx
add eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 0x10
jae 0x426bfd
lea ecx, [ebp - 0x2c]
push edx
push eax
push ecx
lea eax, [ebp - 0x16c]
push eax
call fcn.00418f20
mov edi, str.scrolltext
push edi
call fcn.0046de90
add esp, 0x14
push edi
mov edi, eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.004129b8
test eax, eax
jne 0x42702e
mov eax, dword [ebp - 0x14c]
cmp eax, dword [ebx + 4]
jge 0x42709f
mov eax, dword [ebx]
mov edi, dword [ebp - 0x150]
add eax, edi
cmp dword [eax + 0xe0], esi
jbe 0x42702e
add eax, 0xd0
call fcn.00437238
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], cx
mov ecx, dword [ebp - 0x15c]
mov byte [ebp - 4], 1
cmp byte [ecx + 0x28], 0
je 0x426dcc
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], esi
mov byte [ebp - 0x80], 0
mov eax, dword [ebp - 0x14c]
push 0xffffffffffffffff
mov esi, 0xfde9
mov byte [ebp - 4], 2
push esi
push esi
cmp eax, dword [ebx + 4]
jge 0x427092
mov eax, dword [ebx]
sub esp, 0x1c
add eax, edi
add eax, 0xd0
mov ecx, esp
mov dword [ebp - 0x158], esp
push eax
call fcn.004016f0
lea eax, [ebp - 0x64]
push eax
call fcn.00456b26
add esp, 0x2c
lea ecx, [ebp - 0x64]
lea edi, [ebp - 0xb8]
mov byte [ebp - 4], 3
call fcn.004592ac
mov ecx, edi
lea edi, [ebp - 0xd4]
mov byte [ebp - 4], 4
call fcn.004593bc
mov byte [ebp - 4], 5
cmp dword [ebp - 0xc0], 8
mov ecx, dword [ebp - 0xd4]
jae 0x426d0b
mov ecx, edi
cmp dword [ebp - 0xa4], 8
mov edx, dword [ebp - 0xb8]
jae 0x426d20
lea edx, [ebp - 0xb8]
xor edi, edi
push edi
mov eax, 0x49bf38
push eax
push eax
lea eax, [ebp - 0x80]
push eax
push edx
call fcn.00458c02
add esp, 0x14
push 0xffffffffffffffff
push esi
push esi
sub esp, 0x1c
lea eax, [ebp - 0x80]
mov ecx, esp
mov dword [ebp - 0x158], esp
push eax
call fcn.004016f0
lea eax, [ebp - 0x9c]
push eax
call fcn.00456b26
add esp, 0x2c
mov ecx, dword [ebp - 0x14c]
mov byte [ebp - 4], 6
cmp ecx, dword [ebx + 4]
jge 0x427083
mov ecx, dword [ebx]
add ecx, dword [ebp - 0x150]
push eax
add ecx, 0x44
call fcn.0040ba5a
xor esi, esi
push edi
inc esi
push esi
lea ecx, [ebp - 0x9c]
call fcn.0040bba0
push edi
push esi
lea ecx, [ebp - 0xd4]
call fcn.0040bba0
push edi
push esi
lea ecx, [ebp - 0xb8]
call fcn.0040bba0
push edi
push esi
lea ecx, [ebp - 0x64]
call fcn.0040bba0
push edi
push esi
lea ecx, [ebp - 0x80]
call fcn.00401524
jmp 0x42701d
mov eax, ecx
jmp 0x426bf1
mov ecx, dword [ebp - 0x14c]
cmp ecx, dword [ebx + 4]
jge 0x42709f
mov ecx, dword [ebx]
add ecx, edi
push 0xffffffffffffffff
inc eax
push eax
add ecx, 0xd0
push ecx
lea esi, [ebp - 0xf0]
call fcn.004170c6
push 0xffffffffffffffff
mov edi, 0xfde9
push edi
push edi
sub esp, 0x1c
mov eax, esi
mov ecx, esp
mov dword [ebp - 0x158], esp
push eax
mov byte [ebp - 4], 7
call fcn.004016f0
lea eax, [ebp - 0x64]
push eax
call fcn.00456b26
add esp, 0x2c
mov ecx, dword [ebp - 0x15c]
add ecx, 0x1e4
push ecx
lea ecx, [ebp - 0x9c]
push ecx
mov esi, eax
mov byte [ebp - 4], 8
call fcn.0043cc33
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.0040ba5a
push 0
push 1
lea ecx, [ebp - 0x9c]
call fcn.0040bba0
push 0
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.0040bba0
push 0xffffffffffffffff
push edi
push edi
sub esp, 0x1c
lea eax, [ebp - 0xf0]
mov ecx, esp
mov dword [ebp - 0x158], esp
push eax
call fcn.004016f0
lea eax, [ebp - 0x64]
push eax
call fcn.00456b26
add esp, 0x2c
mov ecx, dword [ebp - 0x15c]
add ecx, 0x1e4
push ecx
lea ecx, [ebp - 0x9c]
push ecx
mov esi, eax
mov byte [ebp - 4], 0xa
call fcn.0043cc33
cmp dword [eax + 0x14], 8
pop ecx
pop ecx
jb 0x426ebe
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb al, al
xor esi, esi
push 0
inc al
inc esi
push esi
lea ecx, [ebp - 0x9c]
mov byte [ebp - 0x151], al
call fcn.0040bba0
push 0
push esi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.0040bba0
cmp byte [ebp - 0x151], 0
je 0x426f6e
push esi
sub esp, 0x1c
lea eax, [ebp - 0x48]
mov ecx, esp
mov dword [ebp - 0x168], esp
push eax
call fcn.0040a49c
mov eax, dword [ebp - 0x14c]
sub esp, 0x1c
mov dword [ebp - 0x158], esp
mov dword [ebp - 0x164], esp
push 0xffffffffffffffff
mov byte [ebp - 4], 0xb
push edi
push edi
cmp eax, dword [ebx + 4]
jge 0x427098
mov ebx, dword [ebx]
add ebx, dword [ebp - 0x150]
sub esp, 0x1c
add ebx, 0xd0
mov ecx, esp
mov dword [ebp - 0x164], esp
push ebx
call fcn.004016f0
push dword [ebp - 0x158]
call fcn.00456b26
add esp, 0x2c
mov byte [ebp - 4], 7
call fcn.0045977a
add esp, 0x3c
mov esi, dword [ebp - 0x15c]
lea eax, [ebp - 0x48]
push eax
add esi, 0x138
call fcn.0043876f
lea eax, [ebp - 0x148]
push eax
call fcn.00444d3d
sub esp, 0x1c
lea eax, [ebp - 0x48]
mov ecx, esp
mov dword [ebp - 0x164], esp
push eax
mov byte [ebp - 4], 0xc
call fcn.0040a49c
lea ebx, [ebp - 0x10c]
lea ecx, [ebp - 0x148]
call fcn.0044529b
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x160]
mov byte [ebp - 4], 0xd
cmp edx, dword [ecx + 4]
jge 0x427092
mov ecx, dword [ecx]
add ecx, dword [ebp - 0x150]
push eax
add ecx, 0x44
call fcn.0040ba5a
xor edi, edi
xor esi, esi
push edi
inc esi
push esi
mov ecx, ebx
call fcn.0040bba0
push edi
push esi
lea ecx, [ebp - 0x128]
call fcn.0040bba0
push edi
push esi
lea ecx, [ebp - 0x144]
call fcn.0040bba0
push edi
push esi
lea ecx, [ebp - 0xf0]
call fcn.00401524
mov ebx, dword [ebp - 0x160]
push edi
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.0040bba0
xor esi, esi
mov eax, dword [ebp - 0x14c]
cmp eax, dword [ebx + 4]
jge 0x42709f
mov eax, dword [ebx]
add eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x15c]
push eax
call fcn.00426b4e
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401524
inc dword [ebp - 0x14c]
mov eax, dword [ebx + 4]
add dword [ebp - 0x150], 0x1f8
cmp dword [ebp - 0x14c], eax
jl 0x426bae
call fcn.00474f44
ret 4
push edi
push edi
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
push 0
push 0
jmp 0x427085
push 0
push 0
push esi
jmp 0x427087
push esi
push esi
jmp 0x427085