Function at 0x10004a60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b266
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x10071008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0x38]
push 0x410
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.1000fe50
add esp, 0xc
mov edx, esi
cmp dword [esi + 0x14], 8
jb 0x10004aba
mov edx, dword [esi]
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
push edx
cmovae ecx, dword [ebp + 0x20]
lea edx, [ebp - 0x420]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0x208
cmovae eax, dword [ebp + 8]
push edx
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x10004d08
push eax
push 0x10021230
lea ecx, [ebp - 0x468]
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
call fcn.10001860
mov byte [ebp - 4], 2
lea edx, [ebp + 0x20]
cmp dword [ebp + 0x34], 8
mov dword [ebp - 0x440], 0
cmovae edx, dword [ebp + 0x20]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10004b50
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x450]
call fcn.10001860
mov byte [ebp - 4], 3
lea edx, [ebp + 8]
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x428], 0
cmovae edx, dword [ebp + 8]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10004ba0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x438]
call fcn.10001860
cmp dword [esi + 0x14], 8
jb 0x10004bc4
mov esi, dword [esi]
cmp dword [ebp - 0x454], 8
lea edx, [ebp - 0x468]
push esi
cmovae edx, dword [ebp - 0x468]
lea ecx, [ebp - 0x450]
cmp dword [ebp - 0x43c], 8
lea eax, [ebp - 0x438]
push edx
cmovae ecx, dword [ebp - 0x450]
cmp dword [ebp - 0x424], 8
push ecx
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x10004c4a
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004c40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004dd5
push edx
push ecx
call fcn.1000e99c
add esp, 8
mov edx, dword [ebp - 0x43c]
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
cmp edx, 8
jb 0x10004ca7
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004c9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004dda
push edx
push ecx
call fcn.1000e99c
add esp, 8
mov edx, dword [ebp - 0x454]
xor eax, eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
cmp edx, 8
jb 0x10004d04
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004cfa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004ddf
push edx
push ecx
call fcn.1000e99c
add esp, 8
xor bl, bl
jmp 0x10004d31
lea edx, [ebp - 0x420]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10004d11
sub edx, esi
lea eax, [ebp - 0x420]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.10001860
mov bl, 1
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x10004d6b
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004d61
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004de4
push edx
push ecx
call fcn.1000e99c
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x10004db5
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004dab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004de9
push edx
push ecx
call fcn.1000e99c
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000e95b
mov esp, ebp
pop ebp
ret 0x34
call fcn.100121d2
call fcn.100121d2
call fcn.100121d2
call fcn.100121d2
call fcn.100121d2
int3