Function at 0x10007e90
Capabilities:
Get file size
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100d43f1
mov eax, dword fs:[0]
push eax
sub esp, 0x878
mov eax, dword [0x100ff2f0]
xor eax, esp
mov dword [esp + 0x870], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100ff2f0]
xor eax, esp
push eax
lea eax, [esp + 0x88c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x89c]
mov edi, ecx
mov eax, dword [edi + 0x14]
xor ebx, ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], edi
cmp eax, ebx
jbe 0x10008342
cmp dword [edi + 0x18], 0x10
lea esi, [edi + 4]
jb 0x10007ef6
mov eax, dword [esi]
jmp 0x10007ef8
mov eax, esi
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x10007f1d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10007f2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x10008342
cmp dword [ebp + 0x1c], ebx
ja 0x10008342
push 0x3ff
lea eax, [esp + 0x89]
push ebx
push eax
mov byte [esp + 0x90], bl
call fcn.100b4f00
add esp, 0xc
cmp dword [edi + 0x18], 0x10
jb 0x10007f5c
mov eax, dword [esi]
jmp 0x10007f5e
mov eax, esi
push eax
push 0x400
lea ecx, [esp + 0x8c]
push ecx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea esi, [esp + 0x84]
mov dword [esp + 0x18], esi
cmp byte [esp + 0x84], bl
je 0x10008342
jmp 0x10007f94
mov esi, dword [esp + 0x18]
mov eax, esi
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10007fb0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x70]
call fcn.10002cc0
mov dword [esp + 0x894], ebx
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x6c]
cmp ecx, 0x10
jb 0x10008135
mov esi, edx
mov dword [esp + 0x14], esi
cmp edx, ebx
je 0x1000800d
mov eax, edx
cmp ecx, 0x10
jae 0x10007ff4
lea eax, [esp + 0x6c]
cmp eax, esi
ja 0x1000800d
mov eax, edx
cmp ecx, 0x10
jae 0x10008003
lea eax, [esp + 0x6c]
mov ebp, dword [esp + 0x7c]
add eax, ebp
cmp esi, eax
jbe 0x10008021
call fcn.100b2a8a
mov ecx, dword [esp + 0x80]
mov ebp, dword [esp + 0x7c]
mov edx, dword [esp + 0x6c]
mov eax, edx
cmp ecx, 0x10
jae 0x1000802c
lea eax, [esp + 0x6c]
lea edi, [eax + ebp]
cmp edi, ebx
je 0x10008053
mov eax, edx
cmp ecx, 0x10
jae 0x1000803e
lea eax, [esp + 0x6c]
cmp eax, edi
ja 0x10008053
mov eax, edx
cmp ecx, 0x10
jae 0x1000804d
lea eax, [esp + 0x6c]
add eax, ebp
cmp edi, eax
jbe 0x10008067
call fcn.100b2a8a
mov ecx, dword [esp + 0x80]
mov ebp, dword [esp + 0x7c]
mov edx, dword [esp + 0x6c]
cmp ecx, 0x10
jb 0x10008142
mov esi, edx
cmp edx, ebx
je 0x10008096
mov eax, edx
cmp ecx, 0x10
jae 0x10008081
lea eax, [esp + 0x6c]
cmp eax, esi
ja 0x10008096
mov eax, edx
cmp ecx, 0x10
jae 0x10008090
lea eax, [esp + 0x6c]
add eax, ebp
cmp esi, eax
jbe 0x1000809b
call fcn.100b2a8a
mov ecx, dword [esp + 0x14]
push ecx
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x28]
mov byte [esp + 0x2c], bl
mov edx, dword [esp + 0x2c]
push edx
push eax
push fcn.100b36a2
push edi
lea ecx, [esp + 0x78]
push esi
push ecx
call fcn.10007080
mov esi, dword [esp + 0x9c]
add esp, 0x20
mov ecx, esi
cmp esi, 7
jb 0x100080da
mov ecx, 7
mov eax, dword [esp + 0x6c]
mov ebp, 0x10
cmp dword [esp + 0x80], ebp
jae 0x100080f0
lea eax, [esp + 0x6c]
push ecx
push str.dataacl
push eax
call fcn.10001070
add esp, 0xc
cmp eax, ebx
jne 0x100082ec
cmp esi, 7
jb 0x100082ec
xor eax, eax
cmp esi, 7
setne al
cmp eax, ebx
jne 0x100082ec
mov eax, dword [esp + 0x1c]
mov edi, 0x2800
cmp dword [eax + 0x18], ebp
jb 0x1000814b
add eax, 4
mov eax, dword [eax]
jmp 0x1000814e
lea esi, [esp + 0x6c]
mov dword [esp + 0x14], esi
jmp 0x10007fe9
lea esi, [esp + 0x6c]
jmp 0x10008076
add eax, 4
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000817a
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebp, edi
jle 0x1000817a
mov edi, ebp
push edi
mov ebp, 0xf
call fcn.100b1b2e
add esp, 4
push edi
mov esi, eax
push ebx
push esi
mov dword [esp + 0x20], esi
call fcn.100b4f00
mov ecx, dword [esp + 0x28]
add esp, 0xc
call fcn.10002dd0
mov edx, dword [esp + 0x18]
push eax
push edi
push esi
push ebx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, esi
cmp byte [eax], bl
je 0x100082da
mov edi, dword [esp + 0x18]
push 0x3ff
lea ecx, [esp + 0x489]
push ebx
push ecx
mov byte [esp + 0x490], bl
call fcn.100b4f00
mov ecx, dword [esp + 0x28]
add esp, 0xc
call fcn.10002dd0
push eax
push 0x400
lea edx, [esp + 0x48c]
push edx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10008210
sub eax, ecx
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.10002cc0
mov byte [esp + 0x894], 1
lea eax, [esp + 0x484]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10008242
sub eax, edx
push eax
lea eax, [esp + 0x488]
push eax
lea ecx, [esp + 0x4c]
call fcn.10002cc0
mov byte [esp + 0x894], 2
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x48]
call fcn.10007b40
cmp dword [esp + 0x5c], 0x10
jb 0x1000828b
mov edx, dword [esp + 0x48]
push edx
call fcn.100b2ba3
add esp, 4
mov byte [esp + 0x894], bl
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
jb 0x100082b2
mov eax, dword [esp + 0x2c]
push eax
call fcn.100b2ba3
add esp, 4
mov eax, esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100082c3
sub eax, edx
cmp byte [esi + eax + 1], bl
lea esi, [esi + eax + 1]
jne 0x100081c0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.100b2b98
add esp, 4
mov ebp, 0x10
mov esi, dword [esp + 0x18]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100082f5
sub eax, edx
lea esi, [esi + eax + 1]
mov dword [esp + 0x894], 0xffffffff
mov dword [esp + 0x18], esi
cmp dword [esp + 0x80], ebp
jb 0x10008327
mov edx, dword [esp + 0x6c]
push edx
call fcn.100b2ba3
add esp, 4
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
cmp byte [esi], bl
jne 0x10007f90
mov ecx, dword [esp + 0x88c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x870]
xor ecx, esp
call fcn.100b1bc4
add esp, 0x884
ret 4