Function at 0x10008d6d
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x10051526
call fcn.100457f4
sub esp, 0x1c0
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 0x10009a4a
lea ecx, [esi + 0x180]
call fcn.10022fa8
mov eax, dword [ebp + 0x10]
cmp eax, ebx
jne 0x10008da9
mov eax, 0x10057508
push eax
lea ecx, [ebp - 0x4c]
call fcn.100117c7
cmp byte [ebp + 0x1c], bl
mov byte [ebp - 4], 1
je 0x10008dc7
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.10003f8d
pop ecx
pop ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.TOOLBAR
call fcn.1000101a
push esi
lea ecx, [ebp - 0x1cc]
call fcn.10022017
push ebx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.10011a8c
push eax
lea ecx, [ebp - 0x24]
call fcn.1000101a
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 3
call fcn.10043f13
lea ecx, [ebp - 0x24]
call fcn.100018b6
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x48], al
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 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 - 0xc0], al
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], 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 - 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 - 0xd0], al
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc4], ebx
or dword [ebp - 0x50], 0xffffffff
mov eax, dword [edi + 0x1b4]
mov ecx, dword [eax + 0x24]
cmp ecx, ebx
mov byte [ebp - 4], 9
je 0x1000917a
mov edx, dword [eax + 0x28]
sub edx, ecx
test edx, 0xfffffffc
je 0x1000917a
mov eax, ecx
mov eax, dword [eax]
add eax, 8
mov eax, dword [eax + 4]
cmp eax, ebx
mov esi, 0x10057508
je 0x10008ee9
mov esi, eax
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x64], al
call fcn.1002376b
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x64]
call fcn.100243fe
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xa
mov byte [ebp - 0x34], al
call fcn.1002376b
mov esi, str.CurrentFont
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.100243fe
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x7c]
push eax
mov byte [ebp - 4], 0xb
call fcn.100039b2
add esp, 0xc
mov dword [ebp + 0x1c], eax
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
mov byte [ebp - 0x20], al
call fcn.1002376b
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.100243fe
push dword [ebp + 0x1c]
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xd
call fcn.10003636
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call fcn.1002376b
push 1
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xb
call fcn.1002376b
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xa
call fcn.1002376b
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 9
call fcn.1002376b
mov eax, dword [edi + 0x1b4]
mov eax, dword [eax + 0x24]
mov eax, dword [eax]
add eax, 8
mov eax, dword [eax + 4]
cmp eax, ebx
mov dword [ebp + 0x1c], 0x10057508
je 0x10008fda
mov dword [ebp + 0x1c], eax
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.1002376b
push dword [ebp + 0x1c]
call fcn.10045c20
pop ecx
push eax
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x34]
call fcn.100243fe
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xe
mov byte [ebp - 0x20], al
call fcn.1002376b
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.100243fe
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x7c]
push eax
mov byte [ebp - 4], 0xf
call fcn.100039b2
add esp, 0xc
mov ecx, dword [edi + 0x1b4]
push dword [0x1005750c]
mov ecx, dword [ecx + 0x24]
mov ecx, dword [ecx]
push ebx
add ecx, 8
push eax
mov byte [ebp - 4], 0x10
call fcn.10023391
push 1
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xf
call fcn.1002376b
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xe
call fcn.1002376b
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
call fcn.1002376b
mov eax, dword [edi + 0x1b4]
mov eax, dword [eax + 0x24]
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.1002376b
mov esi, str.FontSize
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.100243fe
mov al, byte [ebp + 0xb]
mov byte [ebp - 4], 0x11
mov byte [ebp - 0x20], al
push ebx
lea ecx, [ebp - 0x20]
call fcn.1002376b
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.100243fe
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0x12
call fcn.10003aa7
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100036ee
add esp, 0x10
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x11
call fcn.1002376b
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
call fcn.1002376b
mov eax, dword [edi + 0x1b4]
mov eax, dword [eax + 0x24]
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.1002376b
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.100243fe
mov eax, dword [edi + 0x1b4]
mov esi, dword [eax + 0x24]
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x13
call fcn.10003aa7
pop ecx
pop ecx
mov ecx, dword [esi]
mov dword [ecx + 4], eax
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call fcn.1002376b
mov esi, dword [ebp + 8]
mov eax, dword [edi + 0xb4]
mov eax, dword [eax + 0x388]
cmp eax, ebx
je 0x10009239
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.1002376b
mov esi, str.toolbar_id
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.100243fe
mov eax, dword [edi + 0xb4]
add eax, 0x380
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x7c]
push eax
mov byte [ebp - 4], 0x14
call fcn.100039b2
add esp, 0xc
mov dword [ebp + 0x1c], eax
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x15
mov byte [ebp - 0x20], al
call fcn.1002376b
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.100243fe
push dword [ebp + 0x1c]
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x16
call fcn.10003636
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x15
call fcn.1002376b
push 1
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x14
call fcn.1002376b
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
call fcn.1002376b
mov esi, dword [ebp + 8]
cmp dword [esi + 0x18], ebx
je 0x10009255
mov esi, dword [esi + 0x14]
cmp esi, ebx
jne 0x1000924a
mov esi, 0x10057508
push esi
mov ecx, 0x1006ce58
call fcn.10002a36
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call fcn.1002376b
mov esi, str.CurrentLayout
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.100243fe
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x17
call fcn.10003aa7
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 9
call fcn.1002376b
cmp dword [ebp - 0x50], 0xffffffff
jne 0x100092ed
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call fcn.1002376b
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.100243fe
mov eax, dword [edi + 0x1b4]
push dword [eax + 0x16c]
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x18
call fcn.100036ee
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call fcn.1002376b
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x20]
mov dword [ebp + 0x1c], ebx
mov byte [ebp - 0x20], al
call fcn.1002376b
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.100243fe
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x19
call fcn.10003aa7
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 9
call fcn.1002376b
mov eax, dword [edi + 0x1b4]
mov eax, dword [eax + 4]
mov dword [0x100697f8], eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x184]
cmp ecx, ebx
je 0x10009453
mov edx, dword [eax + 0x188]
sub edx, ecx
mov ecx, dword [ebp - 0x10]
sar edx, 2
cmp ecx, edx
jae 0x10009453
mov eax, dword [eax + 0x184]
mov esi, ecx
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 + 0x184]
mov eax, dword [esi + eax]
mov ecx, dword [ebp - 0x38]
cmp dword [eax + 0x4c], ecx
jne 0x1000944b
add eax, 4
push eax
push dword [ebp - 0x40]
lea ecx, [ebp - 0x48]
call fcn.10023d72
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x184]
mov eax, dword [esi + eax]
add eax, 0x18
push eax
push dword [ebp - 0xa4]
lea ecx, [ebp - 0xac]
call fcn.10023d72
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x184]
mov eax, dword [esi + eax]
add eax, 0x14
push eax
push dword [ebp - 0x94]
lea ecx, [ebp - 0x9c]
call fcn.10023e39
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x184]
mov eax, dword [esi + eax]
add eax, 0x38
push eax
push dword [ebp - 0xb8]
lea ecx, [ebp - 0xc0]
call fcn.10023d72
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x184]
mov eax, dword [esi + eax]
add eax, 0x48
push eax
push dword [ebp - 0xc8]
lea ecx, [ebp - 0xd0]
call fcn.10023e39
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x184]
mov eax, dword [esi + eax]
add eax, 0x28
push eax
push dword [ebp - 0x84]
lea ecx, [ebp - 0x8c]
call fcn.10023d72
inc dword [ebp - 0x10]
jmp 0x10009345
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x44], ebx
je 0x100099bc
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x44]
sar eax, 4
cmp dword [ebp - 0x10], eax
jae 0x100099bc
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0xf0]
mov byte [ebp - 0xf0], al
call fcn.1002376b
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x1a
mov byte [ebp - 0x20], al
call fcn.1002376b
mov esi, dword [ebp - 0x44]
push str.http:__
mov byte [ebp - 4], 0x1b
call fcn.10045c20
pop ecx
push eax
mov eax, dword [ebp - 0x24]
push ebx
push str.http:__
lea ecx, [esi + eax]
call fcn.1002359f
cmp eax, dword [0x1005750c]
je 0x100097a4
lea eax, [ebp - 0x17c]
push eax
mov ecx, edi
call fcn.1001daae
push 1
pop esi
push esi
lea ecx, [ebp - 0x17c]
call fcn.1002376b
lea eax, [ebp - 0x15c]
push eax
mov ecx, edi
call fcn.1001d6b4
push esi
lea ecx, [ebp - 0x15c]
call fcn.1002376b
lea eax, [ebp - 0x13c]
push eax
mov ecx, edi
call fcn.1001dca6
push esi
lea ecx, [ebp - 0x13c]
call fcn.1002376b
lea eax, [ebp - 0x10c]
push eax
mov ecx, edi
call fcn.1001d571
push esi
lea ecx, [ebp - 0x10c]
call fcn.1002376b
lea eax, [ebp - 0x11c]
push eax
mov ecx, edi
call fcn.1001d41f
push esi
lea ecx, [ebp - 0x11c]
call fcn.1002376b
mov ecx, edi
call fcn.10009b39
lea eax, [ebp - 0x12c]
push eax
mov ecx, edi
call fcn.10009b84
push esi
lea ecx, [ebp - 0x12c]
call fcn.1002376b
push edi
lea ecx, [ebp - 0x60]
call fcn.10009d08
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x58]
jge 0x100096c5
cmp eax, ebx
jl 0x100096c5
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
mov eax, dword [ecx]
push edi
call dword [eax + 0x4c]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
mov eax, dword [ecx]
lea edx, [ebp - 0x68]
push edx
call dword [eax + 0x2c]
mov ecx, dword [eax]
cmp ecx, ebx
mov byte [ebp - 4], 0x1c
je 0x100095bb
call fcn.10001a3c
mov esi, eax
jmp 0x100095bd
xor esi, esi
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.1002376b
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.100243fe
mov ecx, dword [ebp - 0x68]
cmp ecx, ebx
mov byte [ebp - 4], 0x1e
je 0x100095f0
call fcn.10001129
mov dword [ebp - 0x68], ebx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
lea eax, [ebp - 0x14c]
push eax
call fcn.10009cc9
push eax
lea eax, [ebp - 0x7c]
push 0x10066eec
push eax
mov byte [ebp - 4], 0x1f
call fcn.10027f3a
add esp, 0xc
push 1
pop esi
push esi
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x21
call fcn.1002376b
push 0x10066ee8
lea ecx, [ebp - 0x38]
call fcn.1000101a
push 0x4e4
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x16c]
push eax
mov byte [ebp - 4], 0x22
call fcn.10043ad1
add esp, 0xc
push dword [0x1005750c]
lea ecx, [ebp - 0x34]
push ebx
push eax
mov byte [ebp - 4], 0x23
call fcn.10023391
push esi
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x22
call fcn.1002376b
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x44]
add eax, ecx
push eax
call fcn.1000294e
mov ecx, dword [ebp - 0x38]
add esp, 0xc
cmp ecx, ebx
je 0x1000969f
call fcn.10001129
mov dword [ebp - 0x38], ebx
push esi
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1e
call fcn.1002376b
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x1b
call fcn.1002376b
inc dword [ebp - 0x60]
add dword [ebp - 0x5c], 4
jmp 0x1000957b
mov eax, dword [ebp - 0xcc]
mov esi, dword [ebp - 0x10]
push dword [eax + esi*4]
lea ecx, [ebp - 0xac]
push esi
call fcn.10022e9f
sub esp, 0x10
mov ecx, esp
mov dword [ebp + 0x1c], esp
push eax
call fcn.10021d06
push esi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x24
call fcn.10022e9f
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0xf8], esp
push eax
call fcn.10021d06
push esi
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x25
call fcn.10022f9b
push dword [eax]
lea eax, [ebp - 0x51]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0xf4], esp
push eax
push str..xml
call fcn.10021d5b
lea eax, [ebp - 0xf0]
push eax
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x26
call fcn.10022e9f
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0xfc], esp
push eax
call fcn.10021d06
mov ecx, edi
mov byte [ebp - 4], 0x1b
call fcn.10008a09
push dword [0x1005750c]
mov esi, dword [ebp - 0x24]
mov byte [ebp + 0x1f], al
mov eax, dword [ebp - 0x44]
push ebx
add eax, esi
push eax
lea ecx, [ebp - 0x20]
call fcn.10023391
push dword [0x1005750c]
lea eax, [ebp - 0xf0]
push ebx
push eax
mov eax, dword [ebp - 0x44]
lea ecx, [eax + esi]
call fcn.10023391
cmp byte [ebp + 0x1f], bl
je 0x1000982d
push 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x48]
mov byte [0x1006f67c], bl
call fcn.10022e9f
sub esp, 0x10
mov ecx, esp
mov dword [ebp + 0x1c], esp
push eax
call fcn.10021d06
push dword [ebp + 8]
mov ecx, edi
call fcn.10008d6d
cmp byte [0x1006f67c], bl
je 0x10009822
mov dword [ebp + 0x1c], ebx
mov eax, dword [edi + 0x1a4]
cmp eax, ebx
je 0x10009822
mov ecx, dword [edi + 0x1a8]
sub ecx, eax
mov eax, dword [ebp + 0x1c]
sar ecx, 2
cmp eax, ecx
jae 0x10009822
mov ecx, dword [edi + 0x1a4]
push dword [ecx + eax*4]
lea esi, [edi + 0x1a4]
lea ecx, [ebp - 0x20]
call fcn.100281fe
test eax, eax
jne 0x1000981d
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 0x100097da
mov byte [0x1006f67c], bl
jmp 0x10009991
mov eax, dword [ebp - 0x44]
add eax, esi
mov eax, dword [eax + 4]
cmp eax, ebx
mov esi, 0x10057508
je 0x10009840
mov esi, eax
lea eax, [ebp - 0x6c]
push eax
call fcn.10003dfc
pop ecx
push esi
push eax
lea eax, [ebp - 0xb0]
push eax
mov byte [ebp - 4], 0x27
call fcn.1001193b
mov esi, dword [eax]
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x28
mov byte [ebp - 0xe0], al
call fcn.1002376b
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [ebp - 0xe0]
call fcn.100243fe
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x2b
call fcn.1001179b
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x2a
call fcn.1001179b
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x24]
cmp dword [eax + ecx + 8], ebx
je 0x100098fc
mov eax, dword [ebp - 0xdc]
cmp eax, ebx
jne 0x100098c4
mov eax, 0x10057508
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x100098fc
push 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x8c]
call fcn.10022e9f
sub esp, 0x10
mov ecx, esp
mov dword [ebp + 0x1c], esp
push eax
call fcn.10021d06
push dword [ebp + 8]
mov ecx, edi
call fcn.10008d6d
jmp 0x10009980
push 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x48]
mov byte [0x1006f67c], bl
call fcn.10022e9f
sub esp, 0x10
mov ecx, esp
mov dword [ebp + 0x1c], esp
push eax
call fcn.10021d06
push dword [ebp + 8]
mov ecx, edi
call fcn.10008d6d
cmp byte [0x1006f67c], bl
je 0x1000997a
mov dword [ebp + 0x1c], ebx
mov eax, dword [edi + 0x1a4]
cmp eax, ebx
je 0x1000997a
mov ecx, dword [edi + 0x1a8]
sub ecx, eax
mov eax, dword [ebp + 0x1c]
sar ecx, 2
cmp eax, ecx
jae 0x1000997a
mov ecx, dword [edi + 0x1a4]
push dword [ecx + eax*4]
lea esi, [edi + 0x1a4]
lea ecx, [ebp - 0x20]
call fcn.100281fe
test eax, eax
jne 0x10009975
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 0x10009932
mov byte [0x1006f67c], bl
push 1
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x1b
call fcn.1002376b
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x1a
call fcn.1002376b
push 1
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 9
call fcn.1002376b
inc dword [ebp - 0x10]
add dword [ebp - 0x24], 0x10
jmp 0x10009459
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 8
call fcn.100223c8
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 7
call fcn.100223c8
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 6
call fcn.10022e6a
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 5
call fcn.10022e6a
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 4
call fcn.10022e6a
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.10022e6a
mov dword [ebp - 0x1cc], 0x10057620
push 1
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x2c
call fcn.1002376b
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 1
call fcn.10009a6b
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.1001179b
mov bl, 1
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp + 0xc]
call fcn.1002376b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
leave
ret 0x18