Function at 0x492940
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4afbdb
mov eax, dword fs:[0]
push eax
mov eax, 0x1d2c
call fcn.0049e430
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x1d28], eax
push ebx
push ebp
push edi
mov eax, dword [0x4c0390]
xor eax, esp
push eax
lea eax, [esp + 0x1d3c]
mov dword fs:[0], eax
mov eax, dword [esi + 0x104]
xor ebx, ebx
xor edi, edi
xor ecx, ecx
cmp eax, ebx
jbe 0x4929d9
mov bp, word [0x4e798c]
mov dl, byte [0x4e758c]
jmp 0x4929a0
cmp dl, bl
jne 0x4929a9
cmp bp, bx
je 0x4929aa
inc edi
inc ecx
cmp ecx, eax
jb 0x4929a0
cmp edi, ebx
je 0x4929d9
call fcn.00490110
cmp dword [0x4dc178], ebx
je 0x4929d9
mov eax, dword [0x4db83c]
cmp eax, ebx
je 0x492dce
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x492dce
xor eax, eax
jmp 0x4929e0
mov cl, byte [eax + 0x4e36b0]
mov byte [esp + eax + 0xd38], cl
inc eax
cmp cl, bl
jne 0x4929e0
push 0x4e3ab0
lea eax, [esp + 0x153c]
push eax
call fcn.0046dae0
xor ecx, ecx
cmp byte [esp + 0xd38], 0x3f
mov byte [0x4e36b0], bl
mov word [0x4e3ab0], cx
jne 0x492b37
mov ax, word [esp + 0x1538]
cmp ax, bx
je 0x492aac
cmp ax, 0x3f
jne 0x492b37
lea eax, [esp + 0x153a]
push eax
lea edx, [esp + 0xd3d]
push edx
call fcn.0047e3b0
mov eax, dword [esi + 0x104]
cmp eax, 1
jbe 0x492ab3
lea ecx, [esp + 0x10]
call fcn.00465890
mov dword [esp + 0x1d44], ebx
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00490030
cmp byte [esp + 0xd39], bl
push 1
sete cl
movzx edx, cl
push edx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
push ebx
push 1
call fcn.00483b20
mov dword [esp + 0x1d44], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00465510
jmp 0x492dce
mov eax, 0x4b1a74
jmp 0x492a3f
jne 0x492afa
push 0x400
push ebx
lea ecx, [esp + 0x110]
push ecx
mov ecx, esi
call fcn.0043cd40
push eax
push 0x4e758c
call fcn.00465320
push 0x3ff
push ebx
lea edx, [esp + 0x110]
push edx
mov ecx, esi
call fcn.0043cd40
add eax, 0x400
push eax
push 0x4e798c
call fcn.0046db10
push ebx
push 1
push 0x4e798c
push 0x4e758c
mov ecx, 0x4e0c08
call fcn.004145d0
cmp eax, 1
jne 0x492dce
cmp byte [esp + 0xd39], bl
sete al
movzx ecx, al
push ecx
push 1
push ebx
push 1
call fcn.004842b0
jmp 0x492dce
movsx edx, byte [0x4e695b]
push edx
call fcn.0049ed36
add esp, 4
cmp eax, 0x45
jne 0x492b56
mov dword [0x4e5768], 2
movsx eax, byte [0x4e695b]
push eax
call fcn.0049ed36
add esp, 4
cmp eax, 0x54
sete cl
mov byte [0x4e585a], cl
mov byte [esp + 0x1138], bl
cmp byte [esp + 0xd38], bl
je 0x492bab
lea edx, [esp + 0x1138]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push ebx
lea eax, [esp + 0x153c]
push eax
lea ecx, [esp + 0xd40]
push ecx
call fcn.00430250
call fcn.00486ab0
mov ebp, eax
cmp byte [0x4e6944], bl
je 0x492bc9
cmp dword [esi + 0x104], 1
ja 0x492bc9
mov byte [0x4e5d21], bl
xor edi, edi
cmp dword [esi + 0x104], ebx
jbe 0x492d65
jmp 0x492be0
cmp dword [0x4dc178], ebx
jne 0x492d65
mov ecx, dword [0x4e8198]
call fcn.00465590
push edi
lea edx, [esp + 0x10c]
push edx
mov ecx, esi
call fcn.0043cd40
push 0x400
lea eax, [esp + 0x10c]
push eax
push 0x4e758c
call fcn.00465320
push 0x400
lea ecx, [esp + 0x50c]
push ecx
push 0x4e798c
call fcn.00465360
mov edx, dword [esp + 0xd34]
mov dword [0x4e613c], edx
cmp byte [0x4e758c], bl
jne 0x492c57
cmp word [0x4e798c], bx
je 0x492d3b
cmp byte [0x4e585a], bl
push 0x4e758c
sete al
lea eax, [eax*4 + 0x54]
push eax
call fcn.00480e40
cmp byte [0x4e585a], bl
jne 0x492ca0
cmp byte [esp + 0xd38], bl
je 0x492ca0
lea ecx, [esp + 0x1538]
push ecx
lea edx, [esp + 0xd3c]
push edx
call fcn.0047e3b0
test al, al
je 0x492d4a
push ebx
push 1
lea eax, [esp + 0x510]
push eax
lea ecx, [esp + 0x114]
push ecx
mov ecx, 0x4e0c08
call fcn.004145d0
cmp byte [0x4e585a], bl
je 0x492cf0
mov ecx, 0x4e0c08
call fcn.00411260
test al, 1
jne 0x492cf0
push 0x3ac
call fcn.0045bde0
push eax
lea edx, [esp + 0x10c]
push edx
call fcn.00445390
add esp, 8
jmp 0x492d03
movzx eax, byte [0x4e6942]
push ebx
push eax
mov ecx, 0x4e0c08
call fcn.00416240
cmp byte [esp + 0x1138], bl
je 0x492d1c
lea ecx, [esp + 0x1138]
push ecx
call fcn.004ac458
add esp, 4
mov edx, dword [esp + 0xd08]
add dword [0x4dc168], edx
mov eax, dword [esp + 0xd0c]
adc dword [0x4dc16c], eax
call fcn.00480cd0
inc edi
cmp edi, dword [esi + 0x104]
jb 0x492be0
jmp 0x492d65
lea ecx, [esp + 0xd38]
push ecx
push 0x1f7
call fcn.0045bde0
push eax
call fcn.0048e100
add esp, 8
call fcn.00486ab0
cmp ebp, eax
jne 0x492d82
cmp dword [0x4db840], ebx
jne 0x492d82
cmp dword [0x4dc178], ebx
jne 0x492d82
mov al, 1
jmp 0x492d84
xor al, al
cmp byte [0x4e585a], bl
je 0x492dce
cmp byte [0x4e6944], bl
je 0x492dce
cmp al, bl
je 0x492dce
mov eax, dword [0x4db83c]
cmp eax, ebx
je 0x492dce
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x40
push 0x3a7
call fcn.0045bde0
push eax
push 0x3a8
call fcn.0045bde0
mov edx, dword [0x4dc1c8]
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x1d3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1d28]
xor ecx, esp
call fcn.0049dea6
add esp, 0x1d38
ret