Function at 0x40b590
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461646
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4770c0]
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 0x40b9de
push eax
call fcn.00443281
mov edi, eax
add esp, 4
test edi, edi
je 0x40b9de
push edi
push dword [ebp - 0x20]
push 0
push dword [ebp - 0x24]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x40b675
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x47254c
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x40b675
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0xfeef04bd
jne 0x40b675
mov eax, dword [ecx + 8]
xor edx, edx
or edx, dword [ecx + 0xc]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
jmp 0x40b681
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
push edi
call fcn.00442959
mov eax, dword [ebp - 0x20]
add esp, 4
test eax, eax
jne 0x40b69a
cmp dword [ebp - 0x24], eax
jbe 0x40b9de
mov edx, eax
lea ecx, [ebp - 0x40]
shr edx, 0x10
call fcn.0040b100
mov edi, eax
cmp esi, edi
je 0x40b712
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x40b6e0
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x40b6d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b9fb
mov eax, edx
push ecx
push eax
call fcn.0043a496
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 0x40b746
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b73c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b9fb
push ecx
push edx
call fcn.0043a496
add esp, 8
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x40b76c
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x40b764
mov eax, dword [esi]
mov word [eax + ecx], 0x2e
jmp 0x40b77f
push 1
push 0x4724f0
push dword [ebp - 0x14]
mov ecx, esi
push 1
call fcn.0040a180
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x40]
movzx edx, ax
call fcn.0040b100
mov ecx, eax
mov dword [ebp - 4], 1
cmp dword [ecx + 0x14], 0xf
mov edi, dword [ecx + 0x10]
jbe 0x40b7a1
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 0x40b7e1
cmp dword [esi + 0x14], 0xf
lea eax, [edi + edx]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [ebp - 0x20], esi
jbe 0x40b7c6
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
push edi
add eax, edx
push ecx
push eax
call fcn.0043bce0
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add eax, edi
mov byte [eax + ecx], 0
jmp 0x40b7ee
push edi
push ecx
push dword [ebp - 0x14]
mov ecx, esi
push edi
call fcn.0040a180
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x40b826
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b81c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ba00
push ecx
push edx
call fcn.0043a496
add esp, 8
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x40b84c
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x40b844
mov eax, dword [esi]
mov word [eax + ecx], 0x2e
jmp 0x40b85f
push 1
push 0x4724f0
push dword [ebp - 0x14]
mov ecx, esi
push 1
call fcn.0040a180
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x40]
shr edx, 0x10
call fcn.0040b100
mov ecx, eax
mov dword [ebp - 4], 2
cmp dword [ecx + 0x14], 0xf
mov edi, dword [ecx + 0x10]
jbe 0x40b881
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 0x40b8c1
cmp dword [esi + 0x14], 0xf
lea eax, [edi + edx]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [ebp - 0x20], esi
jbe 0x40b8a6
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
push edi
add eax, edx
push ecx
push eax
call fcn.0043bce0
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add eax, edi
mov byte [eax + ecx], 0
jmp 0x40b8ce
push edi
push ecx
push dword [ebp - 0x14]
mov ecx, esi
push edi
call fcn.0040a180
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x40b906
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b8fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ba05
push ecx
push edx
call fcn.0043a496
add esp, 8
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x40b92c
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x40b924
mov eax, dword [esi]
mov word [eax + ecx], 0x2e
jmp 0x40b93f
push 1
push 0x4724f0
push dword [ebp - 0x14]
mov ecx, esi
push 1
call fcn.0040a180
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x40]
movzx edx, ax
call fcn.0040b100
mov ecx, eax
mov dword [ebp - 4], 3
cmp dword [ecx + 0x14], 0xf
mov edi, dword [ecx + 0x10]
jbe 0x40b961
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 0x40b9a1
cmp dword [esi + 0x14], 0xf
lea eax, [edi + edx]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [ebp - 0x20], esi
jbe 0x40b986
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
push edi
add eax, edx
push ecx
push eax
call fcn.0043bce0
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add eax, edi
mov byte [eax + ecx], 0
jmp 0x40b9ae
push edi
push ecx
push dword [ebp - 0x14]
mov ecx, esi
push edi
call fcn.0040a180
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x40b9de
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b9d4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ba0a
push ecx
push edx
call fcn.0043a496
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.0043a453
mov esp, ebp
pop ebp
ret
call fcn.0043f78f
call fcn.0043f78f
call fcn.0043f78f
call fcn.0043f78f
int3