Function at 0x10007bee
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x10055adb
call fcn.10048e6c
sub esp, 0x1d0
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
mov dword [ebp - 4], ebx
je 0x100088c3
lea ecx, [esi + 0x194]
call fcn.10025b6f
mov eax, dword [ebp + 0x10]
cmp eax, ebx
jne 0x10007c2a
mov eax, 0x1005c508
push eax
lea ecx, [ebp - 0x48]
call fcn.10013e81
cmp byte [ebp + 0x1c], bl
mov byte [ebp - 4], 1
je 0x10007c46
lea eax, [ebp - 0x48]
push eax
call fcn.100041de
pop ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.TOOLBAR
call fcn.100012fe
push esi
lea ecx, [ebp - 0x1dc]
call fcn.100247e7
push ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.1001490e
push eax
lea ecx, [ebp - 0x24]
call fcn.100012fe
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 3
call fcn.100473c9
lea ecx, [ebp - 0x24]
call fcn.100019b6
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x44], al
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov al, byte [ebp + 0xb]
mov byte [ebp - 0xcc], al
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xc0], ebx
mov al, byte [ebp + 0xb]
mov byte [ebp - 0xac], al
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x8c], al
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov al, byte [ebp + 0xb]
mov byte [ebp - 0xdc], al
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd0], ebx
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x9c], al
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov al, byte [ebp + 0xb]
mov byte [ebp - 0xbc], al
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], ebx
or dword [ebp - 0x4c], 0xffffffff
mov eax, dword [edi + 0x11b4]
mov ecx, dword [eax + 0x34]
cmp ecx, ebx
mov byte [ebp - 4], 0xa
je 0x10008008
mov edx, dword [eax + 0x38]
sub edx, ecx
test edx, 0xfffffffc
je 0x10008008
mov eax, ecx
mov eax, dword [eax]
add eax, 8
mov eax, dword [eax + 4]
cmp eax, ebx
mov esi, 0x1005c508
je 0x10007d83
mov esi, eax
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x78]
mov byte [ebp - 0x78], al
call fcn.10026566
push esi
call fcn.100492e5
pop ecx
push eax
push esi
lea ecx, [ebp - 0x78]
call fcn.100275d3
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
mov byte [ebp - 0x34], al
call fcn.10026566
mov esi, str.CurrentFont
push esi
call fcn.100492e5
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.100275d3
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 0xc
call fcn.10003c07
add esp, 0xc
mov dword [ebp + 0x1c], eax
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
mov byte [ebp - 0x20], al
call fcn.10026566
push esi
call fcn.100492e5
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.100275d3
push dword [ebp + 0x1c]
lea eax, [ebp - 0x20]
push eax
call fcn.10003960
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x20]
call fcn.10026566
push 1
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xc
call fcn.10026566
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
call fcn.10026566
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xa
call fcn.10026566
mov eax, dword [edi + 0x11b4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax]
add eax, 8
mov eax, dword [eax + 4]
cmp eax, ebx
mov dword [ebp + 0x1c], 0x1005c508
je 0x10007e72
mov dword [ebp + 0x1c], eax
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.10026566
push dword [ebp + 0x1c]
call fcn.100492e5
pop ecx
push eax
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x34]
call fcn.100275d3
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xe
mov byte [ebp - 0x20], al
call fcn.10026566
push esi
call fcn.100492e5
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.100275d3
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 0xf
call fcn.10003c07
add esp, 0xc
mov ecx, dword [edi + 0x11b4]
push dword [0x1005c50c]
mov ecx, dword [ecx + 0x34]
mov ecx, dword [ecx]
push ebx
add ecx, 8
push eax
mov byte [ebp - 4], 0x10
call fcn.1002618e
push 1
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xf
call fcn.10026566
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xe
call fcn.10026566
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xa
call fcn.10026566
mov eax, dword [edi + 0x11b4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0x1c], eax
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.10026566
mov esi, str.FontSize
push esi
call fcn.100492e5
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.100275d3
mov al, byte [ebp + 0xb]
mov byte [ebp - 4], 0x11
mov byte [ebp - 0x20], al
push ebx
lea ecx, [ebp - 0x20]
call fcn.10026566
push esi
call fcn.100492e5
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.100275d3
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10003d3b
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100039e0
add esp, 0x10
push 1
lea ecx, [ebp - 0x20]
call fcn.10026566
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xa
call fcn.10026566
mov eax, dword [edi + 0x11b4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0x1c], eax
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call fcn.10026566
push esi
call fcn.100492e5
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.100275d3
mov eax, dword [edi + 0x11b4]
mov esi, dword [eax + 0x34]
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10003d3b
pop ecx
pop ecx
mov ecx, dword [esi]
mov dword [ecx + 4], eax
push 1
lea ecx, [ebp - 0x20]
call fcn.10026566
mov esi, dword [ebp + 8]
cmp dword [esi + 0x28], ebx
je 0x1000802c
cmp byte [0x100850c1], bl
jne 0x1000802c
mov esi, dword [esi + 0x24]
cmp esi, ebx
jne 0x10008021
mov esi, 0x1005c508
push esi
mov ecx, 0x10073d90
call fcn.10002b78
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call fcn.10026566
mov esi, str.CurrentLayout
push esi
call fcn.100492e5
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.100275d3
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10003d3b
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x4c], eax
call fcn.10026566
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x100080b4
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call fcn.10026566
push esi
call fcn.100492e5
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.100275d3
mov eax, dword [edi + 0x11b4]
push dword [eax + 0x180]
lea eax, [ebp - 0x20]
push eax
call fcn.100039e0
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x20]
call fcn.10026566
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x20]
mov dword [ebp + 0x1c], ebx
mov byte [ebp - 0x20], al
call fcn.10026566
push esi
call fcn.100492e5
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.100275d3
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10003d3b
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x68], eax
call fcn.10026566
mov eax, dword [edi + 0x11b4]
mov eax, dword [eax + 4]
mov dword [0x100704f4], eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
add eax, 0x194
cmp ecx, ebx
je 0x1000823e
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
sub edx, ecx
sar edx, 2
cmp eax, edx
jae 0x1000823e
mov esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x198]
shl esi, 2
mov ecx, dword [esi + eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x198]
mov eax, dword [esi + eax]
mov ecx, dword [ebp - 0x68]
cmp dword [eax + 0x4c], ecx
jne 0x10008236
add eax, 4
push eax
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x44]
call fcn.10026c17
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x198]
mov eax, dword [esi + eax]
add eax, 0x18
push eax
push dword [ebp - 0xc4]
lea ecx, [ebp - 0xcc]
call fcn.10026c17
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x198]
mov eax, dword [esi + eax]
add eax, 0x14
push eax
push dword [ebp - 0xd4]
lea ecx, [ebp - 0xdc]
call fcn.10026ca1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x198]
mov eax, dword [esi + eax]
add eax, 0x38
push eax
push dword [ebp - 0xa4]
lea ecx, [ebp - 0xac]
call fcn.10026c17
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x198]
mov eax, dword [esi + eax]
add eax, 0x48
push eax
push dword [ebp - 0x94]
lea ecx, [ebp - 0x9c]
call fcn.10026ca1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x198]
mov eax, dword [esi + eax]
add eax, 0x28
push eax
push dword [ebp - 0x84]
lea ecx, [ebp - 0x8c]
call fcn.10026c17
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x198]
mov eax, dword [esi + eax]
mov eax, dword [eax + 0x4c]
mov dword [ebp + 0x1c], eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp - 0xb4]
lea ecx, [ebp - 0xbc]
call fcn.10026ca1
inc dword [ebp - 0x10]
jmp 0x10008104
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x40], ebx
je 0x10008826
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x40]
sar eax, 4
cmp dword [ebp - 0x10], eax
jae 0x10008826
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call fcn.10026566
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x12
mov byte [ebp - 0x34], al
call fcn.10026566
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x10]
cmp dword [eax + edx*4], ecx
mov byte [ebp - 4], 0x13
jne 0x100087fe
mov eax, dword [ebp - 0x40]
mov esi, str.http:__
push esi
mov dword [ebp + 0x1c], eax
call fcn.100492e5
pop ecx
push eax
mov eax, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp - 0x24]
lea ecx, [eax + esi]
call fcn.1002637a
cmp eax, dword [0x1005c50c]
jne 0x100082f4
mov eax, dword [ebp - 0x40]
push 0x1006c770
mov dword [ebp + 0x1c], eax
call fcn.100492e5
pop ecx
push eax
mov eax, dword [ebp + 0x1c]
push ebx
push 0x1006c770
lea ecx, [eax + esi]
call fcn.1002637a
cmp eax, dword [0x1005c50c]
je 0x100085d6
lea eax, [ebp - 0x14c]
push eax
mov ecx, edi
call fcn.1001dee1
push 1
lea ecx, [ebp - 0x14c]
call fcn.10026566
lea eax, [ebp - 0x16c]
push eax
mov ecx, edi
call fcn.1001da91
push 1
lea ecx, [ebp - 0x16c]
call fcn.10026566
lea eax, [ebp - 0x11c]
push eax
mov ecx, edi
call fcn.1001e0ca
push 1
lea ecx, [ebp - 0x11c]
call fcn.10026566
lea eax, [ebp - 0x18c]
push eax
mov ecx, edi
call fcn.1001d959
push 1
lea ecx, [ebp - 0x18c]
call fcn.10026566
lea eax, [ebp - 0x12c]
push eax
mov ecx, edi
call fcn.1001d80d
push 1
lea ecx, [ebp - 0x12c]
call fcn.10026566
mov ecx, edi
call fcn.100088e4
lea eax, [ebp - 0x13c]
push eax
mov ecx, edi
call fcn.1000892f
push 1
lea ecx, [ebp - 0x13c]
call fcn.10026566
push edi
lea ecx, [ebp - 0x5c]
call fcn.10008a93
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x54]
jge 0x100084fa
cmp eax, ebx
jl 0x100084fa
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
mov eax, dword [ecx]
push edi
call dword [eax + 0x4c]
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
mov eax, dword [ecx]
lea edx, [ebp - 0x7c]
push edx
call dword [eax + 0x2c]
mov eax, dword [eax]
cmp eax, ebx
mov byte [ebp - 4], 0x14
je 0x100083e4
mov eax, dword [eax]
mov dword [ebp + 0x1c], eax
jmp 0x100083e7
mov dword [ebp + 0x1c], ebx
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x78]
mov byte [ebp - 0x78], al
call fcn.10026566
push dword [ebp + 0x1c]
call fcn.100492e5
pop ecx
push eax
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x78]
call fcn.100275d3
mov ecx, dword [ebp - 0x7c]
cmp ecx, ebx
mov byte [ebp - 4], 0x16
je 0x1000841e
call fcn.10001129
mov dword [ebp - 0x7c], ebx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
lea eax, [ebp - 0x15c]
push eax
call fcn.10008a54
push eax
lea eax, [ebp - 0xf0]
push 0x1006c76c
push eax
mov byte [ebp - 4], 0x17
call fcn.1002b21c
add esp, 0xc
push 1
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x19
call fcn.10026566
push 0x1006c768
lea ecx, [ebp - 0x60]
call fcn.100012fe
push 0xfde9
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x17c]
push eax
mov byte [ebp - 4], 0x1a
call fcn.100470d3
add esp, 0xc
push dword [0x1005c50c]
lea ecx, [ebp - 0x78]
push ebx
push eax
mov byte [ebp - 4], 0x1b
call fcn.1002618e
push 1
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0x1a
call fcn.10026566
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0xf0]
push eax
mov eax, dword [ebp - 0x40]
add eax, esi
push eax
call fcn.10002a79
mov ecx, dword [ebp - 0x60]
add esp, 0xc
cmp ecx, ebx
je 0x100084cf
call fcn.10001129
mov dword [ebp - 0x60], ebx
push 1
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x16
call fcn.10026566
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x13
call fcn.10026566
inc dword [ebp - 0x5c]
add dword [ebp - 0x58], 4
jmp 0x100083a6
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x10]
push dword [ecx + eax*4]
lea ecx, [ebp - 0xcc]
push eax
call fcn.10025a96
sub esp, 0x10
mov ecx, esp
mov dword [ebp + 0x1c], esp
push eax
call fcn.1002463f
push dword [ebp - 0x10]
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x1c
call fcn.10025a96
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x108], esp
push eax
call fcn.1002463f
push dword [ebp - 0x10]
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x1d
call fcn.10025b62
push dword [eax]
lea eax, [ebp - 0x4d]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x104], esp
push eax
push str..xml
call fcn.10024694
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x1e
call fcn.10025a96
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10c], esp
push eax
call fcn.1002463f
mov ecx, edi
mov byte [ebp - 4], 0x13
call fcn.1000780d
push dword [0x1005c50c]
mov byte [ebp + 0x1f], al
mov eax, dword [ebp - 0x40]
push ebx
add eax, esi
push eax
lea ecx, [ebp - 0x34]
call fcn.1002618e
push dword [0x1005c50c]
lea eax, [ebp - 0x20]
push ebx
push eax
mov eax, dword [ebp - 0x40]
lea ecx, [eax + esi]
call fcn.1002618e
cmp byte [ebp + 0x1f], bl
je 0x10008691
push 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
mov byte [0x10087810], bl
call fcn.10025a96
sub esp, 0x10
mov ecx, esp
mov dword [ebp + 0x1c], esp
push eax
call fcn.1002463f
push dword [ebp + 8]
mov ecx, edi
call fcn.10007bee
cmp byte [0x10087810], bl
je 0x10008686
mov dword [ebp + 0x1c], ebx
mov eax, dword [edi + 0x11a4]
cmp eax, ebx
je 0x10008652
mov ecx, dword [edi + 0x11a8]
sub ecx, eax
mov eax, dword [ebp + 0x1c]
sar ecx, 2
cmp eax, ecx
jae 0x10008652
mov ecx, dword [edi + 0x11a4]
push dword [ecx + eax*4]
lea ecx, [ebp - 0x34]
call fcn.1002b620
test eax, eax
jne 0x1000864d
mov eax, dword [edi + 0x11a4]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [eax + ecx*4]
mov byte [eax + 0x4c], 1
inc dword [ebp + 0x1c]
jmp 0x1000860c
mov eax, dword [ebp - 0x88]
cmp dword [eax + esi + 8], ebx
je 0x10008686
push 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x8c]
call fcn.10025a96
sub esp, 0x10
mov ecx, esp
mov dword [ebp + 0x1c], esp
push eax
call fcn.1002463f
push dword [ebp + 8]
mov ecx, edi
call fcn.10007bee
mov byte [0x10087810], bl
jmp 0x100087fe
mov eax, dword [ebp - 0x40]
add eax, esi
mov eax, dword [eax + 4]
cmp eax, ebx
mov dword [ebp + 0x1c], 0x1005c508
je 0x100086a7
mov dword [ebp + 0x1c], eax
lea eax, [ebp - 0x64]
push eax
call fcn.1000404b
pop ecx
push dword [ebp + 0x1c]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.10014463
mov eax, dword [eax]
mov dword [ebp + 0x1c], eax
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x20
mov byte [ebp - 0x100], al
call fcn.10026566
push dword [ebp + 0x1c]
call fcn.100492e5
pop ecx
push eax
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x100]
call fcn.100275d3
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x23
call fcn.10013e55
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x22
call fcn.10013e55
mov eax, dword [ebp - 0x88]
cmp dword [eax + esi + 8], ebx
je 0x10008769
mov eax, dword [ebp - 0xfc]
cmp eax, ebx
jne 0x10008731
mov eax, 0x1005c508
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10008769
push 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x8c]
call fcn.10025a96
sub esp, 0x10
mov ecx, esp
mov dword [ebp + 0x1c], esp
push eax
call fcn.1002463f
push dword [ebp + 8]
mov ecx, edi
call fcn.10007bee
jmp 0x100087ed
push 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
mov byte [0x10087810], bl
call fcn.10025a96
sub esp, 0x10
mov ecx, esp
mov dword [ebp + 0x1c], esp
push eax
call fcn.1002463f
push dword [ebp + 8]
mov ecx, edi
call fcn.10007bee
cmp byte [0x10087810], bl
je 0x100087e7
mov dword [ebp + 0x1c], ebx
mov eax, dword [edi + 0x11a4]
cmp eax, ebx
je 0x100087e7
mov ecx, dword [edi + 0x11a8]
sub ecx, eax
mov eax, dword [ebp + 0x1c]
sar ecx, 2
cmp eax, ecx
jae 0x100087e7
mov ecx, dword [edi + 0x11a4]
push dword [ecx + eax*4]
lea esi, [edi + 0x11a4]
lea ecx, [ebp - 0x34]
call fcn.1002b620
test eax, eax
jne 0x100087e2
mov eax, dword [esi]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [eax + ecx*4]
mov byte [eax + 0x4c], 1
inc dword [ebp + 0x1c]
jmp 0x1000879f
mov byte [0x10087810], bl
push 1
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x13
call fcn.10026566
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x12
call fcn.10026566
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.10026566
inc dword [ebp - 0x10]
add dword [ebp - 0x24], 0x10
jmp 0x10008244
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 9
call fcn.10025bb4
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 8
call fcn.10025bb4
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 7
call fcn.10025bb4
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 6
call fcn.10025a61
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 5
call fcn.10025a61
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 4
call fcn.10025a61
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.10025a61
mov dword [ebp - 0x1dc], 0x1005c628
push 1
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0x24
call fcn.10026566
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 1
call fcn.1001ce91
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.10013e55
mov bl, 1
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp + 0xc]
call fcn.10026566
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
leave
ret 0x18