Function at 0x1000a860
Capabilities:
Access peb ldr_data
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1002cce1
mov eax, dword fs:[0]
push eax
mov eax, 0x107c
call fcn.1001c710
mov eax, dword [0x10037c38]
xor eax, esp
mov dword [esp + 0x1078], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10037c38]
xor eax, esp
push eax
lea eax, [esp + 0x1090]
mov dword fs:[0], eax
mov eax, dword [esp + 0x10a4]
mov ebp, dword [esp + 0x10a0]
xor edi, edi
push 0x7fe
mov ebx, ecx
lea edx, [esp + 0x92]
xor ecx, ecx
push edi
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
mov word [esp + 0x98], cx
call fcn.1001a4c0
add esp, 0xc
push 0x7fe
lea ecx, [esp + 0x892]
xor eax, eax
push edi
push ecx
mov word [esp + 0x898], ax
call fcn.1001a4c0
xor ecx, ecx
mov esi, 0x7fff
add esp, 0xc
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1000e081
mov dword [esp + 0x1c], eax
mov eax, 7
xor ecx, ecx
xor edx, edx
add esp, 4
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], edi
mov word [esp + 0x58], cx
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], edi
mov word [esp + 0x74], dx
mov dword [esp + 0x1098], edi
mov edi, dword [ebx + 0x10]
cmp dword [ebx + 0xc], edi
jbe 0x1000a962
call fcn.10018c77
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx]
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ecx
cmp ecx, dword [ebx + 0x10]
jbe 0x1000a97d
call fcn.10018c77
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov eax, dword [ebx]
push edi
push edx
push ecx
push eax
lea eax, [esp + 0x40]
push eax
call fcn.1000bcd0
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
push ebx
push 0x7fff
push ecx
push ebp
call edi
mov ecx, eax
mov dword [esp + 0x1c], ecx
cmp ecx, 0x7ffd
jne 0x1000aa10
mov edx, dword [esp + 0x18]
push edx
call fcn.1000e076
add esp, 4
cmp esi, 0x100000
jae 0x1000a9d0
add esi, esi
jmp 0x1000a9d6
add esi, 0x100000
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1000e081
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x1000ab5c
push ebx
push esi
push eax
push ebp
call edi
lea ecx, [esi - 2]
mov dword [esp + 0x1c], eax
cmp eax, ecx
je 0x1000a9b7
mov ecx, eax
xor ebp, ebp
xor esi, esi
lea edi, [ebp + 8]
test ecx, ecx
jbe 0x1000abfa
mov edx, dword [esp + 0x18]
movzx eax, word [edx + ebp*2]
test ax, ax
jne 0x1000abae
lea eax, [esp + 0x88c]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000aa40
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x890]
lea esi, [esp + 0x58]
call fcn.1000bd90
push str.__t_r_n
lea ebx, [esp + 0x3c]
call fcn.1000a750
add esp, 4
push 0xffffffffffffffff
push 0
mov ecx, esi
mov byte [esp + 0x10a0], 1
call fcn.1000b300
mov byte [esp + 0x1098], 0
cmp dword [esp + 0x50], edi
jb 0x1000aa9f
mov eax, dword [esp + 0x3c]
push eax
call fcn.1000e076
add esp, 4
lea eax, [esp + 0x8c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000aab0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x90]
lea esi, [esp + 0x74]
call fcn.1000bd90
push str.__t_r_n
lea ebx, [esp + 0x3c]
call fcn.1000a750
add esp, 4
push 0xffffffffffffffff
push 0
mov ecx, esi
mov byte [esp + 0x10a0], 2
call fcn.1000b300
mov byte [esp + 0x1098], 0
cmp dword [esp + 0x50], edi
jb 0x1000ab0f
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.1000e076
add esp, 4
mov ebx, dword [esp + 0x28]
lea edx, [esp + 0x54]
push edx
call fcn.1000b1f0
xor esi, esi
push 0x400
lea eax, [esp + 0x90]
push esi
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
call fcn.1001a4c0
add esp, 0xc
push 0x400
lea ecx, [esp + 0x890]
push esi
push ecx
call fcn.1001a4c0
mov ecx, dword [esp + 0x28]
add esp, 0xc
jmp 0x1000abf1
mov edi, 8
cmp dword [esp + 0x88], edi
jb 0x1000ab77
mov edx, dword [esp + 0x74]
push edx
call fcn.1000e076
add esp, 4
xor eax, eax
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
mov word [esp + 0x74], ax
cmp dword [esp + 0x6c], edi
jb 0x1000aba7
mov ecx, dword [esp + 0x58]
push ecx
call fcn.1000e076
add esp, 4
xor eax, eax
jmp 0x1000ac70
cmp ax, 0x3d
jne 0x1000abc0
mov dword [esp + 0x24], 1
xor esi, esi
jmp 0x1000abf1
cmp ax, 0x3b
jne 0x1000abd0
mov dword [esp + 0x20], 1
jmp 0x1000abf1
cmp dword [esp + 0x20], 0
jne 0x1000abf1
cmp dword [esp + 0x24], 0
je 0x1000abe8
mov word [esp + esi*2 + 0x8c], ax
jmp 0x1000abf0
mov word [esp + esi*2 + 0x88c], ax
inc esi
inc ebp
cmp ebp, ecx
jb 0x1000aa1f
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1000ac0b
push eax
call fcn.1000e076
add esp, 4
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp dword [esp + 0x88], edi
jb 0x1000ac3e
mov edx, dword [esp + 0x74]
push edx
call fcn.1000e076
add esp, 4
xor eax, eax
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
mov word [esp + 0x74], ax
cmp dword [esp + 0x6c], edi
jb 0x1000ac6e
mov ecx, dword [esp + 0x58]
push ecx
call fcn.1000e076
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x1090]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1078]
xor ecx, esp
call fcn.100188db
add esp, 0x1088
ret