Function at 0x1006b300
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a6843
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x100cba70]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x100cba70]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
mov dword [esp + 0xe8], ebx
mov eax, dword [0x100ad8f4]
push eax
mov esi, 0x100ccef4
call fcn.100663e0
add esp, 4
test al, al
je 0x1006b3f7
push str.IniReader::build__:
lea ecx, [esp + 0x3c]
call fcn.1008d3d0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov byte [esp + 0xec], 1
call fcn.1008d7b0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x7c]
mov byte [esp + 0xf4], 2
call fcn.100023e0
mov esi, 0x10
cmp dword [esp + 0x34], esi
jb 0x1006b3cb
mov eax, dword [esp + 0x20]
push eax
call fcn.10080518
add esp, 4
mov byte [esp + 0xe8], bl
cmp dword [esp + 0x50], esi
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x1006b3fc
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.10080518
add esp, 4
jmp 0x1006b3fc
mov esi, 0x10
mov edx, dword [0x100ad8f4]
push 1
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x9c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.100023e0
push 0x100ccef4
mov byte [esp + 0x110], 3
call fcn.10002800
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0x114], bl
call fcn.1008d030
mov byte [esp + 0xe8], 4
cmp dword [edi + 0x38], ebx
je 0x1006b6ab
cmp dword [edi + 0x3c], esi
jb 0x1006b46c
mov eax, dword [edi + 0x28]
jmp 0x1006b46f
lea eax, [edi + 0x28]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, ebx
je 0x1006b5dc
cmp esi, 0xffffffff
je 0x1006b5dc
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0xc8], bl
movzx esi, word [esp + 0x18]
je 0x1006b540
push 0xa
push esi
lea ecx, [esp + 0x24]
call fcn.1008d590
mov dword [esp + 0x18], eax
push str.Size_of_the_file_
lea ecx, [esp + 0x58]
mov byte [esp + 0xec], 8
call fcn.1008d3d0
lea edx, [esp + 0x38]
mov byte [esp + 0xe8], 9
mov ecx, dword [esp + 0x18]
push edx
push ecx
mov ecx, eax
call fcn.1008d660
mov ecx, eax
call fcn.1008d7b0
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x90]
mov byte [esp + 0xec], 0xa
call fcn.1008d180
lea ecx, [esp + 0x38]
call fcn.10002a70
lea ecx, [esp + 0x54]
call fcn.10002a70
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe8], 4
call fcn.10002a70
push esi
mov ecx, edi
call fcn.1006c470
cmp al, bl
mov byte [esp + 0x17], al
jne 0x1006b58e
cmp byte [esp + 0xc8], bl
je 0x1006b569
movzx eax, al
push eax
lea ecx, [esp + 0x90]
call fcn.1008af40
lea ecx, [esp + 0x8c]
mov byte [esp + 0xe8], bl
call fcn.1008bb30
lea ecx, [esp + 0x70]
call fcn.10002a70
mov al, byte [esp + 0x17]
jmp 0x1006b6f3
cmp dword [edi + 8], ebx
je 0x1006b59e
push esi
push edi
call fcn.1006b8a0
mov byte [esp + 0x17], al
cmp byte [esp + 0xc8], bl
je 0x1006b5b7
movzx ecx, al
push ecx
lea ecx, [esp + 0x90]
call fcn.1008af40
lea ecx, [esp + 0x8c]
mov byte [esp + 0xe8], bl
call fcn.1008bb30
lea ecx, [esp + 0x70]
call fcn.10002a70
mov al, byte [esp + 0x17]
jmp 0x1006b6f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esp + 0xc8], bl
je 0x1006b6c3
push 0xa
push eax
lea ecx, [esp + 0x5c]
call fcn.1008d590
mov esi, eax
push str.Could_not_open_the_settings_file.errorCode_
lea ecx, [esp + 0x3c]
mov byte [esp + 0xec], 5
call fcn.1008d3d0
lea edx, [esp + 0x1c]
push edx
push esi
mov ecx, eax
mov byte [esp + 0xf0], 6
call fcn.1008d660
mov ecx, eax
call fcn.1008d7b0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0xec], 7
call fcn.1008d180
mov esi, 0x10
cmp dword [esp + 0x34], esi
jb 0x1006b660
mov ecx, dword [esp + 0x20]
push ecx
call fcn.10080518
add esp, 4
cmp dword [esp + 0x50], esi
mov edi, 0xf
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x1006b684
mov edx, dword [esp + 0x3c]
push edx
call fcn.10080518
add esp, 4
mov byte [esp + 0xe8], 4
cmp dword [esp + 0x6c], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
jb 0x1006b6ab
mov eax, dword [esp + 0x58]
push eax
call fcn.10080518
add esp, 4
cmp byte [esp + 0xc8], bl
je 0x1006b6c8
push ebx
lea ecx, [esp + 0x90]
call fcn.1008af40
jmp 0x1006b6c8
mov esi, 0x10
lea ecx, [esp + 0x8c]
mov byte [esp + 0xe8], bl
call fcn.1008bb30
cmp dword [esp + 0x88], esi
jb 0x1006b6f1
mov ecx, dword [esp + 0x74]
push ecx
call fcn.10080518
add esp, 4
xor al, al
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.10079ea5
mov esp, ebp
pop ebp
ret