Function at 0x1000d580
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9e8
push ebx
push esi
push edi
mov dword [ebp - 0x108], 0
mov al, byte [0x100273cc]
mov byte [ebp - 0x16c], al
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x16b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push str.Unknown
lea ecx, [ebp - 0x16c]
push ecx
call fcn.1001e290
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x1000d5e0
lea edx, [ebp - 0x16c]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.1001e290
add esp, 8
cmp dword [ebp + 0x18], 0
je 0x1000d5f9
lea ecx, [ebp - 0x16c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call fcn.1001e290
add esp, 8
cmp dword [ebp + 0x1c], 0
je 0x1000d612
lea eax, [ebp - 0x16c]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.1001e290
add esp, 8
cmp dword [ebp + 0x20], 0
je 0x1000d62b
lea edx, [ebp - 0x16c]
push edx
mov eax, dword [ebp + 0x20]
push eax
call fcn.1001e290
add esp, 8
cmp dword [ebp + 0x24], 0
je 0x1000d644
lea ecx, [ebp - 0x16c]
push ecx
mov edx, dword [ebp + 0x24]
push edx
call fcn.1001e290
add esp, 8
cmp dword [ebp + 8], 0
je 0x1000d662
push 0x103
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
jmp 0x1000d6b5
push 0x104
push 0
lea edx, [ebp - 0x104]
push edx
call fcn.1001ea50
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x1000d6a1
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x104]
push ecx
push 0x103
push 0
mov edx, dword [ebp + 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
jmp 0x1000d6b5
push 0x103
lea eax, [ebp - 0x104]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp dword [ebp + 0x14], 0
je 0x1000d705
lea ecx, [ebp - 0x104]
push ecx
call fcn.1001e830
add esp, 4
test eax, eax
je 0x1000d6f2
push 0x103
lea edx, [ebp - 0x104]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.1001e4a0
add esp, 0xc
mov ecx, dword [ebp + 0x14]
mov byte [ecx + 0x103], 0
jmp 0x1000d705
lea edx, [ebp - 0x16c]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.1001e290
add esp, 8
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x174], 0
lea ecx, [ebp - 0x170]
push ecx
lea edx, [ebp - 0x104]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x178], 0
ja 0x1000d740
jmp 0x1000dd0e
mov eax, dword [ebp - 0x178]
push eax
call fcn.1001ee4b
add esp, 4
mov dword [ebp - 0x994], eax
mov ecx, dword [ebp - 0x994]
mov dword [ebp - 0x17c], ecx
cmp dword [ebp - 0x17c], 0
jne 0x1000d76f
jmp 0x1000dd0e
mov edx, dword [ebp - 0x17c]
push edx
mov eax, dword [ebp - 0x178]
push eax
push 0
lea ecx, [ebp - 0x104]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
lea edx, [ebp - 0x174]
push edx
lea eax, [ebp - 0x180]
push eax
push str.VarFileInfoTranslation
mov ecx, dword [ebp - 0x17c]
push ecx
call sub.VERSION.dll_VerQueryValueA
mov edx, dword [ebp - 0x180]
xor eax, eax
mov ax, word [edx + 2]
push eax
mov ecx, dword [ebp - 0x180]
xor edx, edx
mov dx, word [ecx]
push edx
push str.StringFileInfo_04x_04xProductName
lea eax, [ebp - 0x980]
push eax
call fcn.1001e7d5
add esp, 0x10
lea ecx, [ebp - 0x174]
push ecx
lea edx, [ebp - 0x984]
push edx
lea eax, [ebp - 0x980]
push eax
mov ecx, dword [ebp - 0x17c]
push ecx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x1000d81c
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x998], edx
mov eax, dword [ebp - 0x998]
push eax
call fcn.1001ee40
add esp, 4
jmp 0x1000dd0e
cmp dword [ebp + 0x1c], 0
je 0x1000d878
push 0x104
push 0
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.1001ea50
add esp, 0xc
mov edx, dword [ebp - 0x984]
push edx
call fcn.1001e830
add esp, 4
cmp eax, 0x104
jb 0x1000d865
push 0x103
mov eax, dword [ebp - 0x984]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.1001e4a0
add esp, 0xc
jmp 0x1000d878
mov edx, dword [ebp - 0x984]
push edx
mov eax, dword [ebp + 0x1c]
push eax
call fcn.1001e290
add esp, 8
mov ecx, dword [ebp - 0x180]
xor edx, edx
mov dx, word [ecx + 2]
push edx
mov eax, dword [ebp - 0x180]
xor ecx, ecx
mov cx, word [eax]
push ecx
push str.StringFileInfo_04x_04xProductVersion
lea edx, [ebp - 0x980]
push edx
call fcn.1001e7d5
add esp, 0x10
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x984]
push ecx
lea edx, [ebp - 0x980]
push edx
mov eax, dword [ebp - 0x17c]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x1000d8ea
mov ecx, dword [ebp - 0x17c]
mov dword [ebp - 0x99c], ecx
mov edx, dword [ebp - 0x99c]
push edx
call fcn.1001ee40
add esp, 4
jmp 0x1000dd0e
cmp dword [ebp + 0x20], 0
je 0x1000d946
push 0x104
push 0
mov eax, dword [ebp + 0x20]
push eax
call fcn.1001ea50
add esp, 0xc
mov ecx, dword [ebp - 0x984]
push ecx
call fcn.1001e830
add esp, 4
cmp eax, 0x104
jb 0x1000d933
push 0x103
mov edx, dword [ebp - 0x984]
push edx
mov eax, dword [ebp + 0x20]
push eax
call fcn.1001e4a0
add esp, 0xc
jmp 0x1000d946
mov ecx, dword [ebp - 0x984]
push ecx
mov edx, dword [ebp + 0x20]
push edx
call fcn.1001e290
add esp, 8
mov eax, dword [ebp - 0x180]
xor ecx, ecx
mov cx, word [eax + 2]
push ecx
mov edx, dword [ebp - 0x180]
xor eax, eax
mov ax, word [edx]
push eax
push str.StringFileInfo_04x_04xFileDescription
lea ecx, [ebp - 0x980]
push ecx
call fcn.1001e7d5
add esp, 0x10
lea edx, [ebp - 0x174]
push edx
lea eax, [ebp - 0x984]
push eax
lea ecx, [ebp - 0x980]
push ecx
mov edx, dword [ebp - 0x17c]
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x1000d9b8
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x9a0], eax
mov ecx, dword [ebp - 0x9a0]
push ecx
call fcn.1001ee40
add esp, 4
jmp 0x1000dd0e
cmp dword [ebp + 0x18], 0
je 0x1000da14
push 0x104
push 0
mov edx, dword [ebp + 0x18]
push edx
call fcn.1001ea50
add esp, 0xc
mov eax, dword [ebp - 0x984]
push eax
call fcn.1001e830
add esp, 4
cmp eax, 0x104
jb 0x1000da01
push 0x103
mov ecx, dword [ebp - 0x984]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call fcn.1001e4a0
add esp, 0xc
jmp 0x1000da14
mov eax, dword [ebp - 0x984]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.1001e290
add esp, 8
mov edx, dword [ebp - 0x180]
xor eax, eax
mov ax, word [edx + 2]
push eax
mov ecx, dword [ebp - 0x180]
xor edx, edx
mov dx, word [ecx]
push edx
push str.StringFileInfo_04x_04xLegalCopyright
lea eax, [ebp - 0x980]
push eax
call fcn.1001e7d5
add esp, 0x10
lea ecx, [ebp - 0x174]
push ecx
lea edx, [ebp - 0x984]
push edx
lea eax, [ebp - 0x980]
push eax
mov ecx, dword [ebp - 0x17c]
push ecx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x1000da86
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x9a4], edx
mov eax, dword [ebp - 0x9a4]
push eax
call fcn.1001ee40
add esp, 4
jmp 0x1000dd0e
cmp dword [ebp + 0x24], 0
je 0x1000dae2
push 0x104
push 0
mov ecx, dword [ebp + 0x24]
push ecx
call fcn.1001ea50
add esp, 0xc
mov edx, dword [ebp - 0x984]
push edx
call fcn.1001e830
add esp, 4
cmp eax, 0x104
jb 0x1000dacf
push 0x103
mov eax, dword [ebp - 0x984]
push eax
mov ecx, dword [ebp + 0x24]
push ecx
call fcn.1001e4a0
add esp, 0xc
jmp 0x1000dae2
mov edx, dword [ebp - 0x984]
push edx
mov eax, dword [ebp + 0x24]
push eax
call fcn.1001e290
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x1000dcf3
mov dword [ebp - 0x988], 0
mov dword [ebp - 0x98c], 0
mov dword [ebp - 0x990], 0
lea ecx, [ebp - 0x174]
push ecx
lea edx, [ebp - 0x988]
push edx
push 0x10029d48
mov eax, dword [ebp - 0x17c]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1000dcf3
mov ecx, dword [ebp - 0x988]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x98c], edx
mov eax, dword [ebp - 0x988]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x990], ecx
push 0xa
lea edx, [ebp - 0x980]
push edx
mov eax, dword [ebp - 0x98c]
shr eax, 0x10
and eax, 0xffff
push eax
call fcn.1001f275
add esp, 0xc
lea ecx, [ebp - 0x980]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.1001e290
add esp, 8
push 0xa
lea eax, [ebp - 0x980]
push eax
mov ecx, dword [ebp - 0x98c]
and ecx, 0xffff
and ecx, 0xffff
push ecx
call fcn.1001f275
add esp, 0xc
mov edx, dword [ebp - 0x98c]
and edx, 0xffff
and edx, 0xffff
cmp edx, 0xa
jl 0x1000dbd0
push 0x10029e34
mov eax, dword [ebp + 0x10]
push eax
call fcn.1001e2a0
add esp, 8
jmp 0x1000dbe1
push 0x10029e30
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1001e2a0
add esp, 8
lea edx, [ebp - 0x980]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.1001e2a0
add esp, 8
mov ecx, dword [ebp - 0x990]
and ecx, 0xffff
and ecx, 0xffff
test ecx, ecx
je 0x1000dc9c
push 0xa
lea edx, [ebp - 0x980]
push edx
mov eax, dword [ebp - 0x990]
shr eax, 0x10
and eax, 0xffff
push eax
call fcn.1001f275
add esp, 0xc
push 0x10029e34
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1001e2a0
add esp, 8
lea edx, [ebp - 0x980]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.1001e2a0
add esp, 8
push 0xa
lea ecx, [ebp - 0x980]
push ecx
mov edx, dword [ebp - 0x990]
and edx, 0xffff
and edx, 0xffff
push edx
call fcn.1001f275
add esp, 0xc
push 0x10029e34
mov eax, dword [ebp + 0x10]
push eax
call fcn.1001e2a0
add esp, 8
lea ecx, [ebp - 0x980]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.1001e2a0
add esp, 8
jmp 0x1000dcf3
mov eax, dword [ebp - 0x990]
shr eax, 0x10
and eax, 0xffff
test eax, eax
je 0x1000dcf3
push 0xa
lea ecx, [ebp - 0x980]
push ecx
mov edx, dword [ebp - 0x990]
shr edx, 0x10
and edx, 0xffff
push edx
call fcn.1001f275
add esp, 0xc
push 0x10029e34
mov eax, dword [ebp + 0x10]
push eax
call fcn.1001e2a0
add esp, 8
lea ecx, [ebp - 0x980]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.1001e2a0
add esp, 8
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x9a8], eax
mov ecx, dword [ebp - 0x9a8]
push ecx
call fcn.1001ee40
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret