Function at 0x5d6cd0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xb8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov eax, 1
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x44]
call fcn.0040e9e0
call fcn.00404380
push eax
test eax, eax
jne 0x5d7270
mov byte [ebp - 0x10], 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x5d6d30
mov eax, 0x6c22f0
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x1c], eax
test eax, eax
jbe 0x5d7270
mov eax, 1
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x6c]
call fcn.0040e9e0
call fcn.00404380
push eax
test eax, eax
jne 0x5d722e
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
call fcn.00410a80
mov eax, 1
lea edx, [ebp - 0xac]
lea ecx, [ebp - 0x94]
call fcn.0040e9e0
call fcn.00404380
push eax
test eax, eax
jne 0x5d7214
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov eax, dword [ebp - 4]
test eax, eax
jne 0x5d6da6
mov eax, 0x6c22f0
push eax
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.VarFileInfoTranslation
push eax
push dword [ebp - 0x14]
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 8]
mov eax, edx
shl eax, 2
imul edx, eax
add dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0xb8]
mov edx, 0x6bf1a0
mov eax, ebp
call fcn.005d72b0
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xb4]
xor dx, dx
call fcn.0040aab0
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
call dword [ecx + 0xa4]
lea ecx, [ebp - 0xb8]
mov edx, 0x6bf1bc
mov eax, ebp
call fcn.005d72b0
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xb4]
xor dx, dx
call fcn.0040aab0
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
call dword [ecx + 0xa4]
lea ecx, [ebp - 0xb8]
mov edx, 0x6bf1d8
mov eax, ebp
call fcn.005d72b0
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xb4]
xor dx, dx
call fcn.0040aab0
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
call dword [ecx + 0xa4]
lea ecx, [ebp - 0xb8]
mov edx, 0x6bf1f8
mov eax, ebp
call fcn.005d72b0
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xb4]
xor dx, dx
call fcn.0040aab0
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
call dword [ecx + 0xa4]
lea ecx, [ebp - 0xb8]
mov edx, 0x6bf210
mov eax, ebp
call fcn.005d72b0
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xb4]
xor dx, dx
call fcn.0040aab0
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
call dword [ecx + 0xa4]
lea ecx, [ebp - 0xb8]
mov edx, 0x6bf234
mov eax, ebp
call fcn.005d72b0
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xb4]
xor dx, dx
call fcn.0040aab0
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
call dword [ecx + 0xa4]
lea ecx, [ebp - 0xb8]
mov edx, 0x6bf258
mov eax, ebp
call fcn.005d72b0
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xb4]
xor dx, dx
call fcn.0040aab0
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
call dword [ecx + 0xa4]
lea ecx, [ebp - 0xb8]
mov edx, 0x6bf280
mov eax, ebp
call fcn.005d72b0
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xb4]
xor dx, dx
call fcn.0040aab0
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
call dword [ecx + 0xa4]
lea ecx, [ebp - 0xb8]
mov edx, 0x6bf29c
mov eax, ebp
call fcn.005d72b0
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xb4]
xor dx, dx
call fcn.0040aab0
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
call dword [ecx + 0xa4]
lea ecx, [ebp - 0xb8]
mov edx, 0x6bf2c0
mov eax, ebp
call fcn.005d72b0
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xb4]
xor dx, dx
call fcn.0040aab0
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
call dword [ecx + 0xa4]
lea ecx, [ebp - 0xb8]
mov edx, str.PrivateBuild
mov eax, ebp
call fcn.005d72b0
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xb4]
xor dx, dx
call fcn.0040aab0
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
call dword [ecx + 0xa4]
lea ecx, [ebp - 0xb8]
mov edx, str.SpecialBuild
mov eax, ebp
call fcn.005d72b0
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xb4]
xor dx, dx
call fcn.0040aab0
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
call dword [ecx + 0xa4]
lea ecx, [ebp - 0xb8]
mov edx, str.Translators
mov eax, ebp
call fcn.005d72b0
mov edx, dword [ebp - 0xb8]
lea eax, [ebp - 0x34]
call fcn.0040ac00
lea eax, [ebp - 0xb8]
push eax
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x5d70cf
mov edx, dword [edx - 4]
shr edx, 1
mov eax, dword [ebp - 0x34]
mov ecx, 1
call fcn.0040b130
mov eax, dword [ebp - 0xb8]
mov edx, 0x6bf340
call fcn.0040b010
test eax, eax
je 0x5d7118
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0xb4]
xor dx, dx
call fcn.0040aab0
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
call dword [ecx + 0xa4]
lea esi, [esi]
lea ecx, [ebp - 0xb8]
mov edx, 0x6bf348
mov eax, ebp
call fcn.005d72b0
mov edx, dword [ebp - 0xb8]
lea eax, [ebp - 0x34]
call fcn.0040ac00
lea eax, [ebp - 0xb8]
push eax
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x5d714b
mov edx, dword [edx - 4]
shr edx, 1
mov eax, dword [ebp - 0x34]
mov ecx, 1
call fcn.0040b130
mov eax, dword [ebp - 0xb8]
mov edx, 0x6bf340
call fcn.0040b010
test eax, eax
je 0x5d7194
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0xb4]
xor dx, dx
call fcn.0040aab0
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
call dword [ecx + 0xa4]
lea esi, [esi]
lea ecx, [ebp - 0xb8]
mov edx, str.Instruction
mov eax, ebp
call fcn.005d72b0
mov edx, dword [ebp - 0xb8]
lea eax, [ebp - 0x34]
call fcn.0040ac00
lea eax, [ebp - 0xb8]
push eax
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x5d71c7
mov edx, dword [edx - 4]
shr edx, 1
mov eax, dword [ebp - 0x34]
mov ecx, 1
call fcn.0040b130
mov eax, dword [ebp - 0xb8]
mov edx, 0x6bf340
call fcn.0040b010
test eax, eax
je 0x5d7210
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0xb4]
xor dx, dx
call fcn.0040aab0
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
call dword [ecx + 0xa4]
lea esi, [esi]
mov byte [ebp - 0x10], 1
call fcn.0040ec50
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
call fcn.00410a90
pop eax
test eax, eax
je 0x5d722e
call fcn.0040ed80
call fcn.0040ec50
pop eax
test eax, eax
je 0x5d7270
mov eax, 1
lea edx, [ebp - 0xb0]
lea ecx, [ebp - 0x94]
call fcn.0040e9e0
call fcn.00404380
push eax
test eax, eax
jne 0x5d725c
mov byte [ebp - 0x10], 0
call fcn.0040ec50
pop eax
test eax, eax
je 0x5d726b
call fcn.0040ee80
call fcn.0040ee70
call fcn.0040ec50
lea eax, [ebp - 0xb8]
call fcn.0040a950
lea eax, [ebp - 0xb4]
call fcn.00403ec0
lea eax, [ebp - 0x34]
call fcn.0040a950
pop eax
test eax, eax
je 0x5d729d
call fcn.0040ed80
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret