Function at 0x10033270
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c6ce
mov eax, dword fs:[0]
push eax
mov eax, 0x20e0
call fcn.1004d650
mov eax, dword [0x10089430]
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]
xor bl, bl
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x2030], 0
call fcn.1003bdf0
add esp, 4
test al, al
je 0x10033594
push 0x1fff
lea eax, [ebp - 0x200f]
mov byte [ebp - 0x2010], bl
push 0
push eax
call fcn.1004cee0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x100332eb
mov eax, dword [edi]
jmp 0x100332ed
mov eax, edi
lea ecx, [ebp - 0x2038]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x10033594
cmp eax, 0x1fff
ja 0x10033594
cmp dword [edi + 0x14], 8
jb 0x10033315
mov edi, dword [edi]
lea ecx, [ebp - 0x2010]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10033594
lea eax, [ebp - 0x2034]
push eax
lea eax, [ebp - 0x202c]
push eax
push 0x10070d3c
lea eax, [ebp - 0x2010]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10033594
mov dword [ebp - 0x20e8], 0x1007d9b0
mov dword [ebp - 0x20d8], 0x1007d9b8
push 0
lea eax, [ebp - 0x20d0]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2030], 1
push eax
lea ecx, [ebp - 0x2080]
mov dword [ebp - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x2084], 0x50
movlpd qword [ebp - 0x20e0], xmm0
call fcn.100104a0
mov eax, dword [ebp - 0x20d8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x20d8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x20dc], eax
mov eax, dword [ebp - 0x20e8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x20e8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x20ec], eax
mov eax, dword [ebp - 0x20e8]
mov dword [ebp - 4], 5
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x20e8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x20ec], eax
lea ecx, [ebp - 0x20d0]
call fcn.10011360
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x2098], 0
mov dword [ebp - 0x2094], 0
mov ecx, dword [ebp - 0x202c]
mov dword [ebp - 4], 7
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push 0x1007d894
push eax
movzx eax, word [ecx + 8]
push 0x1007d894
push eax
movzx eax, word [ecx + 0xa]
lea ecx, [ebp - 0x20d8]
push 0x1007d894
push eax
call fcn.10032f80
push eax
call fcn.10012230
add esp, 8
mov ecx, eax
call fcn.10032f80
push eax
call fcn.10012230
add esp, 8
mov ecx, eax
call fcn.10032f80
push eax
call fcn.10012230
add esp, 8
mov ecx, eax
call fcn.10032f80
lea eax, [ebp - 0x2028]
push eax
lea ecx, [ebp - 0x20e8]
call fcn.100101a0
mov edi, eax
cmp esi, edi
je 0x10033535
cmp dword [esi + 0x14], 0x10
jb 0x100334e4
push dword [esi]
call fcn.100498af
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [edi + 0x14], 0x10
jae 0x1003350e
mov eax, dword [edi + 0x10]
inc eax
je 0x10033518
push eax
push edi
push esi
call fcn.10049920
add esp, 0xc
jmp 0x10033518
mov eax, dword [edi]
mov dword [esi], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [ebp - 0x2014], 0x10
jb 0x1003354c
push dword [ebp - 0x2028]
call fcn.100498af
add esp, 4
lea ecx, [ebp - 0x2080]
mov dword [ebp - 0x2014], 0xf
mov dword [ebp - 0x2018], 0
mov bl, 1
mov byte [ebp - 0x2028], 0
mov dword [ebp - 4], 0xffffffff
call fcn.10010120
lea eax, [ebp - 0x2080]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.10049221
add esp, 4
mov al, bl
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.100498b4
mov esp, ebp
pop ebp
ret