Function at 0x10006a1d
Capabilities:
Get file size
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea4
push esi
push edi
push ebx
lea eax, [ebp - 0x104]
push eax
call fcn.10015a95
or eax, eax
jne 0x10006ff4
mov bl, byte [0x100525df]
mov byte [0x100525df], 0
lea eax, [ebp - 0x104]
push eax
call fcn.1002fd52
mov byte [0x100525df], bl
jmp 0x10006a67
push 0x10006a5e
lea eax, [ebp - 0x104]
push eax
call fcn.100510f8
jmp 0x10006a83
jmp 0x10006a8e
lea eax, [ebp - 0x104]
push eax
push 0
push 0x10006a85
push 0x10006a7a
call fcn.10051014
mov dword [0x1006275a], eax
jmp 0x10006ab6
jmp 0x10006ac1
lea eax, [ebp - 0x104]
push eax
push 0
push 0x10006ab8
push 0x10006aad
call fcn.10051014
push eax
lea eax, [ebp - 0x136]
push eax
call fcn.10007254
lea eax, [ebp - 0x136]
push eax
push 0x79e
push dword [0x100523fa]
call fcn.100153ff
jmp 0x10006b08
jmp 0x10006b13
lea eax, [ebp - 0x104]
push eax
push 0
push 0x10006b0a
push 0x10006aff
call fcn.10051014
jmp 0x10006b30
push eax
push 0x10006b2d
lea eax, [ebp - 0x14a]
push eax
call fcn.10050e22
add esp, 0xc
lea eax, [ebp - 0x14a]
push eax
push 0x795
push dword [0x100523fa]
call fcn.100153ff
jmp 0x10006b67
jmp 0x10006b72
lea eax, [ebp - 0x104]
push eax
push 0
push 0x10006b69
push 0x10006b5e
call fcn.10051014
jmp 0x10006b8f
push eax
push 0x10006b8c
lea eax, [ebp - 0x14a]
push eax
call fcn.10050e22
add esp, 0xc
lea eax, [ebp - 0x14a]
push eax
push 0x796
push dword [0x100523fa]
call fcn.100153ff
jmp 0x10006bc6
jmp 0x10006bd1
lea eax, [ebp - 0x104]
push eax
push 0
push 0x10006bc8
push 0x10006bbd
call fcn.10051014
jmp 0x10006bee
push eax
push 0x10006beb
lea eax, [ebp - 0x14a]
push eax
call fcn.10050e22
add esp, 0xc
lea eax, [ebp - 0x14a]
push eax
push 0x797
push dword [0x100523fa]
call fcn.100153ff
jmp 0x10006c25
jmp 0x10006c30
lea eax, [ebp - 0x104]
push eax
push 0
push 0x10006c27
push 0x10006c1c
call fcn.10051014
jmp 0x10006c4d
push eax
push 0x10006c4a
lea eax, [ebp - 0x14a]
push eax
call fcn.10050e22
add esp, 0xc
lea eax, [ebp - 0x14a]
push eax
push 0x798
push dword [0x100523fa]
call fcn.100153ff
jmp 0x10006c84
jmp 0x10006c8f
lea eax, [ebp - 0x104]
push eax
push 0
push 0x10006c86
push 0x10006c7b
call fcn.10051014
jmp 0x10006cac
push eax
push 0x10006ca9
lea eax, [ebp - 0x14a]
push eax
call fcn.10050e22
add esp, 0xc
lea eax, [ebp - 0x14a]
push eax
push 0x799
push dword [0x100523fa]
call fcn.100153ff
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x104]
push eax
call fcn.10050fc0
cmp eax, 0xffffffff
je 0x10006ff4
mov dword [ebp - 0x150], eax
push 0
push dword [ebp - 0x150]
call fcn.10050ff6
mov dword [ebp - 0x154], eax
push dword [ebp - 0x150]
call fcn.10050fb4
cmp dword [ebp - 0x154], 0
je 0x10006ff4
add dword [ebp - 0x154], 0xa
push dword [ebp - 0x154]
push pe_nt_image_headers32
call fcn.1003d03c
or eax, eax
je 0x10006ff4
mov dword [ebp - 0x158], eax
jmp 0x10006d5d
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x154]
push dword [ebp - 0x158]
push 0x10006d54
call fcn.1005101a
push 0x79a
push dword [0x100523fa]
call fcn.1001517d
or eax, eax
je 0x10006e5b
mov dword [ebp - 0x15c], eax
mov esi, dword [ebp - 0x158]
jmp 0x10006e52
mov byte [ebp - 0x136], 0
mov byte [ebp - 0x14a], 0
lea edi, [ebp - 0x136]
mov al, byte [esi]
mov byte [edi], al
cmp al, 0x3d
je 0x10006dc3
or al, al
jne 0x10006dc8
mov byte [edi], 0
jmp 0x10006dcc
inc esi
inc edi
jmp 0x10006db7
lea edi, [ebp - 0x14a]
inc esi
cmp al, 0x3d
jne 0x10006de6
mov al, byte [esi]
mov byte [edi], al
or al, al
jne 0x10006de2
inc esi
jmp 0x10006de6
inc esi
inc edi
jmp 0x10006dd7
lea eax, [ebp - 0x14a]
push eax
call fcn.10023ca0
jmp 0x10006df7
push eax
push 0x10006df4
lea eax, [ebp - 0x14a]
push eax
call fcn.10050e22
add esp, 0xc
cmp byte [ebp - 0x136], 0
je 0x10006e52
lea eax, [ebp - 0x136]
push eax
push 0x79a
push dword [0x100523fa]
call fcn.100302be
cmp eax, 0xffffffff
jne 0x10006e52
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14a]
push eax
lea eax, [ebp - 0x136]
push eax
push dword [ebp - 0x15c]
call fcn.10032312
cmp byte [esi], 0
jne 0x10006da3
jmp 0x10006e66
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x154]
push dword [ebp - 0x158]
push 0x10006e5d
call fcn.1005101a
push 0x79b
push dword [0x100523fa]
call fcn.1001517d
or eax, eax
je 0x10006f64
mov dword [ebp - 0x15c], eax
mov esi, dword [ebp - 0x158]
jmp 0x10006f5b
mov byte [ebp - 0x136], 0
mov byte [ebp - 0x14a], 0
lea edi, [ebp - 0x136]
mov al, byte [esi]
mov byte [edi], al
cmp al, 0x3d
je 0x10006ecc
or al, al
jne 0x10006ed1
mov byte [edi], 0
jmp 0x10006ed5
inc esi
inc edi
jmp 0x10006ec0
lea edi, [ebp - 0x14a]
inc esi
cmp al, 0x3d
jne 0x10006eef
mov al, byte [esi]
mov byte [edi], al
or al, al
jne 0x10006eeb
inc esi
jmp 0x10006eef
inc esi
inc edi
jmp 0x10006ee0
lea eax, [ebp - 0x14a]
push eax
call fcn.10023ca0
jmp 0x10006f00
push eax
push 0x10006efd
lea eax, [ebp - 0x14a]
push eax
call fcn.10050e22
add esp, 0xc
cmp byte [ebp - 0x136], 0
je 0x10006f5b
lea eax, [ebp - 0x136]
push eax
push 0x79b
push dword [0x100523fa]
call fcn.100302be
cmp eax, 0xffffffff
jne 0x10006f5b
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14a]
push eax
lea eax, [ebp - 0x136]
push eax
push dword [ebp - 0x15c]
call fcn.10032312
cmp byte [esi], 0
jne 0x10006eac
jmp 0x10006f6f
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x154]
push dword [ebp - 0x158]
push 0x10006f66
call fcn.1005101a
push 0x79c
push dword [0x100523fa]
call fcn.1001517d
or eax, eax
je 0x10006fe8
mov dword [ebp - 0x15c], eax
mov esi, dword [ebp - 0x158]
jmp 0x10006fe3
push esi
push 0xffffffffffffffff
push 0x1a2
push dword [ebp - 0x15c]
call fcn.10050f6c
cmp eax, 0xffffffff
jne 0x10006fd9
push esi
push 0xffffffffffffffff
push 0x181
push dword [ebp - 0x15c]
call fcn.10050f6c
push esi
call fcn.1002f5af
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x10006fae
lea eax, [ebp - 0x158]
push eax
call fcn.1003d00f
pop ebx
pop edi
pop esi
leave
ret