Function at 0x498460
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5eccbb
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x676890]
xor eax, esp
mov dword [esp + 0x44c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x676890]
xor eax, esp
push eax
lea eax, [esp + 0x464]
mov dword fs:[0], eax
mov eax, dword [esp + 0x478]
mov esi, dword [esp + 0x474]
mov edi, dword [esp + 0x47c]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x14]
push ecx
push 0x6293bc
push 1
xor ebx, ebx
push ebx
push 0x6293ac
mov dword [esp + 0x34], eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x498897
push 0x105
lea edx, [esp + 0x4c]
push edx
push 0xffffffffffffffff
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x20a
lea eax, [esp + 0x258]
push ebx
push eax
call fcn.0059fdd0
add esp, 0xc
lea ecx, [esp + 0x254]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 2
lea edx, [esp + 0x258]
push 0x60d49c
push edx
call fcn.005a3f44
lea eax, [esp + 0x54]
push 0x104
push eax
call fcn.005a3f25
add eax, eax
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x270]
push edx
call fcn.005a3f44
push 0x20a
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.0059fdd0
lea ecx, [esp + 0x280]
push 0x104
push ecx
call fcn.005a3f25
add eax, eax
push eax
lea edx, [esp + 0x28c]
push edx
lea eax, [esp + 0x84]
push eax
call fcn.005a3edb
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
add esp, 0x40
push ebx
push 1
push ebx
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push ebx
push ebx
push 0x62942c
push edi
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push ebx
push 1
push 0x62941c
push ebx
push eax
call edx
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov eax, esi
mov dword [esp + 0x46c], ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4985e2
sub eax, ecx
lea ecx, [esp + 0x2c]
push ecx
push eax
push esi
call fcn.005199d0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
add esp, 0xc
cmp ecx, 0x10
jb 0x49879d
mov esi, edx
mov dword [esp + 0x18], esi
cmp edx, ebx
je 0x498639
mov eax, edx
cmp ecx, 0x10
jae 0x498620
lea eax, [esp + 0x30]
cmp eax, esi
ja 0x498639
mov eax, edx
cmp ecx, 0x10
jae 0x49862f
lea eax, [esp + 0x30]
mov ebp, dword [esp + 0x40]
add eax, ebp
cmp esi, eax
jbe 0x49864a
call fcn.005a01dd
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
lea ebx, [esp + 0x2c]
mov eax, edx
cmp ecx, 0x10
jae 0x498659
lea eax, [esp + 0x30]
lea edi, [eax + ebp]
test edi, edi
je 0x498680
mov eax, edx
cmp ecx, 0x10
jae 0x49866b
lea eax, [esp + 0x30]
cmp eax, edi
ja 0x498680
mov eax, edx
cmp ecx, 0x10
jae 0x49867a
lea eax, [esp + 0x30]
add eax, ebp
cmp edi, eax
jbe 0x498691
call fcn.005a01dd
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
cmp ecx, 0x10
jb 0x4987ac
mov esi, edx
test edx, edx
je 0x4986c0
mov eax, edx
cmp ecx, 0x10
jae 0x4986ab
lea eax, [esp + 0x30]
cmp eax, esi
ja 0x4986c0
mov eax, edx
cmp ecx, 0x10
jae 0x4986ba
lea eax, [esp + 0x30]
add eax, ebp
cmp esi, eax
jbe 0x4986c5
call fcn.005a01dd
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x24], 0
mov ecx, dword [esp + 0x24]
push ecx
push edx
push fcn.005a3eaf
push eax
push ebx
push edi
lea ecx, [esp + 0x3c]
push esi
push ecx
call fcn.004983f0
mov edx, dword [esp + 0x60]
add esp, 0x20
push 3
push 0x60d498
push edx
push 0
lea ecx, [esp + 0x3c]
call fcn.00406860
test eax, eax
jne 0x4987b5
mov ecx, dword [0x6293ec]
mov edx, dword [0x6293f0]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x6293f4]
mov dword [eax + 4], edx
mov edx, dword [0x6293f8]
mov dword [eax + 8], ecx
mov ecx, dword [0x6293fc]
mov dword [eax + 0xc], edx
mov edx, dword [0x629400]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x629404]
mov dword [eax + 4], edx
mov edx, dword [0x629408]
mov dword [eax + 8], ecx
mov ecx, dword [0x62940c]
mov dword [eax + 0xc], edx
mov edx, dword [0x629410]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x629414]
mov dword [eax + 4], edx
mov edx, dword [0x629418]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x54]
call fcn.004978f0
jmp 0x49885a
lea eax, [esp + 0x30]
mov dword [esp + 0x18], eax
mov esi, eax
jmp 0x498615
lea esi, [esp + 0x30]
jmp 0x4986a0
mov edx, dword [esp + 0x40]
push 4
push str.mp43
push edx
push 0
lea ecx, [esp + 0x3c]
call fcn.00406860
test eax, eax
jne 0x498847
mov ecx, dword [0x60d410]
mov edx, dword [0x60d414]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x60d418]
mov dword [eax + 4], edx
mov edx, dword [0x60d41c]
mov dword [eax + 8], ecx
mov ecx, dword [0x60d400]
mov dword [eax + 0xc], edx
mov edx, dword [0x60d404]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x60d408]
mov dword [eax + 4], edx
mov edx, dword [0x60d40c]
mov dword [eax + 8], ecx
mov ecx, dword [0x6293dc]
mov dword [eax + 0xc], edx
mov edx, dword [0x6293e0]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x6293e4]
mov dword [eax + 4], edx
mov edx, dword [0x6293e8]
jmp 0x49877f
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
push 0
lea ecx, [esp + 0x4c]
push ecx
push eax
call edx
mov esi, eax
test esi, esi
jl 0x498875
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push 0x62938c
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x44], 0x10
jb 0x498895
mov eax, dword [esp + 0x30]
push eax
call fcn.0059fc2a
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x464]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44c]
xor ecx, esp
call fcn.005a09eb
add esp, 0x45c
ret 0xc