Function at 0x4019d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40719a
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x40b014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00405bf0
call fcn.00401880
add esp, 0x18
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x401a56
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x408424
push 0x404a20
call fcn.004047e0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x401ab8
push eax
call dword [sym.imp.mfc140u.dll_operator_2]
add esp, 4
mov edi, eax
lea eax, [ebp + 8]
mov dword [ebp - 0x44], edi
push edi
push dword [ebp - 0x40]
push dword [ebp - 0x18]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00405bf0
call fcn.00401880
add esp, 0x18
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x401b2e
push 0x404a20
mov edx, 0x408424
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004047e0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push edi
call dword [sym.imp.mfc140u.dll_operator_1]
add esp, 4
mov dword [esi], 0
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x14
mov dword [esi + 0x14], 0xf
push 0x408424
mov byte [esi], 0
call fcn.00405ab0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x401b11
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401b07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402076
push edx
push ecx
call fcn.00406406
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.004060e2
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x40876c
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
push 0x404a20
test eax, eax
jne 0x401b55
mov edx, 0x40843c
jmp 0x401a9b
mov eax, dword [ebp - 0x34]
movzx esi, word [eax + 0xc]
movzx ecx, word [eax + 8]
movzx edi, word [eax + 0xe]
movzx edx, word [eax + 0xa]
push esi
push edi
push ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x40], ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push edx
mov edx, 0x408450
call fcn.004047e0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov edx, 0x408768
mov ecx, eax
call fcn.004047e0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov edx, 0x408768
mov ecx, eax
call fcn.004047e0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov edx, 0x408768
mov ecx, eax
call fcn.004047e0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push dword [ebp - 0x44]
call dword [sym.imp.mfc140u.dll_operator_1]
add esp, 4
lea ecx, [ebp - 0x120]
mov edx, esi
call fcn.00401960
mov dword [ebp - 0x3c], eax
mov edx, edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc0]
call fcn.00401960
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 2
call fcn.00401960
mov edi, eax
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.00401960
mov ecx, eax
mov byte [ebp - 4], 4
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x401c50
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x401c48
mov eax, dword [ecx]
mov word [edx + eax], 0x2e
jmp 0x401c67
push 1
push 0x408768
mov byte [ebp - 0x38], 0
push dword [ebp - 0x38]
push 1
call fcn.00405cc0
mov ecx, eax
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x108], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0xf8], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
push edi
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x74]
call fcn.00405150
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x60]
mov eax, edx
mov ecx, dword [ebp - 0x64]
sub eax, ecx
cmp eax, 1
jb 0x401cd4
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
mov word [eax + ecx], 0x2e
lea eax, [ebp - 0x74]
jmp 0x401cec
push 1
push 0x408768
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x74]
push dword [ebp - 0x38]
push 1
call fcn.00405cc0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xf0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xe0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp - 0x44]
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 7
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
call fcn.00405150
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x48]
mov eax, edx
mov ecx, dword [ebp - 0x4c]
sub eax, ecx
cmp eax, 1
jb 0x401d5b
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
mov word [eax + ecx], 0x2e
lea eax, [ebp - 0x5c]
jmp 0x401d73
push 1
push 0x408768
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x38]
push 1
call fcn.00405cc0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp - 0x3c]
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 9
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
call fcn.00405150
mov edx, dword [ebp - 0xc4]
cmp edx, 0x10
jb 0x401dee
mov ecx, dword [ebp - 0xd8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401de4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40200c
push edx
push ecx
call fcn.00406406
add esp, 8
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x401e22
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401e18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40200c
push edx
push ecx
call fcn.00406406
add esp, 8
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp edx, 0x10
jb 0x401e6e
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401e64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40200c
push edx
push ecx
call fcn.00406406
add esp, 8
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x401ea2
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401e98
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40200c
push edx
push ecx
call fcn.00406406
add esp, 8
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp edx, 0x10
jb 0x401eee
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401ee4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40200c
push edx
push ecx
call fcn.00406406
add esp, 8
mov edx, dword [ebp - 0x7c]
cmp edx, 0x10
jb 0x401f25
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401f1b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40200c
push edx
push ecx
call fcn.00406406
add esp, 8
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp edx, 0x10
jb 0x401f74
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401f6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40200c
push edx
push ecx
call fcn.00406406
add esp, 8
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
cmp edx, 0x10
jb 0x401fc5
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401fbb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40200c
push edx
push ecx
call fcn.00406406
add esp, 8
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
cmp edx, 0x10
jb 0x40201c
mov ecx, dword [ebp - 0x120]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402012
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402012
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00406406
add esp, 8
mov esi, dword [ebp - 0x78]
movups xmm0, xmmword [ebp - 0x30]
mov edx, dword [ebp + 0x1c]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [esi + 0x10], xmm0
cmp edx, 0x10
jb 0x401b11
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401b07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401b07
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3