Function at 0x101c2cc
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x10280b8]
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 0x101c2fe
xor eax, eax
jmp 0x101c5db
cmp word [eax], bx
je 0x101c2f7
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 0x101c53c
push dword [ebp - 0x90]
call fcn.0101b999
mov edi, eax
cmp edi, ebx
je 0x101c53c
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 0x101c3cf
xor esi, esi
cmp dword [ebp - 0x94], ebx
jbe 0x101c3cf
lea ebx, [edi + 4]
mov eax, dword [ebx]
test eax, eax
je 0x101c39e
push dword [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x101c3ac
inc esi
add ebx, 0x18
cmp esi, dword [ebp - 0x94]
jb 0x101c387
jmp 0x101c3cd
imul esi, esi, 0x18
add esi, edi
push dword [esi + 0xc]
call fcn.0101bab7
push dword [esi + 0x10]
mov dword [ebp - 0x88], eax
call fcn.0101bab7
mov dword [ebp - 0x8c], eax
xor ebx, ebx
push edi
call fcn.0101b7bb
cmp dword [ebp - 0x88], ebx
je 0x101c406
push 0x5c
push dword [ebp - 0x88]
call fcn.01020700
cmp eax, ebx
pop ecx
pop ecx
je 0x101c3f5
mov word [eax], bx
jmp 0x101c406
push dword [ebp - 0x88]
call fcn.0101b7bb
mov dword [ebp - 0x88], ebx
mov ebx, dword [ebp - 0x8c]
test ebx, ebx
je 0x101c53a
push 0x5c
push ebx
call fcn.010206d5
test eax, eax
pop ecx
pop ecx
jne 0x101c488
cmp dword [ebp - 0x88], eax
je 0x101c488
push dword [ebp - 0x88]
call fcn.0101ba25
mov esi, eax
push ebx
inc esi
call fcn.0101ba25
lea esi, [esi + eax + 1]
cmp esi, 2
jbe 0x101c488
lea eax, [esi + esi]
push eax
call fcn.0101b999
mov edi, eax
test edi, edi
je 0x101c488
push ebx
push dword [ebp - 0x88]
push 0x1004be8
push esi
push edi
call fcn.01005678
add esp, 0x14
test eax, eax
jne 0x101c47e
push ebx
call fcn.0101b7bb
mov dword [ebp - 0x8c], edi
xor edi, edi
test edi, edi
je 0x101c488
push edi
call fcn.0101b7bb
cmp dword [ebp - 0x8c], 0
je 0x101c53a
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.01008e20
add esp, 0xc
push dword [ebp - 0x8c]
lea eax, [ebp - 0x84]
push 0x40
push eax
push 0x10013a4
push 0x1004ffc
push 0x1004fb0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
test esi, esi
jbe 0x101c53a
cmp dword [ebp - 0x88], 0
je 0x101c528
push dword [ebp - 0x88]
call fcn.0101ba25
lea esi, [eax + esi + 2]
lea eax, [esi + esi]
push eax
call fcn.0101b999
mov edi, eax
test edi, edi
je 0x101c528
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x88]
push 0x1004be8
push esi
push edi
call fcn.01005678
add esp, 0x14
test eax, eax
je 0x101c524
push edi
call fcn.0101b7bb
xor edi, edi
test edi, edi
jne 0x101c5a6
lea eax, [ebp - 0x84]
push eax
call fcn.0101bab7
mov edi, eax
test edi, edi
jne 0x101c5a6
xor ebx, ebx
push 0x1004f90
call fcn.0101bab7
cmp dword [ebp - 0x88], ebx
mov edi, eax
je 0x101c5a8
push dword [ebp - 0x88]
call fcn.0101ba25
mov esi, eax
push edi
inc esi
call fcn.0101ba25
lea esi, [esi + eax + 1]
cmp esi, 2
jbe 0x101c5a8
lea eax, [esi + esi]
push eax
call fcn.0101b999
mov ebx, eax
test ebx, ebx
je 0x101c5a6
push edi
push dword [ebp - 0x88]
push 0x1004be8
push esi
push ebx
call fcn.01005678
add esp, 0x14
test eax, eax
jne 0x101c5a0
push edi
call fcn.0101b7bb
mov edi, ebx
jmp 0x101c5a6
push ebx
call fcn.0101b7bb
xor ebx, ebx
cmp dword [ebp - 0x8c], ebx
je 0x101c5bb
push dword [ebp - 0x8c]
call fcn.0101b7bb
cmp dword [ebp - 0x88], ebx
je 0x101c5ce
push dword [ebp - 0x88]
call fcn.0101b7bb
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.01008e04
leave
ret 4