Function at 0x10002e88
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.10004473
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x10035300
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
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], 0
mov dword [ebp - 0x30], 0
push 8
call fcn.10004473
add esp, 4
mov dword [ebp - 0x34], eax
mov edi, eax
mov esi, 0x10035300
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], esp
lea eax, [ebp - 8]
push eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x10002f3c
add eax, 8
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x10002f63
push 0x19
push 0x401cd2e
push 6
call fcn.10004479
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x10003847
mov dword [ebp - 0x44], esp
push dword [ebp - 4]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x10002fa1
push 0x8a
push 0x401cd2e
push 6
call fcn.10004479
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x44], esp
push dword [ebp - 0xc]
push dword [ebp - 4]
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x10002fbe
add eax, 8
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x10002fe5
push 0xbc
push 0x401cd2e
push 6
call fcn.10004479
add esp, 0xc
test eax, eax
je 0x1000381b
mov eax, 0x100353fb
push eax
mov ebx, eax
call fcn.10001ebe
pop eax
sub ebx, eax
push ecx
push ebx
push eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.10004473
add esp, 4
pop esi
mov edi, eax
pop ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
test ecx, ecx
je 0x1000304a
push eax
lodsd eax, dword [esi]
push esi
push edi
push ecx
test eax, eax
je 0x1000303e
push eax
mov ebx, eax
call fcn.100010eb
inc eax
push eax
call fcn.10004473
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop ecx
pop edi
pop esi
stosd dword es:[edi], eax
dec ecx
jne 0x10003021
pop eax
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10003069
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10003065
imul eax, dword [ebx]
jmp 0x1000305a
mov ecx, eax
test ecx, ecx
je 0x10003088
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10003081
push ebx
push eax
call fcn.10004467
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1000306f
call fcn.10004467
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0xc], 0
jle 0x100030dc
fild dword [ebp + 0xc]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fadd qword [0x10035433]
fstp qword [ebp - 0x54]
mov ebx, dword [ebp - 0x10]
call fcn.10002dd2
mov dword [ebp - 0x60], eax
fild dword [ebp - 0x60]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x54]
fsub qword [ebp - 0x60]
fcomp qword [0x1003543b]
fnstsw ax
test ah, 0x41
je 0x100030dc
xor eax, eax
jmp 0x100030e1
mov eax, 1
test eax, eax
je 0x100032f3
mov ebx, dword [ebp - 0x10]
call fcn.10001ebe
mov eax, 0
cmp eax, ecx
jl 0x10003111
push 0x292
push 0x401cd2e
push 1
call fcn.10004479
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
push dword [ebp - 0x44]
call fcn.10002933
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10003144
push ebx
call fcn.10004467
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x44], esp
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1000315d
add eax, 8
push eax
push dword [ebp - 0xc]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x10003187
push 0x2c6
push 0x401cd2e
push 6
call fcn.10004479
add esp, 0xc
test eax, eax
je 0x100032ee
push 8
push dword [ebp - 0x18]
call fcn.100038ef
mov dword [ebp - 0x20], eax
push 0xc
push dword [ebp - 0x18]
call fcn.100038ef
mov dword [ebp - 0x24], eax
push dword [ebp - 0x20]
call fcn.1000390f
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.10004f10
add esp, 0x10
mov dword [ebp - 0x48], eax
push dword [ebp - 0x20]
call fcn.1000392f
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.10004f10
add esp, 0x10
mov dword [ebp - 0x50], eax
push dword [ebp - 0x24]
call fcn.1000390f
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.10004f10
add esp, 0x10
mov dword [ebp - 0x58], eax
push dword [ebp - 0x24]
call fcn.1000392f
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.10004f10
add esp, 0x10
mov dword [ebp - 0x60], eax
push dword [ebp - 0x60]
push 0x10035443
push dword [ebp - 0x58]
push 0x10035443
push dword [ebp - 0x50]
push 0x10035443
push dword [ebp - 0x48]
mov ecx, 7
call fcn.10001156
add esp, 0x1c
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x1000327e
push ebx
call fcn.10004467
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x1000328e
push ebx
call fcn.10004467
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x1000329e
push ebx
call fcn.10004467
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x100032ae
push ebx
call fcn.10004467
add esp, 4
mov dword [ebp - 0x68], 0
push 0
push dword [ebp - 0x68]
lea eax, [ebp - 0x64]
push eax
call fcn.10002933
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x100032d6
push ebx
call fcn.10004467
add esp, 4
mov eax, dword [ebp - 0x6c]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x100032ea
push ebx
call fcn.10004467
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
jmp 0x1000381b
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov eax, str.VarFileInfoTranslation
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
call fcn.10002933
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x10003323
push ebx
call fcn.10004467
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10003337
push ebx
call fcn.10004467
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x44], esp
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10003350
add eax, 8
push eax
push dword [ebp - 0xc]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x1000337a
push 0x4ee
push 0x401cd2e
push 6
call fcn.10004479
add esp, 0xc
test eax, eax
je 0x1000381b
push 0
push dword [ebp - 0x18]
call fcn.1000394c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x10]
call fcn.10001ebe
push ebx
push ecx
fild dword [ebp + 0xc]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fadd qword [0x10035433]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.10001e97
dec eax
jns 0x100033d0
push 0x593
push 0x401cd2e
push 4
call fcn.10004479
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x100033ed
push 0x593
push 0x401cd2e
push 1
call fcn.10004479
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
push 0x1001d259
mov ebx, dword [ebp - 0x54]
push dword [ebx]
call fcn.10002deb
add esp, 8
cmp eax, 0
jne 0x10003511
mov dword [ebp - 0x44], esp
push 0x100
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x10003443
push 0x5ef
push 0x401cd2e
push 6
call fcn.10004479
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x44], esp
push 0x7f
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_VerLanguageNameW]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x1000347a
push 0x62f
push 0x401cd2e
push 6
call fcn.10004479
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x100034e0
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fmul qword [0x10035310]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.10001e97
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0x18]
push 2
mov ebx, 0x910
call fcn.10005950
add esp, 0x1c
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x100034dc
push ebx
call fcn.10004467
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x44], esp
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x1000350c
push 0x6e9
push 0x401cd2e
push 6
call fcn.10004479
add esp, 0xc
jmp 0x1000381b
push 2
push dword [ebp - 0x18]
call fcn.1000394c
mov word [ebp - 0x30], ax
mov eax, 0x1003545e
push eax
push eax
mov ebx, eax
call fcn.10001ebe
pop eax
sub ebx, eax
shl ecx, 1
add ecx, ebx
push ecx
call fcn.10004473
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x34]
push ebx
call fcn.10004467
add esp, 4
pop eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x2c], 0x804
je 0x10003575
cmp dword [ebp - 0x2c], 0x409
je 0x10003575
mov eax, 1
jmp 0x1000357a
mov eax, 0
test eax, eax
je 0x100035f1
lea eax, [ebp - 0x34]
push eax
push 2
mov eax, 2
call fcn.100047b0
add esp, 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x48], ebx
call fcn.10001ebe
mov dword [ebp - 0x4c], ecx
mov edi, dword [ebp - 0x48]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x100035c7
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x4c]
inc eax
shl eax, 1
add eax, 8
push eax
push dword [ebp - 0x48]
call fcn.1000448b
add esp, 8
mov dword [ebp - 0x34], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x4c]
shl eax, 1
add edi, eax
mov eax, dword [ebp - 0x44]
mov word [edi], ax
mov ebx, dword [ebp - 0x34]
call fcn.10002dd2
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
xor ecx, ecx
push eax
lea eax, [ebp - 0x3c]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x10003818
mov ebx, dword [ebp - 0x34]
call fcn.10001ebe
push ebx
push ecx
mov eax, dword [ebp - 0x3c]
dec eax
jns 0x1000363d
push 0x8b8
push 0x401cd2e
push 4
call fcn.10004479
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000365a
push 0x8b8
push 0x401cd2e
push 1
call fcn.10004479
add esp, 0xc
shl eax, 1
add ebx, eax
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x44]
mov ax, word [ebx]
cwde
push eax
mov eax, dword [ebp - 0x30]
cwde
push eax
call fcn.1000396f
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
push 1
push 1
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
call fcn.10003998
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x100036a2
push ebx
call fcn.10004467
add esp, 4
pop eax
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x10]
call fcn.10001ebe
push ebx
push ecx
fild dword [ebp + 0xc]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fadd qword [0x10035433]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.10001e97
dec eax
jns 0x100036e4
push 0x94d
push 0x401cd2e
push 4
call fcn.10004479
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10003701
push 0x94d
push 0x401cd2e
push 1
call fcn.10004479
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
push dword [ebx]
push 0x10035371
push dword [ebp - 0x40]
push str.StringFileInfo_
mov ecx, 4
call fcn.10001156
add esp, 0x10
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
push eax
call fcn.10002933
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x10003753
push ebx
call fcn.10004467
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10003767
push ebx
call fcn.10004467
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x44], esp
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10003780
add eax, 8
push eax
push dword [ebp - 0xc]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x100037aa
push 0x987
push 0x401cd2e
push 6
call fcn.10004479
add esp, 0xc
test eax, eax
je 0x10003810
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fmul qword [0x10035310]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.10001e97
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0x18]
push 2
mov ebx, 0x910
call fcn.10005950
add esp, 0x1c
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10003807
push ebx
call fcn.10004467
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
jmp 0x10003818
pop eax
pop ebx
pop ecx
jmp 0x10003608
add esp, 0xc
mov dword [ebp - 0x44], esp
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x10003847
push 0xa8b
push 0x401cd2e
push 6
call fcn.10004479
add esp, 0xc
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10003861
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.10004473
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10003866
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10003885
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10003881
imul eax, dword [ebx]
jmp 0x10003876
mov ecx, eax
test ecx, ecx
je 0x100038a4
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1000389d
push ebx
push eax
call fcn.10004467
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1000388b
call fcn.10004467
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100038bc
push ebx
call fcn.10004467
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x100038cc
push ebx
call fcn.10004467
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
call fcn.10004467
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x100038e8
push ebx
call fcn.10004467
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc