Function at 0x10056080
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010c45a
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x10137920]
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.100355bb
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 0x10056b19
cmp dword [ecx + 0x14], 8
jb 0x10056101
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10056b19
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.1000b050
mov byte [ebp - 4], 1
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 0
call fcn.10053e30
add esp, 0x1c
lea eax, [ebp - 0x180]
push eax
mov byte [ebp - 4], 2
call fcn.100371ae
push 0
lea edi, [ebp - 0x280]
mov byte [ebp - 4], 3
call fcn.100355bb
push 0xffffffffffffffff
push 0
mov ecx, esi
push ecx
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 4
call fcn.10004180
mov eax, dword [ebp - 0x150]
cmp dword [ebp - 0x13c], ebx
jae 0x1005619e
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.1003727b
mov esi, 0xf
test al, al
je 0x10056a36
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.10004180
lea ecx, [ebp - 0x200]
push ecx
mov byte [ebp - 4], 5
call fcn.100371ae
push 0
lea edi, [ebp - 0x290]
mov byte [ebp - 4], 6
call fcn.100355bb
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 7
call fcn.10004180
mov eax, dword [ebp - 0x1d0]
cmp dword [ebp - 0x1bc], ebx
jae 0x10056238
lea eax, [ebp - 0x1d0]
mov ecx, dword [ebp - 0x1c0]
add ecx, eax
push eax
lea edx, [ebp - 0x290]
lea edi, [ebp - 0x200]
call fcn.1003727b
test al, al
je 0x100569f5
lea esi, [ebp - 0x2c]
call fcn.1004d120
mov edi, eax
mov byte [ebp - 4], 8
lea esi, [ebp - 0x64]
mov dword [ebp - 0x25c], 1
call fcn.1004d0f0
mov dword [ebp - 4], 9
mov dword [ebp - 0x25c], 3
cmp dword [edi + 0x14], ebx
jb 0x10056292
mov edi, dword [edi]
cmp dword [eax + 0x14], ebx
jb 0x10056299
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x280]
call fcn.10035fd1
push edi
mov ecx, eax
call fcn.10035fd1
push eax
lea ecx, [ebp - 0x2a0]
call fcn.100358fd
test al, al
jne 0x10056374
lea esi, [ebp - 0x80]
call fcn.1004d120
mov edi, eax
mov dword [ebp - 4], 0xa
lea esi, [ebp - 0xe0]
mov dword [ebp - 0x25c], 7
call fcn.1004d0f0
mov dword [ebp - 0x26c], eax
mov dword [ebp - 4], 0xb
lea esi, [ebp - 0xc0]
mov dword [ebp - 0x25c], 0xf
call fcn.1004d1b0
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x25c], 0x1f
cmp dword [edi + 0x14], ebx
jb 0x10056321
mov edi, dword [edi]
mov esi, dword [ebp - 0x26c]
cmp dword [esi + 0x14], ebx
jb 0x1005632e
mov esi, dword [esi]
cmp dword [eax + 0x14], ebx
jb 0x10056335
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x280]
call fcn.10035fd1
push str.macs
mov ecx, eax
call fcn.10035fd1
push esi
mov ecx, eax
call fcn.10035fd1
push edi
mov ecx, eax
call fcn.10035fd1
push eax
lea ecx, [ebp - 0x2a0]
call fcn.100358fd
mov byte [ebp - 0x25d], 0
test al, al
je 0x1005637b
mov byte [ebp - 0x25d], 1
mov dword [ebp - 4], 0xb
test byte [ebp - 0x25c], bl
je 0x100563c3
and dword [ebp - 0x25c], 0xffffffef
cmp dword [ebp - 0xac], ebx
jb 0x100563a8
mov edx, dword [ebp - 0xc0]
push edx
call fcn.10065453
add esp, 4
mov dword [ebp - 0xac], 0xf
mov dword [ebp - 0xb0], 0
mov byte [ebp - 0xc0], 0
xor edi, edi
mov dword [ebp - 4], 0xa
test byte [ebp - 0x25c], 8
mov esi, 0xf
je 0x1005640b
and dword [ebp - 0x25c], 0xfffffff7
cmp dword [ebp - 0xcc], ebx
jb 0x100563f8
mov eax, dword [ebp - 0xe0]
push eax
call fcn.10065453
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 0x1005643d
and dword [ebp - 0x25c], 0xfffffffb
cmp dword [ebp - 0x6c], ebx
jb 0x10056433
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.10065453
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 0x1005646f
and dword [ebp - 0x25c], 0xfffffffd
cmp dword [ebp - 0x50], ebx
jb 0x10056465
mov edx, dword [ebp - 0x64]
push edx
call fcn.10065453
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 0x100564a1
and dword [ebp - 0x25c], 0xfffffffe
cmp dword [ebp - 0x18], ebx
jb 0x10056497
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10065453
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
cmp byte [ebp - 0x25d], 0
je 0x10056535
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 6
call fcn.100357d8
lea edi, [ebp - 0x200]
mov byte [ebp - 4], 5
call fcn.10007ed0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x34], ebx
jb 0x100564e1
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.10065453
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.100357d8
lea edi, [ebp - 0x180]
mov byte [ebp - 4], 2
call fcn.10007ed0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x88], ebx
jb 0x1005652a
mov edx, dword [ebp - 0x9c]
push edx
call fcn.10065453
add esp, 4
mov dword [ebp - 0x8c], esi
jmp 0x10056b08
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0xb8]
call fcn.100356b7
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x268]
add eax, 0xac
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xd
push ecx
mov dword [ebp - 0x25c], eax
call fcn.1000b1b0
add esp, 8
mov edi, eax
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 0xe
call fcn.1004d120
mov dword [ebp - 0x26c], eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
call fcn.1004d0f0
mov byte [ebp - 4], bl
cmp dword [edi + 0x14], ebx
jb 0x10056599
mov edi, dword [edi]
mov esi, dword [ebp - 0x26c]
cmp dword [esi + 0x14], ebx
jb 0x100565a6
mov esi, dword [esi]
cmp dword [eax + 0x14], ebx
jb 0x100565ad
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x280]
call fcn.10035fd1
push esi
mov ecx, eax
call fcn.10035fd1
mov edx, dword [ebp - 0x264]
push edx
push edi
mov ecx, eax
call fcn.10035fd1
mov esi, eax
call fcn.10035877
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x18], ebx
jb 0x100565ec
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10065453
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 0x10056612
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.10065453
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 0x10056631
mov edx, dword [ebp - 0x80]
push edx
call fcn.10065453
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.100357d8
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.10035402
mov ecx, dword [eax]
mov eax, dword [esi + 0x10]
cmp dword [esi + 0x14], ebx
jb 0x10056689
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 edx, [ebp - 0xc0]
push edx
call fcn.1000b1b0
add esp, 8
mov edi, eax
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 0x12
call fcn.1004d120
mov dword [ebp - 0x264], eax
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 0x13
call fcn.1004d0f0
mov dword [ebp - 0x26c], eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
call fcn.1004d1b0
mov byte [ebp - 4], 0x15
cmp dword [edi + 0x14], ebx
jb 0x100566f7
mov ecx, dword [edi]
mov dword [ebp - 0x268], ecx
jmp 0x100566fd
mov dword [ebp - 0x268], edi
mov edi, dword [ebp - 0x264]
cmp dword [edi + 0x14], ebx
jb 0x1005670a
mov edi, dword [edi]
mov esi, dword [ebp - 0x26c]
cmp dword [esi + 0x14], ebx
jb 0x10056717
mov esi, dword [esi]
cmp dword [eax + 0x14], ebx
jb 0x1005671e
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x280]
call fcn.10035fd1
push str.macs
mov ecx, eax
call fcn.10035fd1
push esi
mov ecx, eax
call fcn.10035fd1
push edi
mov ecx, eax
call fcn.10035fd1
mov ecx, dword [ebp - 0x268]
lea edx, [ebp - 0xd8]
push edx
push ecx
mov ecx, eax
call fcn.10035fd1
mov esi, eax
call fcn.10035877
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x18], ebx
jb 0x10056777
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10065453
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 0x1005679d
mov eax, dword [ebp - 0x64]
push eax
call fcn.10065453
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 0x100567bc
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.10065453
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 0x100567e1
mov edx, dword [ebp - 0xc0]
push edx
call fcn.10065453
add esp, 4
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xb0], edi
mov byte [ebp - 0xc0], 0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 7
call fcn.100357d8
lea eax, [ebp - 0x258]
push eax
call fcn.100328a7
lea ecx, [ebp - 0x280]
push ecx
lea edx, [ebp - 0xfc]
push edx
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x16
call fcn.10032906
mov eax, dword [ebp - 0x270]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0x17
call fcn.1000b1b0
add esp, 8
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x14], ebx
jb 0x1005684e
mov eax, dword [eax]
push eax
lea edx, [ebp - 0x348]
push edx
call fcn.10043c10
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x18], ebx
jb 0x10056870
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10065453
add esp, 4
lea ecx, [ebp - 0x348]
push ecx
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
call fcn.10034e63
add esp, 4
lea ecx, [ebp - 0x344]
call fcn.1000fad0
test eax, eax
jne 0x100568c7
mov edx, dword [ebp - 0x348]
mov ecx, dword [edx + 4]
mov eax, dword [ebp + ecx - 0x33c]
lea ecx, [ebp + ecx - 0x348]
or eax, 2
cmp dword [ecx + 0x38], edi
jne 0x100568c0
or eax, 4
push edi
push eax
call fcn.100113e0
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0x17
call fcn.10043d20
lea eax, [ebp - 0x2e8]
mov dword [ebp - 0x264], eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov ecx, eax
mov byte [ebp - 4], 0x17
push ecx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1008178a
add esp, 4
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0xe8], ebx
jb 0x10056920
mov edx, dword [ebp - 0xfc]
push edx
call fcn.10065453
add esp, 4
mov esi, 0xf
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xec], 0
mov byte [ebp - 0xfc], 0
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 7
call fcn.10031fe0
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 6
call fcn.100357d8
lea edi, [ebp - 0x200]
mov byte [ebp - 4], 5
call fcn.10007ed0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x34], ebx
jb 0x1005697e
mov eax, dword [ebp - 0x48]
push eax
call fcn.10065453
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.100357d8
mov byte [ebp - 4], 2
lea edi, [ebp - 0x180]
call fcn.10007ed0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x88], ebx
jb 0x100569c5
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.10065453
add esp, 4
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], 0
mov byte [ebp - 0x9c], 0
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 4], 0xffffffff
call fcn.100357d8
mov al, 1
jmp 0x100574b0
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 6
call fcn.100357d8
lea edi, [ebp - 0x200]
mov byte [ebp - 4], 5
call fcn.10007ed0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x34], ebx
jb 0x10056a28
mov edx, dword [ebp - 0x48]
push edx
call fcn.10065453
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.100357d8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x10c], ebx
jb 0x10056a60
mov eax, dword [ebp - 0x120]
push eax
call fcn.10065453
add esp, 4
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x110], 0
mov byte [ebp - 0x120], 0
cmp dword [ebp - 0x13c], ebx
jb 0x10056a8e
mov ecx, dword [ebp - 0x150]
push ecx
call fcn.10065453
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.10009ef0
mov edx, dword [ebp - 0x168]
push edx
call fcn.10065453
add esp, 4
lea esi, [ebp - 0x180]
mov dword [ebp - 0x168], edi
call fcn.10009e60
mov eax, dword [ebp - 0x180]
push eax
call fcn.10065453
mov dword [ebp - 0x180], edi
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x88], ebx
jb 0x10056b02
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.10065453
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
xor edx, edx
test eax, eax
setne dl
mov ecx, eax
mov dword [ebp - 0x26c], esi
mov eax, edx
test eax, eax
sete al
test al, al
sete al
test al, al
je 0x1005749c
cmp dword [esi + 0x14], 8
jb 0x10056b50
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1005749c
mov edx, dword [ebp - 0x26c]
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.1000b050
mov byte [ebp - 4], 0x1c
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 0
call fcn.10053e30
add esp, 0x1c
lea eax, [ebp - 0x180]
push eax
mov byte [ebp - 4], 0x1d
call fcn.100371ae
push 0
lea edi, [ebp - 0x280]
mov byte [ebp - 4], 0x1e
call fcn.100355bb
push 0xffffffffffffffff
push 0
mov ecx, esi
push ecx
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x1f
call fcn.10004180
mov eax, dword [ebp - 0x150]
cmp dword [ebp - 0x13c], ebx
jae 0x10056bed
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.1003727b
test al, al
je 0x10057448
mov esi, dword [ebp - 0x268]
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x90]
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.10004180
lea ecx, [ebp - 0x200]
push ecx
mov byte [ebp - 4], 0x20
call fcn.100371ae
push 0
lea edi, [ebp - 0x290]
mov byte [ebp - 4], 0x21
call fcn.100355bb
mov byte [ebp - 4], 0x22
cmp dword [esi + 0x1c], 0x25
jl 0x10057403
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x1d0]
call fcn.10004180
mov eax, dword [ebp - 0x1d0]
cmp dword [ebp - 0x1bc], ebx
jae 0x10056c91
lea eax, [ebp - 0x1d0]
mov ecx, dword [ebp - 0x1c0]
add ecx, eax
push eax
lea edx, [ebp - 0x290]
lea edi, [ebp - 0x200]
call fcn.1003727b
test al, al
je 0x10057403
lea esi, [ebp - 0xe0]
call fcn.1004d120
mov edi, eax
mov byte [ebp - 4], 0x23
or dword [ebp - 0x25c], 0x20
lea esi, [ebp - 0xc0]
call fcn.1004d0f0
mov dword [ebp - 4], 0x24
or dword [ebp - 0x25c], 0x40
cmp dword [edi + 0x14], ebx
jb 0x10056ceb
mov edi, dword [edi]
cmp dword [eax + 0x14], ebx
jb 0x10056cf2
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x280]
call fcn.10035fd1
push edi
mov ecx, eax
call fcn.10035fd1
push eax
lea ecx, [ebp - 0x2a0]
call fcn.100358fd
test al, al
jne 0x10056dc7
lea esi, [ebp - 0x80]
call fcn.1004d120
mov edi, eax
mov dword [ebp - 4], 0x25
or dword [ebp - 0x25c], 0x80
lea esi, [ebp - 0x64]
call fcn.1004d0f0
mov dword [ebp - 0x264], eax
mov dword [ebp - 4], 0x26
or dword [ebp - 0x25c], 0x100
lea esi, [ebp - 0x2c]
call fcn.1004d1b0
mov dword [ebp - 4], 0x27
or dword [ebp - 0x25c], 0x200
cmp dword [edi + 0x14], ebx
jb 0x10056d74
mov edi, dword [edi]
mov esi, dword [ebp - 0x264]
cmp dword [esi + 0x14], ebx
jb 0x10056d81
mov esi, dword [esi]
cmp dword [eax + 0x14], ebx
jb 0x10056d88
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x280]
call fcn.10035fd1
push str.macs
mov ecx, eax
call fcn.10035fd1
push esi
mov ecx, eax
call fcn.10035fd1
push edi
mov ecx, eax
call fcn.10035fd1
push eax
lea ecx, [ebp - 0x2a0]
call fcn.100358fd
mov byte [ebp - 0x25d], 0
test al, al
je 0x10056dce
mov byte [ebp - 0x25d], 1
mov dword [ebp - 4], 0x26
test dword [ebp - 0x25c], 0x200
je 0x10056e0f
and dword [ebp - 0x25c], 0xfffffdff
cmp dword [ebp - 0x18], ebx
jb 0x10056dfc
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10065453
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 0x10056e14
xor edi, edi
lea esi, [edi + 0xf]
mov dword [ebp - 4], 0x25
test dword [ebp - 0x25c], 0x100
je 0x10056e4c
and dword [ebp - 0x25c], 0xfffffeff
cmp dword [ebp - 0x50], ebx
jb 0x10056e42
mov eax, dword [ebp - 0x64]
push eax
call fcn.10065453
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 0x10056e81
and dword [ebp - 0x25c], 0xffffff7f
cmp dword [ebp - 0x6c], ebx
jb 0x10056e77
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.10065453
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 0x10056ec2
and dword [ebp - 0x25c], 0xffffffbf
cmp dword [ebp - 0xac], ebx
jb 0x10056eaf
mov edx, dword [ebp - 0xc0]
push edx
call fcn.10065453
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 0x10056efc
cmp dword [ebp - 0xcc], ebx
jb 0x10056ee9
mov eax, dword [ebp - 0xe0]
push eax
call fcn.10065453
add esp, 4
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xd0], edi
mov byte [ebp - 0xe0], 0
cmp byte [ebp - 0x25d], 0
je 0x10056f93
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x21
call fcn.100357d8
lea edi, [ebp - 0x200]
mov byte [ebp - 4], 0x20
call fcn.10007ed0
mov byte [ebp - 4], 0x1f
cmp dword [ebp - 0x34], ebx
jb 0x10056f3c
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.10065453
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.100357d8
lea edi, [ebp - 0x180]
mov byte [ebp - 4], 0x1d
call fcn.10007ed0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x88], ebx
jb 0x10056f88
mov edx, dword [ebp - 0x9c]
push edx
call fcn.10065453
add esp, 4
mov dword [ebp - 0x88], esi
jmp 0x1005748b
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0xb8]
call fcn.100356b7
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x268]
add eax, 0xac
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x28
push ecx
mov dword [ebp - 0x25c], eax
call fcn.1000b1b0
add esp, 8
mov edi, eax
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 0x29
call fcn.1004d120
mov dword [ebp - 0x264], eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0x2a
call fcn.1004d0f0
mov byte [ebp - 4], 0x2b
cmp dword [edi + 0x14], ebx
jb 0x10056ff8
mov edi, dword [edi]
mov esi, dword [ebp - 0x264]
cmp dword [esi + 0x14], ebx
jb 0x10057005
mov esi, dword [esi]
cmp dword [eax + 0x14], ebx
jb 0x1005700c
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x280]
call fcn.10035fd1
push esi
mov ecx, eax
call fcn.10035fd1
mov edx, dword [ebp - 0x270]
push edx
push edi
mov ecx, eax
call fcn.10035fd1
mov esi, eax
call fcn.10035877
mov byte [ebp - 4], 0x2a
cmp dword [ebp - 0x18], ebx
jb 0x1005704b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10065453
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 0x10057071
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.10065453
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 0x10057090
mov edx, dword [ebp - 0x80]
push edx
call fcn.10065453
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.100357d8
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.10035402
mov ecx, dword [eax]
mov eax, dword [esi + 0x10]
cmp dword [esi + 0x14], ebx
jb 0x100570e8
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 edx, [ebp - 0xc0]
push edx
call fcn.1000b1b0
add esp, 8
mov edi, eax
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 0x2d
call fcn.1004d120
mov dword [ebp - 0x264], eax
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 0x2e
call fcn.1004d0f0
mov dword [ebp - 0x268], eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0x2f
call fcn.1004d1b0
mov byte [ebp - 4], 0x30
cmp dword [edi + 0x14], ebx
jb 0x10057156
mov ecx, dword [edi]
mov dword [ebp - 0x270], ecx
jmp 0x1005715c
mov dword [ebp - 0x270], edi
mov edi, dword [ebp - 0x264]
cmp dword [edi + 0x14], ebx
jb 0x10057169
mov edi, dword [edi]
mov esi, dword [ebp - 0x268]
cmp dword [esi + 0x14], ebx
jb 0x10057176
mov esi, dword [esi]
cmp dword [eax + 0x14], ebx
jb 0x1005717d
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x280]
call fcn.10035fd1
push str.macs
mov ecx, eax
call fcn.10035fd1
push esi
mov ecx, eax
call fcn.10035fd1
push edi
mov ecx, eax
call fcn.10035fd1
mov ecx, dword [ebp - 0x270]
lea edx, [ebp - 0xd8]
push edx
push ecx
mov ecx, eax
call fcn.10035fd1
mov esi, eax
call fcn.10035877
mov byte [ebp - 4], 0x2f
cmp dword [ebp - 0x18], ebx
jb 0x100571d6
mov edx, dword [ebp - 0x2c]
push edx
call fcn.10065453
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 0x100571fc
mov eax, dword [ebp - 0x64]
push eax
call fcn.10065453
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 0x1005721b
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.10065453
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 0x10057240
mov edx, dword [ebp - 0xc0]
push edx
call fcn.10065453
add esp, 4
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xb0], edi
mov byte [ebp - 0xc0], 0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x22
call fcn.100357d8
lea eax, [ebp - 0x258]
push eax
call fcn.100328a7
lea ecx, [ebp - 0x280]
push ecx
lea edx, [ebp - 0xfc]
push edx
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x31
call fcn.10032906
mov eax, dword [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0x32
call fcn.1000b1b0
add esp, 8
mov byte [ebp - 4], 0x33
cmp dword [eax + 0x14], ebx
jb 0x100572ad
mov eax, dword [eax]
push eax
lea edx, [ebp - 0x348]
push edx
call fcn.10043c10
mov byte [ebp - 4], 0x35
cmp dword [ebp - 0x18], ebx
jb 0x100572cf
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10065453
add esp, 4
lea ecx, [ebp - 0x348]
push ecx
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
call fcn.10034e63
add esp, 4
lea ecx, [ebp - 0x344]
call fcn.1000fad0
test eax, eax
jne 0x10057326
mov edx, dword [ebp - 0x348]
mov ecx, dword [edx + 4]
mov eax, dword [ebp + ecx - 0x33c]
lea ecx, [ebp + ecx - 0x348]
or eax, 2
cmp dword [ecx + 0x38], edi
jne 0x1005731f
or eax, 4
push edi
push eax
call fcn.100113e0
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 0x32
call fcn.10043d20
lea eax, [ebp - 0x2e8]
mov dword [ebp - 0x264], eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov ecx, eax
mov byte [ebp - 4], 0x32
push ecx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1008178a
add esp, 4
mov byte [ebp - 4], 0x31
cmp dword [ebp - 0xe8], ebx
jb 0x1005737f
mov edx, dword [ebp - 0xfc]
push edx
call fcn.10065453
add esp, 4
mov esi, 0xf
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xec], 0
mov byte [ebp - 0xfc], 0
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x22
call fcn.10031fe0
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x21
call fcn.100357d8
lea edi, [ebp - 0x200]
mov byte [ebp - 4], 0x20
call fcn.10007ed0
mov byte [ebp - 4], 0x1f
cmp dword [ebp - 0x34], ebx
jb 0x100573dd
mov eax, dword [ebp - 0x48]
push eax
call fcn.10065453
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], 0x1e
call fcn.100357d8
mov byte [ebp - 4], 0x1d
jmp 0x1005699f
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x21
call fcn.100357d8
lea edi, [ebp - 0x200]
mov byte [ebp - 4], 0x20
call fcn.10007ed0
mov byte [ebp - 4], 0x1f
cmp dword [ebp - 0x34], ebx
jb 0x10057436
mov edx, dword [ebp - 0x48]
push edx
call fcn.10065453
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.100357d8
lea edi, [ebp - 0x180]
mov byte [ebp - 4], 0x1d
call fcn.10007ed0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x88], ebx
jb 0x10057481
mov eax, dword [ebp - 0x9c]
push eax
call fcn.10065453
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.100357d8
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.1006656c
mov esp, ebp
pop ebp
ret