Function at 0x434360
Capabilities:
Get common file path
Get file version info

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5239bb
push eax
mov dword fs:[0], esp
sub esp, 0x338
push esi
push 0x26d0
push 0
push ebx
call fcn.004ff6c0
add esp, 0xc
push 0x104
lea eax, [esp + 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str._sogoupy.ime
lea ecx, [esp + 0x138]
push 0x104
push ecx
call fcn.004fb6d0
add esp, 0xc
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x138]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
ja 0x4343e9
xor eax, eax
pop esi
mov ecx, dword [esp + 0x338]
mov dword fs:[0], ecx
add esp, 0x344
ret
push ebp
push esi
call fcn.004fbaed
add esp, 4
mov ebp, eax
push ebp
push esi
push 0
lea ecx, [esp + 0x144]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x434423
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0xc]
push eax
push 0x55d368
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x43443c
pop ebp
xor eax, eax
pop esi
mov ecx, dword [esp + 0x338]
mov dword fs:[0], ecx
add esp, 0x344
ret
mov esi, dword [esp + 8]
push edi
lea edi, [ebx + 0x2698]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x13c]
push ecx
push 0x55d15c
mov edx, ebx
call fcn.0040dc80
movzx edx, word [ebx + 0x26a2]
push edx
push 0x55db50
lea edx, [ebx + 0xa28]
call fcn.0040dc80
movzx eax, word [ebx + 0x26a0]
push eax
push 0x55db50
lea edx, [ebx + 0xc30]
call fcn.0040dc80
movzx ecx, word [ebx + 0x26a4]
movzx edx, word [ebx + 0x26a6]
movzx eax, word [ebx + 0x26a0]
push ecx
movzx ecx, word [ebx + 0x26a2]
push edx
push eax
push ecx
push str._d._d._d._d
lea edx, [ebx + 0x1658]
call fcn.0040dc80
push str.Input_Method_Driver
push 0x55d15c
lea edx, [ebx + 0x2080]
call fcn.0040dc80
mov eax, dword [ebx + 0x26b8]
add esp, 0x34
cmp eax, 0x20000
ja 0x434527
je 0x434520
cmp eax, 0x10001
ja 0x434512
je 0x43450b
test eax, eax
je 0x434504
cmp eax, 0x10000
jne 0x434572
push str.MS_DOS
jmp 0x43455f
push str.Unknown_OS
jmp 0x43455f
push str.16_bit_windows_running_on_MS_DOS
jmp 0x43455f
cmp eax, 0x10004
jne 0x434572
push str.Win32_API_running_on_MS_DOS
jmp 0x43455f
push str.16_bit_OS_2
jmp 0x43455f
cmp eax, 0x40000
ja 0x434553
je 0x43454c
cmp eax, 0x20002
je 0x434545
cmp eax, 0x30000
jne 0x434572
push str.32_bit_OS_2
jmp 0x43455f
push str.16_bit_Presentation_manager_running_on_16_bit_OS_2
jmp 0x43455f
push str.Windows_NT
jmp 0x43455f
cmp eax, 0x40004
jne 0x434572
push str.Win32_API_on_Windows_NT
push 0x55d15c
lea edx, [ebx + 0x1e78]
call fcn.0040dc80
add esp, 8
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
push str.VarFileInfoTranslation
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x434597
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov dword [ebx + 0x26cc], edx
push 0x208
call fcn.004fbaed
push 0x208
mov esi, eax
push 0
push esi
call fcn.004ff6c0
movzx eax, word [ebx + 0x26ce]
movzx ecx, word [ebx + 0x26cc]
push eax
push ecx
push str.StringFileInfo_04x_04xCompanyName
push 0x104
push esi
call fcn.004fe3b9
add esp, 0x24
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
push esi
push ebp
call sub.VERSION.dll_VerQueryValueW
mov ecx, dword [esp + 0xc]
push ecx
push 0x55d15c
lea edx, [ebx + 0x208]
call fcn.0040dc80
push 0x104
push 0
push esi
call fcn.004ff6c0
movzx edx, word [ebx + 0x26ce]
movzx eax, word [ebx + 0x26cc]
push edx
push eax
push str.StringFileInfo_04x_04xLegalCopyRight
push 0x104
push esi
call fcn.004fe3b9
add esp, 0x28
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push esi
push ebp
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [esp + 0xc]
push eax
push 0x55d15c
lea edx, [ebx + 0x410]
call fcn.0040dc80
push 0x104
push 0
push esi
call fcn.004ff6c0
movzx ecx, word [ebx + 0x26ce]
movzx edx, word [ebx + 0x26cc]
push ecx
push edx
push str.StringFileInfo_04x_04xProductName
push 0x104
push esi
call fcn.004fe3b9
add esp, 0x28
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
push ebp
call sub.VERSION.dll_VerQueryValueW
mov edx, dword [esp + 0xc]
push edx
push 0x55d15c
lea edx, [ebx + 0x1248]
call fcn.0040dc80
add esp, 8
call fcn.0040db40
push 0
push 0
push 0
push 0
push str.Resource.dll
add eax, 0xc
push eax
lea ecx, [esp + 0x30]
call fcn.0040e510
mov dword [esp + 0x34c], 0
cmp byte [esp + 0x134], 0
lea eax, [esp + 0x24]
jne 0x4346e4
mov eax, dword [esp + 0x20]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x434710
push 0x104
lea eax, [ebx + 0x1450]
push eax
push 0x65
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x104
push 0
push esi
call fcn.004ff6c0
movzx ecx, word [ebx + 0x26ce]
movzx edx, word [ebx + 0x26cc]
push ecx
push edx
push str.StringFileInfo_04x_04xOriginalFileName
push 0x104
push esi
call fcn.004fe3b9
add esp, 0x20
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
push ebp
call sub.VERSION.dll_VerQueryValueW
mov edx, dword [esp + 0xc]
push edx
push 0x55d15c
lea edx, [ebx + 0x1040]
call fcn.0040dc80
push 0x104
push 0
push esi
call fcn.004ff6c0
movzx eax, word [ebx + 0x26ce]
movzx ecx, word [ebx + 0x26cc]
push eax
push ecx
push str.StringFileInfo_04x_04xFileDescription
push 0x104
push esi
call fcn.004fe3b9
add esp, 0x28
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
push esi
push ebp
call sub.VERSION.dll_VerQueryValueW
mov ecx, dword [esp + 0xc]
push ecx
push 0x55d15c
lea edx, [ebx + 0x618]
call fcn.0040dc80
push 0x104
push 0
push esi
call fcn.004ff6c0
movzx edx, word [ebx + 0x26ce]
movzx eax, word [ebx + 0x26cc]
push edx
push eax
push str.StringFileInfo_04x_04xFileVersion
push 0x104
push esi
call fcn.004fe3b9
add esp, 0x28
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push esi
push ebp
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [esp + 0xc]
push eax
push 0x55d15c
lea edx, [ebx + 0x820]
call fcn.0040dc80
push 0x104
push 0
push esi
call fcn.004ff6c0
movzx ecx, word [ebx + 0x26ce]
push ecx
movzx edx, word [ebx + 0x26cc]
push edx
push str.StringFileInfo_04x_04xInternalName
push 0x104
push esi
call fcn.004fe3b9
add esp, 0x28
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
push ebp
call sub.VERSION.dll_VerQueryValueW
mov edx, dword [esp + 0xc]
push edx
push 0x55d15c
lea edx, [ebx + 0xe38]
call fcn.0040dc80
call fcn.00404180
mov eax, dword [0x584ba8]
push eax
push 0x55db50
lea edx, [ebx + 0x1860]
call fcn.0040dc80
mov ecx, dword [0x584bb0]
push ecx
push 0x55db50
lea edx, [ebx + 0x1a68]
call fcn.0040dc80
mov edx, dword [0x584bac]
push edx
push 0x55db50
lea edx, [ebx + 0x1c70]
call fcn.0040dc80
push ebp
call fcn.004fbe63
push esi
call fcn.004fbe63
add esp, 0x28
cmp byte [esp + 0x134], 0
mov dword [esp + 0x18], vtable.t_str.0
pop edi
jne 0x4348e8
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x4348e8
push eax
call fcn.004faac5
add esp, 4
mov ecx, dword [esp + 0x340]
pop ebp
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x344
ret