Function at 0x493030
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4b033b
mov eax, dword fs:[0]
push eax
mov eax, 0x1d30
call fcn.0049ebb0
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x1d2c], eax
push ebx
push ebp
push edi
mov eax, dword [0x4c03a0]
xor eax, esp
push eax
lea eax, [esp + 0x1d40]
mov dword fs:[0], eax
mov eax, dword [esi + 0x104]
xor ebx, ebx
xor edi, edi
xor ecx, ecx
cmp eax, ebx
jbe 0x4930ca
mov bp, word [0x4e79f4]
mov dl, byte [0x4e75f4]
jmp 0x493090
cmp dl, bl
jne 0x493099
cmp bp, bx
je 0x49309a
inc edi
inc ecx
cmp ecx, eax
jb 0x493090
cmp edi, 1
jne 0x4930ca
call fcn.004905a0
cmp dword [0x4dc1c0], ebx
je 0x4930ca
mov eax, dword [0x4db884]
cmp eax, ebx
je 0x4934d5
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x4934d5
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x4e3708]
mov byte [esp + eax + 0xd3c], cl
inc eax
cmp cl, bl
jne 0x4930d0
push 0x4e3b08
lea eax, [esp + 0x1540]
push eax
call fcn.0046db30
xor ecx, ecx
cmp byte [esp + 0xd3c], 0x3f
mov byte [0x4e3708], bl
mov word [0x4e3b08], cx
jne 0x493227
mov ax, word [esp + 0x153c]
cmp ax, bx
je 0x49319c
cmp ax, 0x3f
jne 0x493227
lea eax, [esp + 0x153e]
push eax
lea edx, [esp + 0xd41]
push edx
call fcn.0047e420
mov eax, dword [esi + 0x104]
cmp eax, 1
jbe 0x4931a3
lea ecx, [esp + 0x14]
call fcn.004658e0
mov dword [esp + 0x1d48], ebx
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.004904c0
cmp byte [esp + 0xd3d], bl
push 1
sete cl
movzx edx, cl
push edx
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
push ebx
push 1
call fcn.00483bf0
mov dword [esp + 0x1d48], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00465560
jmp 0x4934d5
mov eax, 0x4b1a74
jmp 0x49312f
jne 0x4931ea
push 0x400
push ebx
lea ecx, [esp + 0x114]
push ecx
mov ecx, esi
call fcn.0043d090
push eax
push 0x4e75f4
call fcn.00465370
push 0x3ff
push ebx
lea edx, [esp + 0x114]
push edx
mov ecx, esi
call fcn.0043d090
add eax, 0x400
push eax
push 0x4e79f4
call fcn.0046db60
push ebx
push 1
push 0x4e79f4
push 0x4e75f4
mov ecx, 0x4e0c60
call fcn.00414490
cmp eax, 1
jne 0x4934d5
cmp byte [esp + 0xd3d], bl
sete al
movzx ecx, al
push ecx
push 1
push ebx
push 1
call fcn.00484380
jmp 0x4934d5
movsx edx, byte [0x4e69c3]
push edx
call fcn.0049f4b6
add esp, 4
cmp eax, 0x45
jne 0x493246
mov dword [0x4e57c0], 2
movsx eax, byte [0x4e69c3]
push eax
call fcn.0049f4b6
add esp, 4
cmp eax, 0x54
sete cl
mov byte [0x4e58b2], cl
mov byte [esp + 0x113c], bl
cmp byte [esp + 0xd3c], bl
je 0x49329b
lea edx, [esp + 0x113c]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push ebx
lea eax, [esp + 0x1540]
push eax
lea ecx, [esp + 0xd44]
push ecx
call fcn.00430590
call fcn.00486bf0
mov dword [esp + 0x10], eax
cmp byte [0x4e699c], bl
je 0x4932bb
cmp dword [esi + 0x104], 1
ja 0x4932bb
mov byte [0x4e5d79], bl
xor ebp, ebp
xor edi, edi
cmp dword [esi + 0x104], ebx
jbe 0x49346a
jmp 0x4932d0
cmp dword [0x4dc1c0], ebx
jne 0x49346a
mov ecx, dword [0x4e8200]
call fcn.004655e0
push edi
lea edx, [esp + 0x110]
push edx
mov ecx, esi
call fcn.0043d090
push 0x400
lea eax, [esp + 0x110]
push eax
push 0x4e75f4
call fcn.00465370
push 0x400
lea ecx, [esp + 0x510]
push ecx
push 0x4e79f4
call fcn.004653b0
mov edx, dword [esp + 0xd38]
mov dword [0x4e6194], edx
cmp byte [0x4e75f4], bl
jne 0x493347
cmp word [0x4e79f4], bx
je 0x493440
cmp byte [0x4e58b2], bl
push 0x4e75f4
sete al
lea eax, [eax*4 + 0x54]
push eax
call fcn.00480ec0
cmp byte [0x4e58b2], bl
jne 0x493390
cmp byte [esp + 0xd3c], bl
je 0x493390
lea ecx, [esp + 0x153c]
push ecx
lea edx, [esp + 0xd40]
push edx
call fcn.0047e420
test al, al
je 0x49344f
push ebx
push 1
lea eax, [esp + 0x514]
push eax
lea ecx, [esp + 0x118]
push ecx
mov ecx, 0x4e0c60
call fcn.00414490
cmp byte [0x4e58b2], bl
je 0x4933e0
mov ecx, 0x4e0c60
call fcn.004112e0
test al, 1
jne 0x4933e0
push 0x3ac
call fcn.0045be10
push eax
lea edx, [esp + 0x110]
push edx
call fcn.0048d240
add esp, 8
jmp 0x493408
movzx eax, byte [0x4e699a]
push ebx
push eax
mov ecx, 0x4e0c60
call fcn.004160e0
cmp ebp, ebx
je 0x493402
push ebp
mov ecx, 0x4c93ac
call fcn.00427f90
mov ebp, dword [0x4c93ac]
cmp byte [esp + 0x113c], bl
je 0x493421
lea ecx, [esp + 0x113c]
push ecx
call fcn.004acbe8
add esp, 4
mov edx, dword [esp + 0xd0c]
add dword [0x4dc1b0], edx
mov eax, dword [esp + 0xd10]
adc dword [0x4dc1b4], eax
call fcn.00480d50
inc edi
cmp edi, dword [esi + 0x104]
jb 0x4932d0
jmp 0x49346a
lea ecx, [esp + 0xd3c]
push ecx
push 0x1f7
call fcn.0045be10
push eax
call fcn.0048cd40
add esp, 8
call fcn.00486bf0
cmp dword [esp + 0x10], eax
jne 0x493489
cmp dword [0x4db888], ebx
jne 0x493489
cmp dword [0x4dc1c0], ebx
jne 0x493489
mov al, 1
jmp 0x49348b
xor al, al
cmp byte [0x4e58b2], bl
je 0x4934d5
cmp byte [0x4e699c], bl
je 0x4934d5
cmp al, bl
je 0x4934d5
mov eax, dword [0x4db884]
cmp eax, ebx
je 0x4934d5
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x40
push 0x3a7
call fcn.0045be10
push eax
push 0x3a8
call fcn.0045be10
mov edx, dword [0x4dc210]
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x1d40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1d2c]
xor ecx, esp
call fcn.0049e626
add esp, 0x1d3c
ret