Function at 0x4024b0
Capabilities:
Check if file exists
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6bb8
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x50545c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10c], ecx
mov eax, dword [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00412990
mov dword [ebp - 4], 0
push 0x4d1934
lea ecx, [ebp - 0x20]
call fcn.0040ef90
mov ecx, 0x4d1934
test ecx, ecx
jne 0x402516
mov dword [ebp - 0x9c], 0
jmp 0x402529
push 0x4d1934
call fcn.004939fc
add esp, 4
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
push edx
push 0x4d1934
lea ecx, [ebp - 0x20]
call fcn.00411880
push str.ESTSIP_flmondrv_
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0040f270
add esp, 0xc
mov byte [ebp - 4], 1
mov ecx, 0x506c08
call fcn.0043cbb0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4025a5
mov edx, str.x64_
test edx, edx
jne 0x40257e
mov dword [ebp - 0xa0], 0
jmp 0x402591
push str.x64_
call fcn.004939fc
add esp, 4
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
push eax
push str.x64_
lea ecx, [ebp - 0x1c]
call fcn.00411880
mov ecx, str.FLMonDrv.sys
test ecx, ecx
jne 0x4025ba
mov dword [ebp - 0xa4], 0
jmp 0x4025cd
push str.FLMonDrv.sys
call fcn.004939fc
add esp, 4
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0xa4]
push edx
push str.FLMonDrv.sys
lea ecx, [ebp - 0x1c]
call fcn.00411880
cmp dword [ebp - 0x18], 0
je 0x402624
push 0
call fcn.0043cd80
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x402610
push str.InUnstall_INFDriverEx_WowFsRedirection__FALSE__Succeed.
mov eax, dword [ebp - 0x10c]
push eax
call fcn.00401a70
add esp, 8
jmp 0x402624
push str.InUnstall_INFDriverEx_WowFsRedirection__FALSE__Fail.
mov ecx, dword [ebp - 0x10c]
push ecx
call fcn.00401a70
add esp, 8
push str.ESTSIPFLMonDrv.sys
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.0040f270
add esp, 0xc
mov byte [ebp - 4], 2
push str.ESTSIP_flmondrv.inf
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.0040f270
add esp, 0xc
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402939
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xb0], eax
push 0
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp - 0xb0]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x402939
call fcn.0044fb81
push eax
lea ecx, [ebp - 0x70]
call fcn.00412940
mov byte [ebp - 4], 4
cmp dword [ebp + 8], 0
je 0x402700
mov eax, str.DefaultInstall
test eax, eax
jne 0x4026d1
mov dword [ebp - 0xb4], 0
jmp 0x4026e4
push str.DefaultInstall
call fcn.004939fc
add esp, 4
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
push ecx
push str.DefaultInstall
lea ecx, [ebp - 0x70]
call fcn.00412d00
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x7c], edx
jmp 0x402742
mov eax, str.DefaultUninstall
test eax, eax
jne 0x402715
mov dword [ebp - 0xb8], 0
jmp 0x402728
push str.DefaultUninstall
call fcn.004939fc
add esp, 4
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
push ecx
push str.DefaultUninstall
lea ecx, [ebp - 0x70]
call fcn.00412d00
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x7c], edx
call fcn.0044fb81
push eax
lea ecx, [ebp - 0x68]
call fcn.00412940
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
push str.setupapi_InstallHinfSection__s_132__s
lea edx, [ebp - 0x68]
push edx
call fcn.00413630
add esp, 0x10
push str.C:WINDOWSSystem32_rundll32.exe
lea ecx, [ebp - 0x6c]
call fcn.00412290
mov byte [ebp - 4], 6
mov dword [ebp - 0x64], 0
push 0x38
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.004931a0
add esp, 0xc
mov dword [ebp - 0x64], 0x3c
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x60], 0x440
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40285a
mov dword [ebp - 0x80], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x6c]
sub ecx, 0x10
mov dword [ebp - 0xc4], ecx
mov ecx, dword [ebp - 0xc4]
call fcn.004029d0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x68]
sub edx, 0x10
mov dword [ebp - 0xc8], edx
mov ecx, dword [ebp - 0xc8]
call fcn.004029d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.004129d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.004129d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004129d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004129d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004129d0
mov eax, dword [ebp - 0x80]
jmp 0x4029bf
mov dword [ebp - 0x28], 0xffff
push 0xffffffffffffffff
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 0
je 0x4028c8
push 1
call fcn.0043cd80
add esp, 4
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x4028b4
push str.InUnstall_INFDriverEx_WowFsRedirection__TRUE__Succeed.
mov ecx, dword [ebp - 0x10c]
push ecx
call fcn.00401a70
add esp, 8
jmp 0x4028c8
push str.InUnstall_INFDriverEx_WowFsRedirection__TRUE__Fail.
mov edx, dword [ebp - 0x10c]
push edx
call fcn.00401a70
add esp, 8
xor eax, eax
cmp dword [ebp - 0x28], 0
sete al
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6c]
call fcn.004129d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.004129d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.004129d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.004129d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004129d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004129d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004129d0
mov eax, dword [ebp - 0x84]
jmp 0x4029bf
cmp dword [ebp - 0x18], 0
je 0x40297c
push 1
call fcn.0043cd80
add esp, 4
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x402968
push str.InUnstall_INFDriverEx_WowFsRedirection__TRUE__Succeed.
mov ecx, dword [ebp - 0x10c]
push ecx
call fcn.00401a70
add esp, 8
jmp 0x40297c
push str.InUnstall_INFDriverEx_WowFsRedirection__TRUE__Fail.
mov edx, dword [ebp - 0x10c]
push edx
call fcn.00401a70
add esp, 8
mov dword [ebp - 0x88], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.004129d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004129d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004129d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004129d0
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4