Function at 0x101cdbd
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x10290b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x9c], eax
jne 0x101cdef
xor eax, eax
jmp 0x101d0cc
cmp word [eax], bx
je 0x101cde8
push esi
push edi
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x90]
push eax
push ebx
push ebx
push 2
push ebx
push ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], ebx
call sub.WINSPOOL.DRV_EnumPrinterDriversW
cmp dword [ebp - 0x90], ebx
je 0x101d02d
push dword [ebp - 0x90]
call fcn.0101c406
mov edi, eax
cmp edi, ebx
je 0x101d02d
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x90]
push edi
push 2
push ebx
push ebx
call sub.WINSPOOL.DRV_EnumPrinterDriversW
cmp eax, 1
jne 0x101cec0
xor esi, esi
cmp dword [ebp - 0x94], ebx
jbe 0x101cec0
lea ebx, [edi + 4]
mov eax, dword [ebx]
test eax, eax
je 0x101ce8f
push dword [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x101ce9d
inc esi
add ebx, 0x18
cmp esi, dword [ebp - 0x94]
jb 0x101ce78
jmp 0x101cebe
imul esi, esi, 0x18
add esi, edi
push dword [esi + 0xc]
call fcn.0101c524
push dword [esi + 0x10]
mov dword [ebp - 0x88], eax
call fcn.0101c524
mov dword [ebp - 0x8c], eax
xor ebx, ebx
push edi
call fcn.0101c26d
cmp dword [ebp - 0x88], ebx
je 0x101cef7
push 0x5c
push dword [ebp - 0x88]
call fcn.0102111d
cmp eax, ebx
pop ecx
pop ecx
je 0x101cee6
mov word [eax], bx
jmp 0x101cef7
push dword [ebp - 0x88]
call fcn.0101c26d
mov dword [ebp - 0x88], ebx
mov ebx, dword [ebp - 0x8c]
test ebx, ebx
je 0x101d02b
push 0x5c
push ebx
call fcn.01021156
test eax, eax
pop ecx
pop ecx
jne 0x101cf79
cmp dword [ebp - 0x88], eax
je 0x101cf79
push dword [ebp - 0x88]
call fcn.0101c492
mov esi, eax
push ebx
inc esi
call fcn.0101c492
lea esi, [esi + eax + 1]
cmp esi, 2
jbe 0x101cf79
lea eax, [esi + esi]
push eax
call fcn.0101c406
mov edi, eax
test edi, edi
je 0x101cf79
push ebx
push dword [ebp - 0x88]
push 0x1004c2c
push esi
push edi
call fcn.01005817
add esp, 0x14
test eax, eax
jne 0x101cf6f
push ebx
call fcn.0101c26d
mov dword [ebp - 0x8c], edi
xor edi, edi
test edi, edi
je 0x101cf79
push edi
call fcn.0101c26d
cmp dword [ebp - 0x8c], 0
je 0x101d02b
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.01009000
add esp, 0xc
push dword [ebp - 0x8c]
lea eax, [ebp - 0x84]
push 0x40
push eax
push 0x10013b4
push 0x100515c
push 0x1005088
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
test esi, esi
jbe 0x101d02b
cmp dword [ebp - 0x88], 0
je 0x101d019
push dword [ebp - 0x88]
call fcn.0101c492
lea esi, [eax + esi + 2]
lea eax, [esi + esi]
push eax
call fcn.0101c406
mov edi, eax
test edi, edi
je 0x101d019
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x88]
push 0x1004c2c
push esi
push edi
call fcn.01005817
add esp, 0x14
test eax, eax
je 0x101d015
push edi
call fcn.0101c26d
xor edi, edi
test edi, edi
jne 0x101d097
lea eax, [ebp - 0x84]
push eax
call fcn.0101c524
mov edi, eax
test edi, edi
jne 0x101d097
xor ebx, ebx
push 0x1005140
call fcn.0101c524
cmp dword [ebp - 0x88], ebx
mov edi, eax
je 0x101d099
push dword [ebp - 0x88]
call fcn.0101c492
mov esi, eax
push edi
inc esi
call fcn.0101c492
lea esi, [esi + eax + 1]
cmp esi, 2
jbe 0x101d099
lea eax, [esi + esi]
push eax
call fcn.0101c406
mov ebx, eax
test ebx, ebx
je 0x101d097
push edi
push dword [ebp - 0x88]
push 0x1004c2c
push esi
push ebx
call fcn.01005817
add esp, 0x14
test eax, eax
jne 0x101d091
push edi
call fcn.0101c26d
mov edi, ebx
jmp 0x101d097
push ebx
call fcn.0101c26d
xor ebx, ebx
cmp dword [ebp - 0x8c], ebx
je 0x101d0ac
push dword [ebp - 0x8c]
call fcn.0101c26d
cmp dword [ebp - 0x88], ebx
je 0x101d0bf
push dword [ebp - 0x88]
call fcn.0101c26d
mov eax, dword [ebp - 0x98]
mov dword [eax + 8], edi
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.01008fe1
leave
ret 4