Function at 0x10029c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
jmp 0x10029e6
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
cmp edx, dword [ecx + 0x7c]
jge 0x1002bc8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x84]
mov ecx, dword [ebp - 0x20]
imul ecx, ecx, 0x3c
add eax, ecx
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x38]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x84]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.01002880
test eax, eax
jne 0x1002a3a
jmp 0x1002bcf
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1002b82
mov ecx, dword [ebp - 0x10]
push ecx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x1002a6e
jmp 0x1002bcf
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1002a86
jmp 0x1002bcf
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1002b76
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0x100134c
mov eax, dword [ebp - 0x18]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1002b76
cmp dword [ebp - 0x14], 0
je 0x1002b76
mov dword [ebp - 0x24], 0
jmp 0x1002add
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 2
jge 0x1002b50
mov edx, dword [ebp - 0x24]
imul edx, edx, 0x18
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edx + 4]
push ecx
mov edx, dword [ebp - 0x24]
imul edx, edx, 0x18
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edx]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
push edx
call fcn.01002c30
mov ecx, dword [ebp - 0x24]
mov dword [ebp + ecx*4 - 0x34], eax
mov edx, dword [ebp - 0x24]
imul edx, edx, 0x18
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edx + 0x10]
push ecx
mov edx, dword [ebp - 0x24]
imul edx, edx, 0x18
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edx + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
push edx
call fcn.01002c30
mov ecx, dword [ebp - 0x24]
mov dword [ebp + ecx*4 - 0x2c], eax
jmp 0x1002ad4
cmp dword [ebp - 0x34], 0
jl 0x1002b5c
cmp dword [ebp - 0x2c], 0
jle 0x1002b68
cmp dword [ebp - 0x30], 0
jl 0x1002b6a
cmp dword [ebp - 0x28], 0
jg 0x1002b6a
jmp 0x1002b76
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x1002bcf
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x1002bc3
mov ecx, dword [ebp - 0x20]
imul ecx, ecx, 0x18
mov edx, dword [ebp - 8]
cmp dword [edx + ecx], 0
jne 0x1002bc1
mov eax, dword [ebp - 0x20]
imul eax, eax, 0x18
mov ecx, dword [ebp - 8]
cmp dword [ecx + eax + 4], 0
jne 0x1002bc1
mov edx, dword [ebp - 0x20]
imul edx, edx, 0x18
mov eax, dword [ebp - 8]
cmp dword [eax + edx + 0xc], 0
jne 0x1002bc1
mov ecx, dword [ebp - 0x20]
imul ecx, ecx, 0x18
mov edx, dword [ebp - 8]
cmp dword [edx + ecx + 0x10], 0
je 0x1002bc3
jmp 0x1002bcf
jmp 0x10029dd
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
cmp dword [ebp - 0x38], 0
je 0x1002be7
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x10