Function at 0x431af2
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x104
and dword [ebp + 0x70], 0
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x7c]
push 0x47e7fe
mov dword [ebp + 0x20], ebx
call fcn.0043f8e0
mov eax, dword [ebx + 0x80]
push str._step_list
push eax
call fcn.0045ea50
pop ecx
pop ecx
mov dword [ebp + 0x48], eax
test eax, eax
jne 0x431b38
mov eax, 0x8000aaa0
jmp 0x431f4b
push esi
push edi
mov eax, dword [ebp + 0x48]
inc eax
push str._step
push eax
call fcn.0045ea50
mov esi, eax
pop ecx
pop ecx
mov dword [ebp + 0x48], esi
test esi, esi
je 0x431f29
lea ecx, [ebp + 0x4c]
call fcn.0043f500
lea ecx, [ebp + 0x54]
call fcn.0043f500
lea ecx, [ebp + 0x60]
call fcn.0043f500
lea ecx, [ebp + 0x38]
call fcn.0043f500
push 0x481c20
lea ecx, [ebp - 0x28]
call fcn.0043f7b0
or dword [ebp + 0x70], 1
push esi
lea ecx, [ebp - 0x30]
call fcn.0043f7b0
or dword [ebp + 0x70], 2
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp - 0x28]
push eax
lea edi, [ebp - 0x30]
call fcn.0041c41d
pop ecx
pop ecx
test eax, eax
je 0x431be4
push str.name
lea ecx, [ebp - 8]
call fcn.0043f7b0
or dword [ebp + 0x70], 4
push esi
lea ecx, [ebp - 0x20]
call fcn.0043f7b0
or dword [ebp + 0x70], 8
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 8]
push eax
lea edi, [ebp - 0x20]
call fcn.0041c41d
pop ecx
pop ecx
mov byte [ebp + 0x6f], 0
test eax, eax
jne 0x431be8
mov byte [ebp + 0x6f], 1
test byte [ebp + 0x70], 8
je 0x431bfa
and dword [ebp + 0x70], 0xfffffff7
lea ecx, [ebp - 0x20]
call fcn.0043f790
test byte [ebp + 0x70], 4
je 0x431c0c
and dword [ebp + 0x70], 0xfffffffb
lea ecx, [ebp - 8]
call fcn.0043f790
test byte [ebp + 0x70], 2
je 0x431c1e
and dword [ebp + 0x70], 0xfffffffd
lea ecx, [ebp - 0x30]
call fcn.0043f790
test byte [ebp + 0x70], 1
je 0x431c30
and dword [ebp + 0x70], 0xfffffffe
lea ecx, [ebp - 0x28]
call fcn.0043f790
cmp byte [ebp + 0x6f], 0
jne 0x431f07
lea ecx, [ebp + 0x40]
call fcn.0043f500
push str.type
lea ecx, [ebp - 0x18]
call fcn.0043f7b0
push esi
lea ecx, [ebp - 0x10]
call fcn.0043f7b0
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp - 0x18]
push eax
lea edi, [ebp - 0x10]
call fcn.0041c41d
pop ecx
pop ecx
mov ecx, edi
call fcn.0043f790
lea ecx, [ebp - 0x18]
call fcn.0043f790
push 0x4824a8
lea ecx, [ebp + 0x2c]
call fcn.0043f7b0
or dword [ebp + 0x70], 0x10
push esi
lea ecx, [ebp + 8]
call fcn.0043f7b0
or dword [ebp + 0x70], 0x20
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x2c]
push eax
lea edi, [ebp + 8]
call fcn.0041c41d
pop ecx
pop ecx
test eax, eax
jne 0x431ce8
push str.resource
lea ecx, [ebp]
call fcn.0043f7b0
or dword [ebp + 0x70], 0x40
push esi
lea ecx, [ebp + 0x10]
call fcn.0043f7b0
or dword [ebp + 0x70], 0x80
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp]
push eax
lea edi, [ebp + 0x10]
call fcn.0041c41d
pop ecx
pop ecx
mov byte [ebp + 0x6f], 1
test eax, eax
je 0x431cec
mov byte [ebp + 0x6f], 0
test byte [ebp + 0x70], 0x80
je 0x431d01
and dword [ebp + 0x70], 0xffffff7f
lea ecx, [ebp + 0x10]
call fcn.0043f790
test byte [ebp + 0x70], 0x40
je 0x431d13
and dword [ebp + 0x70], 0xffffffbf
lea ecx, [ebp]
call fcn.0043f790
test byte [ebp + 0x70], 0x20
je 0x431d25
and dword [ebp + 0x70], 0xffffffdf
lea ecx, [ebp + 8]
call fcn.0043f790
test byte [ebp + 0x70], 0x10
je 0x431d37
and dword [ebp + 0x70], 0xffffffef
lea ecx, [ebp + 0x2c]
call fcn.0043f790
cmp byte [ebp + 0x6f], 0
jne 0x431eff
lea eax, [ebp + 0x4c]
push eax
lea ecx, [ebx + 0x430]
call fcn.004149de
mov edi, eax
xor eax, eax
push 0x481a54
push esi
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
call fcn.0045ea50
push 0x4839dc
push esi
mov dword [ebp + 0x34], eax
call fcn.0045ea50
add esp, 0x10
cmp eax, dword [ebp + 0x34]
jbe 0x431dbd
mov esi, dword [ebp + 0x48]
push str.__step_
push esi
call fcn.0045ea50
pop ecx
pop ecx
test eax, eax
je 0x431eff
and dword [ebp + 0x5c], 0
lea ecx, [ebp + 0x5c]
push ecx
push 0
push eax
push esi
mov ecx, ebx
mov dword [edi + 0x24], esi
mov dword [edi + 0x28], eax
call fcn.00430bb7
mov ecx, dword [ebp + 0x5c]
mov dword [edi + 0x2c], ecx
test eax, eax
je 0x431ed2
push 0x2c
lea ecx, [ebx + 0x1b8]
call fcn.0043f540
mov dword [ebp + 0x5c], eax
test eax, eax
jle 0x431ed2
xor eax, eax
inc eax
mov dword [ebp + 0x68], eax
cmp dword [ebp + 0x5c], eax
jl 0x431ed2
push dword [ebp + 0x68]
lea eax, [ebp + 0x24]
push 0x2c
push eax
lea ecx, [ebx + 0x1b8]
call fcn.00440130
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x24]
push eax
call fcn.0040cddb
pop ecx
pop ecx
lea ecx, [ebp + 0x24]
test al, al
jne 0x431e23
call fcn.0043f790
inc dword [ebp + 0x68]
mov eax, dword [ebp + 0x68]
cmp eax, dword [ebp + 0x5c]
jle 0x431de4
jmp 0x431ed2
call fcn.0043f790
lea eax, [ebp + 0x4c]
push eax
lea ecx, [ebx + 0x448]
call fcn.00413658
test eax, eax
jne 0x431eff
lea eax, [ebp + 0x4c]
push eax
lea ecx, [ebx + 0x448]
call fcn.004149de
mov esi, eax
lea eax, [ebp + 0x54]
push eax
lea ecx, [esi + 0xc]
call fcn.0043f840
lea eax, [ebp + 0x4c]
push eax
lea ecx, [esi + 4]
call fcn.0043f840
lea eax, [ebp + 0x40]
push eax
lea ecx, [esi + 0x14]
call fcn.0043f840
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x24]
lea ecx, [ebp + 0x60]
mov dword [esi + 0x24], eax
call fcn.00401005
lea ecx, [esi + 0x1c]
test al, al
je 0x431ea7
lea eax, [ebp + 0x38]
push eax
call fcn.0043f840
mov dword [esi + 0x30], 1
jmp 0x431eb4
lea eax, [ebp + 0x60]
push eax
call fcn.0043f840
and dword [esi + 0x30], 0
and dword [esi], 0
mov edi, 0x47e7fe
push edi
lea ecx, [esi + 0x38]
call fcn.0043f8e0
push edi
lea ecx, [esi + 0x40]
call fcn.0043f8e0
and dword [esi + 0x34], 0
lea ecx, [ebp + 0x40]
call fcn.0043f790
lea ecx, [ebp + 0x38]
call fcn.0043f790
lea ecx, [ebp + 0x60]
call fcn.0043f790
lea ecx, [ebp + 0x54]
call fcn.0043f790
lea ecx, [ebp + 0x4c]
call fcn.0043f790
jmp 0x431b3a
lea ecx, [ebp + 0x40]
call fcn.0043f790
lea ecx, [ebp + 0x38]
call fcn.0043f790
lea ecx, [ebp + 0x60]
call fcn.0043f790
lea ecx, [ebp + 0x54]
call fcn.0043f790
lea ecx, [ebp + 0x4c]
call fcn.0043f790
jmp 0x431f44
lea esi, [ebx + 0x1b8]
push 0x2c
mov ecx, esi
mov dword [ebp + 0x5c], esi
call fcn.0043f540
mov edi, eax
mov dword [ebp + 0x48], edi
test edi, edi
jg 0x431f53
mov eax, 0x8000aaa0
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4
lea ecx, [ebp - 0x48]
call fcn.00414a41
xor eax, eax
inc eax
mov dword [ebp + 0x68], eax
cmp edi, eax
jl 0x432044
push dword [ebp + 0x68]
lea eax, [ebp + 0x54]
push 0x2c
push eax
mov ecx, esi
call fcn.00440130
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebx + 0x448]
call fcn.00413658
test eax, eax
je 0x432030
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebx + 0x448]
call fcn.004149de
push eax
lea ecx, [ebp - 0x90]
call fcn.0040faa2
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp + 0x40]
call fcn.0043f6f0
lea ecx, [ebp + 0x40]
call fcn.00401005
test al, al
jne 0x43201d
cmp dword [ebp - 0x64], 0
je 0x431ff0
lea eax, [ebp + 0x40]
push eax
lea ecx, [ebp - 0x48]
call fcn.0041fec8
test eax, eax
jne 0x431ff0
lea eax, [ebp + 0x50]
push eax
push 1
push dword [ebp - 0x68]
mov ecx, ebx
push dword [ebp - 0x6c]
call fcn.00430bb7
test eax, eax
je 0x43200e
lea eax, [ebp + 0x40]
push eax
lea ecx, [ebp - 0x48]
call fcn.0041fec8
test eax, eax
jne 0x43200e
lea eax, [ebp + 0x40]
push eax
lea ecx, [ebp - 0x48]
call fcn.00416ebf
jmp 0x43201d
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebx + 0x448]
call fcn.00420949
lea ecx, [ebp + 0x40]
call fcn.0043f790
lea ecx, [ebp - 0x90]
call fcn.0040fa6e
lea ecx, [ebp + 0x54]
call fcn.0043f790
inc dword [ebp + 0x68]
cmp dword [ebp + 0x68], edi
jle 0x431f69
lea esi, [ebx + 0x1c8]
push 0x47e7fe
mov ecx, esi
mov dword [ebp + 0x68], esi
call fcn.0043f8e0
lea ecx, [ebx + 0x1c0]
push 0x47e7fe
mov dword [ebp + 0x34], ecx
call fcn.0043f8e0
push 0x47e7fe
lea ecx, [ebp + 0x18]
call fcn.0043f7b0
xor eax, eax
inc eax
mov dword [ebp + 0x70], eax
cmp edi, eax
jl 0x43227f
lea eax, [ebx + 0x430]
mov dword [ebp + 0x3c], eax
push dword [ebp + 0x70]
mov ecx, dword [ebp + 0x5c]
push 0x2c
lea eax, [ebp + 0x60]
push eax
call fcn.00440130
mov ecx, dword [ebp + 0x3c]
lea eax, [ebp + 0x60]
push eax
call fcn.00413658
test eax, eax
lea eax, [ebp + 0x60]
push eax
je 0x4322c7
lea edi, [ebx + 0x448]
mov ecx, edi
mov dword [ebp + 0x50], edi
call fcn.00413658
test eax, eax
jne 0x4320fc
mov ecx, esi
call fcn.00401005
test al, al
jne 0x4320e4
push 0x47fc90
mov ecx, esi
call fcn.0043fc10
lea eax, [ebp + 0x60]
push eax
mov ecx, esi
call fcn.0043fcf0
lea ecx, [ebp + 0x60]
call fcn.0043f790
jmp 0x432270
lea eax, [ebp + 0x60]
push eax
mov ecx, edi
call fcn.004149de
mov esi, eax
cmp dword [esi + 0x30], 0
jne 0x432158
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.00407bf4
push eax
lea eax, [ebp + 0x2c]
push eax
call fcn.00440040
add esp, 0xc
cmp byte [eax + 7], 0xff
jne 0x432133
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov ebx, eax
neg ebx
lea ecx, [ebp + 0x2c]
sbb bl, bl
call fcn.0043f790
lea ecx, [ebp + 8]
call fcn.0043f790
inc bl
jne 0x4322f1
push 0x47e7fe
lea ecx, [esi + 0x40]
call fcn.0043f8e0
push dword [ebp + 0x68]
lea ecx, [esi + 0x38]
call fcn.0043f840
mov ebx, dword [ebp + 0x70]
jmp 0x4321c1
mov ecx, dword [ebp + 0x5c]
push ebx
push 0x2c
lea eax, [ebp + 0x24]
push eax
call fcn.00440130
mov ecx, dword [ebp + 0x50]
lea eax, [ebp + 0x24]
push eax
call fcn.00413658
test eax, eax
jne 0x4321b9
lea ecx, [esi + 0x40]
call fcn.00401005
test al, al
jne 0x4321ad
push 0x47fc90
lea ecx, [esi + 0x40]
call fcn.0043fc10
lea eax, [ebp + 0x24]
push eax
lea ecx, [esi + 0x40]
call fcn.0043fcf0
lea ecx, [ebp + 0x24]
call fcn.0043f790
inc ebx
cmp ebx, dword [ebp + 0x48]
jle 0x432175
lea eax, [ebp + 0x18]
push eax
lea edi, [esi + 0xc]
push edi
call fcn.0040ce04
pop ecx
pop ecx
test al, al
je 0x4321fc
push edi
lea ecx, [ebp + 0x18]
call fcn.0043f840
cmp byte [edi + 7], 0xff
jne 0x4321eb
mov edi, dword [edi]
mov ebx, dword [ebp + 0x20]
lea ecx, [ebx + 0x390]
push edi
call fcn.00440bd0
jmp 0x4321ff
mov ebx, dword [ebp + 0x20]
lea eax, [ebx + 0x390]
test eax, eax
je 0x43220e
mov eax, dword [eax + 0x10]
jmp 0x432210
xor eax, eax
dec eax
mov dword [esi + 0x34], eax
mov esi, dword [ebp + 0x34]
mov ecx, esi
call fcn.0043f510
test eax, eax
je 0x432244
push 0x47fc90
lea eax, [ebp]
push esi
push eax
call fcn.00440090
add esp, 0xc
push eax
mov ecx, esi
call fcn.0043f840
lea ecx, [ebp]
call fcn.0043f790
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x10]
push esi
push eax
call fcn.00440040
add esp, 0xc
push eax
mov ecx, esi
call fcn.0043f840
lea ecx, [ebp + 0x10]
call fcn.0043f790
lea ecx, [ebp + 0x60]
call fcn.0043f790
mov esi, dword [ebp + 0x68]
inc dword [ebp + 0x70]
mov eax, dword [ebp + 0x70]
cmp eax, dword [ebp + 0x48]
jle 0x432090
push dword [ebp + 0x5c]
lea eax, [ebp + 0x2c]
push str.Original_Page_List_
push eax
call fcn.004400e0
push eax
call fcn.0040d9ba
add esp, 0x10
lea ecx, [ebp + 0x2c]
call fcn.0043f790
push dword [ebp + 0x34]
lea eax, [ebp + 0x2c]
push str.Current_Page_List_
push eax
call fcn.004400e0
push eax
call fcn.0040d9ba
add esp, 0x10
lea ecx, [ebp + 0x2c]
call fcn.0043f790
xor esi, esi
jmp 0x43230a
mov ecx, dword [ebp + 0x7c]
call fcn.0043f840
lea ecx, [ebp + 0x60]
call fcn.0043f790
lea ecx, [ebp + 0x18]
call fcn.0043f790
lea ecx, [ebp - 0x48]
call fcn.00416b91
mov eax, 0x80004005
jmp 0x431f49
mov ecx, dword [ebp + 0x7c]
lea eax, [ebp + 0x60]
push eax
call fcn.0043f840
lea ecx, [ebp + 0x60]
call fcn.0043f790
mov esi, 0x80004005
lea ecx, [ebp + 0x18]
call fcn.0043f790
lea ecx, [ebp - 0x48]
call fcn.00416b91
mov eax, esi
jmp 0x431f49