Function at 0x101cc39
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x10280b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], eax
jne 0x101cc62
xor eax, eax
jmp 0x101ceb2
cmp byte [eax], 0
je 0x101cc5b
push ebx
push edi
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
push esi
push esi
push 2
push esi
push esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], esi
call sub.WINSPOOL.DRV_EnumPrinterDriversA
cmp dword [ebp - 0x50], esi
je 0x101ce2d
push dword [ebp - 0x50]
call fcn.0101b999
mov edi, eax
cmp edi, esi
je 0x101ce2d
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
push edi
push 2
push esi
push esi
call sub.WINSPOOL.DRV_EnumPrinterDriversA
cmp eax, 1
jne 0x101ccff
cmp dword [ebp - 0x54], esi
jbe 0x101ccff
lea ebx, [edi + 4]
mov eax, dword [ebx]
test eax, eax
je 0x101ccd9
push dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x101cce4
inc esi
add ebx, 0x18
cmp esi, dword [ebp - 0x54]
jb 0x101ccc5
jmp 0x101ccff
imul esi, esi, 0x18
add esi, edi
push dword [esi + 0xc]
call fcn.0101ba61
push dword [esi + 0x10]
mov dword [ebp - 0x48], eax
call fcn.0101ba61
mov dword [ebp - 0x4c], eax
push edi
call fcn.0101b7bb
cmp dword [ebp - 0x48], 0
je 0x101cd2c
push 0x5c
push dword [ebp - 0x48]
call fcn.01020be0
test eax, eax
pop ecx
pop ecx
je 0x101cd20
mov byte [eax], 0
jmp 0x101cd2c
push dword [ebp - 0x48]
call fcn.0101b7bb
and dword [ebp - 0x48], 0
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x101ce2d
push 0x5c
push ebx
call fcn.01015440
test eax, eax
pop ecx
pop ecx
jne 0x101cd9c
cmp dword [ebp - 0x48], eax
je 0x101cd9c
push dword [ebp - 0x48]
call fcn.0101b9e9
mov esi, eax
push ebx
inc esi
call fcn.0101b9e9
lea esi, [esi + eax + 1]
cmp esi, 2
jbe 0x101cd9c
push esi
call fcn.0101b999
mov edi, eax
test edi, edi
je 0x101cd9c
push ebx
push dword [ebp - 0x48]
push 0x1005014
push esi
push edi
call fcn.0101b87f
add esp, 0x14
test eax, eax
jne 0x101cd92
push ebx
call fcn.0101b7bb
mov dword [ebp - 0x4c], edi
xor edi, edi
test edi, edi
je 0x101cd9c
push edi
call fcn.0101b7bb
cmp dword [ebp - 0x4c], 0
je 0x101ce2d
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.01008e20
add esp, 0xc
push dword [ebp - 0x4c]
lea eax, [ebp - 0x44]
push 0x40
push eax
push 0x100367a
push 0x1005054
push 0x100502c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, eax
test esi, esi
jbe 0x101ce2d
cmp dword [ebp - 0x48], 0
je 0x101ce1e
push dword [ebp - 0x48]
call fcn.0101b9e9
lea esi, [eax + esi + 2]
push esi
call fcn.0101b999
mov edi, eax
test edi, edi
je 0x101ce1e
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x48]
push 0x1005014
push esi
push edi
call fcn.0101b87f
add esp, 0x14
test eax, eax
je 0x101ce1a
push edi
call fcn.0101b7bb
xor edi, edi
test edi, edi
jne 0x101ce8c
lea eax, [ebp - 0x44]
push eax
call fcn.0101ba61
mov edi, eax
test edi, edi
jne 0x101ce8c
push 0x100501c
call fcn.0101ba61
cmp dword [ebp - 0x48], 0
mov edi, eax
je 0x101ce8c
push dword [ebp - 0x48]
call fcn.0101b9e9
mov esi, eax
push edi
inc esi
call fcn.0101b9e9
lea esi, [esi + eax + 1]
cmp esi, 2
jbe 0x101ce8c
push esi
call fcn.0101b999
mov ebx, eax
test ebx, ebx
je 0x101ce8c
push edi
push dword [ebp - 0x48]
push 0x1005014
push esi
push ebx
call fcn.0101b87f
add esp, 0x14
test eax, eax
jne 0x101ce86
push edi
call fcn.0101b7bb
mov edi, ebx
jmp 0x101ce8c
push ebx
call fcn.0101b7bb
cmp dword [ebp - 0x4c], 0
je 0x101ce9a
push dword [ebp - 0x4c]
call fcn.0101b7bb
cmp dword [ebp - 0x48], 0
je 0x101cea8
push dword [ebp - 0x48]
call fcn.0101b7bb
mov eax, dword [ebp - 0x58]
mov dword [eax + 8], edi
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01008e04
leave
ret 4