Function at 0x4a68b0
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e00ed
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x258
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x264], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x224], 0
movq qword [ebp - 0x22c], xmm0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x244]
push 7
xor eax, eax
mov dword [ebp - 0x234], 0
push str.pdm.dll
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], ax
call fcn.0042fe00
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp - 0x224]
je 0x4a69b6
movups xmm0, xmmword [ebp - 0x244]
mov dword [eax + 0x10], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x234]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0x228], 0x18
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], ax
jmp 0x4a69c9
lea ecx, [ebp - 0x244]
push ecx
push eax
lea ecx, [ebp - 0x22c]
call fcn.004481d0
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0
call fcn.0042fd70
push 9
xor eax, eax
mov dword [ebp - 0x234], 0
push str.ntdll.dll
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], ax
call fcn.0042fe00
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp - 0x224]
je 0x4a6a5d
movups xmm0, xmmword [ebp - 0x244]
mov dword [eax + 0x10], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x234]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0x228], 0x18
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], ax
jmp 0x4a6a70
lea ecx, [ebp - 0x244]
push ecx
push eax
lea ecx, [ebp - 0x22c]
call fcn.004481d0
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0
call fcn.0042fd70
push 0xc
xor eax, eax
mov dword [ebp - 0x234], 0
push str.rundll32.exe
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], ax
call fcn.0042fe00
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp - 0x224]
je 0x4a6b04
movups xmm0, xmmword [ebp - 0x244]
mov dword [eax + 0x10], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x234]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0x228], 0x18
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], ax
jmp 0x4a6b17
lea ecx, [ebp - 0x244]
push ecx
push eax
lea ecx, [ebp - 0x22c]
call fcn.004481d0
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0
call fcn.0042fd70
lea ecx, [ebp - 0x238]
call fcn.0060c0f0
cmp dword [ebp - 0x238], 6
jne 0x4a6bee
cmp dword [ebp - 0x234], 1
jne 0x4a6bee
push 0xd
xor eax, eax
mov dword [ebp - 0x234], 0
push str.dxgidebug.dll
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], ax
call fcn.0042fe00
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp - 0x224]
je 0x4a6bd0
movups xmm0, xmmword [ebp - 0x244]
mov dword [eax + 0x10], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x234]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0x228], 0x18
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], ax
jmp 0x4a6be3
lea ecx, [ebp - 0x244]
push ecx
push eax
lea ecx, [ebp - 0x22c]
call fcn.004481d0
lea ecx, [ebp - 0x244]
call fcn.0042fd70
xor eax, eax
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 7
mov word [ebp - 0x25c], ax
push 0x104
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 5
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
test eax, eax
je 0x4a6c52
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a6c30
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x25c]
call fcn.0042fe00
lea ecx, [ebp - 0x25c]
call fcn.0060e100
mov ecx, dword [ebp - 0x228]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x22c]
xor esi, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4a6d15
xor edi, edi
nop dword [eax]
nop dword [eax + eax]
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x244]
call fcn.0042fc50
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x244]
lea edx, [edi + edx]
call fcn.0060e1d0
add esp, 4
lea eax, [ebp - 0x244]
cmp dword [ebp - 0x230], 8
cmovae eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a6d56
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 5
call fcn.0042fd70
mov ecx, dword [ebp - 0x228]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x22c]
inc esi
imul ecx
add edi, 0x18
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4a6c90
mov byte [ebp - 0x25d], 0
lea ecx, [ebp - 0x25c]
call fcn.0042fd70
lea ecx, [ebp - 0x22c]
call fcn.00448080
mov al, byte [ebp - 0x25d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 0x22c]
lea esi, [esi + esi*2]
mov edi, dword [ebp - 0x264]
lea eax, [ecx + esi*8]
cmp edi, eax
je 0x4a6d87
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x4a6d76
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, edi
push edx
call fcn.0042fe00
mov ecx, dword [ebp - 0x22c]
cmp dword [ecx + esi*8 + 0x14], 8
lea eax, [ecx + esi*8]
jb 0x4a6d93
mov eax, dword [eax]
push eax
push str.Found__s_dll_exe_in_current_Dir
call fcn.0043adc0
add esp, 8
lea ecx, [ebp - 0x244]
call fcn.0042fd70
mov byte [ebp - 0x25d], 1
jmp 0x4a6d1c