Function at 0x419d60
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4725f7
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x490018]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x460], esi
mov ebp, dword [esp + 0x468]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x40], esi
mov dword [esp + 0x460], 1
push 0x47d6d8
lea ecx, [esp + 0x1c]
call dword [0x4763f4]
mov byte [esp + 0x460], 2
xor ebx, ebx
mov dword [esp + 0x30], ebx
xor edi, edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], esi
mov byte [esp + 0x460], 3
push 0x47d6d8
mov ecx, ebp
call dword [0x4763f4]
mov eax, dword [esp + 0x46c]
mov eax, dword [eax - 0xc]
cmp eax, 2
mov dword [esp + 0x40], 1
jge 0x419ed7
push 0x40e
lea edx, [esp + 0x4a]
xor ecx, ecx
push esi
push edx
mov word [esp + 0x50], cx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [esp + 0x44]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push esi
lea ecx, [esp + 0x470]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetAt]
mov edx, 0x5c
cmp dx, ax
mov eax, dword [esp + 0x18]
mov eax, dword [eax - 0xc]
jne 0x419ea5
cmp eax, esi
je 0x419e98
dec eax
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
cmp ax, 0x5c
jne 0x419e98
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
push 1
dec eax
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Delete]
lea edx, [esp + 0x46c]
push edx
jmp 0x41a05b
cmp eax, esi
je 0x41a053
dec eax
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
cmp ax, 0x5c
je 0x41a053
push 0x47d53c
lea ecx, [esp + 0x1c]
call dword [0x476390]
jmp 0x41a053
push 1
lea ecx, [esp + 0x470]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetAt]
mov edx, 0x3a
cmp dx, ax
jne 0x419f07
lea eax, [esp + 0x46c]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
jmp 0x41a065
push esi
lea ecx, [esp + 0x470]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetAt]
mov ecx, 0x5c
cmp cx, ax
jne 0x419fea
push 1
lea ecx, [esp + 0x470]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetAt]
mov edx, 0x5c
cmp dx, ax
jne 0x419fea
lea eax, [esp + 0x46c]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov byte [esp + 0x460], 2
cmp ebx, esi
je 0x419f89
mov esi, ebx
cmp ebx, edi
je 0x419f80
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
add esi, 4
cmp esi, edi
jne 0x419f71
push ebx
call sub.mfc90u.dll_delete
add esp, 4
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov byte [esp + 0x460], 1
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x460], 0
lea ecx, [esp + 0x46c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, ebp
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.00428cb4
add esp, 0x450
ret 8
push 0x40e
lea edx, [esp + 0x4a]
xor ecx, ecx
push esi
push edx
mov word [esp + 0x50], cx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [esp + 0x44]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push esi
lea ecx, [esp + 0x470]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetAt]
mov edx, 0x5c
lea esi, [esp + 0x18]
cmp dx, ax
jne 0x41a04e
call fcn.00401d90
lea eax, [esp + 0x46c]
push eax
jmp 0x41a05b
call fcn.00401d60
lea ecx, [esp + 0x46c]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
push 0x47d6d8
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 0
call dword [0x4763f4]
mov byte [esp + 0x460], 4
lea edx, [esp + 0x28]
push edx
push 0x47d53c
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Tokenize]
mov byte [esp + 0x460], 5
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov byte [esp + 0x460], 4
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x47d6d8
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
je 0x41a1e3
push 0x47d59c
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
je 0x41a18e
push 0x47d580
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
jne 0x41a133
mov ecx, edi
sub ecx, ebx
test ecx, 0xfffffffc
je 0x41a18e
lea ebp, [edi - 4]
mov esi, ebp
cmp esi, edi
je 0x41a127
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
add esi, 4
cmp esi, edi
jne 0x41a118
mov edi, ebp
mov dword [esp + 0x34], edi
mov ebp, dword [esp + 0x20]
jmp 0x41a18e
test ebx, ebx
jne 0x41a13b
xor eax, eax
jmp 0x41a144
mov eax, dword [esp + 0x38]
sub eax, ebx
sar eax, 2
mov edx, edi
sub edx, ebx
sar edx, 2
cmp edx, eax
jae 0x41a177
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x24]
push edx
push 1
push edi
call fcn.004056f0
add esp, 0x14
add edi, 4
mov dword [esp + 0x34], edi
jmp 0x41a18e
push edi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
call fcn.00404cc0
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x28]
push ecx
push 0x47d53c
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Tokenize]
mov byte [esp + 0x460], 6
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov byte [esp + 0x460], 4
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x47d6d8
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
jne 0x41a0d9
push ebx
mov ecx, ebp
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov eax, edi
sub eax, ebx
sar eax, 2
cmp eax, 1
jbe 0x41a241
lea esi, [ebx + 4]
lea ebp, [eax - 1]
mov edi, edi
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x41a22a
dec eax
push eax
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
cmp ax, 0x5c
je 0x41a22a
mov ecx, dword [esp + 0x20]
push 0x47d53c
call dword [0x476390]
mov ecx, dword [esp + 0x20]
push esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
add esi, 4
sub ebp, 1
jne 0x41a200
mov ebp, dword [esp + 0x20]
mov byte [esp + 0x460], 3
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor esi, esi
jmp 0x419f5f