Function at 0x41d79a
Capabilities:
Get file version info

Disassembly:
push ebx
push edi
mov edx, 0x10
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x41d7a1
call fcn.0043ec50
push dword [esp + 0x58]
call fcn.00426500
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.0043ea40
pop edx
push eax
push edx
call fcn.0043ea40
pop edx
push eax
movsx eax, word [esp + 0x10]
push eax
call fcn.0043ce80
lea eax, [esp + 0x28]
push eax
call fcn.0043eae0
mov edx, 0x442038
lea ecx, [esp + 0x34]
call fcn.00426068
push dword [esp]
call fcn.00435e23
push edx
push eax
pop ebx
pop edi
cmp edi, 0
jg 0x41d82e
jl 0x41d82a
cmp ebx, 0
ja 0x41d82e
xor eax, eax
jmp 0x41d833
mov eax, 1
or eax, eax
je 0x41dbeb
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 0x41dbeb
movsx eax, word [esp + 0xc]
push eax
call fcn.0043dc80
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x1c]
and ebx, ebx
jle 0x41dbeb
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 0x41dbe2
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 0x41d98c
push edx
call fcn.0043ea40
pop edx
push eax
push edx
call fcn.0043ea40
pop edx
push eax
mov eax, 0x442592
push eax
push 4
push edx
call fcn.0043ea40
pop edx
push eax
push edx
call fcn.0043ea40
pop edx
push eax
mov eax, dword [esp + 0x2c]
call fcn.004264c0
cdq
push edx
push eax
call fcn.0043d1d0
call fcn.004264e2
add dword [esp], edx
call fcn.0043cd30
push edx
call fcn.0043ea40
pop edx
push eax
push edx
call fcn.0043ea40
pop edx
push eax
mov eax, 0x442592
push eax
push 4
push edx
call fcn.0043ea40
pop edx
push eax
push edx
call fcn.0043ea40
pop edx
push eax
mov ebx, dword [esp + 0x30]
add ebx, 2
mov eax, ebx
call fcn.004264c0
cdq
push edx
push eax
call fcn.0043d1d0
call fcn.004264e2
add dword [esp], edx
call fcn.0043cd30
pop eax
lea eax, [esp + 0x3c]
push eax
call fcn.0043eae0
movsx eax, word [esp + 8]
push eax
push dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
call fcn.004264c0
push eax
call sub.KERNEL32.dll_VerLanguageNameW
mov dword [esp + 0x2c], 1
mov byte [esp + 0x28], 1
jmp 0x41d99b
mov eax, 0xc
cmp al, byte [esp + 0x28]
jl 0x41db15
mov ebx, dword [esp + 0x2c]
and ebx, dword [esp + 0x50]
and ebx, ebx
je 0x41db01
push edx
call fcn.0043ea40
pop edx
push eax
push dword [esp + 0x30]
call fcn.004081a1
lea eax, [esp + 0x34]
push eax
call fcn.0043eae0
push edx
call fcn.0043ea40
pop edx
push eax
mov edx, str.StringFileInfo_
push edx
call fcn.0043ea80
mov edx, dword [esp + 0x3c]
push edx
call fcn.0043ea80
mov edx, 0x442942
push edx
call fcn.0043ea80
mov edx, dword [esp + 0x34]
push edx
call fcn.0043ea80
lea eax, [esp + 0x24]
push eax
call fcn.0043eae0
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 0x41db01
push dword [esp + 0x34]
mov edx, 0x442038
pop ecx
call fcn.00426510
jne 0x41da6f
mov edx, dword [esp + 0x34]
push edx
call fcn.0043ea40
pop edx
push eax
push edx
call fcn.0043ea80
mov edx, 0x44206a
push edx
call fcn.0043ea80
lea eax, [esp + 0x38]
push eax
call fcn.0043eae0
cmp dword [esp + 0x54], 0
je 0x41dac7
mov edx, dword [esp + 0x34]
push edx
call fcn.0043ea40
pop edx
push eax
push edx
call fcn.0043ea80
mov edx, dword [esp + 0x34]
push edx
call fcn.0043ea80
mov edx, 0x445520
push edx
call fcn.0043ea80
push edx
call fcn.0043ea40
pop edx
push eax
push edx
call fcn.0043ea40
pop edx
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.0043de50
pop eax
lea eax, [esp + 0x38]
push eax
call fcn.0043eae0
jmp 0x41db01
mov edx, dword [esp + 0x34]
push edx
call fcn.0043ea40
pop edx
push eax
push edx
call fcn.0043ea80
push edx
call fcn.0043ea40
pop edx
push eax
push edx
call fcn.0043ea40
pop edx
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.0043de50
pop eax
lea eax, [esp + 0x38]
push eax
call fcn.0043eae0
mov ebx, dword [esp + 0x2c]
shl ebx, 1
mov dword [esp + 0x2c], ebx
inc byte [esp + 0x28]
jno 0x41d99b
mov ebx, dword [esp + 0x2c]
and ebx, dword [esp + 0x50]
and ebx, ebx
je 0x41dbe2
push dword [esp + 0x34]
mov edx, 0x442038
pop ecx
call fcn.00426510
jne 0x41db5d
mov edx, dword [esp + 0x34]
push edx
call fcn.0043ea40
pop edx
push eax
push edx
call fcn.0043ea80
mov edx, 0x44206a
push edx
call fcn.0043ea80
lea eax, [esp + 0x38]
push eax
call fcn.0043eae0
cmp dword [esp + 0x54], 0
je 0x41dbbc
push edx
call fcn.0043ea40
pop edx
push eax
push dword [esp + 0x30]
call fcn.004081a1
lea eax, [esp + 0x34]
push eax
call fcn.0043eae0
mov edx, dword [esp + 0x34]
push edx
call fcn.0043ea40
pop edx
push eax
push edx
call fcn.0043ea80
mov edx, dword [esp + 0x34]
push edx
call fcn.0043ea80
mov edx, 0x445520
push edx
call fcn.0043ea80
mov edx, dword [esp + 0x28]
push edx
call fcn.0043ea80
lea eax, [esp + 0x38]
push eax
call fcn.0043eae0
jmp 0x41dbe2
mov edx, dword [esp + 0x34]
push edx
call fcn.0043ea40
pop edx
push eax
push edx
call fcn.0043ea80
mov edx, dword [esp + 0x28]
push edx
call fcn.0043ea80
lea eax, [esp + 0x38]
push eax
call fcn.0043eae0
push dword [esp + 0x1c]
call fcn.0043dca0
mov edx, dword [esp + 0x34]
push edx
call fcn.0043ea40
pop edx
push eax
push edx
call fcn.0043ea80
pop eax
push eax
call fcn.004264d0
pop edx
add eax, edx
jmp 0x41dc13
push dword [esp + 0x30]
call fcn.0043ecb0
push dword [esp]
call fcn.0043ecb0
push dword [esp + 0x38]
call fcn.0043ecb0
push dword [esp + 0x34]
call fcn.0043ecb0
push dword [esp + 0x24]
call fcn.0043ecb0
push dword [esp + 0x20]
call fcn.0043ecb0
add esp, 0x40
pop edi
pop ebx
ret 0xc