Function at 0x10006490
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.1000d5df
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x10019683
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
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 0x1000651c
push 0x19
push 0x4045874
push 6
call fcn.1000d5eb
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x10006cc1
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.1000e490
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000655c
push ebx
call fcn.1000d5e5
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], esp
mov eax, dword [ebp - 8]
test eax, eax
je 0x1000656d
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 0x100065a1
push 0xba
push 0x4045874
push 6
call fcn.1000d5eb
add esp, 0xc
mov eax, 0x1001955a
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.10001c8c
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100065c5
push ebx
call fcn.1000d5e5
add esp, 4
push 0x80000005
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x100065d8
mov eax, 0x1001920d
push eax
push 1
mov ebx, 0x168
call fcn.1000dcf0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x100065fe
push ebx
call fcn.1000d5e5
add esp, 4
mov dword [ebp - 0x30], esp
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
test eax, eax
je 0x10006616
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x1000663d
push 0x14c
push 0x4045874
push 6
call fcn.1000d5eb
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10006650
push ebx
call fcn.1000d5e5
add esp, 4
cmp dword [ebp - 0x34], 0
jne 0x10006664
mov eax, 0x1001922e
jmp 0x10006ce2
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x1bc
call fcn.1000e490
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10006697
push ebx
call fcn.1000d5e5
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 0x100066ae
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x100066d5
push 0x1f6
push 0x4045874
push 6
call fcn.1000d5eb
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 0x100066fa
mov eax, 0x1001920d
push eax
push 3
mov ebx, 0x19c
call fcn.1000ee10
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 0x1000672e
and eax, 0xff
jmp 0x10006783
cmp ecx, 0x80000201
jne 0x10006739
cwde
jmp 0x10006783
cmp ecx, 0x80000301
je 0x10006783
cmp ecx, 0x80000401
je 0x10006783
mov dword [ebp - 0x34], eax
cmp ecx, 0x80000501
je 0x10006773
cmp ecx, 0x80000601
je 0x10006778
push 0x29a
push 0x4045874
push 2
call fcn.1000d5eb
add esp, 0xc
fld dword [ebp - 0x34]
jmp 0x1000677e
mov dword [ebp - 0x30], edx
fld qword [ebp - 0x34]
call fcn.10001c65
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1d4
call fcn.1000efb0
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x100067b3
mov eax, 0x1001922e
push eax
push 1
mov ebx, 0x130
call fcn.1000eab0
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x100067d9
push ebx
call fcn.1000d5e5
add esp, 4
fld qword [0x1001957a]
fild dword [ebp - 0x34]
fstp qword [ebp - 0x3c]
fsub qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
push 0x80000004
push 0
push 0x10019582
fld qword [ebp - 0x44]
call fcn.10001c65
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x188
call fcn.1000efe0
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 0x10006841
mov eax, 0x1001920d
push eax
push 3
mov ebx, 0x19c
call fcn.1000ee10
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 0x10006875
and eax, 0xff
jmp 0x100068ca
cmp ecx, 0x80000201
jne 0x10006880
cwde
jmp 0x100068ca
cmp ecx, 0x80000301
je 0x100068ca
cmp ecx, 0x80000401
je 0x100068ca
mov dword [ebp - 0x5c], eax
cmp ecx, 0x80000501
je 0x100068ba
cmp ecx, 0x80000601
je 0x100068bf
push 0x2db
push 0x4045874
push 2
call fcn.1000d5eb
add esp, 0xc
fld dword [ebp - 0x5c]
jmp 0x100068c5
mov dword [ebp - 0x58], edx
fld qword [ebp - 0x5c]
call fcn.10001c65
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1d4
call fcn.1000efb0
add esp, 0x10
mov dword [ebp - 0x58], eax
push dword [ebp - 0x58]
push dword [ebp - 0x48]
mov ecx, 2
call fcn.10001111
add esp, 8
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x1000690d
push ebx
call fcn.1000d5e5
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x1000691d
push ebx
call fcn.1000d5e5
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10006931
push ebx
call fcn.1000d5e5
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 0x10006954
mov eax, 0x1001922e
push eax
push 2
mov ebx, 0x138
call fcn.1000eac0
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 0x10006989
mov eax, 0x1001922e
push eax
push 2
mov ebx, 0x134
call fcn.1000e0b0
add esp, 0x1c
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x24]
mov ecx, 2
call fcn.10001111
add esp, 8
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100069c5
push ebx
call fcn.1000d5e5
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x100069d5
push ebx
call fcn.1000d5e5
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x100069e9
push ebx
call fcn.1000d5e5
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, 0x10019633
push eax
mov ebx, eax
call fcn.10001086
pop eax
sub ebx, eax
push ecx
push ebx
push eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.1000d5df
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 0x10006a4a
push eax
lodsd eax, dword [esi]
push esi
push edi
push ecx
test eax, eax
je 0x10006a3e
push eax
mov ebx, eax
call fcn.100010a6
inc eax
push eax
call fcn.1000d5df
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 0x10006a21
pop eax
push eax
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10006a69
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10006a65
imul eax, dword [ebx]
jmp 0x10006a5a
mov ecx, eax
test ecx, ecx
je 0x10006a88
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10006a81
push ebx
push eax
call fcn.1000d5e5
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10006a6f
call fcn.1000d5e5
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x10], 0
jne 0x10006aa5
mov dword [ebp + 0xc], 1
mov eax, 0x1001966b
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.10001c8c
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10006ac9
push ebx
call fcn.1000d5e5
add esp, 4
push 0x80000005
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x10006adc
mov eax, 0x1001920d
push eax
push 1
mov ebx, 0x168
call fcn.1000dcf0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10006b02
push ebx
call fcn.1000d5e5
add esp, 4
mov ebx, dword [ebp - 0x1c]
call fcn.10001086
push ebx
push ecx
mov eax, dword [ebp + 0xc]
dec eax
jns 0x10006b29
push 0x57a
push 0x4045874
push 4
call fcn.1000d5eb
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10006b46
push 0x57a
push 0x4045874
push 1
call fcn.1000d5eb
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
mov ecx, 3
call fcn.10001111
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10006b79
push ebx
call fcn.1000d5e5
add esp, 4
mov dword [ebp - 0x38], esp
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x34]
mov eax, dword [ebp - 8]
test eax, eax
je 0x10006b91
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
nop
nop
cmp dword [ebp - 0x38], esp
je 0x10006bb8
push 0x57a
push 0x4045874
push 6
call fcn.1000d5eb
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x10006bcb
push ebx
call fcn.1000d5e5
add esp, 4
cmp dword [ebp - 0x3c], 0
je 0x10006cc1
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x1bc
call fcn.1000e490
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10006c08
push ebx
call fcn.1000d5e5
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 0x10006c1f
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x10006c46
push 0x617
push 0x4045874
push 6
call fcn.1000d5eb
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 0x10006c6b
mov eax, 0x1001920d
push eax
push 3
mov ebx, 0x19c
call fcn.1000ee10
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 0x10006ca9
push 0x658
push 0x4045874
push 5
call fcn.1000d5eb
add esp, 0xc
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10006cbd
push ebx
call fcn.1000d5e5
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10006cdd
push eax
mov ebx, eax
call fcn.100010a6
inc eax
push eax
call fcn.1000d5df
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10006ce2
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10006cf3
push ebx
call fcn.1000d5e5
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10006d03
push ebx
call fcn.1000d5e5
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10006d13
push ebx
call fcn.1000d5e5
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10006d31
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10006d2d
imul eax, dword [ebx]
jmp 0x10006d22
mov ecx, eax
test ecx, ecx
je 0x10006d50
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10006d49
push ebx
push eax
call fcn.1000d5e5
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10006d37
call fcn.1000d5e5
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10006d68
push ebx
call fcn.1000d5e5
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc