Function at 0x419f40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54bf1b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x60c9c8]
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 eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edi, edi
push edi
push eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xb0], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, edi
je 0x41a1b9
lea edx, [esi + 1]
push edx
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xa8], edi
call fcn.00432a59
mov edi, eax
add esp, 4
mov dword [ebp - 0xb4], edi
test edi, edi
je 0x41a1b9
mov eax, dword [ebp - 0x9c]
push edi
push esi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
xor esi, esi
test eax, eax
je 0x41a1ac
push 0x4e
lea edx, [ebp - 0x5e]
xor ecx, ecx
push esi
push edx
mov word [ebp - 0x60], cx
call fcn.00531fb0
add esp, 0xc
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xb0]
push ecx
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41a1ac
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xa0]
movzx ecx, word [eax + 2]
push edx
movzx edx, word [eax]
push ecx
push edx
push str.StringFileInfo_04x_04x_s
lea eax, [ebp - 0x60]
push 0x28
push eax
call fcn.00533b0b
add esp, 0x18
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0x60]
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
cmp eax, esi
je 0x41a1ac
mov ecx, dword [ebp - 0xac]
push ecx
lea ecx, [ebp - 0x98]
call fcn.004100f0
xor edi, edi
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
lea edx, [ebx + 4]
mov dword [ebx + 0xc], eax
mov dword [ebp - 4], esi
mov dword [ebp - 0xa4], esi
mov dword [ebx + 0x10], eax
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xa0], edx
lea esp, [esp]
push 0xa
push edi
push str.0123456789
lea ecx, [ebp - 0x98]
call fcn.0040ba10
mov esi, eax
cmp esi, 0xffffffff
je 0x41a181
push 3
push esi
push 0x55f484
lea ecx, [ebp - 0x98]
call fcn.0040ba10
mov edi, eax
cmp edi, 0xffffffff
je 0x41a13c
sub eax, esi
push eax
push esi
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x98]
call fcn.00410140
cmp dword [ebp - 0x6c], 0
je 0x41a114
cmp dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x7c]
jae 0x41a0fd
lea eax, [ebp - 0x7c]
push eax
call fcn.00533b60
mov edx, dword [ebp - 0xa0]
add esp, 4
inc dword [ebp - 0xa4]
mov dword [edx], eax
lea ecx, [ebp - 0x7c]
inc edi
call fcn.0040c550
mov eax, dword [ebp - 0x9c]
add dword [ebp - 0xa0], 4
inc eax
mov dword [ebp - 0x9c], eax
cmp eax, 4
jl 0x41a0a0
jmp 0x41a181
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x98]
call fcn.00410140
cmp dword [ebp - 0x6c], 0
je 0x41a179
cmp dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x7c]
jae 0x41a160
lea eax, [ebp - 0x7c]
push eax
call fcn.00533b60
mov ecx, dword [ebp - 0x9c]
add esp, 4
inc dword [ebp - 0xa4]
mov dword [ebx + ecx*4 + 4], eax
lea ecx, [ebp - 0x7c]
call fcn.0040c550
cmp dword [ebp - 0x84], 8
mov edx, dword [ebp - 0xa4]
mov dword [ebx], edx
mov esi, 1
jb 0x41a1a6
mov eax, dword [ebp - 0x98]
push eax
call fcn.00432a4e
add esp, 4
mov edi, dword [ebp - 0xb4]
push edi
call fcn.00432a4e
add esp, 4
mov eax, esi
jmp 0x41a1bb
xor eax, eax
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.00531f97
mov esp, ebp
pop ebp
ret 0xc