Function at 0x10069d6f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x100a69a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [0x100e04c0], 0
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_sprintf]
push esi
push edi
push eax
push 0x1008b7c4
mov esi, 0x10111d48
push esi
call ebx
push esi
call fcn.10006dd0
add esp, 0x10
call fcn.1006e74d
cmp dword [0x103aafe0], 1
mov esi, 0x100e04c4
jne 0x10069e72
and dword [ebp - 0x260], 0
mov edi, dword [0x35f42ac]
and dword [ebp - 0x25c], 0
call fcn.10005f4e
test eax, eax
je 0x10069e22
add edi, 0x53c
mov eax, dword [edi]
test eax, eax
je 0x10069e00
add eax, 0x64
push 0x100996d4
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x10069e18
inc dword [ebp - 0x25c]
add edi, 4
call fcn.10005f4e
cmp dword [ebp - 0x25c], eax
jb 0x10069de6
jmp 0x10069e22
mov dword [ebp - 0x260], 1
mov eax, dword [0x12b5b20]
mov eax, dword [eax + 0x444]
mov eax, dword [eax + 0x334]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x33c]
add eax, 0x344
cmp dword [ebp - 0x260], 1
jne 0x10069e72
push eax
call sub.MSVCR100.dll_strlen
pop ecx
test eax, eax
je 0x10069e72
mov eax, dword [0x100e04c0]
imul eax, eax, 0x50
add eax, esi
push 0x1009afdc
push eax
call sub.MSVCR100.dll_strcpy
inc dword [0x100e04c0]
pop ecx
pop ecx
cmp dword [0x103ab3b8], 0
jne 0x1006a076
push 0x1e
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x103a97b4
call sub.mfc100.dll_Ordinal_6969
push 0x1e
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x103aac68
call sub.mfc100.dll_Ordinal_6969
lea eax, [ebp - 0x24]
push 0x100924e4
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
pop ecx
pop ecx
test eax, eax
je 0x10069f7d
lea eax, [ebp - 0x24]
sub eax, 2
push eax
call sub.MSVCR100.dll_strlen
mov byte [ebp + eax - 0x24], 0
mov eax, dword [0x100e04c0]
imul eax, eax, 0x50
add eax, esi
mov dword [esp], 0x1009aa48
push eax
call sub.MSVCR100.dll_strcpy
mov eax, dword [0x100e04c0]
inc eax
mov dword [0x100e04c0], eax
imul eax, eax, 0x50
add eax, esi
push 0x100978e0
push eax
call sub.MSVCR100.dll_strcpy
inc dword [0x100e04c0]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
push eax
call fcn.10037705
mov edi, 0x103bb628
add esp, 0x18
mov ecx, edi
xor ebx, ebx
call fcn.100011d9
test eax, eax
jle 0x10069f52
mov eax, dword [0x103bb628]
push dword [eax + ebx*4]
mov eax, dword [0x100e04c0]
imul eax, eax, 0x50
add eax, esi
push eax
call sub.MSVCR100.dll_strcpy
inc dword [0x100e04c0]
pop ecx
pop ecx
mov ecx, edi
inc ebx
call fcn.100011d9
cmp ebx, eax
jl 0x10069f26
mov eax, dword [0x100e04c0]
imul eax, eax, 0x50
add eax, esi
push 0x1008f858
push eax
call sub.MSVCR100.dll_strcpy
push dword [ebp + 0xc]
inc dword [0x100e04c0]
call fcn.10064350
add esp, 0xc
jmp 0x1006a07f
push dword [0x35ed708]
lea eax, [ebp - 0x64]
push eax
call fcn.10006800
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x24]
push eax
call sub.MSVCR100.dll_strcmp
add esp, 0x10
test eax, eax
jne 0x10069ff1
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x24]
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x10069ff1
mov eax, dword [0x100e04c0]
imul eax, eax, 0x50
add eax, esi
push 0x1009a880
push eax
call sub.MSVCR100.dll_strcpy
mov eax, dword [0x100e04c0]
inc eax
mov dword [0x100e04c0], eax
imul eax, eax, 0x50
add eax, esi
push 0x1008f858
push eax
call sub.MSVCR100.dll_strcpy
add esp, 0x10
inc dword [0x100e04c0]
jmp 0x1006a076
lea eax, [ebp - 0x24]
push eax
push 0x10111b20
lea eax, [ebp - 0x258]
push 0x100924d4
push eax
call ebx
lea eax, [ebp - 0x258]
push 0x1008c7d0
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x1006a035
mov ecx, dword [0x1011280c]
call fcn.1006e863
call fcn.100449ae
jmp 0x1006a07f
mov esi, 0x3e8
push esi
call sub.mfc100.dll_Ordinal_265
push esi
mov edi, eax
push 0
push edi
call sub.MSVCR100.dll_memset
push ebx
push esi
push 1
push edi
call dword [sym.imp.MSVCR100.dll_fread]
push 0x1009ba7c
push edi
push 0x100e04c0
call fcn.100068bc
push ebx
call dword [sym.imp.MSVCR100.dll_fclose]
push edi
call sub.mfc100.dll_Ordinal_1296
add esp, 0x34
push dword [ebp + 0xc]
call fcn.10064350
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10083a34
leave
ret