Function at 0x419fd0
Capabilities:
Get common file path

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 0x5e1dbb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x458
mov eax, dword [0x651ea8]
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 - 0x458], ecx
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x468], eax
lea eax, [ebp - 0x454]
push eax
push 0x602258
push 1
push 0
push 0x602248
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41a33c
push 0x105
lea eax, [ebp - 0x228]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x20a
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.0058ffa0
add esp, 0xc
lea eax, [ebp - 0x438]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 2
lea eax, [ebp - 0x438]
push 0x61d8a4
push eax
call fcn.005a1758
add esp, 0xc
lea eax, [ebp - 0x228]
push 0x104
push eax
call fcn.005a18bf
add eax, eax
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.005a1758
add esp, 0x14
lea eax, [ebp - 0x228]
push 0x20a
push 0
push eax
call fcn.0058ffa0
add esp, 0xc
lea eax, [ebp - 0x438]
push 0x104
push eax
call fcn.005a18bf
add eax, eax
push eax
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.005a1a6f
mov eax, dword [ebp - 0x454]
add esp, 0x14
mov ecx, dword [eax]
push 0
push 1
push 0
push eax
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x454]
push 0
push 0
push 0x602208
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x454]
push 0
push 1
push 0x6021f8
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x3c]
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
mov ecx, esi
mov dword [ebp - 4], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41a170
lea eax, [ebp - 0x450]
sub ecx, edx
push eax
push ecx
push esi
call fcn.004a6ec0
mov edx, dword [ebp - 0x43c]
lea eax, [ebp - 0x450]
mov esi, dword [ebp - 0x450]
lea ecx, [ebp - 0x450]
add esp, 0xc
cmp edx, 0x10
cmovae eax, esi
mov dword [ebp - 0x460], eax
lea eax, [ebp - 0x450]
cmovae eax, esi
add eax, dword [ebp - 0x440]
cmp edx, 0x10
mov edi, eax
cmovae ecx, esi
xor esi, esi
sub edi, ecx
mov dword [ebp - 0x464], ecx
cmp ecx, eax
cmova edi, esi
test edi, edi
je 0x41a207
nop dword [eax + eax]
movsx eax, byte [esi + ecx]
push eax
call fcn.005a1bb6
mov ecx, dword [ebp - 0x460]
add esp, 4
mov byte [esi + ecx], al
inc esi
mov ecx, dword [ebp - 0x464]
cmp esi, edi
jne 0x41a1e0
mov edx, dword [ebp - 0x43c]
mov esi, dword [ebp - 0x450]
lea eax, [ebp - 0x450]
mov edi, dword [ebp - 0x440]
cmp edx, 0x10
push 3
push 0x61d8a8
cmovae eax, esi
push edi
push eax
call fcn.00416220
add esp, 0x10
test al, al
je 0x41a27b
movups xmm0, xmmword [0x602288]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [0x602298]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x6022a8]
mov ecx, dword [ebp - 0x458]
sub esp, 0x10
mov eax, esp
push dword [ebp - 0x454]
movups xmmword [eax], xmm0
lea eax, [ebp - 0x228]
push eax
call fcn.0041a370
jmp 0x41a2dc
cmp dword [ebp - 0x43c], 0x10
lea eax, [ebp - 0x450]
push 4
push str.mp43
cmovae eax, esi
push edi
push eax
call fcn.00416220
add esp, 0x10
test al, al
je 0x41a2c7
movups xmm0, xmmword [0x61cca4]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [0x61ccb4]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x602278]
jmp 0x41a259
mov eax, dword [ebp - 0x454]
lea edx, [ebp - 0x228]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov esi, eax
test esi, esi
js 0x41a2f8
mov eax, dword [ebp - 0x454]
push dword [ebp - 0x468]
push 0x602228
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [ebp - 0x454]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [ebp - 0x43c]
cmp edx, 0x10
jb 0x41a33a
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a330
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a35c
push edx
push ecx
call fcn.00552cbd
add esp, 8
mov eax, esi
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.00552cac
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.005984ba
int3