Function at 0x474230
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5092ce
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x556620]
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 eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x7c]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0xb4], eax
xor eax, eax
push 0xc
push str.IMEPADSV.EXE
mov byte [ebp - 0xad], 0
mov dword [ebp - 0x68], 7
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x7c], ax
call fcn.004073d0
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00407980
push 1
push 0x514704
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040efb0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040f160
lea eax, [ebp - 0x28]
push eax
push eax
call fcn.0041acb0
add esp, 8
test al, al
je 0x474598
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x474598
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
push edi
call fcn.0041acb0
add esp, 8
test al, al
je 0x474577
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.00441880
add esp, 8
test al, al
jne 0x474369
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00441880
add esp, 8
test al, al
je 0x474577
push 0x30
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.004dead0
add esp, 0xc
lea ecx, [ebp - 0xac]
push 0
call fcn.00407290
push dword [ebp - 0xb4]
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 3
call fcn.00407630
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xac]
call fcn.00409720
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov eax, dword [ebp - 0x4c]
setne byte [ebp - 0xae]
test eax, eax
je 0x4743f2
push dword [ebp - 0xb4]
lea ecx, [ebp - 0xb5]
push ecx
push dword [ebp - 0x48]
push eax
call fcn.00408200
push dword [ebp - 0x4c]
call fcn.0040823e
add esp, 0x14
cmp byte [ebp - 0xae], 0
lea ecx, [ebp - 0xac]
jne 0x47456e
lea eax, [ebp - 0xd0]
push eax
call fcn.00415740
xor ecx, ecx
mov byte [ebp - 4], 4
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x64], cx
lea ecx, [ebp - 0x64]
push eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
call fcn.00407980
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 6
call fcn.00408450
lea eax, [ebp - 0x64]
push edi
push eax
call fcn.00441880
add esp, 8
test al, al
jne 0x47446d
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00441880
add esp, 8
test al, al
je 0x474547
mov eax, dword [ebp - 0x84]
cmp eax, 1
ja 0x474547
test eax, eax
je 0x47452d
lea eax, [ebp - 0xb5]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x88]
movq qword [ebp - 0x48], xmm0
push eax
lea ecx, [ebp - 0x48]
call fcn.00464160
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 7
mov eax, dword [ecx]
mov dword [ebp - 0xb4], eax
cmp eax, ecx
je 0x47450c
cmp dword [eax + 0x24], 0x10
lea esi, [eax + 0x10]
jb 0x4744c2
mov eax, dword [esi]
jmp 0x4744c4
mov eax, esi
push str.Embedding
push eax
call fcn.004df724
add esp, 8
test eax, eax
jne 0x4745ec
push eax
push 0x511a98
push dword [esi + 0x28]
lea ecx, [esi + 0x18]
push eax
call fcn.00408670
test eax, eax
jne 0x4745ec
lea ecx, [ebp - 0xb4]
call fcn.00425360
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x48]
cmp eax, ecx
jne 0x4744b5
push ecx
push dword [ecx]
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x48]
call fcn.0043c000
push dword [ebp - 0x48]
call fcn.0040823e
add esp, 4
lea eax, [ebp - 0x28]
cmp ebx, eax
je 0x474540
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00407980
mov byte [ebp - 0xad], 1
cmp dword [ebp - 0x50], 8
jb 0x474558
push dword [ebp - 0x64]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
lea ecx, [ebp - 0xac]
mov word [ebp - 0x64], ax
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 2
call fcn.0043bf70
cmp dword [ebp - 0x2c], 8
jb 0x474588
push dword [ebp - 0x40]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
cmp dword [ebp - 0x14], 8
jb 0x4745a9
push dword [ebp - 0x28]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x68], 8
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
jb 0x4745ca
push dword [ebp - 0x7c]
call fcn.0040823e
add esp, 4
mov al, byte [ebp - 0xad]
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.00401580
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x48]
push eax
mov byte [ebp - 4], 6
push dword [eax]
lea eax, [ebp - 0xb4]
push eax
call fcn.0043c000
push dword [ebp - 0x48]
call fcn.0040823e
add esp, 4
jmp 0x474547