Function at 0x439410
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443f83
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x45aeb8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], ecx
push str.CallAutoRun
lea ecx, [ebp - 0xfc]
call fcn.00403540
mov dword [ebp - 4], 0
lea eax, [ebp - 0xfc]
push eax
call fcn.004366a0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.00402cd0
push str._autorun.inf
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0043e750
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00403bd0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4394c8
mov dword [ebp - 0x100], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0043db70
mov eax, dword [ebp - 0x100]
jmp 0x439a6f
lea edx, [ebp - 0x58]
test edx, edx
je 0x4394dd
lea eax, [ebp - 0x58]
add eax, 4
mov dword [ebp - 0x22c], eax
jmp 0x4394e7
mov dword [ebp - 0x22c], 0
push 0
mov ecx, dword [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0xa4]
call fcn.0043f5c0
mov byte [ebp - 4], 2
push str.Autorun.exe
lea ecx, [ebp - 0x11c]
call fcn.00401610
mov byte [ebp - 4], 3
push 0x44f208
lea ecx, [ebp - 0x138]
call fcn.00401610
mov byte [ebp - 4], 4
push str.AutoRun
lea ecx, [ebp - 0x154]
call fcn.00401610
mov byte [ebp - 4], 5
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x154]
push ecx
lea edx, [ebp - 0x170]
push edx
lea ecx, [ebp - 0xa4]
call fcn.0043fac0
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.0043df20
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x170]
call fcn.00401650
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x154]
call fcn.00401650
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x138]
call fcn.00401650
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x11c]
call fcn.00401650
mov dword [ebp - 0xd0], 0
push 0
push str..exe
lea ecx, [ebp - 0x78]
call fcn.00403bf0
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0xf8]
add edx, 4
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.0043e050
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x78]
call fcn.00401670
sub eax, dword [ebp - 0xa8]
push eax
lea edx, [ebp - 0xf4]
push edx
lea ecx, [ebp - 0x7c]
call fcn.0043df60
mov byte [ebp - 4], 0xd
push 0x44f230
lea eax, [ebp - 0x194]
push eax
mov ecx, dword [ebp + 8]
call fcn.0043e750
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x23c], ecx
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0xcc]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x23c]
call fcn.0043e130
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x194]
call fcn.0043db70
lea ecx, [ebp - 0x30]
call fcn.00403bd0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43985d
cmp dword [ebp - 0xd0], 4
jge 0x43985d
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0x240], ecx
cmp dword [ebp - 0x240], 0
je 0x4396d0
cmp dword [ebp - 0x240], 1
je 0x439711
cmp dword [ebp - 0x240], 2
je 0x439752
jmp 0x439793
mov dword [ebp - 0xd0], 1
push 0x44f234
lea ecx, [ebp - 0x1b8]
call fcn.0043dd70
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0x1b8]
push edx
lea ecx, [ebp - 0x7c]
call fcn.0043de60
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1b8]
call fcn.0043db70
jmp 0x43982e
mov dword [ebp - 0xd0], 2
push str.WindowsInstall.exe
lea ecx, [ebp - 0x1dc]
call fcn.0043dd70
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0043de60
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1dc]
call fcn.0043db70
jmp 0x43982e
mov dword [ebp - 0xd0], 3
push str.WindowsAutorun.exe
lea ecx, [ebp - 0x200]
call fcn.0043dd70
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x200]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.0043de60
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x200]
call fcn.0043db70
jmp 0x43982e
push str.CallAutoRun_return_FALSE
lea ecx, [ebp - 0x204]
call fcn.00403540
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x204]
push edx
call fcn.004366a0
add esp, 4
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x204]
call fcn.00402cd0
mov dword [ebp - 0x208], 0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x34]
call fcn.0043db70
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xf4]
call fcn.0043db70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xcc]
call fcn.0043db70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.0043db70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.0043eac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0043db70
mov eax, dword [ebp - 0x208]
jmp 0x439a6f
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x34]
call fcn.0043db70
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xf4]
call fcn.0043db70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xcc]
call fcn.0043db70
jmp 0x4395cd
push 0x44f2d0
lea ecx, [ebp - 0x20c]
call fcn.00403540
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x248], eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x30]
call fcn.00403bd0
push eax
mov ecx, dword [ebp - 0x248]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.00401560
add esp, 0xc
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.004366a0
add esp, 4
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x210]
call fcn.00402cd0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x20c]
call fcn.00402cd0
lea ecx, [ebp - 0xf0]
call fcn.00403bd0
push eax
lea ecx, [ebp - 0x214]
call fcn.00403540
mov dword [ebp - 0x254], eax
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x258], edx
mov byte [ebp - 4], 0x17
push str.CallAutoRun:
lea ecx, [ebp - 0x218]
call fcn.00403540
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x260], eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x30]
call fcn.00403bd0
push eax
mov ecx, dword [ebp - 0x260]
push ecx
lea edx, [ebp - 0x21c]
push edx
call fcn.00401560
add esp, 0xc
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x268], eax
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x258]
push ecx
mov edx, dword [ebp - 0x268]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.00403a50
add esp, 0xc
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x270], ecx
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x270]
push edx
call fcn.004366a0
add esp, 4
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x220]
call fcn.00402cd0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x21c]
call fcn.00402cd0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x218]
call fcn.00402cd0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x214]
call fcn.00402cd0
mov dword [ebp - 0x80], 0
push 0xa
push 0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x30]
call fcn.00403bd0
push eax
call fcn.0043ba10
add esp, 0x10
mov dword [ebp - 0x224], 1
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x34]
call fcn.0043db70
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xf4]
call fcn.0043db70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xcc]
call fcn.0043db70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.0043db70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.0043eac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0043db70
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418496
mov esp, ebp
pop ebp
ret 4