Function at 0x4db5f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f9f17
mov eax, dword fs:[0]
push eax
sub esp, 0x570
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x568], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x580]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x24]
mov esi, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [0x523240]
push 0x2b0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x30]
push 0
push eax
mov dword [esp + 0x1c], ecx
mov byte [ecx], 0
call fcn.004e3fe0
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.004dbb60
mov dword [esp + 0x588], 0
mov dword [esp + 0x2a4], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x29c], edi
mov dword [esp + 0x2a8], esi
cmp byte [ebx + 0x27], 0
jne 0x4db9f9
xorps xmm0, xmm0
mov dword [esp + 0x2f0], 0
lea esi, [ebx + 0xc]
movq qword [esp + 0x2e8], xmm0
push esi
lea ecx, [esp + 0x2ec]
call fcn.00412780
mov byte [esp + 0x588], 1
cmp dword [esp + 0x2ec], 0
jne 0x4db739
mov eax, dword [esp + 0x2e8]
xor ecx, ecx
mov dword [esp + 0x2ec], 0
mov word [eax], cx
xor eax, eax
mov word [esp + 0x364], ax
lea eax, [esp + 0x364]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [esp + 0x364]
push eax
lea ecx, [esp + 0x2ec]
call fcn.00412850
cmp byte [ebp + 0x20], 0
je 0x4db99e
push 0x70
lea eax, [esp + 0x2f8]
push 0
push eax
call fcn.004e3fe0
add esp, 0xc
lea ecx, [esp + 0x2f4]
call fcn.004db000
mov byte [esp + 0x588], 2
lea ecx, [esp + 0x2dc]
xorps xmm0, xmm0
mov dword [esp + 0x2e4], 0
movq qword [esp + 0x2dc], xmm0
call fcn.00412560
mov byte [esp + 0x588], 3
lea eax, [esp + 0x2dc]
mov edi, dword [esp + 0x2e8]
xor ecx, ecx
push eax
mov edx, edi
call fcn.0041c110
test al, al
jne 0x4db7d7
push 0x10
push 0x502ee0
push str.Incorrect_output_directory_path
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0x10]
mov esi, 0x80004005
mov byte [ecx], 1
jmp 0x4db89c
lea ecx, [esp + 0x2dc]
call fcn.0041b210
lea eax, [esp + 0x2dc]
push eax
lea ecx, [esp + 0x334]
call fcn.004128e0
mov eax, dword [ebx + 8]
mov dword [esp + 0x35c], eax
mov al, byte [ebx + 3]
mov byte [esp + 0x355], al
mov eax, dword [ebx + 4]
mov dword [esp + 0x358], eax
mov al, byte [ebx + 2]
mov byte [esp + 0x354], al
mov ax, word [ebx]
mov word [esp + 0x362], ax
mov eax, dword [esp + 0x18]
cmp dword [eax + 4], 1
jne 0x4db844
mov eax, dword [eax]
lea ecx, [esp + 0x33c]
push dword [eax]
call fcn.004128e0
mov esi, dword [esp + 0x14]
mov ax, word [ebx + 0x18]
mov word [esp + 0x360], ax
cmp byte [esi + 0x98], 0
je 0x4db870
lea eax, [esi + 0x9c]
push eax
lea ecx, [esp + 0x34c]
call fcn.004128e0
lea eax, [esp + 0x2f4]
push eax
push 0x416220
push dword [esp + 0x24]
push 0xd48
push dword [0x52323c]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
je 0x4db90d
mov esi, 0x80004004
mov byte [esp + 0x588], 2
push dword [esp + 0x2dc]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x588], 1
push dword [esp + 0x348]
call fcn.004df97b
add esp, 4
push dword [esp + 0x33c]
call fcn.004df97b
add esp, 4
push dword [esp + 0x330]
call fcn.004df97b
add esp, 4
lea ecx, [esp + 0x324]
call fcn.00410a70
mov dword [esp + method.NWindows::NControl::CDialog.virtual_0], vtable.NWindows::NControl::CDialog.0
mov byte [esp + 0x588], 0
push edi
jmp 0x4dbb19
lea eax, [esp + 0x330]
push eax
lea ecx, [esp + 0x2ec]
call fcn.004128e0
mov eax, dword [esp + 0x35c]
lea ecx, [esi + 0x9c]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x358]
mov dword [ebx + 4], eax
movzx eax, word [esp + 0x362]
mov word [ebx], ax
movzx eax, word [esp + 0x360]
mov word [ebx + 0x18], ax
lea eax, [esp + 0x348]
push eax
call fcn.004128e0
cmp dword [esp + 0x34c], 0
mov byte [esp + 0x588], 2
push dword [esp + 0x2dc]
setne al
mov byte [esi + 0x98], al
call fcn.004df97b
add esp, 4
mov byte [esp + 0x588], 1
lea ecx, [esp + 0x2f4]
call fcn.004db1d0
lea esi, [ebx + 0xc]
mov edi, dword [esp + 0x2e8]
xor ecx, ecx
push esi
mov edx, edi
call fcn.0041c110
test al, al
jne 0x4db9e1
push 0x10
push 0x502ee0
push str.Incorrect_output_directory_path
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0x10]
mov esi, 0x80004005
mov byte [esp + 0x588], 0
push edi
mov byte [ecx], 1
jmp 0x4dbb19
mov ecx, esi
call fcn.0041b210
push edi
mov byte [esp + 0x58c], 0
call fcn.004df97b
add esp, 4
xor edx, edx
mov dword [esp + 0x2e4], 0
cmp byte [ebx + 0x27], dl
lea ecx, [esp + 0x2dc]
xorps xmm0, xmm0
setne dl
movq qword [esp + 0x2dc], xmm0
lea edx, [edx*2 + 0xce4]
call fcn.004a1ed0
lea eax, [esp + 0x2dc]
mov byte [esp + 0x588], 4
push eax
lea ecx, [esp + 0x2c8]
call fcn.004128e0
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x2c]
mov dword [esp + 0x2a0], esi
push esi
mov dword [esi + 0x74], eax
mov eax, dword [esi]
call dword [eax + 4]
mov ecx, dword [esp + 0x2c0]
test ecx, ecx
je 0x4dba70
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x2a0]
mov dword [esp + 0x2c0], esi
call fcn.004946d0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push dword [esp + 0x1c]
mov dword [esp + 0x2b0], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2b4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2b8], eax
lea eax, [esp + 0x2e0]
push eax
mov byte [esp + 0x234], 0
mov dword [esp + 0x2c0], ebx
mov dword [esp + 0x2c4], 0
mov dword [esp + 0x238], 1
call fcn.004cbaf0
mov esi, eax
test esi, esi
jne 0x4dbb0a
cmp byte [esp + 0x294], al
je 0x4dbafb
cmp byte [esp + 0x22f], al
je 0x4dbafb
lea eax, [esi + 1]
jmp 0x4dbafd
xor eax, eax
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x290]
mov byte [ecx], al
mov byte [esp + 0x588], 0
push dword [esp + 0x2dc]
call fcn.004df97b
add esp, 4
mov dword [esp + 0x588], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.004dbc20
mov eax, esi
mov ecx, dword [esp + 0x580]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x568]
xor ecx, esp
call fcn.004df96c
mov esp, ebp
pop ebp
ret 0x28