Function at 0x41b120
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 0x6852b2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x310
mov eax, dword [0x748068]
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
xor eax, eax
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 7
mov word [ebp - 0x2dc], ax
push 0x20a
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.00652810
add esp, 0xc
lea eax, [ebp - 0x2a8]
push 0x105
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xc
xor eax, eax
mov dword [ebp - 0x2f4], 0
push 0x6ce3e4
lea ecx, [ebp - 0x304]
mov dword [ebp - 0x2f0], 7
mov word [ebp - 0x304], ax
call fcn.00405ec0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2a8]
xor eax, eax
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x308], 7
lea edx, [ecx + 2]
mov word [ebp - 0x31c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b205
sub ecx, edx
lea eax, [ebp - 0x2a8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x31c]
call fcn.00405ec0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30c], 0
je 0x41b3ef
cmp dword [ebp - 0x308], 8
lea ecx, [ebp - 0x2bc]
lea eax, [ebp - 0x31c]
mov dword [ebp - 0x2bc], 0
cmovae eax, dword [ebp - 0x31c]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x2ec], eax
test eax, eax
je 0x41b3ef
push eax
call fcn.0064ff25
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c4], esi
push dword [ebp - 0x2ec]
mov byte [ebp - 4], 3
push 0
push esi
call fcn.00652810
add esp, 0xc
lea eax, [ebp - 0x31c]
cmp dword [ebp - 0x308], 8
cmovae eax, dword [ebp - 0x31c]
push esi
push dword [ebp - 0x2ec]
push dword [ebp - 0x2bc]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x41b3e4
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0x2e0], 0
push eax
lea eax, [ebp - 0x2e0]
mov dword [ebp - 0x2c0], 0
push eax
push str.VarFileInfoTranslation
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
cmp dword [ebp - 0x2e0], 0
je 0x41b3e4
push 0x80
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.00652810
mov ecx, dword [ebp - 0x2e0]
add esp, 0xc
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04x_
lea eax, [ebp - 0x98]
push 0x40
push eax
call fcn.0041b090
add esp, 0x14
lea eax, [ebp - 0x304]
cmp dword [ebp - 0x2f0], 8
cmovae eax, dword [ebp - 0x304]
push eax
lea eax, [ebp - 0x98]
push 0x40
push eax
call fcn.0065c20d
add esp, 0xc
mov dword [ebp - 0x2b8], 0
lea eax, [ebp - 0x2b8]
mov dword [ebp - 0x2e4], 0
push eax
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x98]
push eax
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x41b3e4
mov edx, dword [ebp - 0x2e4]
test edx, edx
je 0x41b3e4
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x2ec], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b3b0
sub ecx, dword [ebp - 0x2ec]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2dc]
call fcn.00405ec0
push 1
push esi
call fcn.0064fde3
add esp, 8
mov byte [ebp - 0x2e5], 0
jmp 0x41b3f6
push 1
push esi
call fcn.0064fde3
add esp, 8
mov byte [ebp - 0x2e5], 1
lea ecx, [ebp - 0x31c]
call fcn.00405e50
lea ecx, [ebp - 0x304]
mov byte [ebp - 4], 0
call fcn.00405e50
cmp byte [ebp - 0x2e5], 0
je 0x41b425
mov byte [ebp - 0x2e5], 0
jmp 0x41b85f
xorps xmm0, xmm0
mov dword [ebp - 0x2ac], 0
movq qword [ebp - 0x2b4], xmm0
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x304]
push 4
xor eax, eax
mov dword [ebp - 0x2f4], 0
push str.__t_r_n
mov dword [ebp - 0x2f0], 7
mov word [ebp - 0x304], ax
call fcn.00405ec0
lea eax, [ebp - 0x2b4]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x304]
lea ecx, [ebp - 0x2dc]
call fcn.0041d1d0
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x304]
call fcn.00405e50
mov eax, dword [ebp - 0x2b4]
cmp edi, eax
je 0x41b4de
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x41b4cd
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00405ec0
mov eax, dword [ebp - 0x2b4]
add eax, 0x18
lea esi, [edi + 0x18]
cmp esi, eax
je 0x41b4fd
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x41b4f2
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.00405ec0
push 0x6cce64
mov ecx, esi
call fcn.0040d000
test al, al
jne 0x41b561
mov edx, esi
lea ecx, [ebp - 0x304]
call fcn.0043ea50
mov dword [ebp - 0x2b8], eax
cmp esi, eax
je 0x41b554
mov ecx, esi
call fcn.00405e50
mov eax, dword [ebp - 0x2b8]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x304]
call fcn.00405e50
jmp 0x41b56f
push 0
push 0x6cbab0
mov ecx, esi
call fcn.00405ec0
mov eax, dword [ebp - 0x2b4]
lea esi, [edi + 0x30]
add eax, 0x30
cmp esi, eax
je 0x41b594
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x41b589
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.00405ec0
push 0x6cce64
mov ecx, esi
call fcn.0040d000
test al, al
jne 0x41b5f8
mov edx, esi
lea ecx, [ebp - 0x304]
call fcn.0043ea50
mov dword [ebp - 0x2b8], eax
cmp esi, eax
je 0x41b5eb
mov ecx, esi
call fcn.00405e50
mov eax, dword [ebp - 0x2b8]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x304]
call fcn.00405e50
jmp 0x41b606
push 0
push 0x6cbab0
mov ecx, esi
call fcn.00405ec0
mov eax, dword [ebp - 0x2b4]
lea ecx, [edi + 0x48]
lea edx, [eax + 0x48]
cmp ecx, edx
je 0x41b62f
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x41b620
mov eax, dword [edx]
push dword [edx + 0x10]
push eax
call fcn.00405ec0
mov eax, dword [ebp - 0x2b4]
lea edx, [eax + 0x60]
lea ecx, [edi + 0x60]
cmp ecx, edx
je 0x41b652
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x41b643
mov eax, dword [edx]
push dword [edx + 0x10]
push eax
call fcn.00405ec0
mov eax, dword [ebp - 0x2b4]
lea edx, [eax + 0x78]
lea ecx, [edi + 0x78]
cmp ecx, edx
je 0x41b675
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x41b666
mov eax, dword [edx]
push dword [edx + 0x10]
push eax
call fcn.00405ec0
mov eax, dword [ebp - 0x2b4]
lea edx, [eax + 0x90]
lea ecx, [edi + 0xa8]
cmp ecx, edx
je 0x41b69e
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x41b68f
mov eax, dword [edx]
push dword [edx + 0x10]
push eax
call fcn.00405ec0
mov eax, dword [ebp - 0x2b4]
lea edx, [eax + 0xa8]
lea ecx, [edi + 0x90]
cmp ecx, edx
je 0x41b6c7
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x41b6b8
mov eax, dword [edx]
push dword [edx + 0x10]
push eax
call fcn.00405ec0
mov eax, dword [ebp - 0x2b4]
cmp dword [edi + 0xb8], 6
je 0x41b6dc
mov byte [ebp - 0x2e5], 0
jmp 0x41b854
lea edx, [eax + 0xc0]
lea ecx, [edi + 0xc0]
cmp ecx, edx
je 0x41b705
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x41b6f6
mov eax, dword [edx]
push dword [edx + 0x10]
push eax
call fcn.00405ec0
mov eax, dword [ebp - 0x2b4]
lea edx, [eax + 0xd8]
lea ecx, [edi + 0xd8]
cmp ecx, edx
je 0x41b72e
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x41b71f
mov eax, dword [edx]
push dword [edx + 0x10]
push eax
call fcn.00405ec0
mov eax, dword [ebp - 0x2b4]
lea edx, [eax + 0xf0]
lea ecx, [edi + 0xf0]
cmp ecx, edx
je 0x41b757
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x41b748
mov eax, dword [edx]
push dword [edx + 0x10]
push eax
call fcn.00405ec0
mov eax, dword [ebp - 0x2b4]
add eax, 0x108
lea esi, [edi + 0x108]
cmp esi, eax
je 0x41b77b
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x41b770
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.00405ec0
push 0x6cce64
mov ecx, esi
call fcn.0040d000
test al, al
jne 0x41b7ad
mov edx, esi
lea ecx, [ebp - 0x304]
call fcn.0043ea50
push eax
mov ecx, esi
call fcn.00405cf0
lea ecx, [ebp - 0x304]
call fcn.00405e50
jmp 0x41b7bb
push 0
push 0x6cbab0
mov ecx, esi
call fcn.00405ec0
mov eax, dword [ebp - 0x2b4]
lea esi, [edi + 0x120]
add eax, 0x120
cmp esi, eax
je 0x41b7e5
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x41b7da
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.00405ec0
push 0x6cce64
mov ecx, esi
call fcn.0040d000
test al, al
jne 0x41b817
mov edx, esi
lea ecx, [ebp - 0x304]
call fcn.0043ea50
push eax
mov ecx, esi
call fcn.00405cf0
lea ecx, [ebp - 0x304]
call fcn.00405e50
jmp 0x41b825
push 0
push 0x6cbab0
mov ecx, esi
call fcn.00405ec0
mov eax, dword [ebp - 0x2b4]
lea ecx, [edi + 0x138]
add eax, 0x138
cmp ecx, eax
je 0x41b84d
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x41b844
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00405ec0
mov byte [ebp - 0x2e5], 1
lea ecx, [ebp - 0x2b4]
call fcn.00414d40
lea ecx, [ebp - 0x2dc]
call fcn.00405e50
mov al, byte [ebp - 0x2e5]
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.0064fb08
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret