Function at 0x405770
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462e96
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4790c0]
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 0x405bbe
push eax
call fcn.004416bb
mov edi, eax
add esp, 4
test edi, edi
je 0x405bbe
push edi
push dword [ebp - 0x20]
push 0
push dword [ebp - 0x24]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x405855
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x474230
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x405855
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0xfeef04bd
jne 0x405855
mov eax, dword [ecx + 8]
xor edx, edx
or edx, dword [ecx + 0xc]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
jmp 0x405861
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
push edi
call fcn.00441333
mov eax, dword [ebp - 0x20]
add esp, 4
test eax, eax
jne 0x40587a
cmp dword [ebp - 0x24], eax
jbe 0x405bbe
mov edx, eax
lea ecx, [ebp - 0x40]
shr edx, 0x10
call fcn.00405290
mov edi, eax
cmp esi, edi
je 0x4058f2
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x4058c0
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x4058b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405bdb
mov eax, edx
push ecx
push eax
call fcn.0043c35b
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 0x405926
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40591c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405bdb
push ecx
push edx
call fcn.0043c35b
add esp, 8
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x40594c
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x405944
mov eax, dword [esi]
mov word [eax + ecx], 0x2e
jmp 0x40595f
push 1
push 0x474234
push dword [ebp - 0x14]
mov ecx, esi
push 1
call fcn.00404600
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x40]
movzx edx, ax
call fcn.00405290
mov ecx, eax
mov dword [ebp - 4], 1
cmp dword [ecx + 0x14], 0xf
mov edi, dword [ecx + 0x10]
jbe 0x405981
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 0x4059c1
cmp dword [esi + 0x14], 0xf
lea eax, [edi + edx]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [ebp - 0x20], esi
jbe 0x4059a6
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
push edi
add eax, edx
push ecx
push eax
call fcn.0043dba0
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add eax, edi
mov byte [eax + ecx], 0
jmp 0x4059ce
push edi
push ecx
push dword [ebp - 0x14]
mov ecx, esi
push edi
call fcn.00404600
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x405a06
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4059fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405be0
push ecx
push edx
call fcn.0043c35b
add esp, 8
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x405a2c
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x405a24
mov eax, dword [esi]
mov word [eax + ecx], 0x2e
jmp 0x405a3f
push 1
push 0x474234
push dword [ebp - 0x14]
mov ecx, esi
push 1
call fcn.00404600
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x40]
shr edx, 0x10
call fcn.00405290
mov ecx, eax
mov dword [ebp - 4], 2
cmp dword [ecx + 0x14], 0xf
mov edi, dword [ecx + 0x10]
jbe 0x405a61
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 0x405aa1
cmp dword [esi + 0x14], 0xf
lea eax, [edi + edx]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [ebp - 0x20], esi
jbe 0x405a86
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
push edi
add eax, edx
push ecx
push eax
call fcn.0043dba0
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add eax, edi
mov byte [eax + ecx], 0
jmp 0x405aae
push edi
push ecx
push dword [ebp - 0x14]
mov ecx, esi
push edi
call fcn.00404600
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x405ae6
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405adc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405be5
push ecx
push edx
call fcn.0043c35b
add esp, 8
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x405b0c
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x405b04
mov eax, dword [esi]
mov word [eax + ecx], 0x2e
jmp 0x405b1f
push 1
push 0x474234
push dword [ebp - 0x14]
mov ecx, esi
push 1
call fcn.00404600
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x40]
movzx edx, ax
call fcn.00405290
mov ecx, eax
mov dword [ebp - 4], 3
cmp dword [ecx + 0x14], 0xf
mov edi, dword [ecx + 0x10]
jbe 0x405b41
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 0x405b81
cmp dword [esi + 0x14], 0xf
lea eax, [edi + edx]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [ebp - 0x20], esi
jbe 0x405b66
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
push edi
add eax, edx
push ecx
push eax
call fcn.0043dba0
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add eax, edi
mov byte [eax + ecx], 0
jmp 0x405b8e
push edi
push ecx
push dword [ebp - 0x14]
mov ecx, esi
push edi
call fcn.00404600
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x405bbe
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405bb4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405bea
push ecx
push edx
call fcn.0043c35b
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.0043c313
mov esp, ebp
pop ebp
ret
call fcn.0044166a
call fcn.0044166a
call fcn.0044166a
call fcn.0044166a
int3