Function at 0x41cfa0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x44a401
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe4
mov eax, dword [0x45b990]
xor eax, esp
push ebx
push ebp
push esi
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0x10], ebx
push ebx
push eax
lea ecx, [esp + 0xc0]
mov dword [esp + 0xd8], 0xf
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
call fcn.004079f0
mov dword [esp + 0xf8], ebx
cmp dword [esp + 0xc8], ebx
mov ebp, 0x10
jne 0x41d052
lea esi, [esp + 0x18]
call fcn.0041d290
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x104], 1
call fcn.004079f0
mov byte [esp + 0xf8], bl
cmp dword [esp + 0x30], ebp
jb 0x41d052
mov eax, dword [esp + 0x1c]
push eax
call fcn.004358f6
add esp, 4
cmp dword [esp + 0xcc], ebp
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x14], 0x34
jae 0x41d071
lea eax, [esp + 0xb8]
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
push ebx
push 0x4505db
lea ecx, [esp + 0xd8]
mov esi, eax
mov dword [esp + 0xf0], 0xf
mov dword [esp + 0xec], ebx
mov byte [esp + 0xdc], bl
call fcn.00408930
cmp esi, ebx
mov byte [esp + 0xf8], 2
je 0x41d1f6
push esi
call fcn.00433cd0
mov ecx, eax
mov eax, dword [esp + 0xd0]
add esp, 4
cmp eax, ebp
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x10], ecx
jae 0x41d0dd
lea eax, [esp + 0xb8]
push ecx
push esi
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x41d1e9
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x4535ec
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41d1e9
lea ecx, [esp + 0x34]
push ecx
mov ecx, 1
mov edx, 2
call fcn.00406600
mov byte [esp + 0xf8], 3
mov eax, dword [esp + 0xc]
xor edx, edx
mov dx, word [eax + 0xc]
xor ecx, ecx
mov cx, word [eax + 0xe]
push edx
push 0x2e
xor edx, edx
mov dx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push 0x2e
lea ecx, [esp + 0x44]
push edx
push 0x2e
push eax
push ecx
call fcn.0041d780
push eax
call fcn.0041d8f0
add esp, 8
push eax
call fcn.0041d780
push eax
call fcn.0041d8f0
add esp, 8
push eax
call fcn.0041d780
push eax
call fcn.0041d8f0
add esp, 8
push eax
call fcn.0041d780
lea ecx, [esp + 0x18]
lea eax, [esp + 0x34]
call fcn.00406740
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xdc]
mov byte [esp + 0x104], 4
call fcn.004079f0
cmp dword [esp + 0x30], ebp
jb 0x41d1be
mov edx, dword [esp + 0x1c]
push edx
call fcn.004358f6
add esp, 4
lea ecx, [esp + 0x80]
mov byte [esp + 0xf8], 2
call fcn.004066d0
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
call fcn.0043356e
mov eax, dword [esp + 0x10]
push eax
call fcn.004358f6
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xd8]
mov esi, 0xf
push ecx
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
mov ecx, edi
mov byte [edi + 4], bl
call fcn.004079f0
cmp dword [esp + 0xe8], ebp
jb 0x41d22f
mov edx, dword [esp + 0xd4]
push edx
call fcn.004358f6
add esp, 4
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xe8], esi
pop esi
cmp eax, ebp
pop ebp
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
pop ebx
jb 0x41d262
mov eax, dword [esp + 0xac]
push eax
call fcn.004358f6
add esp, 4
mov ecx, dword [esp + 0xe4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
mov eax, edi
call fcn.004395fe
add esp, 0xf0
ret