Function at 0x100f7f40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x450
mov eax, dword [0x10279264]
xor eax, esp
mov dword [esp + 0x44c], eax
cmp dword [0x103b382c], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], esi
jne 0x100f81cf
cmp dword [0x103b3830], 0
jne 0x100f81cf
cmp dword [0x103b3834], 0
jne 0x100f81cf
cmp dword [0x103b3838], 0
jne 0x100f81cf
cmp dword [0x1028961c], 0x10
mov eax, dword [0x10289608]
jae 0x100f7fbf
mov eax, 0x10289608
lea ecx, [esp + 0x48]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x100f8032
lea esi, [esp + 0x10]
call fcn.10019220
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x100f8005
lea ecx, [esp + 0x10]
call fcn.10019270
mov eax, 0x3f4
pop edi
pop esi
mov ecx, dword [esp + 0x44c]
xor ecx, esp
call fcn.1016cb16
mov esp, ebp
pop ebp
ret 0x10
cmp dword [0x1028961c], 0x10
mov eax, dword [0x10289608]
jae 0x100f8018
mov eax, 0x10289608
mov edx, dword [esp + 0x48]
push esi
push edi
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x100f804d
lea ecx, [esp + 0x10]
call fcn.10019270
mov eax, 0x3ee
pop edi
pop esi
mov ecx, dword [esp + 0x44c]
xor ecx, esp
call fcn.1016cb16
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x10]
push ecx
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x100f8029
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x40]
push eax
push 0x1024002c
xor edi, edi
push esi
mov dword [esp + 0x54], edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x100f8029
mov eax, dword [esp + 0x3c]
movzx ecx, word [eax + 0xa]
movzx edx, word [eax + 8]
mov dword [0x103b382c], ecx
movzx ecx, word [eax + 0xe]
mov dword [0x103b3830], edx
movzx edx, word [eax + 0xc]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], edi
mov dword [0x103b3834], ecx
movzx ecx, word [eax + 2]
mov dword [0x103b3838], edx
movzx edx, word [eax]
push ecx
push edx
lea eax, [esp + 0x58]
push str.StringFileInfo_04x_04xComments
push eax
call fcn.1016d80a
add esp, 0x10
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x58]
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x100f8029
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, 0x102895e8
call fcn.100045f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], edi
movzx edx, word [eax + 2]
movzx eax, word [eax]
push edx
push eax
lea ecx, [esp + 0x58]
push str.StringFileInfo_04x_04xBuildInfo
push ecx
call fcn.1016d80a
add esp, 0x10
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x58]
push ecx
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x100f8029
mov edx, dword [esp + 0x20]
push edx
mov ecx, 0x1028963c
call fcn.100045f0
mov eax, dword [0x103b3838]
cmp eax, edi
jne 0x100f8180
mov eax, dword [0x103b3834]
mov ecx, dword [0x103b3830]
mov edx, dword [0x103b382c]
push eax
push ecx
push edx
lea eax, [esp + 0x5c]
push str.BROM_DLL_v_d._d._02d
push eax
call fcn.1016d80a
add esp, 0x14
jmp 0x100f81a7
mov ecx, dword [0x103b3834]
mov edx, dword [0x103b3830]
push eax
mov eax, dword [0x103b382c]
push ecx
push edx
push eax
lea ecx, [esp + 0x60]
push str.BROM_DLL_v_d._d._02d._02d
push ecx
call fcn.1016d80a
add esp, 0x18
lea edx, [esp + 0x50]
push edx
mov ecx, 0x102895cc
call fcn.100045f0
lea ecx, [esp + 0x10]
call fcn.10019270
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x100f81db
mov edi, dword [0x103b382c]
mov dword [eax], edi
test ecx, ecx
je 0x100f81e6
mov eax, dword [0x103b3830]
mov dword [ecx], eax
test edx, edx
je 0x100f81f2
mov ecx, dword [0x103b3834]
mov dword [edx], ecx
test esi, esi
je 0x100f81fe
mov edx, dword [0x103b3838]
mov dword [esi], edx
mov ecx, dword [esp + 0x454]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.1016cb16
mov esp, ebp
pop ebp
ret 0x10