Function at 0x4070f0
Capabilities:
Get file version info

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42bdb8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x43c770]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x50], 0
push 0
push 0x4376cb
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov byte [ebp - 4], 0
call fcn.00402c50
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push 0
cmovae eax, dword [ebx + 8]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x4071f1
movups xmm0, xmmword [ebp - 0x50]
mov dword [edi], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x40]
movq qword [edi + 0x10], xmm0
mov edx, dword [ebx + 0x1c]
cmp edx, 0x10
jb 0x4071d1
mov ecx, dword [ebx + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4071c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407386
push edx
push ecx
call fcn.00413ec3
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00413918
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0
push 0x43c070
mov edx, 0x43c040
movq qword [ebp - 0x20], xmm0
call fcn.004038b0
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
sub eax, ecx
dec eax
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.00402c50
mov eax, dword [ebp - 0x20]
cmp dword [ebx + 0x1c], 0x10
push esi
push dword [ebp - 0x58]
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 8]
cmovae eax, dword [ebx + 8]
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x54]
push 0
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push ecx
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
mov edx, dword [ebp - 0x54]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407295
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.00402c50
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
movups xmm0, xmmword [ebp - 0x50]
cmovae eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov byte [eax], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x40]
movq qword [edi + 0x10], xmm0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x407312
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x407308
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407386
push edx
push ecx
call fcn.00413ec3
add esp, 8
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x407342
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407338
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407386
push edx
push ecx
call fcn.00413ec3
add esp, 8
mov edx, dword [ebx + 0x1c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp edx, 0x10
jb 0x4071d1
mov ecx, dword [ebx + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4071c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4071c7
call fcn.00419536
int3