Function at 0x41c250
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf20
mov eax, dword [0x551aa8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x55c59c]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call esi
mov ebx, dword [sym.imp.mfc100u.dll_new__]
xor ecx, ecx
mov edi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call ebx
add esp, 4
push edi
push eax
push 0xffffffffffffffff
mov dword [0x55c308], eax
mov eax, dword [0x55c59c]
push eax
push 0
push 0
call esi
mov ecx, dword [0x55c594]
push 0
push 0
push 0xffffffffffffffff
push ecx
push 0
push 0
call esi
xor ecx, ecx
mov edi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call ebx
add esp, 4
push edi
push eax
push 0xffffffffffffffff
mov dword [0x55c300], eax
mov eax, dword [0x55c594]
push eax
push 0
push 0
call esi
mov ecx, dword [0x55c590]
push 0
push 0
push 0xffffffffffffffff
push ecx
push 0
push 0
call esi
xor ecx, ecx
mov edi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call ebx
add esp, 4
push edi
push eax
mov dword [0x55c30c], eax
push 0xffffffffffffffff
mov eax, dword [0x55c590]
push eax
push 0
push 0
call esi
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [ebp - 0xf1a]
push edx
mov word [ebp - 0xf1c], cx
call sub.MSVCR100.dll_memset
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x71a]
push ecx
mov word [ebp - 0x71c], ax
call sub.MSVCR100.dll_memset
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x30a]
push eax
mov word [ebp - 0x30c], dx
call sub.MSVCR100.dll_memset
mov edx, dword [0x55c598]
add esp, 0x24
push 0x104
lea ecx, [ebp - 0x30c]
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
call esi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x512]
push ecx
mov word [ebp - 0x514], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x514]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x514]
push ecx
push 0x543b90
lea edx, [ebp - 0x71c]
call fcn.0040a7b0
push 0xff
lea edx, [ebp - 0x103]
push 0
push edx
mov dword [ebp - 0xf20], 0
mov byte [ebp - 0x104], 0
call sub.MSVCR100.dll_memset
push 0x543b9c
lea eax, [ebp - 0x71c]
push eax
lea ecx, [ebp - 0xf20]
push ecx
call dword [sym.imp.MSVCR100.dll__wfopen_s]
add esp, 0x24
test eax, eax
jne 0x41c4e0
mov edx, dword [ebp - 0xf20]
push eax
push eax
push edx
call dword [sym.imp.MSVCR100.dll_fseek]
mov ecx, dword [ebp - 0xf20]
push 0x100
lea eax, [ebp - 0x104]
push eax
push 0x5438cc
push ecx
call dword [sym.imp.MSVCR100.dll_fscanf_s]
mov edx, dword [ebp - 0xf20]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 0x20
push 0x400
lea eax, [ebp - 0xf1c]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x104]
push ecx
push 0
push 0
call esi
lea edx, [ebp - 0xf1c]
push edx
call dword [sym.imp.MSVCR100.dll__wtoi]
add esp, 4
test eax, eax
je 0x41c4e0
cmp eax, 0xfa0
jb 0x41c4c4
pop edi
pop esi
mov dword [0x55c340], 0xee6b2800
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050bf32
mov esp, ebp
pop ebp
ret
imul eax, eax, 0xf4240
pop edi
pop esi
mov dword [0x55c340], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050bf32
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [0x55c340], 0xe0000000
pop ebx
call fcn.0050bf32
mov esp, ebp
pop ebp
ret