Function at 0x42f810
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x2a8
mov eax, dword [0x6441a4]
xor eax, esp
mov dword [esp + 0x2a4], eax
push esi
push edi
mov eax, ecx
mov dword [esp + 0x38], edx
push 0
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x42fbe8
push edi
call fcn.004d8656
mov esi, eax
add esp, 4
test esi, esi
je 0x42fbe8
push esi
push edi
push 0
push dword [esp + 0x18]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x42fbb4
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x10]
push eax
push 0x6294f0
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42fbb4
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x38]
mov ecx, edi
push 0x628fa4
mov byte [esp + 0xf], 1
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x84], xmm0
movups xmm0, xmmword [eax + 0x10]
movaps xmmword [esp + 0x14], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esp + 0x64], xmm0
call fcn.00406d80
push 0x100
lea eax, [esp + 0xac]
push 0
push eax
call fcn.004d0100
add esp, 0xc
lea eax, [esp + 0x1a8]
push 0x100
push 0
push eax
call fcn.004d0100
movaps xmm1, xmmword [esp + 0x8c]
add esp, 0xc
movaps xmm0, xmm1
psrldq xmm1, 8
psrldq xmm0, 0xc
movd ecx, xmm0
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movd ecx, xmm1
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [esp + 0xb4]
push ecx
push str._d._d._d._d_n
push 0x100
push eax
call fcn.0042b190
movaps xmm1, xmmword [esp + 0x2c]
add esp, 0x1c
movaps xmm0, xmm1
psrldq xmm0, 4
movd ecx, xmm0
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movd ecx, xmm1
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [esp + 0x1b4]
push ecx
push str._d._d._d._d_n
push 0x100
push eax
call fcn.0042b190
lea ecx, [esp + 0xc4]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42f984
sub ecx, edx
je 0x42faa6
push ecx
lea eax, [esp + 0xac]
mov dword [esp + 0x84], 0
push eax
lea ecx, [esp + 0x88]
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0xf
call fcn.00402570
push ecx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x18]
call fcn.00406ae0
mov ecx, dword [eax]
test ecx, ecx
je 0x42f9e7
cmp word [ecx], 0
jne 0x42f9ec
mov ecx, 0x628fa4
push dword [eax + 4]
push ecx
mov ecx, edi
call fcn.00406c40
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42fa10
push eax
call fcn.004d2e43
add esp, 4
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
test eax, eax
je 0x42fa41
push eax
call fcn.004d2e43
add esp, 4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x94]
cmp edx, 0x10
jb 0x42fa7d
mov ecx, dword [esp + 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42fa73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fbfe
push edx
push ecx
call fcn.004ce3c6
add esp, 8
mov al, byte [esp + 0xb]
push esi
mov byte [esp + 0xe], al
call fcn.004d2e43
mov al, byte [esp + 0xe]
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x2a4]
xor ecx, esp
call fcn.004cdf5d
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x1a8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42fab0
mov al, byte [esp + 0xb]
mov byte [esp + 0xa], al
sub ecx, edx
je 0x42fbc7
push ecx
lea eax, [esp + 0x1ac]
mov dword [esp + 0x84], 0
push eax
lea ecx, [esp + 0x88]
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0xf
call fcn.00402570
push ecx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x18]
call fcn.00406ae0
mov ecx, dword [eax]
test ecx, ecx
je 0x42fb1b
cmp word [ecx], 0
jne 0x42fb20
mov ecx, 0x628fa4
push dword [eax + 4]
push ecx
mov ecx, edi
call fcn.00406c40
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42fb44
push eax
call fcn.004d2e43
add esp, 4
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
test eax, eax
je 0x42fb75
push eax
call fcn.004d2e43
add esp, 4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov al, byte [esp + 0xb]
mov edx, dword [esp + 0x94]
mov byte [esp + 0xa], al
cmp edx, 0x10
jb 0x42fbc7
mov ecx, dword [esp + 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42fa73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fc03
jmp 0x42fa73
mov ecx, dword [esp + 0x38]
push 0x628fa4
call fcn.00406d80
mov byte [esp + 0xa], 0
push esi
call fcn.004d2e43
mov al, byte [esp + 0xe]
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x2a4]
xor ecx, esp
call fcn.004cdf5d
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x2ac]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.004cdf5d
mov esp, ebp
pop ebp
ret
call fcn.004d8605
call fcn.004d8605
int3