Function at 0x1000d8e0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x430
mov eax, dword [0x10063790]
xor eax, esp
mov dword [esp + 0x42c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x43c]
push esi
push edi
xor ebx, ebx
push 0x206
lea eax, [esp + 0x23a]
push ebx
push eax
mov edi, ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov word [esp + 0x240], bx
call fcn.1003d360
push 0x206
lea ecx, [esp + 0x3e]
push ebx
push ecx
mov word [esp + 0x44], bx
call fcn.1003d360
add esp, 0x18
lea edx, [esp + 0x20]
push edx
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x1000da45
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
push esi
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
mov edi, dword [esp + 0x18]
je 0x1000da3e
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1000da3e
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1000da3e
cmp dword [esp + 0x24], ebx
je 0x1000da3e
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
push str.StringFileInfo_04x_04xProductVersion
lea eax, [esp + 0x240]
push 0x104
push eax
call fcn.10003980
add esp, 0x14
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x23c]
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x1000da3e
lea eax, [esp + 0x2c]
mov ecx, eax
mov dword [esp + 0x10], 1
mov edx, 0x104
sub esi, ecx
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x1000da34
movzx ecx, word [esi + eax]
cmp cx, bx
je 0x1000da34
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1000da14
jmp 0x1000da38
cmp edx, ebx
jne 0x1000da3b
sub eax, 2
mov word [eax], bx
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp word [esp + 0x2c], bx
je 0x1000db65
lea edx, [esp + 0x2c]
push 0x10058784
push edx
call fcn.1003c14c
add esp, 8
test eax, eax
je 0x1000daeb
lea eax, [esp + 0x2c]
push eax
call fcn.1003c570
lea ecx, [esp + 0x30]
push 0x10058784
push ecx
mov dword [ebp], eax
call fcn.1003c14c
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x1000da9e
add esi, 2
push esi
call fcn.1003c570
add esp, 4
mov dword [ebp + 4], eax
push 0x10058784
push esi
call fcn.1003c14c
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x1000dac1
add esi, 2
push esi
call fcn.1003c570
add esp, 4
mov dword [ebp + 8], eax
push 0x10058784
push esi
call fcn.1003c14c
add esp, 8
cmp eax, ebx
je 0x1000db71
add eax, 2
push eax
call fcn.1003c570
add esp, 4
mov dword [ebp + 0xc], eax
jmp 0x1000db71
lea edx, [esp + 0x2c]
push edx
call fcn.1003c570
mov dword [ebp], eax
lea eax, [esp + 0x30]
push 0x10058958
push eax
call fcn.1003c14c
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x1000db1f
add esi, 2
push esi
call fcn.1003c570
add esp, 4
mov dword [ebp + 4], eax
push 0x10058958
push esi
call fcn.1003c14c
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x1000db42
add esi, 2
push esi
call fcn.1003c570
add esp, 4
mov dword [ebp + 8], eax
push 0x10058958
push esi
call fcn.1003c14c
add esp, 8
cmp eax, ebx
je 0x1000db71
add eax, 2
push eax
call fcn.1003c570
add esp, 4
mov dword [ebp + 0xc], eax
jmp 0x1000db71
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov ecx, dword [esp + 0x43c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003c13d
add esp, 0x430
ret