Function at 0x41c410
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed730
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x52c0cc]
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 ebx, ecx
mov dword [ebp - 0x50], ebx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x84], 0
call fcn.00420ab0
mov esi, eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0
call fcn.00420a60
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x41c472
mov esi, dword [esi]
push esi
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.00413890
add esp, 4
mov eax, dword [ebp - 0x54]
cmp eax, 8
jb 0x41c495
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.00407100
xor eax, eax
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x6c]
cmp eax, 8
jb 0x41c4c2
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.00407100
xor eax, eax
mov dword [ebp - 0x6c], 7
push eax
push 0x513319
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.00406ed0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
mov dword [ebp - 0x4c], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x41c568
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.004093f0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x41c538
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407160
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp ecx, 8
jb 0x41c672
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00407100
jmp 0x41c672
lea eax, [edi + 1]
push eax
call fcn.004ac313
mov esi, eax
add esp, 4
mov dword [ebp - 0x50], esi
test esi, esi
jne 0x41c5cd
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.004093f0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x41c59d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407160
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 8
jb 0x41c672
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407100
jmp 0x41c672
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push esi
cmovae eax, dword [ebp - 0x40]
push edi
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x41c5f2
push esi
call fcn.004abe2c
add esp, 4
jmp 0x41c657
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x513494
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x41c5e7
mov eax, dword [ebp - 0x4c]
push dword [ebp - 0x50]
mov edi, dword [eax + 8]
movzx esi, word [eax + 0xe]
call fcn.004abe2c
mov eax, 0x51eb851f
mul esi
movzx eax, di
shr edx, 5
push edx
push eax
shr edi, 0x10
lea eax, [ebp - 0x9c]
push edi
push str._04d_04d_02d
push eax
call fcn.0041fcc0
add esp, 0x18
lea ecx, [ebp - 0x28]
push eax
call fcn.00409370
lea ecx, [ebp - 0x9c]
call fcn.00406c40
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.004093f0
lea ecx, [ebp - 0x28]
call fcn.00406c40
lea ecx, [ebp - 0x40]
call fcn.00406ba0
mov eax, ebx
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.004abe1b
mov esp, ebp
pop ebp
ret