Function at 0x100178a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a93da
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x100c66d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
push ebx
lea edi, [ebp - 0x2a0]
mov dword [ebp - 0x268], esi
mov dword [ebp - 0x25c], ebx
call fcn.1002ccea
lea ecx, [esi + 0x20]
mov dword [ebp - 4], ebx
mov eax, dword [ecx + 0x10]
mov edx, eax
xor edx, edx
cmp eax, ebx
setne dl
mov dword [ebp - 0x270], ecx
cmp edx, ebx
sete al
test al, al
sete al
mov ebx, 0x10
test al, al
je 0x1001834a
cmp dword [ecx + 0x14], 8
jb 0x10017921
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001834a
mov edx, dword [ebp - 0x270]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x264], esp
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push edx
mov word [ecx], ax
call fcn.10005150
mov byte [ebp - 4], 1
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 0
call fcn.1001a090
add esp, 0x1c
lea eax, [ebp - 0x180]
push eax
mov byte [ebp - 4], 2
call fcn.1002eae7
push 0
lea edi, [ebp - 0x280]
mov byte [ebp - 4], 3
call fcn.1002ccea
push 0xffffffffffffffff
push 0
mov ecx, esi
push ecx
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 4
call fcn.100058a0
mov eax, dword [ebp - 0x150]
cmp dword [ebp - 0x13c], ebx
jae 0x100179be
lea eax, [ebp - 0x150]
mov ecx, dword [ebp - 0x140]
lea ecx, [ecx + eax]
push eax
lea edx, [ebp - 0x280]
lea edi, [ebp - 0x180]
call fcn.1002ebb4
mov esi, 0xf
test al, al
je 0x10018267
mov eax, dword [ebp - 0x268]
push 0xffffffffffffffff
push 0
add eax, 0x90
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.100058a0
lea ecx, [ebp - 0x200]
push ecx
mov byte [ebp - 4], 5
call fcn.1002eae7
push 0
lea edi, [ebp - 0x290]
mov byte [ebp - 4], 6
call fcn.1002ccea
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 7
call fcn.100058a0
mov eax, dword [ebp - 0x1d0]
cmp dword [ebp - 0x1bc], ebx
jae 0x10017a58
lea eax, [ebp - 0x1d0]
mov ecx, dword [ebp - 0x1c0]
add ecx, eax
push eax
lea edx, [ebp - 0x290]
lea edi, [ebp - 0x200]
call fcn.1002ebb4
test al, al
je 0x10018226
lea esi, [ebp - 0x2c]
call fcn.10025b60
mov edi, eax
mov byte [ebp - 4], 8
lea esi, [ebp - 0x64]
mov dword [ebp - 0x25c], 1
call fcn.10025b30
mov dword [ebp - 4], 9
mov dword [ebp - 0x25c], 3
cmp dword [edi + 0x14], ebx
jb 0x10017ab2
mov edi, dword [edi]
cmp dword [eax + 0x14], ebx
jb 0x10017ab9
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x280]
call fcn.1002d6e7
push edi
mov ecx, eax
call fcn.1002d6e7
mov ecx, eax
lea edx, [ebp - 0x2a0]
call fcn.1002d03b
test al, al
jne 0x10017b96
lea esi, [ebp - 0x80]
call fcn.10025b60
mov edi, eax
mov dword [ebp - 4], 0xa
lea esi, [ebp - 0xe0]
mov dword [ebp - 0x25c], 7
call fcn.10025b30
mov dword [ebp - 0x26c], eax
mov dword [ebp - 4], 0xb
lea esi, [ebp - 0xc0]
mov dword [ebp - 0x25c], 0xf
call fcn.10025bc0
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x25c], 0x1f
cmp dword [edi + 0x14], ebx
jb 0x10017b42
mov edi, dword [edi]
mov esi, dword [ebp - 0x26c]
cmp dword [esi + 0x14], ebx
jb 0x10017b4f
mov esi, dword [esi]
cmp dword [eax + 0x14], ebx
jb 0x10017b56
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x280]
call fcn.1002d6e7
push str.macs
mov ecx, eax
call fcn.1002d6e7
push esi
mov ecx, eax
call fcn.1002d6e7
push edi
mov ecx, eax
call fcn.1002d6e7
mov ecx, eax
lea edx, [ebp - 0x2a0]
call fcn.1002d03b
mov byte [ebp - 0x25d], 0
test al, al
je 0x10017b9d
mov byte [ebp - 0x25d], 1
mov dword [ebp - 4], 0xb
test byte [ebp - 0x25c], bl
je 0x10017be6
and dword [ebp - 0x25c], 0xffffffef
cmp dword [ebp - 0xac], ebx
jb 0x10017bca
mov edx, dword [ebp - 0xc0]
push edx
call fcn.1003d468
add esp, 4
mov esi, 0xf
xor edi, edi
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xb0], edi
mov byte [ebp - 0xc0], 0
jmp 0x10017beb
xor edi, edi
lea esi, [edi + 0xf]
mov dword [ebp - 4], 0xa
test byte [ebp - 0x25c], 8
je 0x10017c2c
and dword [ebp - 0x25c], 0xfffffff7
cmp dword [ebp - 0xcc], ebx
jb 0x10017c19
mov eax, dword [ebp - 0xe0]
push eax
call fcn.1003d468
add esp, 4
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xd0], edi
mov byte [ebp - 0xe0], 0
mov dword [ebp - 4], 9
test byte [ebp - 0x25c], 4
je 0x10017c5e
and dword [ebp - 0x25c], 0xfffffffb
cmp dword [ebp - 0x6c], ebx
jb 0x10017c54
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], edi
mov byte [ebp - 0x80], 0
mov dword [ebp - 4], 8
test byte [ebp - 0x25c], 2
je 0x10017c90
and dword [ebp - 0x25c], 0xfffffffd
cmp dword [ebp - 0x50], ebx
jb 0x10017c86
mov edx, dword [ebp - 0x64]
push edx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edi
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 7
test byte [ebp - 0x25c], 1
je 0x10017cc2
and dword [ebp - 0x25c], 0xfffffffe
cmp dword [ebp - 0x18], ebx
jb 0x10017cb8
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
cmp byte [ebp - 0x25d], 0
je 0x10017d56
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 6
call fcn.1002cf07
lea edi, [ebp - 0x200]
mov byte [ebp - 4], 5
call fcn.100037c0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x34], ebx
jb 0x10017d02
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1003d468
add esp, 4
xor esi, esi
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x48], 0
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 3
call fcn.1002cf07
lea edi, [ebp - 0x180]
mov byte [ebp - 4], 2
call fcn.100037c0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x88], ebx
jb 0x10017d4b
mov edx, dword [ebp - 0x9c]
push edx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x8c], esi
jmp 0x10018339
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0xb8]
call fcn.1002cde6
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x268]
add eax, 0xac
mov byte [ebp - 4], 0xd
push eax
lea edi, [ebp - 0x80]
mov dword [ebp - 0x25c], eax
call fcn.10033f90
add esp, 4
mov edi, eax
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 0xe
call fcn.10025b60
mov dword [ebp - 0x26c], eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
call fcn.10025b30
mov byte [ebp - 4], bl
cmp dword [edi + 0x14], ebx
jb 0x10017db9
mov edi, dword [edi]
mov esi, dword [ebp - 0x26c]
cmp dword [esi + 0x14], ebx
jb 0x10017dc6
mov esi, dword [esi]
cmp dword [eax + 0x14], ebx
jb 0x10017dcd
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x280]
call fcn.1002d6e7
push esi
mov ecx, eax
call fcn.1002d6e7
mov ecx, dword [ebp - 0x264]
push ecx
push ecx
push edi
mov ecx, eax
call fcn.1002d6e7
add esp, 4
mov esi, eax
call fcn.1002cfb5
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x18], ebx
jb 0x10017e10
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1003d468
add esp, 4
xor edi, edi
mov esi, 0xf
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x50], ebx
jb 0x10017e36
mov eax, dword [ebp - 0x64]
push eax
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edi
mov byte [ebp - 0x64], 0
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x6c], ebx
jb 0x10017e55
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], edi
mov byte [ebp - 0x80], 0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 7
call fcn.1002cf07
mov eax, dword [ebp - 0xd0]
mov esi, dword [ebp - 0x268]
and eax, 0xffffff04
or eax, 4
mov dword [ebp - 0xd0], eax
or eax, 0x100
mov dword [ebp - 0xd0], eax
add esi, 0x74
mov dword [ebp - 0xcc], edi
call fcn.1002cb31
mov ecx, dword [eax]
mov eax, dword [esi + 0x10]
cmp dword [esi + 0x14], ebx
jb 0x10017ead
mov esi, dword [esi]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0xc]
push esi
call eax
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x25c]
push ecx
lea edi, [ebp - 0xc0]
call fcn.10033f90
add esp, 4
mov edi, eax
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 0x12
call fcn.10025b60
mov dword [ebp - 0x264], eax
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 0x13
call fcn.10025b30
mov dword [ebp - 0x26c], eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
call fcn.10025bc0
mov byte [ebp - 4], 0x15
cmp dword [edi + 0x14], ebx
jb 0x10017f1a
mov edx, dword [edi]
mov dword [ebp - 0x268], edx
jmp 0x10017f20
mov dword [ebp - 0x268], edi
mov edi, dword [ebp - 0x264]
cmp dword [edi + 0x14], ebx
jb 0x10017f2d
mov edi, dword [edi]
mov esi, dword [ebp - 0x26c]
cmp dword [esi + 0x14], ebx
jb 0x10017f3a
mov esi, dword [esi]
cmp dword [eax + 0x14], ebx
jb 0x10017f41
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x280]
call fcn.1002d6e7
push str.macs
mov ecx, eax
call fcn.1002d6e7
push esi
mov ecx, eax
call fcn.1002d6e7
push edi
mov ecx, eax
call fcn.1002d6e7
mov edx, dword [ebp - 0x268]
lea ecx, [ebp - 0xd8]
push ecx
push ecx
push edx
mov ecx, eax
call fcn.1002d6e7
add esp, 4
mov esi, eax
call fcn.1002cfb5
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x18], ebx
jb 0x10017f9e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1003d468
add esp, 4
xor edi, edi
mov esi, 0xf
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x50], ebx
jb 0x10017fc4
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edi
mov byte [ebp - 0x64], 0
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x6c], ebx
jb 0x10017fe3
mov edx, dword [ebp - 0x80]
push edx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], edi
mov byte [ebp - 0x80], 0
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0xac], ebx
jb 0x10018008
mov eax, dword [ebp - 0xc0]
push eax
call fcn.1003d468
add esp, 4
mov dword [ebp - 0xac], esi
xor esi, esi
mov dword [ebp - 0xb0], esi
mov byte [ebp - 0xc0], 0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 7
call fcn.1002cf07
lea ecx, [ebp - 0x258]
push ecx
call fcn.100312f0
lea edx, [ebp - 0x280]
push edx
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x16
call fcn.1003134f
mov ecx, dword [ebp - 0x270]
push ecx
lea edi, [ebp - 0x2c]
mov byte [ebp - 4], 0x17
call fcn.10033f90
add esp, 4
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x14], ebx
jb 0x10018076
mov eax, dword [eax]
push 2
push eax
lea edx, [ebp - 0x348]
push edx
call fcn.100194b0
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x18], ebx
jb 0x1001809a
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1003d468
add esp, 4
lea ecx, [ebp - 0xfc]
push ecx
lea edx, [ebp - 0x348]
mov edi, 0xf
push edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
call fcn.10010cc0
add esp, 8
lea eax, [ebp - 0x344]
call fcn.100054f0
test eax, eax
jne 0x10018101
mov eax, dword [ebp - 0x348]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0x33c]
lea ecx, [ebp + ecx - 0x348]
or eax, 2
cmp dword [ecx + 0x38], esi
jne 0x100180f0
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x10018101
push esi
call fcn.10001610
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0x17
call fcn.10010840
lea ecx, [ebp - 0x2e8]
mov dword [ebp - 0x264], ecx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov edx, ecx
mov byte [ebp - 4], 0x17
push edx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1003baf7
add esp, 4
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0xe8], ebx
jb 0x1001815a
mov eax, dword [ebp - 0xfc]
push eax
call fcn.1003d468
add esp, 4
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xec], esi
mov byte [ebp - 0xfc], 0
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 7
call fcn.1000dc60
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 6
call fcn.1002cf07
lea edi, [ebp - 0x200]
mov byte [ebp - 4], 5
call fcn.100037c0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x34], ebx
jb 0x100181af
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x48], 0
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 3
call fcn.1002cf07
mov byte [ebp - 4], 2
lea edi, [ebp - 0x180]
call fcn.100037c0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x88], ebx
jb 0x100181f6
mov edx, dword [ebp - 0x9c]
push edx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x8c], esi
mov byte [ebp - 0x9c], 0
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 4], 0xffffffff
call fcn.1002cf07
mov al, 1
jmp 0x10018ced
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 6
call fcn.1002cf07
lea edi, [ebp - 0x200]
mov byte [ebp - 4], 5
call fcn.100037c0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x34], ebx
jb 0x10018259
mov eax, dword [ebp - 0x48]
push eax
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 3
call fcn.1002cf07
mov byte [ebp - 4], 2
cmp dword [ebp - 0x10c], ebx
jb 0x10018291
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x110], 0
mov byte [ebp - 0x120], 0
cmp dword [ebp - 0x13c], ebx
jb 0x100182bf
mov edx, dword [ebp - 0x150]
push edx
call fcn.1003d468
add esp, 4
xor edi, edi
lea esi, [ebp - 0x168]
mov dword [ebp - 0x13c], 0xf
mov dword [ebp - 0x140], edi
mov byte [ebp - 0x150], 0
call fcn.100053b0
mov eax, dword [ebp - 0x168]
push eax
call fcn.1003d468
add esp, 4
lea esi, [ebp - 0x180]
mov dword [ebp - 0x168], edi
call fcn.10005320
mov ecx, dword [ebp - 0x180]
push ecx
call fcn.1003d468
mov dword [ebp - 0x180], edi
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x88], ebx
jb 0x10018333
mov edx, dword [ebp - 0x9c]
push edx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x8c], edi
mov byte [ebp - 0x9c], 0
mov dword [ebp - 0x88], 0xf
mov esi, dword [ebp - 0x268]
mov eax, dword [esi + 0x4c]
add esi, 0x3c
mov ecx, eax
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0x26c], esi
mov eax, ecx
test eax, eax
sete al
test al, al
sete al
test al, al
je 0x10018cd9
cmp dword [esi + 0x14], 8
jb 0x10018381
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10018cd9
mov eax, dword [ebp - 0x26c]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x264], esp
xor edx, edx
push 0xffffffffffffffff
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], dx
call fcn.10005150
mov byte [ebp - 4], 0x1c
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 0
call fcn.1001a090
add esp, 0x1c
lea ecx, [ebp - 0x180]
push ecx
mov byte [ebp - 4], 0x1d
call fcn.1002eae7
push 0
lea edi, [ebp - 0x280]
mov byte [ebp - 4], 0x1e
call fcn.1002ccea
push 0xffffffffffffffff
push 0
mov edx, esi
push edx
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x1f
call fcn.100058a0
mov eax, dword [ebp - 0x150]
cmp dword [ebp - 0x13c], ebx
jae 0x1001841e
lea eax, [ebp - 0x150]
mov ecx, dword [ebp - 0x140]
add ecx, eax
push eax
lea edx, [ebp - 0x280]
lea edi, [ebp - 0x180]
call fcn.1002ebb4
test al, al
je 0x10018c85
mov esi, dword [ebp - 0x268]
push 0xffffffffffffffff
push 0
lea edx, [esi + 0x90]
push edx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.100058a0
lea eax, [ebp - 0x200]
push eax
mov byte [ebp - 4], 0x20
call fcn.1002eae7
push 0
lea edi, [ebp - 0x290]
mov byte [ebp - 4], 0x21
call fcn.1002ccea
mov byte [ebp - 4], 0x22
cmp dword [esi + 0x1c], 0x25
jl 0x10018c40
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x1d0]
call fcn.100058a0
mov eax, dword [ebp - 0x1d0]
cmp dword [ebp - 0x1bc], ebx
jae 0x100184c1
lea eax, [ebp - 0x1d0]
mov ecx, dword [ebp - 0x1c0]
lea ecx, [ecx + eax]
push eax
lea edx, [ebp - 0x290]
lea edi, [ebp - 0x200]
call fcn.1002ebb4
test al, al
je 0x10018c40
lea esi, [ebp - 0xe0]
call fcn.10025b60
mov edi, eax
mov byte [ebp - 4], 0x23
or dword [ebp - 0x25c], 0x20
lea esi, [ebp - 0xc0]
call fcn.10025b30
mov dword [ebp - 4], 0x24
or dword [ebp - 0x25c], 0x40
cmp dword [edi + 0x14], ebx
jb 0x1001851c
mov edi, dword [edi]
cmp dword [eax + 0x14], ebx
jb 0x10018523
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x280]
call fcn.1002d6e7
push edi
mov ecx, eax
call fcn.1002d6e7
mov ecx, eax
lea edx, [ebp - 0x2a0]
call fcn.1002d03b
test al, al
jne 0x100185fa
lea esi, [ebp - 0x80]
call fcn.10025b60
mov edi, eax
mov dword [ebp - 4], 0x25
or dword [ebp - 0x25c], 0x80
lea esi, [ebp - 0x64]
call fcn.10025b30
mov dword [ebp - 0x264], eax
mov dword [ebp - 4], 0x26
or dword [ebp - 0x25c], 0x100
lea esi, [ebp - 0x2c]
call fcn.10025bc0
mov dword [ebp - 4], 0x27
or dword [ebp - 0x25c], 0x200
cmp dword [edi + 0x14], ebx
jb 0x100185a6
mov edi, dword [edi]
mov esi, dword [ebp - 0x264]
cmp dword [esi + 0x14], ebx
jb 0x100185b3
mov esi, dword [esi]
cmp dword [eax + 0x14], ebx
jb 0x100185ba
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x280]
call fcn.1002d6e7
push str.macs
mov ecx, eax
call fcn.1002d6e7
push esi
mov ecx, eax
call fcn.1002d6e7
push edi
mov ecx, eax
call fcn.1002d6e7
mov ecx, eax
lea edx, [ebp - 0x2a0]
call fcn.1002d03b
mov byte [ebp - 0x25d], 0
test al, al
je 0x10018601
mov byte [ebp - 0x25d], 1
mov dword [ebp - 4], 0x26
test dword [ebp - 0x25c], 0x200
je 0x10018642
and dword [ebp - 0x25c], 0xfffffdff
cmp dword [ebp - 0x18], ebx
jb 0x1001862f
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1003d468
add esp, 4
mov esi, 0xf
xor edi, edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
jmp 0x10018647
xor edi, edi
lea esi, [edi + 0xf]
mov dword [ebp - 4], 0x25
test dword [ebp - 0x25c], 0x100
je 0x1001867f
and dword [ebp - 0x25c], 0xfffffeff
cmp dword [ebp - 0x50], ebx
jb 0x10018675
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edi
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0x24
test byte [ebp - 0x25c], 0x80
je 0x100186b4
and dword [ebp - 0x25c], 0xffffff7f
cmp dword [ebp - 0x6c], ebx
jb 0x100186aa
mov edx, dword [ebp - 0x80]
push edx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], edi
mov byte [ebp - 0x80], 0
mov dword [ebp - 4], 0x23
test byte [ebp - 0x25c], 0x40
je 0x100186f5
and dword [ebp - 0x25c], 0xffffffbf
cmp dword [ebp - 0xac], ebx
jb 0x100186e2
mov eax, dword [ebp - 0xc0]
push eax
call fcn.1003d468
add esp, 4
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xb0], edi
mov byte [ebp - 0xc0], 0
mov dword [ebp - 4], 0x22
test byte [ebp - 0x25c], 0x20
je 0x1001872f
cmp dword [ebp - 0xcc], ebx
jb 0x1001871c
mov ecx, dword [ebp - 0xe0]
push ecx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xd0], edi
mov byte [ebp - 0xe0], 0
cmp byte [ebp - 0x25d], 0
lea ecx, [ebp - 0x290]
je 0x100187c6
mov byte [ebp - 4], 0x21
call fcn.1002cf07
lea edi, [ebp - 0x200]
mov byte [ebp - 4], 0x20
call fcn.100037c0
mov byte [ebp - 4], 0x1f
cmp dword [ebp - 0x34], ebx
jb 0x1001876f
mov edx, dword [ebp - 0x48]
push edx
call fcn.1003d468
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0x1e
call fcn.1002cf07
lea edi, [ebp - 0x180]
mov byte [ebp - 4], 0x1d
call fcn.100037c0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x88], ebx
jb 0x100187bb
mov eax, dword [ebp - 0x9c]
push eax
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x88], esi
jmp 0x10018cc8
push ecx
lea ecx, [ebp - 0xb8]
call fcn.1002cde6
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x268]
add eax, 0xac
mov byte [ebp - 4], 0x28
push eax
lea edi, [ebp - 0x80]
mov dword [ebp - 0x25c], eax
call fcn.10033f90
add esp, 4
mov edi, eax
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 0x29
call fcn.10025b60
mov dword [ebp - 0x264], eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0x2a
call fcn.10025b30
mov byte [ebp - 4], 0x2b
cmp dword [edi + 0x14], ebx
jb 0x10018824
mov edi, dword [edi]
mov esi, dword [ebp - 0x264]
cmp dword [esi + 0x14], ebx
jb 0x10018831
mov esi, dword [esi]
cmp dword [eax + 0x14], ebx
jb 0x10018838
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x280]
call fcn.1002d6e7
push esi
mov ecx, eax
call fcn.1002d6e7
mov edx, dword [ebp - 0x270]
push edx
push ecx
push edi
mov ecx, eax
call fcn.1002d6e7
add esp, 4
mov esi, eax
call fcn.1002cfb5
mov byte [ebp - 4], 0x2a
cmp dword [ebp - 0x18], ebx
jb 0x1001887b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1003d468
add esp, 4
xor edi, edi
mov esi, 0xf
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0x29
cmp dword [ebp - 0x50], ebx
jb 0x100188a1
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edi
mov byte [ebp - 0x64], 0
mov byte [ebp - 4], 0x28
cmp dword [ebp - 0x6c], ebx
jb 0x100188c0
mov edx, dword [ebp - 0x80]
push edx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], edi
mov byte [ebp - 0x80], 0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x22
call fcn.1002cf07
mov eax, dword [ebp - 0xd0]
mov esi, dword [ebp - 0x268]
and eax, 0xffffff04
or eax, 4
mov dword [ebp - 0xd0], eax
or eax, 0x100
mov dword [ebp - 0xd0], eax
add esi, 0x74
mov dword [ebp - 0xcc], edi
call fcn.1002cb31
mov ecx, dword [eax]
mov eax, dword [esi + 0x10]
cmp dword [esi + 0x14], ebx
jb 0x10018918
mov esi, dword [esi]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0xc]
push esi
call eax
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 0x2c
mov ecx, dword [ebp - 0x25c]
push ecx
lea edi, [ebp - 0xc0]
call fcn.10033f90
add esp, 4
mov edi, eax
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 0x2d
call fcn.10025b60
mov dword [ebp - 0x264], eax
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 0x2e
call fcn.10025b30
mov dword [ebp - 0x268], eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0x2f
call fcn.10025bc0
mov byte [ebp - 4], 0x30
cmp dword [edi + 0x14], ebx
jb 0x10018985
mov edx, dword [edi]
mov dword [ebp - 0x270], edx
jmp 0x1001898b
mov dword [ebp - 0x270], edi
mov edi, dword [ebp - 0x264]
cmp dword [edi + 0x14], ebx
jb 0x10018998
mov edi, dword [edi]
mov esi, dword [ebp - 0x268]
cmp dword [esi + 0x14], ebx
jb 0x100189a5
mov esi, dword [esi]
cmp dword [eax + 0x14], ebx
jb 0x100189ac
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x280]
call fcn.1002d6e7
push str.macs
mov ecx, eax
call fcn.1002d6e7
push esi
mov ecx, eax
call fcn.1002d6e7
push edi
mov ecx, eax
call fcn.1002d6e7
mov edx, dword [ebp - 0x270]
lea ecx, [ebp - 0xd8]
push ecx
push ecx
push edx
mov ecx, eax
call fcn.1002d6e7
add esp, 4
mov esi, eax
call fcn.1002cfb5
mov byte [ebp - 4], 0x2f
cmp dword [ebp - 0x18], ebx
jb 0x10018a09
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1003d468
add esp, 4
xor edi, edi
mov esi, 0xf
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0x2e
cmp dword [ebp - 0x50], ebx
jb 0x10018a2f
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edi
mov byte [ebp - 0x64], 0
mov byte [ebp - 4], 0x2d
cmp dword [ebp - 0x6c], ebx
jb 0x10018a4e
mov edx, dword [ebp - 0x80]
push edx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], edi
mov byte [ebp - 0x80], 0
mov byte [ebp - 4], 0x2c
cmp dword [ebp - 0xac], ebx
jb 0x10018a73
mov eax, dword [ebp - 0xc0]
push eax
call fcn.1003d468
add esp, 4
mov dword [ebp - 0xac], esi
xor esi, esi
mov dword [ebp - 0xb0], esi
mov byte [ebp - 0xc0], 0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x22
call fcn.1002cf07
lea ecx, [ebp - 0x258]
push ecx
call fcn.100312f0
lea edx, [ebp - 0x280]
push edx
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x31
call fcn.1003134f
mov ecx, dword [ebp - 0x26c]
push ecx
lea edi, [ebp - 0x2c]
mov byte [ebp - 4], 0x32
call fcn.10033f90
add esp, 4
mov byte [ebp - 4], 0x33
cmp dword [eax + 0x14], ebx
jb 0x10018ae1
mov eax, dword [eax]
push 2
push eax
lea edx, [ebp - 0x348]
push edx
call fcn.100194b0
mov byte [ebp - 4], 0x35
cmp dword [ebp - 0x18], ebx
jb 0x10018b05
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1003d468
add esp, 4
lea ecx, [ebp - 0xfc]
push ecx
lea edx, [ebp - 0x348]
mov edi, 0xf
push edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
call fcn.10010cc0
add esp, 8
lea eax, [ebp - 0x344]
call fcn.100054f0
test eax, eax
jne 0x10018b6c
mov eax, dword [ebp - 0x348]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0x33c]
lea ecx, [ebp + ecx - 0x348]
or eax, 2
cmp dword [ecx + 0x38], esi
jne 0x10018b5b
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x10018b6c
push esi
call fcn.10001610
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0x32
call fcn.10010840
lea ecx, [ebp - 0x2e8]
mov dword [ebp - 0x264], ecx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov edx, ecx
mov byte [ebp - 4], 0x32
push edx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1003baf7
add esp, 4
mov byte [ebp - 4], 0x31
cmp dword [ebp - 0xe8], ebx
jb 0x10018bc5
mov eax, dword [ebp - 0xfc]
push eax
call fcn.1003d468
add esp, 4
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xec], esi
mov byte [ebp - 0xfc], 0
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x22
call fcn.1000dc60
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x21
call fcn.1002cf07
lea edi, [ebp - 0x200]
mov byte [ebp - 4], 0x20
call fcn.100037c0
mov byte [ebp - 4], 0x1f
cmp dword [ebp - 0x34], ebx
jb 0x10018c1a
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x48], 0
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0x1e
call fcn.1002cf07
mov byte [ebp - 4], 0x1d
jmp 0x100181d0
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x21
call fcn.1002cf07
lea edi, [ebp - 0x200]
mov byte [ebp - 4], 0x20
call fcn.100037c0
mov byte [ebp - 4], 0x1f
cmp dword [ebp - 0x34], ebx
jb 0x10018c73
mov eax, dword [ebp - 0x48]
push eax
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0x1e
call fcn.1002cf07
lea edi, [ebp - 0x180]
mov byte [ebp - 4], 0x1d
call fcn.100037c0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x88], ebx
jb 0x10018cbe
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
mov dword [ebp - 0x8c], 0
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 4], 0xffffffff
call fcn.1002cf07
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret