Function at 0x474970
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0d14
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x5091d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], 0
movups xmm0, xmmword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov byte [ebp + 8], 0
movq xmm0, qword [ebp + 0x18]
movq qword [edi + 0x10], xmm0
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
movups xmm0, xmmword [ebp + 0x20]
mov dword [edi + 0x18], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
movups xmmword [edi + 0x18], xmm0
mov byte [ebp + 0x20], 0
movq xmm0, qword [ebp + 0x30]
movq qword [edi + 0x28], xmm0
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov dword [edi + 0x30], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0xf
mov byte [edi + 0x30], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0xf
mov byte [edi + 0x48], 0
mov al, byte [ebp + 0x3c]
mov byte [edi + 0x60], al
mov dword [edi + 0x64], 0
mov dword [edi + 0x78], 0xf
mov byte [edi + 0x64], 0
mov dword [edi + 0x74], 1
movzx eax, byte [0x4d9c90]
mov byte [edi + 0x64], al
mov byte [edi + 0x65], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x90], 0xf
mov byte [edi + 0x7c], 0
mov dword [edi + 0x8c], 1
movzx eax, byte [0x4d8c44]
mov byte [edi + 0x7c], al
mov byte [edi + 0x7d], 0
mov byte [edi + 0x94], 0
push 0x138
mov byte [ebp - 4], 7
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
call fcn.0049f7ea
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x98], eax
push 0x138
mov byte [ebp - 4], 8
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
call fcn.0049f7ea
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0xa0], eax
lea esi, [edi + 0xa8]
mov byte [ebp - 4], 9
push 0x1c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0049f7ea
add esp, 0xc
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea ecx, [edi + 0xb0]
mov byte [ebp - 4], 0xa
push edi
call fcn.004027c0
push 0xc
mov byte [ebp - 4], 0xb
mov dword [edi + 0xc8], 0
mov dword [edi + 0xcc], 0
call fcn.0049f7ea
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0xc8], eax
lea esi, [edi + 0xd0]
mov byte [ebp - 4], 0xc
push 0x1c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0049f7ea
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0xd8]
mov byte [ebp - 4], 0xd
push 0x1c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0049f7ea
add esp, 0xc
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe8], 0
mov eax, dword [ebp + 0x38]
mov byte [ebp - 4], 0xf
mov byte [edi + 0xec], 0
test al, 1
je 0x474d2d
push str.__help
push 0x4dac98
mov ecx, edi
call fcn.00473520
mov ecx, eax
mov dword [ebp - 0x14], ecx
lea esi, [ecx + 0xe0]
movsx ecx, byte [esi + 0x28]
inc ecx
sub ecx, 0
je 0x474c4a
sub ecx, 1
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x474c4a
mov eax, dword [ecx]
cmp ecx, esi
mov edx, dword [eax + 0x10]
setne al
push eax
call edx
mov eax, dword [ebp + 0x40]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 4], eax
lea eax, [ebp - 0xd]
mov dword [esi], vtable.std::_Func_impl_no_alloc_class__lambda_e267aff4033b4ad0854eb28c9b434960___void__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__.0
mov dword [esi + 8], edi
mov dword [esi + 0x24], esi
push eax
mov byte [esi + 0x28], 1
mov byte [ebp - 0xd], 0
call fcn.00473e60
push 0x20
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.00402d80
movups xmm0, xmmword [str.shows_help_message_and_exits]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0x1c
movups xmmword [eax], xmm0
mov dword [ebp - 0x1c], 0x1f
movq xmm0, qword [0x4dacac]
movq qword [eax + 0x10], xmm0
mov ecx, dword [0x4dacb4]
mov dword [eax + 0x18], ecx
lea ecx, [esi + 0x14]
mov byte [eax + 0x1c], 0
lea eax, [ebp - 0x30]
push eax
call fcn.004393f0
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x474cf1
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x474ce7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474eb9
push edx
push ecx
call fcn.0049f81a
add esp, 8
sub esp, 0x28
xorps xmm0, xmm0
mov eax, esp
mov ecx, esi
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
movq qword [eax + 0x20], xmm0
mov byte [eax], 1
mov dword [eax + 0x24], 0x50a820
call fcn.00479830
mov dword [eax + 0x11c], 0
mov dword [eax + 0x120], 0
mov eax, dword [ebp + 0x38]
test al, 2
je 0x474e32
push str.__version
push 0x4dacc8
mov ecx, edi
call fcn.00473520
mov ecx, eax
mov dword [ebp - 0x14], ecx
lea esi, [ecx + 0xe0]
movsx ecx, byte [esi + 0x28]
inc ecx
sub ecx, 0
je 0x474d73
sub ecx, 1
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x474d73
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov eax, dword [ebp + 0x40]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 4], eax
lea eax, [ebp - 0xd]
mov dword [esi], vtable.std::_Func_impl_no_alloc_class__lambda_afe8e384438600045cff7854e8834ac3___void__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__.0
mov dword [esi + 8], edi
mov dword [esi + 0x24], esi
push eax
mov byte [esi + 0x28], 1
mov byte [ebp - 0xd], 0
call fcn.00473e60
sub esp, 0x18
mov edi, eax
mov esi, esp
mov ecx, esi
push 0x30
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00402d80
mov dword [esi + 0x10], 0x24
mov dword [esi + 0x14], 0x2f
movups xmm0, xmmword [str.prints_version_information_and_exits]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x4dacdc]
movups xmmword [eax + 0x10], xmm0
mov ecx, dword [0x4dacec]
mov dword [eax + 0x20], ecx
mov ecx, edi
mov byte [eax + 0x24], 0
mov dword [esi], eax
call fcn.00479770
sub esp, 0x28
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
movq qword [ecx + 0x20], xmm0
mov byte [ecx], 1
mov dword [ecx + 0x24], 0x50a820
mov ecx, eax
call fcn.00479830
mov edi, dword [ebp - 0x18]
mov dword [eax + 0x11c], 0
mov dword [eax + 0x120], 0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x474e62
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x474e58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474eb9
push edx
push ecx
call fcn.0049f81a
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x474ea4
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x474e9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474eb9
push edx
push ecx
call fcn.0049f81a
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x3c
call fcn.004a48ef
int3