Function at 0x42c2d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x50b384]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0xc
mov dword [ebp - 0xe0], ecx
xor ebx, ebx
xor edx, edx
push str.IMEPADSV.EXE
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xd0], eax
mov byte [ebp - 0xc9], bl
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], ebx
mov word [ebp - 0x54], dx
call fcn.00401ce4
push 0xffffffffffffffff
push ebx
xor eax, eax
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], ebx
mov word [ebp - 0x1c], ax
call fcn.00401c51
push 1
push 0x4d0ef8
lea ecx, [ebp - 0x20]
call fcn.00402933
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0040288a
lea edx, [ebp - 0x20]
push edx
mov eax, edx
push eax
call fcn.00438de0
add esp, 8
lea esi, [ebx + 8]
test al, al
jne 0x42c3a8
cmp dword [ebp - 8], esi
jb 0x42c386
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0048e976
add esp, 4
mov dword [ebp - 8], 7
xor edx, edx
mov dword [ebp - 0xc], ebx
mov word [ebp - 0x1c], dx
cmp dword [ebp - 0x40], esi
jb 0x42c6b4
mov eax, dword [ebp - 0x54]
push eax
jmp 0x42c6ac
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 8], esi
jae 0x42c3b3
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42c375
lea edx, [ebp - 0x3c]
push edx
xor ecx, ecx
push edi
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x38], cx
call fcn.00438de0
add esp, 8
test al, al
jne 0x42c3fa
cmp dword [ebp - 0x24], esi
jb 0x42c3f0
mov eax, dword [ebp - 0x38]
push eax
call fcn.0048e976
add esp, 4
mov edi, 7
jmp 0x42c67a
lea edx, [ebp - 0x20]
push edx
push edi
call fcn.004386d0
add esp, 8
test al, al
jne 0x42c45a
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004386d0
add esp, 8
test al, al
jne 0x42c45a
cmp dword [ebp - 0x24], esi
jb 0x42c430
mov edx, dword [ebp - 0x38]
push edx
call fcn.0048e976
add esp, 4
mov edi, 7
xor eax, eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x38], ax
cmp dword [ebp - 8], esi
jb 0x42c452
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0048e976
add esp, 4
mov dword [ebp - 8], edi
jmp 0x42c38d
push ebx
lea ecx, [ebp - 0xc8]
call fcn.0043fc70
mov ecx, dword [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0xc8]
call fcn.0043feb0
mov ecx, dword [ebp - 0x7c]
sub ecx, dword [ebp - 0x80]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [ebp - 0xc8]
je 0x42c4ef
call fcn.0043fbc0
cmp dword [ebp - 0x24], esi
jb 0x42c4af
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0048e976
add esp, 4
xor edx, edx
mov edi, 7
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x38], dx
cmp dword [ebp - 8], esi
jb 0x42c4d1
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0048e976
add esp, 4
xor ecx, ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], ebx
mov word [ebp - 0x1c], cx
cmp dword [ebp - 0x40], esi
jb 0x42c6b4
mov edx, dword [ebp - 0x54]
push edx
jmp 0x42c6ac
lea eax, [ebp - 0x74]
push eax
call fcn.0043ecc0
lea ecx, [ebp - 0x74]
push edi
push ecx
call fcn.004386d0
add esp, 8
test al, al
jne 0x42c55f
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x74]
push eax
call fcn.004386d0
add esp, 8
test al, al
jne 0x42c55f
lea ecx, [ebp - 0x74]
call fcn.0040199c
lea ecx, [ebp - 0xc8]
call fcn.0043fbc0
lea ecx, [ebp - 0x3c]
call fcn.0040199c
lea ecx, [ebp - 0x20]
call fcn.0040199c
lea ecx, [ebp - 0x58]
call fcn.0040199c
mov al, byte [ebp - 0xc9]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x88]
cmp eax, 1
ja 0x42c63c
cmp eax, ebx
jbe 0x42c623
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0xdc]
call fcn.0042bdd0
mov eax, dword [ebp - 0xd8]
mov esi, dword [eax]
mov dword [ebp - 0xd0], esi
cmp esi, eax
je 0x42c5f9
mov edi, 0x10
nop
cmp dword [esi + 0x24], edi
jb 0x42c5aa
mov eax, dword [esi + 0x10]
jmp 0x42c5ad
lea eax, [esi + 0x10]
push str.Embedding
push eax
call fcn.00491a13
add esp, 8
test eax, eax
jne 0x42c6cb
mov eax, dword [esi + 0x3c]
push ebx
lea ecx, [esi + 0x28]
push 0x4cec14
push eax
push ebx
call fcn.004012ac
test eax, eax
jne 0x42c6cb
lea ecx, [ebp - 0xd0]
call fcn.004b5b30
mov esi, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xd8]
cmp esi, eax
jne 0x42c5a0
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0xdc]
call fcn.0042bc10
mov edx, dword [ebp - 0xd8]
push edx
call fcn.0048e976
add esp, 4
mov esi, 8
mov ecx, dword [ebp - 0xe0]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x20]
push eax
call fcn.00401c51
mov byte [ebp - 0xc9], 1
cmp dword [ebp - 0x5c], esi
jb 0x42c64d
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.0048e976
add esp, 4
xor edx, edx
mov edi, 7
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], ebx
mov word [ebp - 0x70], dx
call fcn.0043fbc0
cmp dword [ebp - 0x24], esi
jb 0x42c67a
mov eax, dword [ebp - 0x38]
push eax
call fcn.0048e976
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x38], cx
cmp dword [ebp - 8], esi
jb 0x42c697
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0048e976
add esp, 4
xor eax, eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], ebx
mov word [ebp - 0x1c], ax
cmp dword [ebp - 0x40], esi
jb 0x42c6b4
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.0048e976
add esp, 4
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0xc9]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048ebcd
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [ebp - 0xe0]
push ecx
lea ecx, [ebp - 0xdc]
call fcn.0042bc10
mov edx, dword [ebp - 0xd8]
push edx
call fcn.0048e976
mov esi, 8
add esp, 4
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], ebx
cmp dword [ebp - 0x5c], esi
jb 0x42c718
mov eax, dword [ebp - 0x70]
push eax
call fcn.0048e976
add esp, 4
xor ecx, ecx
mov word [ebp - 0x70], cx
mov edi, 7
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], ebx
call fcn.0043fbc0
cmp dword [ebp - 0x24], esi
jb 0x42c435
mov edx, dword [ebp - 0x38]
push edx
call fcn.0048e976
add esp, 4
jmp 0x42c435