Function at 0x492af0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4afe0b
mov eax, dword fs:[0]
push eax
mov eax, 0x1d2c
call fcn.0049e650
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 0x492b8a
mov bp, word [0x4e79ac]
mov dl, byte [0x4e75ac]
jmp 0x492b50
cmp dl, bl
jne 0x492b59
cmp bp, bx
je 0x492b5a
inc edi
inc ecx
cmp ecx, eax
jb 0x492b50
cmp edi, 1
jne 0x492b8a
call fcn.00490040
cmp dword [0x4dc178], ebx
je 0x492b8a
mov eax, dword [0x4db83c]
cmp eax, ebx
je 0x492f7e
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x492f7e
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x4e36c0]
mov byte [esp + eax + 0xd38], cl
inc eax
cmp cl, bl
jne 0x492b90
push 0x4e3ac0
lea eax, [esp + 0x153c]
push eax
call fcn.0046d630
xor ecx, ecx
cmp byte [esp + 0xd38], 0x3f
mov byte [0x4e36c0], bl
mov word [0x4e3ac0], cx
jne 0x492ce7
mov ax, word [esp + 0x1538]
cmp ax, bx
je 0x492c5c
cmp ax, 0x3f
jne 0x492ce7
lea eax, [esp + 0x153a]
push eax
lea edx, [esp + 0xd3d]
push edx
call fcn.0047df10
mov eax, dword [esi + 0x104]
cmp eax, 1
jbe 0x492c63
lea ecx, [esp + 0x10]
call fcn.004653d0
mov dword [esp + 0x1d44], ebx
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0048ff60
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.004836b0
mov dword [esp + 0x1d44], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00465050
jmp 0x492f7e
mov eax, 0x4b1a74
jmp 0x492bef
jne 0x492caa
push 0x400
push ebx
lea ecx, [esp + 0x110]
push ecx
mov ecx, esi
call fcn.0043cc90
push eax
push 0x4e75ac
call fcn.00464e60
push 0x3ff
push ebx
lea edx, [esp + 0x110]
push edx
mov ecx, esi
call fcn.0043cc90
add eax, 0x400
push eax
push 0x4e79ac
call fcn.0046d660
push ebx
push 1
push 0x4e79ac
push 0x4e75ac
mov ecx, 0x4e0c18
call fcn.00414420
cmp eax, 1
jne 0x492f7e
cmp byte [esp + 0xd39], bl
sete al
movzx ecx, al
push ecx
push 1
push ebx
push 1
call fcn.00483e40
jmp 0x492f7e
movsx edx, byte [0x4e697b]
push edx
call fcn.0049ef56
add esp, 4
cmp eax, 0x45
jne 0x492d06
mov dword [0x4e5778], 2
movsx eax, byte [0x4e697b]
push eax
call fcn.0049ef56
add esp, 4
cmp eax, 0x54
sete cl
mov byte [0x4e586a], cl
mov byte [esp + 0x1138], bl
cmp byte [esp + 0xd38], bl
je 0x492d5b
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.004301a0
call fcn.004866b0
mov ebp, eax
cmp byte [0x4e6954], bl
je 0x492d79
cmp dword [esi + 0x104], 1
ja 0x492d79
mov byte [0x4e5d31], bl
xor edi, edi
cmp dword [esi + 0x104], ebx
jbe 0x492f15
jmp 0x492d90
cmp dword [0x4dc178], ebx
jne 0x492f15
mov ecx, dword [0x4e81b8]
call fcn.004650d0
push edi
lea edx, [esp + 0x10c]
push edx
mov ecx, esi
call fcn.0043cc90
push 0x400
lea eax, [esp + 0x10c]
push eax
push 0x4e75ac
call fcn.00464e60
push 0x400
lea ecx, [esp + 0x50c]
push ecx
push 0x4e79ac
call fcn.00464ea0
mov edx, dword [esp + 0xd34]
mov dword [0x4e614c], edx
cmp byte [0x4e75ac], bl
jne 0x492e07
cmp word [0x4e79ac], bx
je 0x492eeb
cmp byte [0x4e586a], bl
push 0x4e75ac
sete al
lea eax, [eax*4 + 0x54]
push eax
call fcn.004809b0
cmp byte [0x4e586a], bl
jne 0x492e50
cmp byte [esp + 0xd38], bl
je 0x492e50
lea ecx, [esp + 0x1538]
push ecx
lea edx, [esp + 0xd3c]
push edx
call fcn.0047df10
test al, al
je 0x492efa
push ebx
push 1
lea eax, [esp + 0x510]
push eax
lea ecx, [esp + 0x114]
push ecx
mov ecx, 0x4e0c18
call fcn.00414420
cmp byte [0x4e586a], bl
je 0x492ea0
mov ecx, 0x4e0c18
call fcn.004112d0
test al, 1
jne 0x492ea0
push 0x3ac
call fcn.0045b8f0
push eax
lea edx, [esp + 0x10c]
push edx
call fcn.0048cce0
add esp, 8
jmp 0x492eb3
movzx eax, byte [0x4e6952]
push ebx
push eax
mov ecx, 0x4e0c18
call fcn.00416070
cmp byte [esp + 0x1138], bl
je 0x492ecc
lea ecx, [esp + 0x1138]
push ecx
call fcn.004ac688
add esp, 4
mov edx, dword [esp + 0xd08]
add dword [0x4dc168], edx
mov eax, dword [esp + 0xd0c]
adc dword [0x4dc16c], eax
call fcn.00480840
inc edi
cmp edi, dword [esi + 0x104]
jb 0x492d90
jmp 0x492f15
lea ecx, [esp + 0xd38]
push ecx
push 0x1f7
call fcn.0045b8f0
push eax
call fcn.0048c7e0
add esp, 8
call fcn.004866b0
cmp ebp, eax
jne 0x492f32
cmp dword [0x4db840], ebx
jne 0x492f32
cmp dword [0x4dc178], ebx
jne 0x492f32
mov al, 1
jmp 0x492f34
xor al, al
cmp byte [0x4e586a], bl
je 0x492f7e
cmp byte [0x4e6954], bl
je 0x492f7e
cmp al, bl
je 0x492f7e
mov eax, dword [0x4db83c]
cmp eax, ebx
je 0x492f7e
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x40
push 0x3a7
call fcn.0045b8f0
push eax
push 0x3a8
call fcn.0045b8f0
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.0049e0c6
add esp, 0x1d38
ret