Function at 0x40ba50
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461a16
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4780c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x24], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x4c], esi
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push eax
mov dword [ebp - 0x28], 1
movlpd qword [ebp - 0x48], xmm0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x40be9e
push eax
call fcn.00443621
mov edi, eax
add esp, 4
test edi, edi
je 0x40be9e
push edi
push dword [ebp - 0x20]
push 0
push dword [ebp - 0x24]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x40bb35
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x47362c
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x40bb35
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0xfeef04bd
jne 0x40bb35
mov eax, dword [ecx + 8]
xor edx, edx
or edx, dword [ecx + 0xc]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
jmp 0x40bb41
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
push edi
call fcn.00442cf9
mov eax, dword [ebp - 0x20]
add esp, 4
test eax, eax
jne 0x40bb5a
cmp dword [ebp - 0x24], eax
jbe 0x40be9e
mov edx, eax
lea ecx, [ebp - 0x40]
shr edx, 0x10
call fcn.0040b5c0
mov edi, eax
cmp esi, edi
je 0x40bbd2
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x40bba0
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x40bb96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bebb
mov eax, edx
push ecx
push eax
call fcn.0043a836
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x40bc06
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bbfc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bebb
push ecx
push edx
call fcn.0043a836
add esp, 8
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x40bc2c
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x40bc24
mov eax, dword [esi]
mov word [eax + ecx], 0x2e
jmp 0x40bc3f
push 1
push 0x4735d0
push dword [ebp - 0x14]
mov ecx, esi
push 1
call fcn.0040a640
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x40]
movzx edx, ax
call fcn.0040b5c0
mov ecx, eax
mov dword [ebp - 4], 1
cmp dword [ecx + 0x14], 0xf
mov edi, dword [ecx + 0x10]
jbe 0x40bc61
mov ecx, dword [ecx]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
sub eax, edx
mov dword [ebp - 0x1c], edx
cmp edi, eax
ja 0x40bca1
cmp dword [esi + 0x14], 0xf
lea eax, [edi + edx]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [ebp - 0x20], esi
jbe 0x40bc86
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
push edi
add eax, edx
push ecx
push eax
call fcn.0043c080
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add eax, edi
mov byte [eax + ecx], 0
jmp 0x40bcae
push edi
push ecx
push dword [ebp - 0x14]
mov ecx, esi
push edi
call fcn.0040a640
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x40bce6
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bcdc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bec0
push ecx
push edx
call fcn.0043a836
add esp, 8
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x40bd0c
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x40bd04
mov eax, dword [esi]
mov word [eax + ecx], 0x2e
jmp 0x40bd1f
push 1
push 0x4735d0
push dword [ebp - 0x14]
mov ecx, esi
push 1
call fcn.0040a640
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x40]
shr edx, 0x10
call fcn.0040b5c0
mov ecx, eax
mov dword [ebp - 4], 2
cmp dword [ecx + 0x14], 0xf
mov edi, dword [ecx + 0x10]
jbe 0x40bd41
mov ecx, dword [ecx]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
sub eax, edx
mov dword [ebp - 0x1c], edx
cmp edi, eax
ja 0x40bd81
cmp dword [esi + 0x14], 0xf
lea eax, [edi + edx]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [ebp - 0x20], esi
jbe 0x40bd66
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
push edi
add eax, edx
push ecx
push eax
call fcn.0043c080
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add eax, edi
mov byte [eax + ecx], 0
jmp 0x40bd8e
push edi
push ecx
push dword [ebp - 0x14]
mov ecx, esi
push edi
call fcn.0040a640
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x40bdc6
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bdbc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bec5
push ecx
push edx
call fcn.0043a836
add esp, 8
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x40bdec
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x40bde4
mov eax, dword [esi]
mov word [eax + ecx], 0x2e
jmp 0x40bdff
push 1
push 0x4735d0
push dword [ebp - 0x14]
mov ecx, esi
push 1
call fcn.0040a640
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x40]
movzx edx, ax
call fcn.0040b5c0
mov ecx, eax
mov dword [ebp - 4], 3
cmp dword [ecx + 0x14], 0xf
mov edi, dword [ecx + 0x10]
jbe 0x40be21
mov ecx, dword [ecx]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
sub eax, edx
mov dword [ebp - 0x1c], edx
cmp edi, eax
ja 0x40be61
cmp dword [esi + 0x14], 0xf
lea eax, [edi + edx]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [ebp - 0x20], esi
jbe 0x40be46
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
push edi
add eax, edx
push ecx
push eax
call fcn.0043c080
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add eax, edi
mov byte [eax + ecx], 0
jmp 0x40be6e
push edi
push ecx
push dword [ebp - 0x14]
mov ecx, esi
push edi
call fcn.0040a640
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x40be9e
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40be94
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40beca
push ecx
push edx
call fcn.0043a836
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a7f3
mov esp, ebp
pop ebp
ret
call fcn.0043fb2f
call fcn.0043fb2f
call fcn.0043fb2f
call fcn.0043fb2f
int3