Function at 0x10007a1f
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x10055487
call fcn.10048f38
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 0x10008722
lea ecx, [esi + 0x194]
call fcn.100269ba
mov eax, dword [ebp + 0x10]
cmp eax, ebx
jne 0x10007a5b
mov eax, 0x1005b4e8
push eax
lea ecx, [ebp - 0x48]
call fcn.100143ad
cmp byte [ebp + 0x1c], bl
mov byte [ebp - 4], 1
je 0x10007a77
lea eax, [ebp - 0x48]
push eax
call fcn.1000405c
pop ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.TOOLBAR
call fcn.1000101a
push esi
lea ecx, [ebp - 0x1dc]
call fcn.100246b4
push ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.10014d97
push eax
lea ecx, [ebp - 0x24]
call fcn.1000101a
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 3
call fcn.10047485
lea ecx, [ebp - 0x24]
call fcn.100018f4
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 + 0x1b8]
mov ecx, dword [eax + 0x34]
cmp ecx, ebx
mov byte [ebp - 4], 0xa
je 0x10007e51
mov edx, dword [eax + 0x38]
sub edx, ecx
test edx, 0xfffffffc
je 0x10007e51
mov eax, ecx
mov eax, dword [eax]
add eax, 8
mov eax, dword [eax + 4]
cmp eax, ebx
mov esi, 0x1005b4e8
je 0x10007bb4
mov esi, eax
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x78]
mov byte [ebp - 0x78], al
call fcn.1002622b
push esi
call fcn.100493c0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x78]
call fcn.10027116
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
mov byte [ebp - 0x34], al
call fcn.1002622b
mov esi, str.CurrentFont
push esi
call fcn.100493c0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.10027116
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.10003a23
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.1002622b
push esi
call fcn.100493c0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.10027116
push dword [ebp + 0x1c]
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xe
call fcn.100036a7
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call fcn.1002622b
push 1
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xc
call fcn.1002622b
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
call fcn.1002622b
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xa
call fcn.1002622b
mov eax, dword [edi + 0x1b8]
mov eax, dword [eax + 0x34]
mov eax, dword [eax]
add eax, 8
mov eax, dword [eax + 4]
cmp eax, ebx
mov dword [ebp + 0x1c], 0x1005b4e8
je 0x10007cab
mov dword [ebp + 0x1c], eax
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.1002622b
push dword [ebp + 0x1c]
call fcn.100493c0
pop ecx
push eax
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x34]
call fcn.10027116
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xf
mov byte [ebp - 0x20], al
call fcn.1002622b
push esi
call fcn.100493c0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.10027116
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 0x10
call fcn.10003a23
add esp, 0xc
mov ecx, dword [edi + 0x1b8]
push dword [0x1005b4ec]
mov ecx, dword [ecx + 0x34]
mov ecx, dword [ecx]
push ebx
add ecx, 8
push eax
mov byte [ebp - 4], 0x11
call fcn.10025e51
push 1
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x10
call fcn.1002622b
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xf
call fcn.1002622b
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xa
call fcn.1002622b
mov eax, dword [edi + 0x1b8]
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.1002622b
mov esi, str.FontSize
push esi
call fcn.100493c0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.10027116
mov al, byte [ebp + 0xb]
mov byte [ebp - 4], 0x12
mov byte [ebp - 0x20], al
push ebx
lea ecx, [ebp - 0x20]
call fcn.1002622b
push esi
call fcn.100493c0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.10027116
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0x13
call fcn.10003b5a
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1000375f
add esp, 0x10
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x12
call fcn.1002622b
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xa
call fcn.1002622b
mov eax, dword [edi + 0x1b8]
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.1002622b
push esi
call fcn.100493c0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.10027116
mov eax, dword [edi + 0x1b8]
mov esi, dword [eax + 0x34]
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x14
call fcn.10003b5a
pop ecx
pop ecx
mov ecx, dword [esi]
mov dword [ecx + 4], eax
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.1002622b
mov esi, dword [ebp + 8]
cmp dword [esi + 0x28], ebx
je 0x10007e75
cmp byte [0x10071299], bl
jne 0x10007e75
mov esi, dword [esi + 0x24]
cmp esi, ebx
jne 0x10007e6a
mov esi, 0x1005b4e8
push esi
mov ecx, 0x10071130
call fcn.10002af5
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call fcn.1002622b
mov esi, str.CurrentLayout
push esi
call fcn.100493c0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.10027116
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x15
call fcn.10003b5a
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 0xa
call fcn.1002622b
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x10007f0d
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call fcn.1002622b
push esi
call fcn.100493c0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.10027116
mov eax, dword [edi + 0x1b8]
push dword [eax + 0x180]
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x16
call fcn.1000375f
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.1002622b
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x20]
mov dword [ebp + 0x1c], ebx
mov byte [ebp - 0x20], al
call fcn.1002622b
push esi
call fcn.100493c0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.10027116
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x17
call fcn.10003b5a
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 0xa
call fcn.1002622b
mov eax, dword [edi + 0x1b8]
mov eax, dword [eax + 4]
mov dword [0x1006da94], eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x198]
add eax, 0x194
cmp ecx, ebx
je 0x1000809f
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
sub edx, ecx
sar edx, 2
cmp eax, edx
jae 0x1000809f
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 0x10008097
add eax, 4
push eax
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x44]
call fcn.100268f3
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.100268f3
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.100269e7
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.100268f3
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.100269e7
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.100268f3
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.100269e7
inc dword [ebp - 0x10]
jmp 0x10007f65
mov dword [ebp - 0x10], ebx
xor esi, esi
cmp dword [ebp - 0x40], ebx
mov dword [ebp - 0x24], esi
je 0x10008685
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x40]
sar eax, 4
cmp dword [ebp - 0x10], eax
jae 0x10008685
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call fcn.1002622b
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x18
mov byte [ebp - 0x34], al
call fcn.1002622b
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], 0x19
jne 0x1000865e
mov eax, dword [ebp - 0x40]
push str.http:__
mov dword [ebp + 0x1c], eax
call fcn.100493c0
pop ecx
push eax
mov eax, dword [ebp + 0x1c]
push ebx
push str.http:__
lea ecx, [eax + esi]
call fcn.1002605f
cmp eax, dword [0x1005b4ec]
jne 0x10008157
mov eax, dword [ebp - 0x40]
push str.https:__
mov dword [ebp + 0x1c], eax
call fcn.100493c0
pop ecx
push eax
mov eax, dword [ebp + 0x1c]
push ebx
push str.https:__
lea ecx, [eax + esi]
call fcn.1002605f
cmp eax, dword [0x1005b4ec]
je 0x1000843c
lea eax, [ebp - 0x14c]
push eax
mov ecx, edi
call fcn.1001de6d
push 1
lea ecx, [ebp - 0x14c]
call fcn.1002622b
lea eax, [ebp - 0x16c]
push eax
mov ecx, edi
call fcn.1001da08
push 1
lea ecx, [ebp - 0x16c]
call fcn.1002622b
lea eax, [ebp - 0x11c]
push eax
mov ecx, edi
call fcn.1001e065
push 1
lea ecx, [ebp - 0x11c]
call fcn.1002622b
lea eax, [ebp - 0x18c]
push eax
mov ecx, edi
call fcn.1001d8c5
push 1
lea ecx, [ebp - 0x18c]
call fcn.1002622b
lea eax, [ebp - 0x12c]
push eax
mov ecx, edi
call fcn.1001d773
push 1
lea ecx, [ebp - 0x12c]
call fcn.1002622b
mov ecx, edi
call fcn.10008743
lea eax, [ebp - 0x13c]
push eax
mov ecx, edi
call fcn.1000878e
push 1
lea ecx, [ebp - 0x13c]
call fcn.1002622b
push edi
lea ecx, [ebp - 0x5c]
call fcn.10008912
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x54]
jge 0x10008360
cmp eax, ebx
jl 0x10008360
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 ecx, dword [eax]
cmp ecx, ebx
mov byte [ebp - 4], 0x1a
je 0x1000824a
call fcn.10001a7a
mov dword [ebp + 0x1c], eax
jmp 0x1000824d
mov dword [ebp + 0x1c], ebx
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x78]
mov byte [ebp - 0x78], al
call fcn.1002622b
push dword [ebp + 0x1c]
call fcn.100493c0
pop ecx
push eax
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x78]
call fcn.10027116
mov ecx, dword [ebp - 0x7c]
cmp ecx, ebx
mov byte [ebp - 4], 0x1c
je 0x10008284
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.100088d3
push eax
lea eax, [ebp - 0xf0]
push 0x1006ae18
push eax
mov byte [ebp - 4], 0x1d
call fcn.1002ace7
add esp, 0xc
push 1
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x1f
call fcn.1002622b
push 0x1006ae14
lea ecx, [ebp - 0x60]
call fcn.1000101a
push 0x4e4
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x17c]
push eax
mov byte [ebp - 4], 0x20
call fcn.10047043
add esp, 0xc
push dword [0x1005b4ec]
lea ecx, [ebp - 0x78]
push ebx
push eax
mov byte [ebp - 4], 0x21
call fcn.10025e51
push 1
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0x20
call fcn.1002622b
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0xf0]
push eax
mov eax, dword [ebp - 0x40]
add eax, esi
push eax
call fcn.100029f1
mov ecx, dword [ebp - 0x60]
add esp, 0xc
cmp ecx, ebx
je 0x10008335
call fcn.10001129
mov dword [ebp - 0x60], ebx
push 1
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x1c
call fcn.1002622b
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x19
call fcn.1002622b
inc dword [ebp - 0x5c]
add dword [ebp - 0x58], 4
jmp 0x10008209
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x10]
push dword [ecx + eax*4]
lea ecx, [ebp - 0xcc]
push eax
call fcn.1002593e
sub esp, 0x10
mov ecx, esp
mov dword [ebp + 0x1c], esp
push eax
call fcn.1002454f
push dword [ebp - 0x10]
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x22
call fcn.1002593e
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x108], esp
push eax
call fcn.1002454f
push dword [ebp - 0x10]
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x23
call fcn.10033fcb
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.100245a4
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x24
call fcn.1002593e
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x10c], esp
push eax
call fcn.1002454f
mov ecx, edi
mov byte [ebp - 4], 0x19
call fcn.100076bb
push dword [0x1005b4ec]
mov byte [ebp + 0x1f], al
mov eax, dword [ebp - 0x40]
push ebx
add eax, esi
push eax
lea ecx, [ebp - 0x34]
call fcn.10025e51
push dword [0x1005b4ec]
lea eax, [ebp - 0x20]
push ebx
push eax
mov eax, dword [ebp - 0x40]
lea ecx, [eax + esi]
call fcn.10025e51
cmp byte [ebp + 0x1f], bl
je 0x100084f7
push 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
mov byte [0x10073810], bl
call fcn.1002593e
sub esp, 0x10
mov ecx, esp
mov dword [ebp + 0x1c], esp
push eax
call fcn.1002454f
push dword [ebp + 8]
mov ecx, edi
call fcn.10007a1f
cmp byte [0x10073810], bl
je 0x100084ec
mov dword [ebp + 0x1c], ebx
mov eax, dword [edi + 0x1a8]
cmp eax, ebx
je 0x100084b8
mov ecx, dword [edi + 0x1ac]
sub ecx, eax
mov eax, dword [ebp + 0x1c]
sar ecx, 2
cmp eax, ecx
jae 0x100084b8
mov ecx, dword [edi + 0x1a8]
push dword [ecx + eax*4]
lea ecx, [ebp - 0x34]
call fcn.1002afdd
test eax, eax
jne 0x100084b3
mov eax, dword [edi + 0x1a8]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [eax + ecx*4]
mov byte [eax + 0x4c], 1
inc dword [ebp + 0x1c]
jmp 0x10008472
mov eax, dword [ebp - 0x88]
cmp dword [eax + esi + 8], ebx
je 0x100084ec
push 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x8c]
call fcn.1002593e
sub esp, 0x10
mov ecx, esp
mov dword [ebp + 0x1c], esp
push eax
call fcn.1002454f
push dword [ebp + 8]
mov ecx, edi
call fcn.10007a1f
mov byte [0x10073810], bl
jmp 0x1000865e
mov eax, dword [ebp - 0x40]
add eax, esi
mov eax, dword [eax + 4]
cmp eax, ebx
mov esi, 0x1005b4e8
je 0x1000850a
mov esi, eax
lea eax, [ebp - 0x64]
push eax
call fcn.10003ecb
pop ecx
push esi
push eax
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 0x25
call fcn.10014c46
mov esi, dword [eax]
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x26
mov byte [ebp - 0x100], al
call fcn.1002622b
push esi
call fcn.100493c0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x100]
call fcn.10027116
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x29
call fcn.10014381
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x28
call fcn.10014381
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x24]
cmp dword [eax + ecx + 8], ebx
je 0x100085c6
mov eax, dword [ebp - 0xfc]
cmp eax, ebx
jne 0x1000858e
mov eax, 0x1005b4e8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x100085c6
push 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x8c]
call fcn.1002593e
sub esp, 0x10
mov ecx, esp
mov dword [ebp + 0x1c], esp
push eax
call fcn.1002454f
push dword [ebp + 8]
mov ecx, edi
call fcn.10007a1f
jmp 0x1000864a
push 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
mov byte [0x10073810], bl
call fcn.1002593e
sub esp, 0x10
mov ecx, esp
mov dword [ebp + 0x1c], esp
push eax
call fcn.1002454f
push dword [ebp + 8]
mov ecx, edi
call fcn.10007a1f
cmp byte [0x10073810], bl
je 0x10008644
mov dword [ebp + 0x1c], ebx
mov eax, dword [edi + 0x1a8]
cmp eax, ebx
je 0x10008644
mov ecx, dword [edi + 0x1ac]
sub ecx, eax
mov eax, dword [ebp + 0x1c]
sar ecx, 2
cmp eax, ecx
jae 0x10008644
mov ecx, dword [edi + 0x1a8]
push dword [ecx + eax*4]
lea esi, [edi + 0x1a8]
lea ecx, [ebp - 0x34]
call fcn.1002afdd
test eax, eax
jne 0x1000863f
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 0x100085fc
mov byte [0x10073810], bl
push 1
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x19
call fcn.1002622b
mov esi, dword [ebp - 0x24]
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x18
call fcn.1002622b
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.1002622b
inc dword [ebp - 0x10]
add esi, 0x10
jmp 0x100080a4
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 9
call fcn.100259a6
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 8
call fcn.100259a6
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 7
call fcn.100259a6
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 6
call fcn.10025909
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 5
call fcn.10025909
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 4
call fcn.10025909
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.10025909
mov dword [ebp - 0x1dc], 0x1005b600
push 1
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0x2a
call fcn.1002622b
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 1
call fcn.1001d42f
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.10014381
mov bl, 1
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp + 0xc]
call fcn.1002622b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
leave
ret 0x18