Function at 0x1006b8a0
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100a6796
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x100cba70]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100cba70]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x158]
xor ebx, ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0xf8], 0xf
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
mov dword [esp + 0x150], ebx
mov eax, dword [0x100ad8f4]
push eax
mov esi, 0x100ccef4
call fcn.100663e0
add esp, 4
test al, al
je 0x1006ba4c
push 0x100aefe8
lea ecx, [esp + 0xac]
call fcn.1008d3d0
mov esi, eax
mov ecx, dword [esp + 0x15c]
push 0xa
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x158], 1
call fcn.1008d590
mov edi, eax
push str.IniReader::buildSectionsData__bufferSize_
lea ecx, [esp + 0x4c]
mov byte [esp + 0x154], 2
call fcn.1008d3d0
lea edx, [esp + 0x8c]
push edx
push esi
push edi
mov ecx, eax
mov byte [esp + 0x15c], 3
call fcn.1008d660
mov ecx, eax
call fcn.1008d660
mov ecx, eax
call fcn.1008d7b0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0xec]
mov byte [esp + 0x15c], 4
call fcn.100023e0
cmp dword [esp + 0xa4], 0x10
jb 0x1006b9c9
mov ecx, dword [esp + 0x90]
push ecx
call fcn.10080518
add esp, 4
mov edi, 0x10
cmp dword [esp + 0x60], edi
mov esi, 0xf
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], 0
jb 0x1006b9fc
mov edx, dword [esp + 0x4c]
push edx
call fcn.10080518
add esp, 4
cmp dword [esp + 0x7c], edi
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], 0
jb 0x1006ba1c
mov eax, dword [esp + 0x68]
push eax
call fcn.10080518
add esp, 4
mov byte [esp + 0x150], 0
cmp dword [esp + 0xc0], edi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], 0
jb 0x1006ba54
mov ecx, dword [esp + 0xac]
push ecx
call fcn.10080518
add esp, 4
jmp 0x1006ba54
mov esi, 0xf
lea edi, [esi + 1]
mov edx, dword [0x100ad8f4]
push 1
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x10c]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], 0
call fcn.100023e0
push 0x100ccef4
mov byte [esp + 0x178], 5
call fcn.10002800
push eax
lea ecx, [esp + 0x128]
mov byte [esp + 0x17c], 0
call fcn.1008d030
lea ecx, [esp + 0x3c]
mov byte [esp + 0x150], 6
call fcn.1004d080
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebx
mov byte [esp + 0x150], 7
cmp dword [ebp + 8], ebx
jne 0x1006bb2e
cmp byte [esp + 0x138], 0
je 0x1006bae4
push ebx
lea ecx, [esp + 0x100]
call fcn.1008af40
lea ecx, [esp + 0x3c]
call fcn.10020b80
mov ecx, dword [esp + 0x40]
push ecx
call fcn.10080518
add esp, 4
lea ecx, [esp + 0xfc]
mov byte [esp + 0x150], 0
call fcn.1008bb30
cmp dword [esp + 0xf8], edi
jb 0x1006bb27
mov edx, dword [esp + 0xe4]
push edx
call fcn.10080518
add esp, 4
xor al, al
jmp 0x1006c43b
mov eax, dword [esp + 0x15c]
push eax
call fcn.1007f852
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x1006bbdc
cmp byte [esp + 0x138], 0
je 0x1006bb8e
push str.Could_not_allocate_memory_for_the_buffer.
lea ecx, [esp + 0x68]
call fcn.10002aa0
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x100]
mov byte [esp + 0x154], 8
call fcn.1008d180
cmp dword [esp + 0x7c], edi
jb 0x1006bb8e
mov edx, dword [esp + 0x68]
push edx
call fcn.10080518
add esp, 4
lea ecx, [esp + 0x3c]
call fcn.10020b80
mov eax, dword [esp + 0x40]
push eax
call fcn.10080518
add esp, 4
lea ecx, [esp + 0xfc]
mov byte [esp + 0x150], 0
call fcn.1008bb30
cmp dword [esp + 0xf8], edi
jb 0x1006bb27
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.10080518
add esp, 4
xor al, al
jmp 0x1006c43b
mov eax, dword [ebp + 4]
mov eax, dword [eax]
mov edi, ebp
mov dword [esp + 0x28], eax
cmp edi, ebx
mov esi, dword [ebp + 4]
je 0x1006bbf2
cmp edi, ebp
je 0x1006bbf7
call fcn.10076ae4
cmp dword [esp + 0x28], esi
je 0x1006c3d0
mov edx, dword [esp + 0x15c]
mov eax, dword [esp + 0x18]
push edx
push ebx
push eax
call fcn.1007a340
add esp, 0xc
cmp dword [ebp + 0x3c], 0x10
jb 0x1006bc22
mov esi, dword [ebp + 0x28]
jmp 0x1006bc25
lea esi, [ebp + 0x28]
cmp edi, ebx
jne 0x1006bc2e
call fcn.10076ae4
mov ecx, dword [esp + 0x28]
cmp ecx, dword [edi + 4]
jne 0x1006bc3c
call fcn.10076ae4
mov ebx, dword [esp + 0x28]
add ebx, 8
cmp dword [ebx + 0x18], 0x10
jb 0x1006bc4e
mov eax, dword [ebx + 4]
jmp 0x1006bc51
lea eax, [ebx + 4]
mov edx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x18]
push esi
push edx
push ecx
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
ja 0x1006bd3f
cmp byte [esp + 0x138], 0
je 0x1006be50
push str.Could_not_retrieve_key_value_pairs_for_section_
lea ecx, [esp + 0xac]
call fcn.1008d3d0
mov esi, eax
mov byte [esp + 0x150], 9
mov edx, dword [esp + 0x28]
cmp edx, dword [edi + 4]
jne 0x1006bca9
call fcn.10076ae4
lea eax, [esp + 0x8c]
push eax
push ebx
mov ecx, esi
call fcn.1008d660
mov ecx, eax
call fcn.1008d7b0
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x100]
mov byte [esp + 0x154], 0xa
call fcn.1008d180
mov esi, 0x10
cmp dword [esp + 0xa4], esi
jb 0x1006bcfa
mov edx, dword [esp + 0x90]
push edx
call fcn.10080518
add esp, 4
mov byte [esp + 0x150], 7
cmp dword [esp + 0xc0], esi
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], 0
mov byte [esp + 0x90], 0
jb 0x1006be50
mov eax, dword [esp + 0xac]
push eax
call fcn.10080518
jmp 0x1006be4d
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x30]
call fcn.1006b720
mov byte [esp + 0x150], 0xb
cmp dword [esp + 0x38], 0
jne 0x1006be6d
cmp byte [esp + 0x138], 0
je 0x1006be2a
push str.No_key_value_pairs_found_for_section__
lea ecx, [esp + 0xac]
call fcn.1008d3d0
mov esi, eax
mov byte [esp + 0x150], 0xc
mov ecx, dword [esp + 0x28]
cmp ecx, dword [edi + 4]
jne 0x1006bd96
call fcn.10076ae4
lea edx, [esp + 0x8c]
push edx
push 0x100afef8
push ebx
mov ecx, esi
call fcn.1008d660
mov ecx, eax
call fcn.1008d680
mov ecx, eax
call fcn.1008d7b0
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x100]
mov byte [esp + 0x154], 0xd
call fcn.1008d180
mov esi, 0x10
cmp dword [esp + 0xa4], esi
jb 0x1006bdf3
mov ecx, dword [esp + 0x90]
push ecx
call fcn.10080518
add esp, 4
cmp dword [esp + 0xc0], esi
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], 0
mov byte [esp + 0x90], 0
jb 0x1006be2a
mov edx, dword [esp + 0xac]
push edx
call fcn.10080518
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 7
call fcn.10020b80
mov eax, dword [esp + 0x34]
push eax
call fcn.10080518
mov dword [esp + 0x38], 0
add esp, 4
mov esi, dword [esp + 0x28]
mov edi, ebp
cmp esi, dword [edi + 4]
jne 0x1006be60
call fcn.10076ae4
mov ecx, dword [esi]
mov dword [esp + 0x28], ecx
xor ebx, ebx
jmp 0x1006bbe7
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
lea ecx, [esp + 0x30]
mov ebx, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
test ebx, ebx
mov esi, dword [esp + 0x34]
je 0x1006be91
lea edx, [esp + 0x30]
cmp ebx, edx
je 0x1006be96
call fcn.10076ae4
cmp dword [esp + 0x20], esi
je 0x1006be2a
mov eax, dword [esp + 0x15c]
mov ecx, dword [esp + 0x18]
push eax
push 0
push ecx
call fcn.1007a340
add esp, 0xc
cmp dword [ebp + 0x3c], 0x10
jb 0x1006bebe
mov edi, dword [ebp + 0x28]
jmp 0x1006bec1
lea edi, [ebp + 0x28]
test ebx, ebx
jne 0x1006beca
call fcn.10076ae4
mov edx, dword [esp + 0x20]
cmp edx, dword [ebx + 4]
jne 0x1006bed8
call fcn.10076ae4
mov ebp, dword [esp + 0x20]
add ebp, 8
cmp dword [ebp + 0x18], 0x10
jb 0x1006beea
mov esi, dword [ebp + 4]
jmp 0x1006beed
lea esi, [ebp + 4]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cmp ecx, dword [eax + 4]
jne 0x1006beff
call fcn.10076ae4
mov ebx, dword [esp + 0x28]
add ebx, 8
cmp dword [ebx + 0x18], 0x10
jb 0x1006bf11
mov eax, dword [ebx + 4]
jmp 0x1006bf14
lea eax, [ebx + 4]
mov edx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x18]
push edi
push edx
push ecx
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
ja 0x1006c04e
cmp byte [esp + 0x138], 0
je 0x1006c3ab
push str._under_section__
lea ecx, [esp + 0xac]
call fcn.1008d3d0
mov esi, eax
push str.Could_not_retrieve_value_for_key__
lea ecx, [esp + 0x68]
mov byte [esp + 0x154], 0xe
call fcn.1008d3d0
mov edi, eax
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x150], 0xf
mov edx, dword [esp + 0x28]
cmp edx, dword [eax + 4]
jne 0x1006bf87
call fcn.10076ae4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp eax, dword [ecx + 4]
jne 0x1006bf99
call fcn.10076ae4
lea edx, [esp + 0x48]
push edx
push 0x100afef8
push ebx
push esi
push ebp
mov ecx, edi
call fcn.1008d660
mov ecx, eax
call fcn.1008d660
mov ecx, eax
call fcn.1008d660
mov ecx, eax
call fcn.1008d680
mov ecx, eax
call fcn.1008d7b0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x100]
mov byte [esp + 0x154], 0x10
call fcn.1008d180
cmp dword [esp + 0x60], 0x10
jb 0x1006bff6
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.10080518
add esp, 4
xor ebx, ebx
mov esi, 0x10
cmp dword [esp + 0x7c], esi
mov edi, 0xf
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
jb 0x1006c021
mov edx, dword [esp + 0x68]
push edx
call fcn.10080518
add esp, 4
mov byte [esp + 0x150], 0xb
cmp dword [esp + 0xc0], esi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
jb 0x1006c3ab
mov eax, dword [esp + 0xac]
jmp 0x1006c3a2
xor ebx, ebx
mov edi, 0xf
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
mov byte [esp + 0x150], 0x11
mov esi, dword [esp + 0x18]
mov eax, esi
lea edx, [eax + 1]
jmp 0x1006c080
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1006c080
sub eax, edx
je 0x1006c0ee
mov eax, esi
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], cl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1006c0a0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x50]
call fcn.10002b10
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x98]
mov byte [esp + 0x15c], 0x12
call fcn.100023e0
mov byte [esp + 0x150], 0x11
cmp dword [esp + 0x60], 0x10
jb 0x1006c0ee
mov edx, dword [esp + 0x4c]
push edx
call fcn.10080518
add esp, 4
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
lea edi, [ebp + 0xc]
mov ebx, eax
test edi, edi
mov esi, dword [edi + 4]
mov dword [esp + 0x84], ebx
je 0x1006c10e
cmp edi, edi
je 0x1006c113
call fcn.10076ae4
cmp ebx, esi
je 0x1006c389
test edi, edi
jne 0x1006c124
call fcn.10076ae4
cmp ebx, dword [edi + 4]
jne 0x1006c12e
call fcn.10076ae4
mov ecx, dword [esp + 0x28]
mov eax, ebp
cmp ecx, dword [eax + 4]
jne 0x1006c13e
call fcn.10076ae4
cmp dword [ebx + 0x20], 0x10
mov edi, dword [ebx + 0x1c]
jb 0x1006c14c
mov edx, dword [ebx + 0xc]
jmp 0x1006c14f
lea edx, [ebx + 0xc]
mov ebx, dword [esp + 0x28]
mov esi, dword [ebx + 0x1c]
add ebx, 8
cmp esi, edi
mov eax, esi
mov ecx, esi
jb 0x1006c163
mov ecx, edi
cmp dword [ebx + 0x18], 0x10
jb 0x1006c16e
mov eax, dword [ebx + 4]
jmp 0x1006c171
lea eax, [ebx + 4]
push ecx
push edx
push eax
call fcn.100022f0
add esp, 0xc
test eax, eax
jne 0x1006c36a
cmp esi, edi
jb 0x1006c36a
cmp esi, edi
setne al
test eax, eax
jne 0x1006c36a
mov ebx, dword [esp + 0x84]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax]
add ebx, 0x24
mov ebp, ebx
mov edi, eax
lea esp, [esp]
test ebp, ebp
mov esi, dword [ebx + 4]
je 0x1006c1bb
cmp ebp, ebx
je 0x1006c1c0
call fcn.10076ae4
cmp edi, esi
je 0x1006c26c
test ebp, ebp
jne 0x1006c1d1
call fcn.10076ae4
cmp edi, dword [ebp + 4]
jne 0x1006c1db
call fcn.10076ae4
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cmp edx, dword [eax + 4]
jne 0x1006c1ed
call fcn.10076ae4
mov edx, dword [esp + 0x20]
mov ebp, dword [edx + 0x1c]
add edx, 8
cmp dword [edx + 0x18], 0x10
jb 0x1006c202
mov edx, dword [edx + 4]
jmp 0x1006c205
add edx, 4
mov esi, dword [edi + 0x1c]
mov eax, esi
cmp eax, esi
jae 0x1006c20e
cmp esi, ebp
mov ecx, esi
jb 0x1006c216
mov ecx, ebp
cmp dword [edi + 0x20], 0x10
jb 0x1006c221
mov eax, dword [edi + 0xc]
jmp 0x1006c224
lea eax, [edi + 0xc]
push ecx
push edx
push eax
call fcn.100022f0
add esp, 0xc
test eax, eax
jne 0x1006c240
cmp esi, ebp
jb 0x1006c240
cmp esi, ebp
setne al
test eax, eax
je 0x1006c253
mov ebp, ebx
cmp edi, dword [ebp + 4]
jne 0x1006c24c
call fcn.10076ae4
mov edi, dword [edi]
jmp 0x1006c1b0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x94]
push ecx
lea ecx, [edi + 0x24]
call fcn.100023e0
jmp 0x1006c36a
xor ecx, ecx
mov eax, 0xf
mov dword [esp + 0xc0], eax
mov dword [esp + 0xbc], ecx
mov byte [esp + 0xac], cl
mov dword [esp + 0xdc], eax
mov dword [esp + 0xd8], ecx
mov byte [esp + 0xc8], cl
mov byte [esp + 0x150], 0x13
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cmp edx, dword [eax + 4]
jne 0x1006c2b7
call fcn.10076ae4
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push 0
add eax, 8
push eax
lea ecx, [esp + 0xb4]
call fcn.100023e0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0xd0]
call fcn.100023e0
mov esi, dword [ebx + 4]
mov eax, dword [esi + 4]
lea edx, [esp + 0xa8]
push edx
push eax
push esi
call fcn.1006d840
mov ecx, ebx
mov edi, eax
call fcn.1006d8e0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov esi, 0x10
mov dword [eax], edi
mov byte [esp + 0x150], 0x11
cmp dword [esp + 0xdc], esi
jb 0x1006c333
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.10080518
add esp, 4
cmp dword [esp + 0xc0], esi
mov dword [esp + 0xdc], 0xf
mov dword [esp + 0xd8], 0
mov byte [esp + 0xc8], 0
jb 0x1006c36a
mov edx, dword [esp + 0xac]
push edx
call fcn.10080518
add esp, 4
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x84]
cmp esi, dword [ebp + 0x10]
lea edi, [ebp + 0xc]
jne 0x1006c382
call fcn.10076ae4
mov ebx, dword [esi]
jmp 0x1006c0fc
mov byte [esp + 0x150], 0xb
cmp dword [esp + 0xa4], 0x10
jb 0x1006c3ab
mov eax, dword [esp + 0x90]
push eax
call fcn.10080518
add esp, 4
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp esi, dword [ecx + 4]
jne 0x1006c3bd
call fcn.10076ae4
mov edx, dword [esi]
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x20], edx
jmp 0x1006be81
mov edx, dword [esp + 0x18]
push edx
call fcn.10080547
add esp, 4
cmp byte [esp + 0x138], 0
je 0x1006c3f5
push 1
lea ecx, [esp + 0x100]
call fcn.1008af40
lea ecx, [esp + 0x3c]
call fcn.10020b80
mov eax, dword [esp + 0x40]
push eax
call fcn.10080518
add esp, 4
lea ecx, [esp + 0xfc]
mov byte [esp + 0x150], 0
call fcn.1008bb30
cmp dword [esp + 0xf8], 0x10
jb 0x1006c439
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.10080518
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.10079ea5
add esp, 0x140
ret 8