Function at 0x430f00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472c37
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x496534]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp + 0xc]
xor eax, eax
push eax
xor edi, edi
mov dword [ebp - 0x14], 7
push 0x486438
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
call fcn.004037c0
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x104
jb 0x430f7f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0x104
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax + 0x208], cx
jmp 0x430f91
mov eax, 0x104
sub eax, ecx
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.004233f0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x104
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
sub esp, 8
mov dword [ebp - 0x8c], 0x5c
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0x28]
push eax
call fcn.00431eb0
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
ja 0x430fe2
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
cmovae ecx, dword [ebp - 0x28]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x430fef
sub eax, ecx
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.004233f0
push 0xa
xor eax, eax
mov dword [ebp - 0x44], 7
push str.INSDRV.ini
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.004037c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push 0xb
xor eax, eax
mov dword [ebp - 0x2c], 7
push str.Installer_
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.004037c0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x88]
call fcn.0042f570
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.00408e70
add esp, 8
mov ebx, eax
cmp esi, ebx
je 0x4310a4
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x43107d
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004038d0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x431095
mov eax, dword [esi]
jmp 0x431097
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.00403310
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x4310b9
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004038d0
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x4310e8
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.004038d0
xor eax, eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x78], 0
cmp eax, 8
jb 0x431114
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004038d0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x431140
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004038d0
cmp dword [esi + 0x14], 8
jb 0x43114a
mov eax, dword [esi]
jmp 0x43114c
mov eax, esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
je 0x431163
mov edi, 1
jmp 0x43135c
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x431176
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00403440
sub esp, 8
mov dword [ebp - 0x8c], 0x5c
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
call fcn.00431eb0
mov ecx, dword [esi + 0x10]
inc eax
cmp eax, ecx
ja 0x4311b6
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], eax
jb 0x4311ac
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x4311c2
mov ecx, esi
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x4311c2
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.004233f0
push 0xa
push str.INSDRV.ini
mov ecx, esi
call fcn.00426bc0
cmp dword [esi + 0x14], 8
jb 0x4311da
mov eax, dword [esi]
jmp 0x4311dc
mov eax, esi
push eax
call ebx
test eax, eax
je 0x4311ed
mov edi, 1
jmp 0x43135c
push 0xc
xor eax, eax
mov dword [ebp - 0x44], 7
push str.UNINSTAL.ini
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.004037c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
push 1
xor eax, eax
mov dword [ebp - 0x2c], 7
push 0x4857e0
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.004037c0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x70]
call fcn.0042f570
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x88]
call fcn.00408e70
mov edx, eax
add esp, 8
mov dword [ebp - 0x8c], edx
cmp esi, edx
je 0x4312ae
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x431287
inc ecx
push ecx
push dword [esi]
mov ecx, esi
call fcn.004038d0
mov edx, dword [ebp - 0x8c]
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x43129f
mov eax, dword [esi]
jmp 0x4312a1
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edx
call fcn.00403310
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x4312c9
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.004038d0
xor eax, eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x78], 0
cmp eax, 8
jb 0x4312f5
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004038d0
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x43131e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004038d0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x431347
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004038d0
cmp dword [esi + 0x14], 8
jb 0x43134f
mov esi, dword [esi]
push esi
call ebx
test eax, eax
mov ecx, 1
cmovne edi, ecx
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x431371
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.004038d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ae75
mov esp, ebp
pop ebp
ret 8