Function at 0x41abd0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455300
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x478990]
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 edi, dword [ebp + 8]
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x244], 0
push 0x468518
mov ecx, edi
mov dword [ebp - 4], 1
mov dword [edi], 0
call fcn.00406740
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x244], 1
call fcn.00441290
push 0x104
push dword [ebp + 0xc]
lea eax, [ebp - 0x21c]
push 0x105
push eax
call fcn.00441572
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x224], 0
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
add esp, 0x1c
or ecx, edx
jge 0x41ac9a
push 0
lea ecx, [ebp + 0xc]
call fcn.00406510
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x224]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
or ebx, 0xffffffff
test esi, esi
je 0x41ae35
push esi
call fcn.00441668
add esp, 4
mov dword [ebp - 0x240], eax
push eax
push esi
push dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41ae27
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x22c]
push eax
push str.VarFileInfoTranslation
push dword [ebp - 0x240]
mov dword [ebp - 0x220], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41ae27
mov ebx, dword [ebp - 0x220]
shr ebx, 2
xor edi, edi
test ebx, ebx
jle 0x41ae1e
call fcn.0041c8d4
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x41af5c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x22c]
push 0x45bd38
lea ecx, [eax + edi*4]
mov byte [ebp - 4], 2
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x23c]
push str.StringFileInfo_04x_04x_s
push eax
call fcn.00405f50
mov esi, dword [ebp - 0x23c]
mov dword [ebp - 0x228], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x400
add esp, 0x14
or eax, ecx
jge 0x41adaf
push 0x400
lea ecx, [ebp - 0x23c]
call fcn.00406510
mov esi, dword [ebp - 0x23c]
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x230]
push eax
push esi
push dword [ebp - 0x240]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x41ae7b
push dword [esi - 8]
push esi
call fcn.0043ea2f
add esp, 8
test eax, eax
js 0x41ae71
cmp eax, dword [esi - 8]
jg 0x41ae71
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
add esi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41ae15
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
inc edi
cmp edi, ebx
jl 0x41ad22
mov edi, dword [ebp - 0x234]
or ebx, 0xffffffff
push dword [ebp - 0x240]
call fcn.00441630
add esp, 4
mov esi, dword [ebp + 0xc]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x41ae53
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.0043e7dc
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00406820
push dword [ebp - 0x230]
lea ecx, [ebp - 0x238]
call fcn.00406740
mov edi, dword [ebp - 0x234]
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00406090
mov edx, dword [ebp - 0x238]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41aec2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [edi]
xor ecx, ecx
mov edx, dword [ebx - 0xc]
mov dword [ebp - 0x238], 0
test edx, edx
jle 0x41af20
test ecx, ecx
js 0x41ae71
cmp ecx, edx
jg 0x41ae71
movzx edi, word [ebx]
cmp edi, 0x2e
jne 0x41aeef
inc dword [ebp - 0x238]
jmp 0x41af12
cmp dword [ebp - 0x238], 3
jl 0x41af12
cmp ecx, edx
jg 0x41ae71
cmp edi, 0x30
jb 0x41af49
cmp ecx, edx
jg 0x41ae71
cmp edi, 0x39
ja 0x41af49
inc ecx
add ebx, 2
cmp ecx, edx
jl 0x41aed7
mov edi, dword [ebp - 0x234]
add esi, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41ae27
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41ae27
mov edi, dword [ebp - 0x234]
sub edx, ecx
push edx
push ecx
mov ecx, edi
call fcn.0041a370
jmp 0x41af20
push 0x80004005
call fcn.00406820
int3