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

Disassembly:
push 0xffffffffffffffff
push 0x1011f831
mov eax, dword fs:[0]
push eax
sub esp, 0x878
mov eax, dword [0x1015d2f0]
xor eax, esp
mov dword [esp + 0x870], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1015d2f0]
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 0x10011db2
cmp dword [edi + 0x18], 0x10
lea esi, [edi + 4]
jb 0x10011966
mov eax, dword [esi]
jmp 0x10011968
mov eax, esi
push ebx
push 0x80
push 3
push ebx
push 1
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x1001198d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1001199c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x10011db2
cmp dword [ebp + 0x3c], ebx
ja 0x10011db2
push 0x3ff
lea eax, [esp + 0x89]
push ebx
push eax
mov byte [esp + 0x90], bl
call fcn.100f8db0
add esp, 0xc
cmp dword [edi + 0x18], 0x10
jb 0x100119cc
mov eax, dword [esi]
jmp 0x100119ce
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 0x10011db2
jmp 0x10011a04
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 0x10011a20
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x70]
call fcn.10004290
mov dword [esp + 0x894], ebx
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x6c]
cmp ecx, 0x10
jb 0x10011ba6
mov esi, edx
mov dword [esp + 0x14], esi
cmp edx, ebx
je 0x10011a7d
mov eax, edx
cmp ecx, 0x10
jae 0x10011a64
lea eax, [esp + 0x6c]
cmp eax, esi
ja 0x10011a7d
mov eax, edx
cmp ecx, 0x10
jae 0x10011a73
lea eax, [esp + 0x6c]
mov ebp, dword [esp + 0x7c]
add eax, ebp
cmp esi, eax
jbe 0x10011a91
call fcn.100f3f6c
mov ecx, dword [esp + 0x80]
mov ebp, dword [esp + 0x7c]
mov edx, dword [esp + 0x6c]
mov eax, edx
cmp ecx, 0x10
jae 0x10011a9c
lea eax, [esp + 0x6c]
lea edi, [eax + ebp]
cmp edi, ebx
je 0x10011ac3
mov eax, edx
cmp ecx, 0x10
jae 0x10011aae
lea eax, [esp + 0x6c]
cmp eax, edi
ja 0x10011ac3
mov eax, edx
cmp ecx, 0x10
jae 0x10011abd
lea eax, [esp + 0x6c]
add eax, ebp
cmp edi, eax
jbe 0x10011ad7
call fcn.100f3f6c
mov ecx, dword [esp + 0x80]
mov ebp, dword [esp + 0x7c]
mov edx, dword [esp + 0x6c]
cmp ecx, 0x10
jb 0x10011bb3
mov esi, edx
cmp edx, ebx
je 0x10011b06
mov eax, edx
cmp ecx, 0x10
jae 0x10011af1
lea eax, [esp + 0x6c]
cmp eax, esi
ja 0x10011b06
mov eax, edx
cmp ecx, 0x10
jae 0x10011b00
lea eax, [esp + 0x6c]
add eax, ebp
cmp esi, eax
jbe 0x10011b0b
call fcn.100f3f6c
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.100f48e5
lea ecx, [esp + 0x74]
push edi
push ecx
mov eax, esi
call fcn.10012710
mov esi, dword [esp + 0x98]
add esp, 0x1c
mov ecx, esi
cmp esi, 7
jb 0x10011b4b
mov ecx, 7
mov eax, dword [esp + 0x6c]
mov ebp, 0x10
cmp dword [esp + 0x80], ebp
jae 0x10011b61
lea eax, [esp + 0x6c]
push ecx
push str.dataacl
push eax
call fcn.10001070
add esp, 0xc
cmp eax, ebx
jne 0x10011d5c
cmp esi, 7
jb 0x10011d5c
xor eax, eax
cmp esi, 7
setne al
cmp eax, ebx
jne 0x10011d5c
mov eax, dword [esp + 0x1c]
mov edi, 0x2800
cmp dword [eax + 0x18], ebp
jb 0x10011bbc
add eax, 4
mov eax, dword [eax]
jmp 0x10011bbf
lea esi, [esp + 0x6c]
mov dword [esp + 0x14], esi
jmp 0x10011a59
lea esi, [esp + 0x6c]
jmp 0x10011ae6
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 0x10011beb
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 0x10011beb
mov edi, ebp
push edi
mov ebp, 0xf
call fcn.100f2fca
add esp, 4
push edi
mov esi, eax
push ebx
push esi
mov dword [esp + 0x20], esi
call fcn.100f8db0
mov ecx, dword [esp + 0x28]
add esp, 0xc
call fcn.100043a0
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 0x10011d4a
mov edi, dword [esp + 0x18]
push 0x3ff
lea ecx, [esp + 0x489]
push ebx
push ecx
mov byte [esp + 0x490], bl
call fcn.100f8db0
mov ecx, dword [esp + 0x28]
add esp, 0xc
call fcn.100043a0
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]
nop
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10011c80
sub eax, ecx
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.10004290
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 0x10011cb2
sub eax, edx
push eax
lea eax, [esp + 0x488]
push eax
lea ecx, [esp + 0x4c]
call fcn.10004290
mov byte [esp + 0x894], 2
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x48]
call fcn.100115f0
cmp dword [esp + 0x5c], 0x10
jb 0x10011cfb
mov edx, dword [esp + 0x48]
push edx
call fcn.100f4085
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 0x10011d22
mov eax, dword [esp + 0x2c]
push eax
call fcn.100f4085
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 0x10011d33
sub eax, edx
cmp byte [esi + eax + 1], bl
lea esi, [esi + eax + 1]
jne 0x10011c31
mov ecx, dword [esp + 0x14]
push ecx
call fcn.100f407a
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 0x10011d65
sub eax, edx
lea esi, [esi + eax + 1]
mov dword [esp + 0x894], 0xffffffff
mov dword [esp + 0x18], esi
cmp dword [esp + 0x80], ebp
jb 0x10011d97
mov edx, dword [esp + 0x6c]
push edx
call fcn.100f4085
add esp, 4
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
cmp byte [esi], bl
jne 0x10011a00
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.100f30a6
add esp, 0x884
ret 4