Function at 0x404309
Capabilities:
Get common file path
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push 0x41294e
push 0x190
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x65
pop eax
mov word [ebp - 0x10], ax
push str.geometry_for.lib
call dword [sym.imp.SHLWAPI.dll_PathIsFileSpecW]
push str.foss
push str.toss
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.O__4353__234235
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
lea eax, [ebp - 0x24]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 4]
mov dword [0x41269a], eax
push 0
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov eax, dword [0x41269a]
mov eax, dword [eax + 4]
mov dword [0x41268e], eax
mov eax, dword [0x41268e]
mov dword [0x412652], eax
mov eax, dword [0x41269a]
mov eax, dword [eax + 8]
mov dword [0x412692], eax
mov eax, dword [0x412696]
push dword [ebp - 0x10]
mov esi, str.country_house
push esi
mov dword [0x41265a], eax
call dword [sym.imp.SHLWAPI.dll_StrChrIW]
test eax, eax
je 0x4043b1
push esi
push 0
call dword [sym.imp.SHLWAPI.dll_StrStrW]
mov eax, dword [0x41269a]
mov eax, dword [eax + 0xc]
mov dword [0x412696], eax
mov eax, dword [0x412692]
mov dword [0x412656], eax
mov eax, dword [ebp - 0xc]
mov dword [0x41265e], eax
call fcn.004014df
mov dword [ebp - 4], 0x43dac9f
mov ecx, dword [0x412576]
mov eax, 0x43dac9e
add ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
cmp edx, ecx
je 0x40440b
mov ecx, dword [ebp - 4]
sub ecx, 0x43d95a8
jmp 0x404410
mov ecx, 0xe3e
xor edx, edx
add ecx, 0x4d85b29e
mov dword [ebp - 0x30], ecx
adc edx, 3
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], 0x41269e
mov dword [ebp - 0x1c], 0x4126a6
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 8], ecx
mov ecx, dword [0x41265e]
mov ecx, dword [ecx]
add ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], 0x41256e
mov ecx, dword [0x41269a]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], 0x412576
mov ecx, dword [ebp - 4]
sub ecx, eax
je 0x404512
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
sub ecx, eax
mov dword [edx], ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov esi, dword [ecx]
cmp esi, dword [edx]
jne 0x40449d
mov ecx, dword [ecx + 4]
cmp ecx, dword [edx + 4]
jne 0x40449d
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [0x41256e], ecx
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ecx]
cmp esi, dword [edx]
jne 0x4044d7
mov ecx, dword [ecx + 4]
cmp ecx, dword [edx + 4]
jne 0x4044d7
mov ecx, dword [0x41256e]
mov edx, dword [ebp - 8]
xor ecx, dword [edx]
mov dword [0x41256e], ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
xor dword [ecx], edx
mov ecx, dword [ebp - 0x18]
mov edx, dword [0x41256e]
sub ecx, eax
cmp ecx, edx
jae 0x404512
push edi
mov esi, dword [ebp - 0x20]
mov edx, dword [esi]
mov edi, dword [ebp - 4]
sub edx, eax
add edi, edx
mov edx, dword [ebp - 4]
lea ecx, [ecx + edx - 0x43dac9e]
mov dword [esi], edi
mov edx, dword [0x41256e]
cmp ecx, edx
jb 0x4044eb
pop edi
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
pop esi
leave
ret 0xc