Function at 0x100030cb
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.1001fa04
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x1003f529
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0
jmp 0x10003136
mov dword [ebp - 0x24], esp
push 0
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x10003169
push 0xe3
push 0x4039ebe
push 6
call fcn.1001fa1c
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x10003805
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.10020b00
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100031a9
push ebx
call fcn.1001fa0a
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], esp
mov eax, dword [ebp - 8]
test eax, eax
je 0x100031ba
add eax, 8
push eax
push dword [ebp - 4]
push 0
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x100031ee
push 0x184
push 0x4039ebe
push 6
call fcn.1001fa1c
add esp, 0xc
mov dword [ebp - 0x24], 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 0x10003208
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x1000322f
push 0x1d9
push 0x4039ebe
push 6
call fcn.1001fa1c
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x10003246
mov eax, 0x1003f275
jmp 0x10003836
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x1bc
call fcn.10020b00
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10003279
push ebx
call fcn.1001fa0a
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0x10]
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10003290
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x100032b7
push 0x279
push 0x4039ebe
push 6
call fcn.1001fa1c
add esp, 0xc
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push 0x80000005
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x100032dc
mov eax, 0x1003f2e4
push eax
push 3
mov ebx, 0x19c
call fcn.10020c30
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp ecx, 0x80000101
jne 0x10003310
and eax, 0xff
jmp 0x10003365
cmp ecx, 0x80000201
jne 0x1000331b
cwde
jmp 0x10003365
cmp ecx, 0x80000301
je 0x10003365
cmp ecx, 0x80000401
je 0x10003365
mov dword [ebp - 0x34], eax
cmp ecx, 0x80000501
je 0x10003355
cmp ecx, 0x80000601
je 0x1000335a
push 0x31d
push 0x4039ebe
push 2
call fcn.1001fa1c
add esp, 0xc
fld dword [ebp - 0x34]
jmp 0x10003360
mov dword [ebp - 0x30], edx
fld qword [ebp - 0x34]
call fcn.10001043
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1d4
call fcn.10020dd0
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x10003395
mov eax, 0x1003f275
push eax
push 1
mov ebx, 0x130
call fcn.10020500
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x100033bb
push ebx
call fcn.1001fa0a
add esp, 4
fld qword [0x1003f427]
fild dword [ebp - 0x34]
fstp qword [ebp - 0x3c]
fsub qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
push 0x80000004
push 0
push 0x1003f42f
fld qword [ebp - 0x44]
call fcn.10001043
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x188
call fcn.10020e00
add esp, 0x1c
mov dword [ebp - 0x48], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push 0x80000005
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10003423
mov eax, 0x1003f2e4
push eax
push 3
mov ebx, 0x19c
call fcn.10020c30
add esp, 0x28
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
cmp ecx, 0x80000101
jne 0x10003457
and eax, 0xff
jmp 0x100034ac
cmp ecx, 0x80000201
jne 0x10003462
cwde
jmp 0x100034ac
cmp ecx, 0x80000301
je 0x100034ac
cmp ecx, 0x80000401
je 0x100034ac
mov dword [ebp - 0x5c], eax
cmp ecx, 0x80000501
je 0x1000349c
cmp ecx, 0x80000601
je 0x100034a1
push 0x35e
push 0x4039ebe
push 2
call fcn.1001fa1c
add esp, 0xc
fld dword [ebp - 0x5c]
jmp 0x100034a7
mov dword [ebp - 0x58], edx
fld qword [ebp - 0x5c]
call fcn.10001043
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1d4
call fcn.10020dd0
add esp, 0x10
mov dword [ebp - 0x58], eax
push dword [ebp - 0x58]
push dword [ebp - 0x48]
mov ecx, 2
call fcn.10001568
add esp, 8
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x100034ef
push ebx
call fcn.1001fa0a
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x100034ff
push ebx
call fcn.1001fa0a
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10003513
push ebx
call fcn.1001fa0a
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x10003536
mov eax, 0x1003f275
push eax
push 2
mov ebx, 0x138
call fcn.10020e60
add esp, 0x1c
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x1000356b
mov eax, 0x1003f275
push eax
push 2
mov ebx, 0x134
call fcn.10020510
add esp, 0x1c
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x24]
mov ecx, 2
call fcn.10001568
add esp, 8
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100035a7
push ebx
call fcn.1001fa0a
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x100035b7
push ebx
call fcn.1001fa0a
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x100035cb
push ebx
call fcn.1001fa0a
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, 0x1003f4e0
push eax
mov ebx, eax
call fcn.100030ab
pop eax
sub ebx, eax
push ecx
push ebx
push eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.1001fa04
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 0x1000362c
push eax
lodsd eax, dword [esi]
push esi
push edi
push ecx
test eax, eax
je 0x10003620
push eax
mov ebx, eax
call fcn.100014fd
inc eax
push eax
call fcn.1001fa04
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 0x10003603
pop eax
push eax
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1000364b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10003647
imul eax, dword [ebx]
jmp 0x1000363c
mov ecx, eax
test ecx, ecx
je 0x1000366a
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10003663
push ebx
push eax
call fcn.1001fa0a
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10003651
call fcn.1001fa0a
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x10], 0
jne 0x10003687
mov dword [ebp + 0xc], 1
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp + 0xc]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push dword [ebp - 0x18]
push str.StringFileInfo_
mov ecx, 3
call fcn.10001568
add esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x28]
mov eax, dword [ebp - 8]
test eax, eax
je 0x100036d5
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x100036fc
push 0x5c7
push 0x4039ebe
push 6
call fcn.1001fa1c
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1000370f
push ebx
call fcn.1001fa0a
add esp, 4
cmp dword [ebp - 0x30], 0
je 0x10003805
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x1bc
call fcn.10020b00
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1000374c
push ebx
call fcn.1001fa0a
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0x10]
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10003763
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x1000378a
push 0x653
push 0x4039ebe
push 6
call fcn.1001fa1c
add esp, 0xc
push 0
push 0
push 0
push 0x80000301
push 0
push 0xa
push 0x80000005
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x100037af
mov eax, 0x1003f2e4
push eax
push 3
mov ebx, 0x19c
call fcn.10020c30
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x80000004
je 0x100037ed
push 0x694
push 0x4039ebe
push 5
call fcn.1001fa1c
add esp, 0xc
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10003801
push ebx
call fcn.1001fa0a
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10003821
push eax
mov ebx, eax
call fcn.100014fd
inc eax
push eax
call fcn.1001fa04
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10003836
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10003847
push ebx
call fcn.1001fa0a
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10003857
push ebx
call fcn.1001fa0a
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10003867
push ebx
call fcn.1001fa0a
add esp, 4
mov ebx, dword [ebp - 0x1c]
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.1001fa0a
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1000388b
call fcn.1001fa0a
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x100038bc
push ebx
call fcn.1001fa0a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc