Function at 0x417760
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ec3f
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4634b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb8], ecx
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x2c]
lea eax, [ebp + 0xc]
mov dword [ebp - 0x18], 7
push eax
mov dword [ebp - 0x1c], 0
call fcn.0040bcf0
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x4590a8
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
call fcn.0040c0f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
push 1
xor eax, eax
mov dword [ebp - 0x30], 7
push 0x45b168
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.0040c0f0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.00413620
add esp, 4
cmp dword [ebp - 0x30], 8
jb 0x417832
push dword [ebp - 0x44]
call fcn.00434302
add esp, 4
xor eax, eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x41785b
push dword [ebp - 0x5c]
call fcn.00434302
add esp, 4
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x2c]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
lea ebx, [ebp - 0x2c]
cmp edi, 8
cmovae ecx, esi
cmovae edx, esi
cmovae ebx, esi
lea eax, [ecx + eax*2]
cmp edx, eax
je 0x417897
push ecx
push ebx
push eax
lea ecx, [ebp - 0xc0]
call fcn.00410d90
mov edi, dword [ebp - 0x18]
add esp, 0xc
mov esi, dword [ebp - 0x2c]
push 3
push 0
push 0x45b16c
lea ecx, [ebp - 0x2c]
call fcn.004140c0
cmp eax, 0xffffffff
je 0x4178b4
mov bl, 1
jmp 0x417d62
xor eax, eax
mov dword [ebp - 0x84], 7
push eax
push 0x4590a8
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x88], 0
mov word [ebp - 0x98], ax
call fcn.0040c0f0
mov ebx, dword [ebp - 0xb8]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
push dword [ebx + 0x38]
lea edx, [ebx + 8]
call fcn.0041b290
add esp, 4
lea ecx, [ebp - 0xb0]
add eax, 0xc
push eax
call fcn.00409aa0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x48], 8
jb 0x417921
push dword [ebp - 0x5c]
call fcn.00434302
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
cmp dword [ebp - 0xa0], 3
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
jbe 0x417ab6
cmp dword [ebp - 0x9c], 8
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xb0]
cmovae eax, dword [ebp - 0xb0]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
push esi
call fcn.00420d2e
add esp, 4
lea ecx, [ebp - 0xb0]
cmp dword [ebp - 0x9c], 8
mov ebx, eax
cmovae ecx, dword [ebp - 0xb0]
push ebx
push esi
push dword [ebp - 0xbc]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x417a91
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xb4]
push eax
push 0x458f30
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x417a91
push 0x10
call fcn.00420d2e
mov esi, eax
add esp, 4
mov dword [ebp - 0xc8], esi
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xb4]
push 0x1000
movzx eax, word [eax + 0xa]
mov dword [esi], eax
mov eax, dword [ebp - 0xb4]
movzx eax, word [eax + 8]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xb4]
movzx eax, word [eax + 0xe]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0xb4]
movzx eax, word [eax + 0xc]
mov dword [esi + 0xc], eax
call fcn.00420d2e
mov edi, eax
add esp, 4
mov dword [ebp - 0xc4], edi
push 0x800
push 0
push edi
mov byte [ebp - 4], 7
call fcn.004360b0
add esp, 0xc
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
push dword [esi]
push 0x45b174
push 0x800
push edi
call fcn.00435825
add esp, 0x1c
lea ecx, [ebp - 0x98]
push edi
call fcn.0040b470
test edi, edi
je 0x417a73
push edi
call fcn.00435220
add esp, 4
push esi
mov byte [ebp - 4], 5
call fcn.00435220
add esp, 4
push ebx
call fcn.00435220
mov ebx, dword [ebp - 0xb8]
add esp, 4
jmp 0x417aca
push 0xffffffffffffffff
push 0
push 0x468ee8
lea ecx, [ebp - 0x98]
call fcn.0040bcf0
push ebx
call fcn.00435220
mov ebx, dword [ebp - 0xb8]
add esp, 4
jmp 0x417aca
push 0xffffffffffffffff
push 0
push 0x468ed0
lea ecx, [ebp - 0x98]
call fcn.0040bcf0
xor eax, eax
mov dword [ebp - 0x6c], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x80], ax
lea ecx, [ebp - 0x80]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x70], 0
push eax
call fcn.0040bcf0
xor eax, eax
mov byte [ebp - 4], 8
push eax
push 0x4590a8
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
call fcn.0040c0f0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44]
push 1
xor eax, eax
mov dword [ebp - 0x30], 7
push 0x45b168
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.0040c0f0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xa
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x80]
call fcn.00413620
add esp, 4
cmp dword [ebp - 0x30], 8
jb 0x417b64
push dword [ebp - 0x44]
call fcn.00434302
add esp, 4
xor eax, eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x417b8d
push dword [ebp - 0x5c]
call fcn.00434302
add esp, 4
lea ecx, [ebx + 0x194]
lea eax, [ebp - 0x80]
cmp ecx, eax
je 0x417ba4
push 0xffffffffffffffff
push 0
push eax
call fcn.0040bcf0
cmp byte [ebp + 8], 0
jne 0x417ccd
push dword [ebp - 0x70]
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
push 0
cmovae eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x2c]
push eax
call fcn.004140c0
cmp eax, 0xffffffff
jne 0x417ccd
push ecx
push 0x45b18c
lea ecx, [ebp - 0x2c]
call fcn.00418450
cmp eax, 0xffffffff
jne 0x417ccd
push 0x1000
call fcn.00420d2e
mov esi, eax
add esp, 4
mov dword [ebp - 0xc4], esi
push 0x800
push 0
push esi
mov byte [ebp - 4], 0xb
call fcn.004360b0
add esp, 0xc
lea eax, [ebp - 0x98]
mov edx, 0x45b194
lea ecx, [ebp - 0x5c]
push eax
call fcn.00406e20
cmp dword [0x468ecc], 8
mov edx, 0x468eb8
cmovae edx, dword [0x468eb8]
sub esp, 0x14
movdqu xmm0, xmmword [eax]
mov ecx, esp
sub esp, 0x18
movdqu xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, esp
movq qword [ecx + 0x10], xmm0
movdqu xmm0, xmmword [ebp + 0xc]
push edx
push 0x800
movdqu xmmword [eax], xmm0
push esi
movq xmm0, qword [ebp + 0x1c]
movq qword [eax + 0x10], xmm0
call fcn.00435825
add esp, 0x3c
lea ecx, [ebp - 0x5c]
call fcn.0040bbd0
push esi
lea ecx, [ebp - 0x5c]
call fcn.0040c1f0
cmp dword [0x468dc4], 8
lea eax, [ebp - 0x5c]
mov ecx, 0x468db0
cmovae ecx, dword [0x468db0]
cmp dword [ebp - 0x48], 8
push 0x34
cmovae eax, dword [ebp - 0x5c]
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
lea ecx, [ebp - 0x5c]
sete bl
call fcn.0040bbd0
test esi, esi
je 0x417ccf
push esi
call fcn.00435220
add esp, 4
jmp 0x417ccf
mov bl, 1
cmp dword [ebp - 0x6c], 8
jb 0x417ce0
push dword [ebp - 0x80]
call fcn.00434302
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], 7
cmp dword [ebp - 0x9c], 8
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
jb 0x417d0b
push dword [ebp - 0xb0]
call fcn.00434302
add esp, 4
xor eax, eax
mov dword [ebp - 0x9c], 7
cmp dword [ebp - 0x84], 8
mov dword [ebp - 0xa0], 0
mov word [ebp - 0xb0], ax
jb 0x417d3f
push dword [ebp - 0x98]
call fcn.00434302
add esp, 4
mov edi, dword [ebp - 0x18]
xor eax, eax
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x84], 7
mov dword [ebp - 0x88], 0
mov word [ebp - 0x98], ax
cmp edi, 8
jb 0x417d70
push esi
call fcn.00434302
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x417d95
push dword [ebp + 0xc]
call fcn.00434302
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00434307
mov esp, ebp
pop ebp
ret 0x1c