Function at 0x4304e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d83e8
push eax
mov eax, 0x1029c
mov dword fs:[0], esp
call fcn.0045b980
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
jmp 0x43051e
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x4307ed
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_3
push 0x32
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::operator
push 0x30
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x30
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x39
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x50
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x6f
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x32
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x4a
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x69
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x65
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x33
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x43
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x68
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x75
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x34
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x4c
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x61
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x69
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x35
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x47
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x65
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x69
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x36
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x4e
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x69
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x37
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x51
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x69
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x61
lea ecx, [ebp - 0x10]
call fcn.0045b03a
push 0x6e
lea ecx, [ebp - 0x10]
call fcn.0045b03a
jmp 0x430674
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call sub.MFC42.DLL_CString::CString_4
call fcn.00431bf0
add esp, 4
cmp eax, edi
je 0x4306ce
lea ecx, [ebp - 0x102a8]
push ecx
push 0x10000
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [ebp + 8]
lea eax, [ebp - 0x102a8]
push edx
lea ecx, [ebp - 0x1c]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::operator_3
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ebx, [esi + 4]
lea edx, [ebp + 8]
push edx
mov ecx, ebx
call sub.MFC42.DLL_CString::operator_3
mov ebx, dword [ebx]
mov dword [ebp - 0x4c], edi
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0x48]
mov dword [esi + 0x14], 1
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x4c]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x34]
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
mov dword [esi + 0x20], edx
call fcn.00483e20
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4307e1
lea edx, [ebp - 0x2a8]
xor eax, eax
mov ecx, 0x4a
lea edi, [ebp - 0x2a4]
push edx
mov dword [ebp - 0x2a8], 0
push eax
push ebx
rep stosd dword es:[edi], eax
call fcn.00483e60
mov eax, dword [ebp - 0x180]
add esp, 0xc
add eax, 0xa
push eax
push 0x42
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4307e1
mov ecx, dword [ebp - 0x1c]
push ecx
push eax
push 0
push ebx
call fcn.00483f60
push ebx
call fcn.00484040
add esp, 0x14
test al, al
push ebx
je 0x430795
call fcn.00483fc0
jmp 0x43079a
call fcn.0047f550
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea edx, [ebp - 0x24]
xor ebx, ebx
push edx
push 1
push edi
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ole32.dll_CreateILockBytesOnHGlobal]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x4307e1
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push ecx
push ebx
push ebx
push 0x10
push ebx
push eax
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ole32.dll_StgOpenStorageOnILockBytes]
mov eax, dword [ebp - 0x24]
push eax
mov edx, dword [eax]
call dword [edx + 8]
cmp dword [ebp - 0x18], ebx
jne 0x430803
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x430e82
mov ecx, 0x4b
xor eax, eax
lea edi, [ebp - 0x17a]
mov word [ebp - 0x17c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, 0x5c2b30
lea edi, [ebp - 0x17c]
mov dword [ebp - 0x1c], ebx
lea eax, [ebx + 8]
mov ecx, edi
mov dword [ebp - 0x14], 0
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
lea edx, [ebp - 0x14]
mov eax, dword [eax + 0xc]
push edx
mov edx, dword [ebx]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x18]
push 0
push 0x10
push 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4308b9
mov ecx, dword [eax]
push 0
push 0x10
push edi
push eax
call dword [ecx + 0xc]
cmp word [edi], 8
jne 0x4308b0
mov eax, dword [ebp - 0x14]
push 0
lea ecx, [ebp - 0x20]
push 4
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xc]
mov edx, dword [ebp - 0x20]
push edx
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edx, dword [ebp - 0x20]
mov ebx, eax
mov eax, dword [ebp - 0x14]
add edx, edx
push 0
push edx
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xc]
mov dword [edi + 8], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
add ebx, 0x18
add edi, 0x10
cmp ebx, 0x5c2cf8
mov dword [ebp - 0x1c], ebx
jl 0x430829
mov eax, dword [ebp - 0x174]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x4308df
xor edi, edi
jmp 0x430911
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.0045b980
mov edx, dword [ebp - 0x20]
mov edi, esp
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push edx
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [esi + 8]
push edi
call fcn.0045acce
mov eax, dword [ebp - 0x174]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ax, word [ebp - 0x144]
movsx ecx, word [ebp - 0x164]
movsx edx, word [ebp - 0x154]
mov word [esi + 0x24], ax
mov ax, word [ebp - 0x114]
mov dword [esi + 0x18], ecx
mov cx, word [ebp - 0x134]
mov dword [ebp - 0x28], edx
mov dx, word [ebp - 0x124]
mov word [esi + 0x2a], ax
mov word [esi + 0x26], cx
movsx eax, word [ebp - 0xe4]
mov cx, word [ebp - 0x104]
mov word [esi + 0x28], dx
mov dx, word [ebp - 0xf4]
mov dword [esi + 0x30], eax
movsx eax, word [ebp - 0xb4]
mov word [esi + 0x2c], cx
mov cx, word [ebp - 0xd4]
mov word [esi + 0x2e], dx
mov edx, dword [ebp - 0xc4]
mov word [esi + 0x34], cx
mov dword [esi + 0x38], edx
movsx ecx, word [ebp - 0xa4]
movsx edx, word [ebp - 0x94]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x84]
test eax, eax
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], edx
mov dword [ebp - 0x20], eax
jne 0x4309ca
xor edi, edi
jmp 0x4309fc
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.0045b980
mov eax, dword [ebp - 0x20]
mov edi, esp
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push eax
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
lea ecx, [esi + 0x48]
call fcn.0045acce
mov ecx, dword [ebp - 0x84]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
movsx edx, word [ebp - 0x74]
mov eax, dword [ebp - 0x64]
mov dword [esi + 0xa0], edx
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x430a2a
xor edi, edi
jmp 0x430a5c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.0045b980
mov eax, dword [ebp - 0x20]
mov edi, esp
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push eax
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ebx, [esi + 0xa4]
push edi
mov ecx, ebx
call fcn.0045acce
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [esi + 0xa0], 2
jne 0x430a9c
mov ebx, dword [ebx]
push 0x5e2540
push ebx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x430a9c
mov dword [esi + 0xa0], 0
mov eax, dword [ebp - 0x54]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x430aaa
xor edi, edi
jmp 0x430adc
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.0045b980
mov edx, dword [ebp - 0x20]
mov edi, esp
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push edx
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
lea ecx, [esi + 0xcc]
call fcn.0045acce
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push 0
mov ecx, dword [eax]
push 0x10
push 0
push str.Comment
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x430b3d
mov ecx, dword [eax]
push 0
lea edx, [ebp - 0x102a8]
push 0x10000
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea edx, [ebp - 0x102a8]
lea ecx, [esi + 0x10]
push edx
call fcn.0045acce
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push 0
mov ecx, dword [eax]
push 0x10
push 0
push str.Description
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x430b88
mov ecx, dword [eax]
push 0
lea edx, [ebp - 0x102a8]
push 0x10000
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea edx, [ebp - 0x102a8]
lea ecx, [esi + 0xc]
push edx
call fcn.0045acce
push ecx
lea eax, [esi + 8]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [ebp - 0x18]
lea ecx, [esi + 0x90]
push eax
call fcn.004351b0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push 0
mov ecx, dword [eax]
push 0x10
push 0
push 0x5c2fac
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x430be3
push 0
push 1
push eax
mov ecx, esi
call fcn.0042fb00
push 0
mov ecx, esi
call fcn.0042f660
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [ebp - 0x18]
lea ecx, [esi + 0x4c]
push edx
call fcn.00435610
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push 0
mov ecx, dword [eax]
push 0x10
push 0
push str.CompilerVer
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x430c3d
mov ecx, dword [eax]
push 0
lea edx, [ebp - 0x102a8]
push 0x10000
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea edx, [ebp - 0x102a8]
lea ecx, [esi + 0xc8]
push edx
call fcn.0045acce
mov dword [ebp - 0x1c], 0
call fcn.0045eb80
add ebx, 6
call ebx
ljmp 2
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x102b4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4