Function at 0x100032b0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10008926
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x1000c040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x30], eax
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0
push ecx
push eax
push 2
mov dword [ebp - 0x38], 1
call sub.VERSION.dll_GetFileVersionInfoSizeExW
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x10003337
push str.Failed_to_get_version_info_size.
push 2
call fcn.10003760
add esp, 8
jmp 0x10003500
push eax
call fcn.10007875
mov cl, byte [ebp - 0x2c]
mov ebx, eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], cl
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 1
push 0x10
mov dword [ebp - 4], 1
call fcn.10007837
mov esi, eax
add esp, 8
mov dword [ebp - 0x40], esi
test esi, esi
je 0x10003393
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.._AV___Ref_count_resource_PAEU__default_delete___BY0A_E_std___std__.0
mov dword [esi + 0xc], ebx
jmp 0x10003395
xor esi, esi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], esi
push ebx
push dword [ebp - 0x34]
mov dword [ebp - 4], 2
push 0
push dword [ebp - 0x30]
push 2
call sub.VERSION.dll_GetFileVersionInfoExW
test eax, eax
jne 0x100033ca
push str.Failed_to_get_version_info.
push 2
call fcn.10003760
add esp, 8
jmp 0x100034db
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x10009434
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x100033f5
push str.Failed_to_query_version_info.
push 2
call fcn.10003760
add esp, 8
jmp 0x100034db
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax + 0xa]
movzx ebx, word [eax + 8]
movzx eax, word [eax + 0xe]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x28]
push ecx
push eax
call fcn.10003e10
push 0xa
push 0
push eax
mov byte [ebp - 4], 3
call fcn.10003da0
mov ecx, dword [edi + 4]
add esp, 0x14
mov dword [ebp - 0x30], eax
cmp ecx, dword [edi + 8]
je 0x10003435
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x10003441
lea eax, [ebp - 0x30]
push eax
push ecx
mov ecx, edi
call fcn.10001d00
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.10002340
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.10003e10
push 0xa
push 0
push eax
mov byte [ebp - 4], 4
call fcn.10003da0
mov ecx, dword [edi + 4]
add esp, 0x14
mov dword [ebp - 0x30], eax
cmp ecx, dword [edi + 8]
je 0x1000347b
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x10003487
lea eax, [ebp - 0x30]
push eax
push ecx
mov ecx, edi
call fcn.10001d00
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.10002340
mov eax, dword [ebp - 0x34]
movzx eax, ax
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10003e10
push 0xa
push 0
push eax
mov byte [ebp - 4], 5
call fcn.10003da0
mov ecx, dword [edi + 4]
add esp, 0x14
mov dword [ebp - 0x30], eax
cmp ecx, dword [edi + 8]
je 0x100034c7
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x100034d3
lea eax, [ebp - 0x30]
push eax
push ecx
mov ecx, edi
call fcn.10001d00
lea ecx, [ebp - 0x28]
call fcn.10002340
test esi, esi
je 0x10003500
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10003500
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x10003500
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10007c52
mov esp, ebp
pop ebp
ret