Function at 0x100267d0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x438
mov eax, dword [0x10063790]
xor eax, esp
mov dword [esp + 0x434], eax
mov eax, dword [esp + 0x448]
push ebx
mov ebx, dword [esp + 0x440]
push ebp
mov ebp, dword [esp + 0x44c]
push esi
mov esi, dword [esp + 0x44c]
push 0x104
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
test eax, eax
je 0x1002682d
mov dword [ebx + 0x50], 0x10000002
xor eax, eax
jmp 0x10026ab3
push edi
mov edi, dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
push 4
push ebp
call edi
test eax, eax
je 0x1002684b
mov dword [ebx + 0x50], 0x10000003
xor eax, eax
jmp 0x10026ab2
mov eax, dword [esp + 0x14]
push 4
push eax
call edi
test eax, eax
je 0x10026866
mov dword [ebx + 0x50], 0x10000004
xor eax, eax
jmp 0x10026ab2
mov ecx, dword [esp + 0x10]
push 4
push ecx
call edi
test eax, eax
je 0x10026881
mov dword [ebx + 0x50], 0x10000005
xor eax, eax
jmp 0x10026ab2
mov edx, dword [esp + 0x18]
push 4
push edx
call edi
test eax, eax
je 0x1002689c
mov dword [ebx + 0x50], 0x10000006
xor eax, eax
jmp 0x10026ab2
xor ebx, ebx
push 0x206
lea eax, [esp + 0x242]
push ebx
push eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], ebx
mov word [esp + 0x248], bx
call fcn.1003d360
push 0x206
lea ecx, [esp + 0x46]
push ebx
push ecx
mov word [esp + 0x4c], bx
call fcn.1003d360
add esp, 0x18
lea edx, [esp + 0x2c]
push edx
push esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
je 0x100269ad
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
mov eax, dword [esp + 0x2c]
push ebx
push edi
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x100269a4
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100269a4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100269a4
cmp dword [esp + 0x1c], 0
je 0x100269a4
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
push str.StringFileInfo_04x_04xProductVersion
lea eax, [esp + 0x248]
push 0x104
push eax
call fcn.1003cd26
add esp, 0x14
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x244]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100269a4
push eax
lea ecx, [esp + 0x38]
push 0x104
push ecx
mov dword [esp + 0x2c], 1
call fcn.1003e374
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor ebx, ebx
cmp word [esp + 0x34], bx
je 0x10026aae
lea edx, [esp + 0x34]
push 0x10058784
push edx
call fcn.1003c14c
add esp, 8
test eax, eax
lea eax, [esp + 0x34]
push eax
je 0x10026a32
call fcn.1003c570
lea ecx, [esp + 0x38]
push 0x10058784
push ecx
mov dword [ebp], eax
call fcn.1003c14c
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x10026a05
add esi, 2
push esi
call fcn.1003c570
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [edx], eax
push 0x10058784
push esi
call fcn.1003c14c
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x10026a2b
add esi, 2
push esi
call fcn.1003c570
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx], eax
push 0x10058784
jmp 0x10026a8f
call fcn.1003c570
lea ecx, [esp + 0x38]
push 0x10058958
push ecx
mov dword [ebp], eax
call fcn.1003c14c
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x10026a64
add esi, 2
push esi
call fcn.1003c570
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [edx], eax
push 0x10058958
push esi
call fcn.1003c14c
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x10026a8a
add esi, 2
push esi
call fcn.1003c570
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx], eax
push 0x10058958
push esi
call fcn.1003c14c
add esp, 8
cmp eax, ebx
je 0x10026aae
add eax, 2
push eax
call fcn.1003c570
mov edx, dword [esp + 0x1c]
mov dword [edx], eax
add esp, 4
mov eax, dword [esp + 0x20]
pop edi
mov ecx, dword [esp + 0x440]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003c13d
add esp, 0x438
ret 0x10