Function at 0x100d9b10
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov eax, dword [edi + 0xec]
cmp dword [0x1016ced4], eax
jne 0x100d9b4f
mov eax, dword [ebp + 0xc]
pop edi
mov eax, dword [eax*4 + 0x1016ced8]
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x10c], 0
movzx ecx, ax
mov dword [0x1016ced4], eax
mov dword [ebp + 8], ecx
je 0x100d9b89
cmp ecx, 0x404
jne 0x100d9b89
mov dword [0x1016ced8], 0x7000404
mov eax, 0x7000404
mov dword [0x1016cedc], 0
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
cmp eax, 0xe0080404
je 0x100d9bb2
cmp eax, 0xe0090404
je 0x100d9bb2
cmp eax, 0xe00a0404
je 0x100d9bb2
cmp eax, 0xe00b0404
je 0x100d9bb2
cmp eax, 0xe00e0804
jne 0x100d9d40
push 0xff
lea ecx, [ebp - 0x10c]
push ecx
push eax
call sub.IMM32.dll_ImmGetIMEFileNameA
test eax, eax
je 0x100d9d40
cmp dword [edi + 0xf4], 0
jne 0x100d9d40
mov esi, dword [sym.imp.KERNEL32.dll_CompareStringA]
lea eax, [ebp - 0x10c]
push 0xffffffffffffffff
push str.TINTLGNT.IME
push 0xffffffffffffffff
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x100d9c79
push 0xffffffffffffffff
push str.CINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x10c]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x100d9c79
push 0xffffffffffffffff
push str.MSTCIPHA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x10c]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x100d9c79
push 0xffffffffffffffff
push str.PINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x10c]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x100d9c79
push 0xffffffffffffffff
push str.MSSCIPYA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x10c]
push eax
push 1
push 0x409
call esi
cmp eax, 2
jne 0x100d9d40
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x100d9d40
push ebx
call fcn.10091380
mov esi, eax
add esp, 4
test esi, esi
je 0x100d9d37
push esi
push ebx
push dword [ebp - 4]
lea eax, [ebp - 0x10c]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x100d9d37
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x101348a4
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x100d9d37
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
movzx ecx, al
and eax, 0xffff0000
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
cmp dword [edi + 0xf4], 0
jne 0x100d9d7c
cmp eax, 0x404
jne 0x100d9d5d
cmp ecx, 0x4020000
je 0x100d9d7c
cmp ecx, 0x4030000
je 0x100d9d7c
cmp ecx, 0x4040000
je 0x100d9d7c
cmp ecx, 0x5000000
je 0x100d9d7c
cmp ecx, 0x5010000
je 0x100d9d7c
cmp ecx, 0x5020000
je 0x100d9d7c
cmp ecx, 0x6000000
je 0x100d9d7c
push esi
call fcn.10091350
add esp, 4
pop esi
pop ebx
mov dword [0x1016cedc], 0
xor eax, eax
mov dword [0x1016ced8], 0
pop edi
mov esp, ebp
pop ebp
ret
cmp eax, 0x804
jne 0x100d9d37
cmp ecx, 0x4010000
je 0x100d9d7c
cmp ecx, 0x4020000
je 0x100d9d7c
cmp ecx, 0x5030000
jne 0x100d9d37
or ecx, eax
mov eax, dword [edx + 0xc]
push esi
mov dword [0x1016ced8], ecx
mov dword [0x1016cedc], eax
call fcn.10091350
mov eax, dword [0x1016ced8]
add esp, 4
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret