Function at 0x481860
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52438e
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x579630]
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.00407750
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.00407d00
push 1
push 0x52da1c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040ef80
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040af40
lea eax, [ebp - 0x28]
push eax
push eax
call fcn.00420960
add esp, 8
test al, al
je 0x481bc8
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 0x481bc8
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.00420960
add esp, 8
test al, al
je 0x481ba7
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.00445c30
add esp, 8
test al, al
jne 0x481999
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00445c30
add esp, 8
test al, al
je 0x481ba7
push 0x30
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.004f9050
add esp, 0xc
lea ecx, [ebp - 0xac]
push 0
call fcn.00407610
push dword [ebp - 0xb4]
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 3
call fcn.004079b0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xac]
call fcn.00409b70
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 0x481a22
push dword [ebp - 0xb4]
lea ecx, [ebp - 0xb5]
push ecx
push dword [ebp - 0x48]
push eax
call fcn.00408580
push dword [ebp - 0x4c]
call fcn.004085be
add esp, 0x14
cmp byte [ebp - 0xae], 0
lea ecx, [ebp - 0xac]
jne 0x481b9e
lea eax, [ebp - 0xd0]
push eax
call fcn.00414690
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.00407d00
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 6
call fcn.004087d0
lea eax, [ebp - 0x64]
push edi
push eax
call fcn.00445c30
add esp, 8
test al, al
jne 0x481a9d
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00445c30
add esp, 8
test al, al
je 0x481b77
mov eax, dword [ebp - 0x84]
cmp eax, 1
ja 0x481b77
test eax, eax
je 0x481b5d
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.004700c0
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 7
mov eax, dword [ecx]
mov dword [ebp - 0xb4], eax
cmp eax, ecx
je 0x481b3c
cmp dword [eax + 0x24], 0x10
lea esi, [eax + 0x10]
jb 0x481af2
mov eax, dword [esi]
jmp 0x481af4
mov eax, esi
push str.Embedding
push eax
call fcn.004f9d5f
add esp, 8
test eax, eax
jne 0x481c1c
push eax
push 0x52d9b8
push dword [esi + 0x28]
lea ecx, [esi + 0x18]
push eax
call fcn.004089f0
test eax, eax
jne 0x481c1c
lea ecx, [ebp - 0xb4]
call fcn.00454740
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x48]
cmp eax, ecx
jne 0x481ae5
push ecx
push dword [ecx]
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x48]
call fcn.004403c0
push dword [ebp - 0x48]
call fcn.004085be
add esp, 4
lea eax, [ebp - 0x28]
cmp ebx, eax
je 0x481b70
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00407d00
mov byte [ebp - 0xad], 1
cmp dword [ebp - 0x50], 8
jb 0x481b88
push dword [ebp - 0x64]
call fcn.004085be
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.00440330
cmp dword [ebp - 0x2c], 8
jb 0x481bb8
push dword [ebp - 0x40]
call fcn.004085be
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 0x481bd9
push dword [ebp - 0x28]
call fcn.004085be
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 0x481bfa
push dword [ebp - 0x7c]
call fcn.004085be
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.00401590
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.004403c0
push dword [ebp - 0x48]
call fcn.004085be
add esp, 4
jmp 0x481b77