Function at 0x407a00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58879d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x192c
call fcn.0055d880
mov eax, dword [0x5eb770]
xor eax, esp
mov dword [esp + 0x1928], eax
push ebx
push esi
push edi
mov eax, dword [0x5eb770]
xor eax, esp
push eax
lea eax, [esp + 0x1940]
mov dword fs:[0], eax
xor edi, edi
push edi
mov esi, ecx
mov ebx, edx
push str.Tool_DeleteINFForDriverStore
push edi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], ebx
call fcn.0044ca70
add esp, 0xc
push esi
push str.pcstDrvName___s
mov esi, 1
lea eax, [esp + 0x58]
push esi
push eax
mov dword [esp + 0x1958], edi
call fcn.0044cd10
mov ecx, dword [ebx]
push ecx
push str.dwFailDelDrvStrMsg___08x
lea edx, [esp + 0x68]
push esi
push edx
call fcn.0044cd10
push 0x206
lea ecx, [esp + 0xfa]
xor eax, eax
push edi
push ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x64], edi
mov word [esp + 0x100], ax
call fcn.0055ca80
add esp, 0x2c
call fcn.0046d2d8
mov ebx, dword [eax + 4]
cmp dword [ebx + 0x18c], edi
jne 0x407ad9
call fcn.004099a0
mov dword [ebx + 0x18c], esi
cmp dword [ebx + 0x18c], esi
jne 0x408073
mov edx, dword [ebx + 0x198]
push 0x206
lea ecx, [esp + 0x2e2]
xor eax, eax
push edi
push ecx
mov dword [esp + 0x48], edx
mov word [esp + 0x2e8], ax
call fcn.0055ca80
xor esi, esi
add esp, 0xc
mov dword [esp + 0x28], esi
cmp dword [esp + 0x3c], edi
jle 0x408073
nop
cmp esi, edi
jl 0x408110
cmp esi, dword [ebx + 0x198]
jge 0x408110
mov edx, dword [ebx + 0x194]
lea eax, [edx + esi*4]
mov eax, dword [eax]
push eax
lea eax, [esp + 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [esp + 0x2dc]
lea ecx, [esp + 0xd4]
call fcn.004087f0
cmp eax, 1
jne 0x408064
cmp dword [esp + 0x38], edi
jne 0x407fc5
cmp dword [ebx + 0x170], edi
jne 0x407fc5
mov ecx, dword [ebx + 0x130]
cmp byte [ecx + 0x64], 0
jne 0x407fc5
mov edx, dword [esp + 0x24]
cmp dword [edx], edi
je 0x407fc5
push 0x5b69a4
lea ecx, [esp + 0x1c]
call fcn.00403340
push 0x5b69a4
lea ecx, [esp + 0x24]
mov byte [esp + 0x194c], 1
call fcn.00403340
push 0x5b69a4
lea ecx, [esp + 0x20]
mov byte [esp + 0x194c], 2
call fcn.00403340
push 0x5b69a4
lea ecx, [esp + 0x14]
mov byte [esp + 0x194c], 3
call fcn.00403340
push 0x5b69a4
lea ecx, [esp + 0x18]
mov byte [esp + 0x194c], 4
call fcn.00403340
push 0x40e
lea ecx, [esp + 0x152a]
xor eax, eax
push edi
mov byte [esp + 0x1950], 5
push ecx
mov word [esp + 0x1530], ax
call fcn.0055ca80
add esp, 0xc
push 0x40e
lea eax, [esp + 0xd0a]
xor edx, edx
push edi
push eax
mov word [esp + 0xd10], dx
call fcn.0055ca80
add esp, 0xc
push 0x40e
lea edx, [esp + 0x4ea]
xor ecx, ecx
push edi
push edx
mov word [esp + 0x4f0], cx
call fcn.0055ca80
add esp, 0xc
push 0x40e
lea ecx, [esp + 0x8fa]
xor eax, eax
push edi
push ecx
mov word [esp + 0x900], ax
call fcn.0055ca80
add esp, 0xc
push 0x40e
lea eax, [esp + 0x111a]
xor edx, edx
push edi
push eax
mov word [esp + 0x1120], dx
call fcn.0055ca80
add esp, 0xc
mov esi, 2
mov dword [esp + 0x34], edi
push 0x50
lea edi, [esi + 0x35]
call fcn.00461d28
test eax, eax
je 0x407ccd
push 0x50
push eax
lea ecx, [esp + 0x20]
call fcn.004035f0
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
push edx
lea eax, [esp + 0x1c]
push 0x50
push eax
call fcn.0040a650
add esp, 0xc
push 3
call fcn.00461d28
test eax, eax
je 0x407cfa
push 3
push eax
lea ecx, [esp + 0x28]
call fcn.004035f0
push 0x1f4
call fcn.00461d28
test eax, eax
je 0x407d17
push 0x1f4
push eax
lea ecx, [esp + 0x24]
call fcn.004035f0
push 0x1f5
call fcn.00461d28
test eax, eax
je 0x407d34
push 0x1f5
push eax
lea ecx, [esp + 0x18]
call fcn.004035f0
mov ecx, dword [esp + 0x24]
cmp dword [ecx], esi
jne 0x407d63
push 0x1f6
call fcn.00461d28
test eax, eax
je 0x407d59
push 0x1f6
push eax
lea ecx, [esp + 0x1c]
call fcn.004035f0
mov esi, 3
lea edi, [esi + 0x39]
jmp 0x407d71
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
call fcn.00404890
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0xd08]
push 0x208
push ecx
call fcn.005579b2
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
lea eax, [esp + 0x1528]
push 0x208
push eax
call fcn.005579b2
mov ecx, dword [esp + 0x28]
add esp, 0xc
push ecx
lea edx, [esp + 0x4e8]
push 0x208
push edx
call fcn.005579b2
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
lea ecx, [esp + 0x8f8]
push 0x208
push ecx
call fcn.005579b2
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
lea eax, [esp + 0x1118]
push 0x208
push eax
call fcn.005579b2
add esp, 0xc
push 0x60
lea ecx, [esp + 0x60]
push 0
push ecx
call fcn.0055ca80
lea edx, [esp + 0x4f0]
mov dword [esp + 0xcc], edx
mov edx, dword [ebx]
lea eax, [esp + 0x1120]
lea ecx, [esp + 0x900]
mov dword [esp + 0xd4], eax
mov eax, dword [edx + 0x74]
mov dword [esp + 0xdc], ecx
add esp, 0xc
mov ecx, ebx
mov dword [esp + 0xbc], 0x32
mov dword [esp + 0xc4], edi
mov dword [esp + 0xcc], 0x37
mov dword [esp + 0x5c], 0x60
call eax
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x60], ecx
lea edx, [esp + 0xd04]
lea eax, [esp + 0xbc]
lea ecx, [esp + 0x1524]
push 0x5b76ec
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 0xffff
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], eax
mov dword [esp + 0x80], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x407ef7
push str.TaskDialogIndirect
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407ef0
push 0
push 0
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x68]
push ecx
call eax
mov eax, dword [esp + 0x34]
cmp eax, 0x3c
jne 0x407edf
mov edx, dword [esp + 0x24]
mov dword [edx], 0
jmp 0x407ee8
cmp eax, 0x37
je 0x4080d4
mov dword [esp + 0x38], 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [esp + 0x1948], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1948], 3
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1948], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1948], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1948], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407fbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x28]
xor edi, edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x2e0]
lea ecx, [esp + 0xd8]
mov byte [esp + 0x194c], 6
call fcn.00408120
add esp, 4
cmp dword [esp + 0x2c], edi
jne 0x407ffe
cmp eax, edi
jne 0x408003
cmp eax, 2
jne 0x40802c
mov dword [esp + 0x2c], eax
cmp eax, 2
jne 0x40802c
mov edx, dword [esp + 0x30]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
lea eax, [esp + 0x68]
push eax
call fcn.004070d0
add esp, 0x14
mov byte [esp + 0x1948], 0
mov eax, dword [esp + 0x40]
cmp eax, edi
je 0x408058
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x44]
push ecx
push edx
call fcn.00406e80
mov eax, dword [esp + 0x48]
push eax
call fcn.00461cb5
add esp, 0xc
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
inc esi
mov dword [esp + 0x28], esi
cmp esi, dword [esp + 0x3c]
jl 0x407b20
push 0xffffffffffffffff
push edi
lea ecx, [ebx + 0x15c]
call fcn.0046c510
mov esi, dword [esp + 0x2c]
push esi
push str.return___08x
lea ecx, [esp + 0x58]
push 2
push ecx
call fcn.0044cd10
add esp, 0x10
lea ecx, [esp + 0x50]
mov dword [esp + 0x1948], 0xffffffff
call fcn.0044cc70
mov eax, esi
mov ecx, dword [esp + 0x1940]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1928]
xor ecx, esp
call fcn.0055649d
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x14]
call fcn.004037a0
lea ecx, [esp + 0x10]
call fcn.004037a0
lea ecx, [esp + 0x1c]
call fcn.004037a0
lea ecx, [esp + 0x20]
call fcn.004037a0
lea ecx, [esp + 0x18]
mov byte [esp + 0x1948], 0
call fcn.004037a0
xor edi, edi
jmp 0x408073
call fcn.004624e2
int3