Function at 0x100af088
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0x10d
call fcn.100d51a9
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x1026bf7c
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x105
rep stosb byte es:[edi], al
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], esp
push 0
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.version.dll_GetFileVersionInfoSizeA]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x100af127
push 0x19
push 0x40218b7
push 6
call fcn.100d51b5
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x100af15c
mov eax, str.GetFileVersionInfoSize
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100af14c
push ebx
call fcn.100d51af
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, 0x101014b9
jmp 0x100af6a7
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.100d69a0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100af18f
push ebx
call fcn.100d51af
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x2c], esp
mov eax, dword [ebp - 8]
test eax, eax
je 0x100af1a0
add eax, 8
push eax
push dword [ebp - 4]
push 0
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.version.dll_GetFileVersionInfoA]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x100af1d4
push 0x143
push 0x40218b7
push 6
call fcn.100d51b5
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x100af209
mov eax, str.GetFileVersionInfo
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100af1f9
push ebx
call fcn.100d51af
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, 0x101014b9
jmp 0x100af6a7
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push str.VarFileInfoTranslation
mov eax, dword [ebp - 8]
test eax, eax
je 0x100af223
add eax, 8
push eax
call dword [sym.imp.version.dll_VerQueryValueA]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x100af24a
push 0x20d
push 0x40218b7
push 6
call fcn.100d51b5
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x100af27f
mov eax, str.VerQueryValue
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100af26f
push ebx
call fcn.100d51af
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, 0x101014b9
jmp 0x100af6a7
lea eax, [ebp - 0x14]
push eax
call fcn.100af6fb
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp - 0x2c]
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x100af2bd
push 0x2c5
push 0x40218b7
push 6
call fcn.100d51b5
add esp, 0xc
mov ebx, dword [ebp - 0x14]
call fcn.10055d00
mov eax, 2
cmp eax, ecx
jl 0x100af2e5
push 0x307
push 0x40218b7
push 1
call fcn.100d51b5
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x14]
call fcn.10055d00
mov eax, 3
cmp eax, ecx
jl 0x100af312
push 0x326
push 0x40218b7
push 1
call fcn.100d51b5
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov al, byte [ebx]
and eax, 0xff
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [0x1026bf46]
fstp qword [ebp - 0x40]
mov ebx, dword [ebp - 0x14]
call fcn.10055d00
mov eax, 0
cmp eax, ecx
jl 0x100af35e
push 0x34f
push 0x40218b7
push 1
call fcn.100d51b5
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x44]
mov al, byte [ebx]
and eax, 0xff
mov dword [ebp - 0x4c], eax
fild dword [ebp - 0x4c]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fmul qword [0x1026bf4e]
fstp qword [ebp - 0x54]
mov ebx, dword [ebp - 0x14]
call fcn.10055d00
mov eax, 1
cmp eax, ecx
jl 0x100af3aa
push 0x378
push 0x40218b7
push 1
call fcn.100d51b5
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov al, byte [ebx]
and eax, 0xff
mov dword [ebp - 0x60], eax
fild dword [ebp - 0x60]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
fmul qword [0x1026bf56]
fstp qword [ebp - 0x68]
mov ebx, dword [ebp - 0x2c]
mov al, byte [ebx]
and eax, 0xff
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
fstp qword [ebp - 0x70]
fld qword [ebp - 0x70]
fadd qword [ebp - 0x40]
fadd qword [ebp - 0x54]
fadd qword [ebp - 0x68]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
call fcn.10054e24
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
call fcn.10055d00
mov eax, 0
cmp eax, ecx
jl 0x100af423
push 0x3ce
push 0x40218b7
push 1
call fcn.100d51b5
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x14]
call fcn.10055d00
mov eax, 1
cmp eax, ecx
jl 0x100af450
push 0x3ed
push 0x40218b7
push 1
call fcn.100d51b5
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov al, byte [ebx]
and eax, 0xff
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [0x1026bf46]
fstp qword [ebp - 0x40]
mov ebx, dword [ebp - 0x2c]
mov al, byte [ebx]
and eax, 0xff
mov dword [ebp - 0x48], eax
fild dword [ebp - 0x48]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x50]
push 0x80000601
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 1
mov ebx, 0x9e0
call fcn.100d7a80
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push dword [ebp - 0x18]
push 1
mov ebx, 0x1d4
call fcn.100dacb0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x100af4e3
push ebx
call fcn.100d51af
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x100af4fa
mov eax, 0x101014b9
push eax
push 1
mov ebx, 0x130
call fcn.100d6690
add esp, 0x10
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 8
jge 0x100af54c
push dword [ebp - 0x20]
push str.0123456789ABCDEF_n
mov ecx, 2
call fcn.1005f66a
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x100af546
push ebx
call fcn.100d51af
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
jmp 0x100af4e7
push 0x80000301
push 0
push 0x105
push 1
mov ebx, 0x184
call fcn.100d5f90
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100af581
push ebx
call fcn.100d51af
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push 0x1026bf5e
push dword [ebp - 0x20]
push str.StringFileInfo_
mov ecx, 3
call fcn.1005f66a
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100af5b6
push ebx
call fcn.100d51af
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x24]
mov eax, dword [ebp - 8]
test eax, eax
je 0x100af5d2
add eax, 8
push eax
call dword [sym.imp.version.dll_VerQueryValueA]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x100af5f9
push 0x5af
push 0x40218b7
push 6
call fcn.100d51b5
add esp, 0xc
test eax, eax
je 0x100af66c
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x184
call fcn.100d5f90
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x100af634
push ebx
call fcn.100d51af
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
push dword [ebp - 0x28]
call dword [sym.imp.kernel32.dll_lstrcpyA]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x100af667
push 0x613
push 0x40218b7
push 6
call fcn.100d51b5
add esp, 0xc
jmp 0x100af686
mov eax, 0x101014b9
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x100af682
push ebx
call fcn.100d51af
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x100af6a2
push eax
mov ebx, eax
call fcn.10054c13
inc eax
push eax
call fcn.100d51a9
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x100af6a7
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100af6b8
push ebx
call fcn.100d51af
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.100d51af
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x100af6d4
push ebx
call fcn.100d51af
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100af6e4
push ebx
call fcn.100d51af
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x100af6f4
push ebx
call fcn.100d51af
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc