Function at 0x41d8a6
Capabilities:
Get file version info

Disassembly:
push ebx
push edi
mov edx, 0x10
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x41d8ad
call fcn.00462120
push dword [esp + 0x58]
call fcn.004264a0
mov edx, dword [esp + 0x4c]
lea ecx, [esp]
call fcn.00426060
mov word [esp + 8], pe_nt_image_headers32
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
push edx
call fcn.00461fa0
pop edx
push eax
push edx
call fcn.00461fa0
pop edx
push eax
movsx eax, word [esp + 0x10]
push eax
call fcn.004603b0
lea eax, [esp + 0x28]
push eax
call fcn.00462020
mov edx, 0x494038
lea ecx, [esp + 0x34]
call fcn.00426068
push dword [esp]
call fcn.00458f9a
push edx
push eax
pop ebx
pop edi
cmp edi, 0
jg 0x41d93a
jl 0x41d936
cmp ebx, 0
ja 0x41d93a
xor eax, eax
jmp 0x41d93f
mov eax, 1
or eax, eax
je 0x41dcf6
lea eax, [esp + 4]
push eax
push dword [esp + 4]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov word [esp + 0xc], ax
movsx ebx, word [esp + 0xc]
and ebx, ebx
jle 0x41dcf6
movsx eax, word [esp + 0xc]
push eax
call fcn.004611b0
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x1c]
and ebx, ebx
jle 0x41dcf6
push dword [esp + 0x1c]
movsx eax, word [esp + 0x10]
push eax
push 0
push dword [esp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoW
mov byte [esp + 0x3c], al
cmp byte [esp + 0x3c], 0
je 0x41dced
mov edx, str.VarFileInfoTranslation
lea ecx, [esp + 0x20]
call fcn.00426068
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x28]
push dword [esp + 0x28]
call sub.VERSION.dll_VerQueryValueW
mov byte [esp + 0x3c], al
cmp byte [esp + 0x3c], 0
je 0x41da97
push edx
call fcn.00461fa0
pop edx
push eax
push edx
call fcn.00461fa0
pop edx
push eax
mov eax, 0x49457c
push eax
push 4
push edx
call fcn.00461fa0
pop edx
push eax
push edx
call fcn.00461fa0
pop edx
push eax
push dword [esp + 0x2c]
call fcn.004613b0
cdq
push edx
push eax
call fcn.004607d0
call fcn.00426482
add dword [esp], edx
call fcn.00460260
push edx
call fcn.00461fa0
pop edx
push eax
push edx
call fcn.00461fa0
pop edx
push eax
mov eax, 0x49457c
push eax
push 4
push edx
call fcn.00461fa0
pop edx
push eax
push edx
call fcn.00461fa0
pop edx
push eax
mov ebx, dword [esp + 0x30]
add ebx, 2
push ebx
call fcn.004613b0
cdq
push edx
push eax
call fcn.004607d0
call fcn.00426482
add dword [esp], edx
call fcn.00460260
pop eax
lea eax, [esp + 0x3c]
push eax
call fcn.00462020
movsx eax, word [esp + 8]
push eax
push dword [esp + 0x28]
push dword [esp + 0x1c]
call fcn.004613b0
push eax
call sub.KERNEL32.dll_VerLanguageNameW
mov dword [esp + 0x2c], 1
mov byte [esp + 0x28], 1
jmp 0x41daa6
mov eax, 0xc
cmp al, byte [esp + 0x28]
jl 0x41dc20
mov ebx, dword [esp + 0x2c]
and ebx, dword [esp + 0x50]
and ebx, ebx
je 0x41dc0c
push edx
call fcn.00461fa0
pop edx
push eax
push dword [esp + 0x30]
call fcn.00408029
lea eax, [esp + 0x34]
push eax
call fcn.00462020
push edx
call fcn.00461fa0
pop edx
push eax
mov edx, str.StringFileInfo_
push edx
call fcn.00461fd0
mov edx, dword [esp + 0x3c]
push edx
call fcn.00461fd0
mov edx, 0x4948ec
push edx
call fcn.00461fd0
mov edx, dword [esp + 0x34]
push edx
call fcn.00461fd0
lea eax, [esp + 0x24]
push eax
call fcn.00462020
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x28]
push dword [esp + 0x28]
call sub.VERSION.dll_VerQueryValueW
mov byte [esp + 0x3c], al
cmp byte [esp + 0x3c], 0
je 0x41dc0c
push dword [esp + 0x34]
mov edx, 0x494038
pop ecx
call fcn.004264b0
jne 0x41db7a
mov edx, dword [esp + 0x34]
push edx
call fcn.00461fa0
pop edx
push eax
push edx
call fcn.00461fd0
mov edx, 0x49406a
push edx
call fcn.00461fd0
lea eax, [esp + 0x38]
push eax
call fcn.00462020
cmp dword [esp + 0x54], 0
je 0x41dbd2
mov edx, dword [esp + 0x34]
push edx
call fcn.00461fa0
pop edx
push eax
push edx
call fcn.00461fd0
mov edx, dword [esp + 0x34]
push edx
call fcn.00461fd0
mov edx, 0x49747a
push edx
call fcn.00461fd0
push edx
call fcn.00461fa0
pop edx
push eax
push edx
call fcn.00461fa0
pop edx
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.004613c0
pop eax
lea eax, [esp + 0x38]
push eax
call fcn.00462020
jmp 0x41dc0c
mov edx, dword [esp + 0x34]
push edx
call fcn.00461fa0
pop edx
push eax
push edx
call fcn.00461fd0
push edx
call fcn.00461fa0
pop edx
push eax
push edx
call fcn.00461fa0
pop edx
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.004613c0
pop eax
lea eax, [esp + 0x38]
push eax
call fcn.00462020
mov ebx, dword [esp + 0x2c]
shl ebx, 1
mov dword [esp + 0x2c], ebx
inc byte [esp + 0x28]
jno 0x41daa6
mov ebx, dword [esp + 0x2c]
and ebx, dword [esp + 0x50]
and ebx, ebx
je 0x41dced
push dword [esp + 0x34]
mov edx, 0x494038
pop ecx
call fcn.004264b0
jne 0x41dc68
mov edx, dword [esp + 0x34]
push edx
call fcn.00461fa0
pop edx
push eax
push edx
call fcn.00461fd0
mov edx, 0x49406a
push edx
call fcn.00461fd0
lea eax, [esp + 0x38]
push eax
call fcn.00462020
cmp dword [esp + 0x54], 0
je 0x41dcc7
push edx
call fcn.00461fa0
pop edx
push eax
push dword [esp + 0x30]
call fcn.00408029
lea eax, [esp + 0x34]
push eax
call fcn.00462020
mov edx, dword [esp + 0x34]
push edx
call fcn.00461fa0
pop edx
push eax
push edx
call fcn.00461fd0
mov edx, dword [esp + 0x34]
push edx
call fcn.00461fd0
mov edx, 0x49747a
push edx
call fcn.00461fd0
mov edx, dword [esp + 0x28]
push edx
call fcn.00461fd0
lea eax, [esp + 0x38]
push eax
call fcn.00462020
jmp 0x41dced
mov edx, dword [esp + 0x34]
push edx
call fcn.00461fa0
pop edx
push eax
push edx
call fcn.00461fd0
mov edx, dword [esp + 0x28]
push edx
call fcn.00461fd0
lea eax, [esp + 0x38]
push eax
call fcn.00462020
push dword [esp + 0x1c]
call fcn.004611e0
mov edx, dword [esp + 0x34]
push edx
call fcn.00461fa0
pop edx
push eax
push edx
call fcn.00461fd0
pop eax
push eax
call fcn.00426470
pop edx
add eax, edx
jmp 0x41dd1e
push dword [esp + 0x30]
call fcn.00462190
push dword [esp]
call fcn.00462190
push dword [esp + 0x38]
call fcn.00462190
push dword [esp + 0x34]
call fcn.00462190
push dword [esp + 0x24]
call fcn.00462190
push dword [esp + 0x20]
call fcn.00462190
add esp, 0x40
pop edi
pop ebx
ret 0xc