Function at 0x101d7ea5
Capabilities:
Get file version info

Disassembly:
push 0x6a0
mov eax, 0x1034094c
call fcn.102f7853
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 0x18], 8
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 4], ebx
lea esi, [edi + 4]
jb 0x101d7ed8
mov eax, dword [esi]
jmp 0x101d7eda
mov eax, esi
lea ecx, [ebp - 0x5c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x48], eax
cmp eax, ebx
ja 0x101d7f2d
cmp dword [edi + 0x18], 8
jb 0x101d7ef3
mov esi, dword [esi]
push esi
push 0x100246c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.101b70ff
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x27c]
rep movsd dword es:[edi], dword [esi]
push 0x103495b0
lea eax, [ebp - 0x27c]
push eax
call fcn.102f72b2
push 1
push 0x202
push 0x100241c4
push eax
call fcn.101d30b3
mov dword [ebp - 0x34], eax
cmp eax, ebx
jne 0x101d7f84
cmp dword [edi + 0x18], 8
jb 0x101d7f4e
mov esi, dword [esi]
push esi
push 0x10024660
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.101b70ff
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x6ac]
rep movsd dword es:[edi], dword [esi]
push 0x103495b0
lea eax, [ebp - 0x6ac]
jmp 0x101d7f27
cmp dword [edi + 0x18], 8
jb 0x101d7f8e
mov eax, dword [esi]
jmp 0x101d7f90
mov eax, esi
push dword [ebp - 0x34]
push dword [ebp - 0x48]
push dword [ebp - 0x5c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x101d7fe4
cmp dword [edi + 0x18], 8
jb 0x101d7fab
mov esi, dword [esi]
push esi
push 0x10024608
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.101b70ff
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x5a0]
rep movsd dword es:[edi], dword [esi]
push 0x103495b0
lea eax, [ebp - 0x5a0]
jmp 0x101d7f27
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x54]
push eax
push 0x1001fc48
push dword [ebp - 0x34]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x101d803e
cmp dword [edi + 0x18], 8
jb 0x101d8005
mov esi, dword [esi]
push esi
push 0x10024598
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.101b70ff
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x388]
rep movsd dword es:[edi], dword [esi]
push 0x103495b0
lea eax, [ebp - 0x388]
jmp 0x101d7f27
mov eax, dword [ebp - 0x58]
shr eax, 2
mov dword [ebp - 0x60], eax
cmp eax, ebx
ja 0x101d8087
cmp dword [edi + 0x18], 8
jb 0x101d8053
mov esi, dword [esi]
push esi
push 0x10024530
lea eax, [ebp - 0x170]
push 0x21
push eax
call fcn.10161ac8
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x494]
rep movsd dword es:[edi], dword [esi]
push 0x103495b0
lea eax, [ebp - 0x494]
jmp 0x101d7f27
push 0x100114e8
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x40], 0x400
mov dword [ebp - 0x44], ebx
call fcn.10161547
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x60]
jae 0x101d8203
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x3c]
movzx eax, word [eax + ecx*4]
lea ecx, [ebp - 0x44]
push ecx
push eax
mov dword [ebp - 0x40], eax
call fcn.101ed282
cmp eax, ebx
mov dword [ebp - 0x50], eax
jge 0x101d8102
cmp dword [edi + 0x18], 8
jb 0x101d80dd
mov eax, dword [edi + 4]
jmp 0x101d80e0
lea eax, [edi + 4]
push ebx
push ebx
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x10024390
push 2
call fcn.101d609d
jmp 0x101d81fb
push dword [ebp - 0x40]
call fcn.101cbf7b
cmp al, bl
jne 0x101d813a
cmp dword [edi + 0x18], 8
jb 0x101d8119
mov eax, dword [edi + 4]
jmp 0x101d811c
lea eax, [edi + 4]
push ebx
push ebx
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x10024288
push 2
call fcn.101d6104
jmp 0x101d81fb
push ebx
push 0x56
lea ecx, [ebp - 0x30]
call fcn.101bbc74
mov esi, dword [ebp - 0x18]
push ebx
lea ecx, [ebp - 0x30]
call fcn.1016c4dd
push ebx
push ebx
push esi
push eax
push dword [ebp - 0x44]
call fcn.101ed29d
cmp eax, ebx
push ebx
jg 0x101d8178
push ebx
lea eax, [ebp - 0x44]
push eax
push 0x10023300
push 2
call fcn.101d5d95
jmp 0x101d81fb
dec eax
push eax
lea ecx, [ebp - 0x30]
call fcn.101bbc74
push 0xac
call fcn.102f724d
pop ecx
mov ecx, eax
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 2
cmp ecx, ebx
je 0x101d81a8
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.101e0367
mov esi, eax
jmp 0x101d81aa
xor esi, esi
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x44]
push eax
add ecx, 0xc
mov byte [ebp - 4], 1
call fcn.101d7d8c
push esi
mov ecx, eax
call fcn.101d3d3e
cmp dword [edi + 0x18], 8
jb 0x101d81d0
mov eax, dword [edi + 4]
jmp 0x101d81d3
lea eax, [edi + 4]
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x2c]
jae 0x101d81e2
lea eax, [ebp - 0x2c]
push ebx
push ebx
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x100241f8
push 3
call fcn.10180a4f
inc dword [ebp - 0x3c]
jmp 0x101d80a8
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.10161215
cmp dword [ebp - 0x34], ebx
je 0x101d821b
push dword [ebp - 0x34]
call fcn.101d308b
call fcn.102f78ac
ret 4