Function at 0x402cf0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4568ba
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x46be4c]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46be4c]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0x1c], esi
mov word [esp + 0x18], 0x2f
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esp + 0x24], edi
call fcn.004048c0
mov dword [esp + 0x30], eax
call fcn.004316f5
mov eax, dword [eax + 4]
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
push ecx
push eax
call fcn.00440f32
add esp, 8
cmp eax, edi
je 0x4035d5
sub eax, dword [esi]
cmp eax, 0xffffffff
je 0x4035d5
mov ecx, esi
call fcn.00401d50
mov eax, dword [esi]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.00440f32
add esp, 8
cmp eax, edi
jne 0x402db1
or eax, 0xffffffff
jmp 0x402db3
sub eax, dword [esi]
add eax, 1
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.00401ea0
push 0x45c724
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x17c], edi
call fcn.00401f00
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 1
call fcn.00402020
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x170], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402e1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
mov eax, dword [esi - 0xc]
cmp eax, edi
je 0x4035ae
test eax, eax
jl 0x4035fd
cmp byte [esi], 0x3f
mov ebp, dword [esp + 0x1c]
mov eax, 1
jne 0x402e43
mov dword [ebp + 0x20], eax
cmp dword [esi - 0xc], 0
jl 0x4035fd
cmp byte [esi], 0x53
jne 0x402e55
mov dword [ebp + 0x24], eax
cmp dword [esi - 0xc], 0
jl 0x4035fd
cmp byte [esi], 0x41
jne 0x402fcd
cmp dword [esp + 0x30], 0xa
mov dword [ebp + 0x28], eax
jne 0x402fcd
add ebp, 0x14
mov ecx, ebp
call fcn.00401440
push 0x22
push esi
call fcn.00440e55
add esp, 8
test eax, eax
jne 0x402e94
or edi, 0xffffffff
jmp 0x402e98
sub eax, esi
mov edi, eax
push 0x45c720
push esi
call fcn.00440f32
add esp, 8
test eax, eax
jne 0x402eaf
or ebx, 0xffffffff
jmp 0x402eb3
sub eax, esi
mov ebx, eax
push 0x45c720
push esi
call fcn.00440f32
add esp, 8
test eax, eax
jne 0x402eca
or eax, 0xffffffff
jmp 0x402ecc
sub eax, esi
sub edi, ebx
sub edi, 1
push edi
add eax, 1
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x20]
call fcn.00401910
push eax
mov ecx, ebp
mov byte [esp + 0x174], 2
call fcn.00402020
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x170], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402f1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x22
push esi
call fcn.00440e55
add esp, 8
test eax, eax
jne 0x402f30
or eax, 0xffffffff
jmp 0x402f32
sub eax, esi
add eax, 1
push eax
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401ea0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 3
call fcn.00402020
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
mov byte [esp + 0x170], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402f7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, ebp
call fcn.00401e00
mov ecx, ebp
call fcn.00401db0
mov ebp, dword [ebp]
cmp dword [ebp - 0xc], 0
je 0x402fbb
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
mov esi, dword [esp + 0x14]
je 0x402fae
mov dword [esp + 0x24], 1
jmp 0x402fcd
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 0x40], 1
jmp 0x402fcd
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
mov dword [edx + 0x178], 1
cmp dword [esi - 0xc], 0
jl 0x4035fd
cmp byte [esi], 0x50
jne 0x403176
mov ebp, dword [esp + 0x1c]
add ebp, 0x14
mov ecx, ebp
call fcn.00401440
push 0x22
push esi
call fcn.00440e55
add esp, 8
test eax, eax
jne 0x403002
or edi, 0xffffffff
jmp 0x403006
sub eax, esi
mov edi, eax
push 0x45c720
push esi
call fcn.00440f32
add esp, 8
test eax, eax
jne 0x40301d
or ebx, 0xffffffff
jmp 0x403021
sub eax, esi
mov ebx, eax
push 0x45c720
push esi
call fcn.00440f32
add esp, 8
test eax, eax
jne 0x403038
or eax, 0xffffffff
jmp 0x40303a
sub eax, esi
sub edi, ebx
sub edi, 1
push edi
add eax, 1
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x20]
call fcn.00401910
push eax
mov ecx, ebp
mov byte [esp + 0x174], 4
call fcn.00402020
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x170], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40308a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x22
push esi
call fcn.00440e55
add esp, 8
test eax, eax
jne 0x40309e
or eax, 0xffffffff
jmp 0x4030a0
sub eax, esi
add eax, 1
push eax
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401ea0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 5
call fcn.00402020
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov byte [esp + 0x170], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4030ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, ebp
call fcn.00401e00
mov ecx, ebp
call fcn.00401db0
push str.Delete_Printer_Name
lea ecx, [esp + 0x38]
call fcn.004027b0
mov eax, dword [esp + 0x34]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x5c], esp
mov esi, esp
push eax
mov byte [esp + 0x178], 6
call fcn.004015c0
add eax, 0x10
mov dword [esi], eax
mov esi, dword [esp + 0x24]
add esp, 4
mov ecx, esi
call fcn.00402870
cmp dword [esp + 0x30], 0xa
mov eax, 1
mov dword [esi + 0x30], eax
jne 0x40314a
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x170], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403172
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
jl 0x4035fd
cmp byte [esi], 0x44
jne 0x40331f
mov ebp, dword [esp + 0x1c]
add ebp, 0x14
mov ecx, ebp
call fcn.00401440
push 0x22
push esi
call fcn.00440e55
add esp, 8
test eax, eax
jne 0x4031ab
or edi, 0xffffffff
jmp 0x4031af
sub eax, esi
mov edi, eax
push 0x45c720
push esi
call fcn.00440f32
add esp, 8
test eax, eax
jne 0x4031c6
or ebx, 0xffffffff
jmp 0x4031ca
sub eax, esi
mov ebx, eax
push 0x45c720
push esi
call fcn.00440f32
add esp, 8
test eax, eax
jne 0x4031e1
or eax, 0xffffffff
jmp 0x4031e3
sub eax, esi
sub edi, ebx
sub edi, 1
push edi
add eax, 1
push eax
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x20]
call fcn.00401910
push eax
mov ecx, ebp
mov byte [esp + 0x174], 7
call fcn.00402020
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x170], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403233
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x22
push esi
call fcn.00440e55
add esp, 8
test eax, eax
jne 0x403247
or eax, 0xffffffff
jmp 0x403249
sub eax, esi
add eax, 1
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401ea0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 8
call fcn.00402020
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x170], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403295
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, ebp
call fcn.00401e00
mov ecx, ebp
call fcn.00401db0
push str.Delete_Driver_Name
lea ecx, [esp + 0x2c]
call fcn.004027b0
mov eax, dword [esp + 0x28]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x5c], esp
mov esi, esp
push eax
mov byte [esp + 0x178], 9
call fcn.004015c0
add eax, 0x10
mov dword [esi], eax
mov esi, dword [esp + 0x24]
add esp, 4
mov ecx, esi
call fcn.00402870
cmp dword [esp + 0x30], 0xa
mov eax, 1
mov dword [esi + 0x34], eax
jne 0x4032f3
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x170], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40331b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
mov ebp, 1
cmp dword [esp + 0x24], ebp
jne 0x40338c
push 0x103
lea ecx, [esp + 0x65]
push 0
push ecx
mov byte [esp + 0x6c], 0
call fcn.004413c0
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx + 0x14]
add esp, 0xc
push eax
push 0x104
lea edx, [esp + 0x68]
push edx
push 0x45c71c
push str.UninstDriverPackage
push str.Uninstaller_Info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x45c71c
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ecx, dword [esp + 0x2c]
neg eax
sbb eax, eax
add eax, ebp
mov dword [ecx + 0x178], eax
jmp 0x403390
mov ebx, dword [esp + 0x1c]
cmp dword [esi - 0xc], 0
jl 0x4035fd
cmp byte [esi], 0x4c
jne 0x403417
lea edx, [esp + 0x18]
push edx
push esi
call fcn.00440f32
add esp, 8
test eax, eax
jne 0x4033b6
or eax, 0xffffffff
jmp 0x4033b8
sub eax, esi
add eax, 0xffffffff
push eax
push ebp
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x20]
call fcn.00401910
lea edi, [ebx + 0xc]
push eax
mov ecx, edi
mov byte [esp + 0x174], 0xa
call fcn.00402020
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x170], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403406
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, edi
call fcn.00401e00
mov ecx, edi
call fcn.00401db0
mov dword [ebx + 0x38], ebp
cmp dword [esi - 0xc], 0
jl 0x4035fd
cmp byte [esi], 0x43
jne 0x403429
mov dword [ebx + 0x2c], ebp
cmp dword [esi - 0xc], 0
jl 0x4035fd
cmp byte [esi], 0x45
jne 0x40343b
mov dword [ebx + 0x3c], ebp
cmp dword [esi - 0xc], 0
jl 0x4035fd
cmp byte [esi], 0x57
jne 0x403521
push 0x45c6da
lea ecx, [esp + 0x24]
call fcn.004027b0
lea ecx, [esp + 0x18]
push ecx
push esi
mov byte [esp + 0x178], 0xb
call fcn.00440f32
add esp, 8
test eax, eax
jne 0x40347b
or eax, 0xffffffff
jmp 0x40347d
sub eax, esi
add eax, 0xffffffff
push eax
push ebp
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x20]
call fcn.00401910
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x174], 0xc
call fcn.00402020
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x170], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4034ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
call fcn.00401e00
lea ecx, [esp + 0x20]
call fcn.00401db0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
add ecx, 0x3c0
push ecx
push 0x45c6f0
push edx
call fcn.004414a2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x170], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403521
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
push esi
call fcn.00440f32
add esp, 8
test eax, eax
je 0x4035ae
sub eax, esi
cmp eax, 0xffffffff
je 0x4035ae
lea edx, [esp + 0x18]
push edx
push esi
call fcn.00440f32
add esp, 8
test eax, eax
jne 0x403551
or eax, 0xffffffff
jmp 0x403553
sub eax, esi
add eax, 1
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401ea0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 0xd
call fcn.00402020
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov byte [esp + 0x170], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40359f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x402e2c
add esi, 0xfffffff0
mov dword [esp + 0x170], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4035d5
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.0044027a
add esp, 0x160
ret
push 0x80070057
call fcn.00401090
int3