Function at 0x420af0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Create thread
Get file version info
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c638
mov eax, dword fs:[0]
push eax
sub esp, 0x414
mov eax, dword [0x4af100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x418], edi
mov dword [ebp - 0x400], edi
xor eax, eax
mov dword [ebp - 0x420], edi
push eax
mov dword [ebp - 0x404], eax
mov dword [ebp - 0x408], eax
call fcn.004339b0
lea esi, [edi + 0x34]
mov dword [edi], vtable.LunaHost.0
mov dword [edi + 0x30], 0
mov dword [ebp - 0x400], esi
push 0x14
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00464140
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 + 0x64], 0
xorps xmm0, xmm0
mov dword [edi + 0x68], 0
xor ecx, ecx
mov dword [edi + 0x70], 0
mov byte [edi + 0x74], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
movups xmmword [edi + 0x8c], xmm0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 7
mov word [edi + 0x8c], cx
lea esi, [edi + 0xa8]
mov byte [ebp - 4], 2
mov dword [ebp - 0x400], esi
push 0x28
mov dword [esi], ecx
mov dword [esi + 4], ecx
call fcn.00464140
add esp, 8
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], 3
call fcn.0041ee50
lea esi, [edi + 0xd0]
mov byte [ebp - 4], 4
mov dword [ebp - 0x400], esi
push 0x14
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00464140
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push 0x28
mov byte [ebp - 4], 5
call fcn.00464140
add esp, 8
mov dword [ebp - 0x400], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x420c71
mov ecx, eax
call fcn.00409160
jmp 0x420c73
xor eax, eax
mov ecx, edi
mov byte [ebp - 4], 5
mov dword [edi + 0x78], eax
call fcn.0042f250
cmp dword [edi + 0xa0], 7
lea eax, [edi + 0x8c]
jbe 0x420c92
mov eax, dword [eax]
push eax
push 0x19
mov ecx, edi
call fcn.004342b0
push 0x70
call fcn.00464140
mov esi, eax
add esp, 4
mov dword [ebp - 0x400], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x420d0c
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x260], 0
push str.Settings
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x25c], 0
movups xmmword [ebp - 0x270], xmm0
call fcn.00412000
mov eax, 1
mov byte [ebp - 4], 8
mov dword [ebp - 0x404], eax
mov ecx, esi
mov dword [ebp - 0x408], eax
lea eax, [ebp - 0x270]
push eax
push edi
call fcn.00412f30
jmp 0x420d0e
xor eax, eax
mov dword [edi + 0x60], eax
mov eax, dword [ebp - 0x404]
mov dword [ebp - 4], 5
test al, 1
je 0x420d36
and eax, 0xfffffffe
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x404], eax
call fcn.0040a010
push 0x70
call fcn.00464140
mov esi, eax
add esp, 4
mov dword [ebp - 0x400], esi
mov byte [ebp - 4], 0xa
test esi, esi
je 0x420daa
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x260], 0
push str.Select_Process
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x25c], 0
movups xmmword [ebp - 0x270], xmm0
call fcn.00412000
mov eax, dword [ebp - 0x404]
mov ecx, esi
or eax, 2
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x404], eax
mov dword [ebp - 0x408], eax
lea eax, [ebp - 0x270]
push eax
push edi
call fcn.00412f30
jmp 0x420dac
xor eax, eax
mov dword [edi + 0x54], eax
mov eax, dword [ebp - 0x404]
mov dword [ebp - 4], 5
test al, 2
je 0x420e09
mov ecx, dword [ebp - 0x25c]
and eax, 0xfffffffd
mov dword [ebp - 0x404], eax
cmp ecx, 7
jbe 0x420e09
mov edx, dword [ebp - 0x270]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420dff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421b04
push ecx
push edx
call fcn.00464170
add esp, 8
push 0x70
call fcn.00464140
mov esi, eax
add esp, 4
mov dword [ebp - 0x400], esi
mov byte [ebp - 4], 0xd
test esi, esi
je 0x420e7f
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x260], 0
push str.Detach
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x25c], 0
movups xmmword [ebp - 0x270], xmm0
call fcn.00412000
mov eax, dword [ebp - 0x404]
mov ecx, esi
or eax, 4
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x404], eax
mov dword [ebp - 0x408], eax
lea eax, [ebp - 0x270]
push eax
push edi
call fcn.00412f30
mov ecx, eax
jmp 0x420e81
xor ecx, ecx
mov eax, dword [ebp - 0x404]
mov dword [edi + 0x58], ecx
mov dword [ebp - 4], 5
test al, 4
je 0x420ee1
and eax, 0xfffffffb
mov dword [ebp - 0x404], eax
mov eax, dword [ebp - 0x25c]
cmp eax, 7
jbe 0x420ee1
mov edx, dword [ebp - 0x270]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420ed4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421b09
push ecx
push edx
call fcn.00464170
mov ecx, dword [edi + 0x58]
add esp, 8
lea eax, [ecx + 0x48]
mov dword [ebp - method.std::_Func_impl_no_alloc_class__lambda_901520aef401595cc1fb53079e17aedd___void___.virtual_0], vtable.std::_Func_impl_no_alloc_class__lambda_901520aef401595cc1fb53079e17aedd___void___.0
lea ecx, [ebp - 0x2e0]
mov dword [ebp - 0x2dc], edi
push eax
mov dword [ebp - 0x2bc], ecx
call fcn.00418690
mov ecx, dword [ebp - 0x2bc]
test ecx, ecx
je 0x420f23
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x2e0]
cmp ecx, eax
setne al
push eax
call edx
push 0x70
call fcn.00464140
add esp, 4
mov dword [ebp - 0x400], eax
mov byte [ebp - 4], 0x10
test eax, eax
je 0x420f45
push edi
mov ecx, eax
call fcn.00413290
jmp 0x420f47
xor eax, eax
push 0x70
mov byte [ebp - 4], 5
mov dword [edi + 0x3c], eax
call fcn.00464140
mov esi, eax
add esp, 4
mov dword [ebp - 0x400], esi
mov byte [ebp - 4], 0x11
test esi, esi
je 0x420fc2
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x260], 0
push str.Plugins
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x25c], 0
movups xmmword [ebp - 0x270], xmm0
call fcn.00412000
mov eax, dword [ebp - 0x404]
mov ecx, esi
or eax, 8
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x404], eax
mov dword [ebp - 0x408], eax
lea eax, [ebp - 0x270]
push eax
push edi
call fcn.00412f30
jmp 0x420fc4
xor eax, eax
mov dword [edi + 0x48], eax
mov eax, dword [ebp - 0x404]
mov dword [ebp - 4], 5
test al, 8
je 0x421021
mov ecx, dword [ebp - 0x25c]
and eax, 0xfffffff7
mov dword [ebp - 0x404], eax
cmp ecx, 7
jbe 0x421021
mov edx, dword [ebp - 0x270]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x421017
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421b0e
push ecx
push edx
call fcn.00464170
add esp, 8
push 0x50
call fcn.00464140
add esp, 4
mov dword [ebp - 0x400], eax
mov byte [ebp - 4], 0x14
test eax, eax
je 0x421043
push edi
mov ecx, eax
call fcn.00436290
jmp 0x421045
xor eax, eax
mov dword [edi + 0x6c], eax
lea ecx, [ebp - 0x308]
mov eax, dword [edi + 0x48]
add eax, 0x48
mov byte [ebp - 4], 5
push eax
mov dword [ebp - method.std::_Func_impl_no_alloc_class__lambda_db89779b2a2993e9d9891ea4f3499fd9___void___.virtual_0], vtable.std::_Func_impl_no_alloc_class__lambda_db89779b2a2993e9d9891ea4f3499fd9___void___.0
mov dword [ebp - 0x304], edi
mov dword [ebp - 0x2e4], ecx
call fcn.00418690
mov ecx, dword [ebp - 0x2e4]
test ecx, ecx
je 0x421091
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x308]
cmp ecx, eax
setne al
push eax
call edx
push 0x70
call fcn.00464140
mov esi, eax
add esp, 4
mov dword [ebp - 0x400], esi
mov byte [ebp - 4], 0x15
test esi, esi
je 0x421105
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x260], 0
push str.Insert_UserHook
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x25c], 0
movups xmmword [ebp - 0x270], xmm0
call fcn.00412000
mov eax, dword [ebp - 0x404]
mov ecx, esi
or eax, 0x10
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x404], eax
mov dword [ebp - 0x408], eax
lea eax, [ebp - 0x270]
push eax
push edi
call fcn.00412f30
jmp 0x421107
xor eax, eax
mov dword [edi + 0x44], eax
mov eax, dword [ebp - 0x404]
mov dword [ebp - 4], 5
test al, 0x10
je 0x421145
and eax, 0xffffffef
mov dword [ebp - 0x404], eax
mov eax, dword [ebp - 0x25c]
cmp eax, 7
jbe 0x421145
push eax
push dword [ebp - 0x270]
lea eax, [ebp - 0x270]
push eax
call fcn.00429b50
add esp, 0xc
mov eax, dword [edi + 0x60]
lea ecx, [ebp - 0x330]
add eax, 0x48
mov dword [ebp - method.std::_Func_impl_no_alloc_class__lambda_a8308e5caff0a1b026681264128d89ef___void___.virtual_0], vtable.std::_Func_impl_no_alloc_class__lambda_a8308e5caff0a1b026681264128d89ef___void___.0
push eax
mov dword [ebp - 0x32c], edi
mov dword [ebp - 0x30c], ecx
call fcn.00418690
mov ecx, dword [ebp - 0x30c]
test ecx, ecx
je 0x42118a
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x330]
cmp ecx, eax
setne al
push eax
call edx
mov eax, dword [edi + 0x54]
lea ecx, [ebp - 0x358]
add eax, 0x48
mov dword [ebp - method.std::_Func_impl_no_alloc_class__lambda_2f9203331b71b717e775cb86415f9e2a___void___.virtual_0], vtable.std::_Func_impl_no_alloc_class__lambda_2f9203331b71b717e775cb86415f9e2a___void___.0
push eax
mov dword [ebp - 0x354], edi
mov dword [ebp - 0x334], ecx
call fcn.00418690
mov ecx, dword [ebp - 0x334]
test ecx, ecx
je 0x4211cf
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x358]
cmp ecx, eax
setne al
push eax
call edx
mov eax, dword [edi + 0x44]
lea ecx, [ebp - 0x380]
add eax, 0x48
mov dword [ebp - method.std::_Func_impl_no_alloc_class__lambda_3c5bc4d65b9a21812c38f36ee66f84a3___void___.virtual_0], vtable.std::_Func_impl_no_alloc_class__lambda_3c5bc4d65b9a21812c38f36ee66f84a3___void___.0
push eax
mov dword [ebp - 0x37c], edi
mov dword [ebp - 0x35c], ecx
call fcn.00418690
mov ecx, dword [ebp - 0x35c]
test ecx, ecx
je 0x421214
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x380]
cmp ecx, eax
setne al
push eax
call edx
push 0xc0
call fcn.00464140
add esp, 4
mov dword [ebp - 0x400], eax
mov byte [ebp - 4], 0x18
test eax, eax
je 0x42123d
push 0
push 0
push edi
mov ecx, eax
call fcn.00413430
jmp 0x42123f
xor eax, eax
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x408], eax
push str.Hook
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 5
mov dword [edi + 0x4c], eax
movups xmmword [ebp - 0x2b8], xmm0
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0
call fcn.00412000
push 4
xorps xmm0, xmm0
mov byte [ebp - 4], 0x19
push str.Text
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x290], 0
movups xmmword [ebp - 0x2a0], xmm0
mov dword [ebp - 0x28c], 0
call fcn.00412000
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x414], 0
sub ecx, eax
mov dword [ebp - 0x410], 0
mov eax, 0x2aaaaaab
mov dword [ebp - 0x40c], 0
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4213ca
cmp eax, 0xaaaaaaa
ja 0x421b13
lea esi, [eax + eax*2]
shl esi, 3
mov dword [ebp - 0x400], esi
cmp esi, 0x1000
jb 0x42133d
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x421b18
push eax
call fcn.00464140
add esp, 4
test eax, eax
je 0x421b1d
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x421350
test esi, esi
je 0x42134e
push esi
call fcn.00464140
add esp, 4
mov esi, eax
jmp 0x421350
xor esi, esi
mov eax, dword [ebp - 0x400]
add eax, esi
mov dword [ebp - 0x414], esi
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x410], esi
mov dword [ebp - 0x400], eax
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x260], esi
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x288]
cmp eax, ecx
je 0x4213c4
mov edi, eax
nop
push edi
mov ecx, esi
call fcn.00408ae0
add esi, 0x18
lea eax, [ebp - 0x288]
add edi, 0x18
mov dword [ebp - 0x260], esi
cmp edi, eax
jne 0x4213a0
mov edi, dword [ebp - 0x418]
mov dword [ebp - 0x410], esi
mov ecx, dword [ebp - 0x408]
lea eax, [ebp - 0x414]
push eax
mov byte [ebp - 4], 0x1d
call fcn.00415590
mov ecx, dword [ebp - 0x414]
mov byte [ebp - 4], 0x1a
test ecx, ecx
je 0x421473
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x410]
push ecx
call fcn.00415bf0
mov ecx, dword [ebp - 0x40c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x414]
add esp, 0xc
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x42144b
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421b1d
push ecx
push esi
call fcn.00464170
add esp, 8
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x40c], 0
push fcn.0040a010
push 2
push 0x18
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 5
push eax
call fcn.00464483
mov eax, dword [edi + 0x4c]
lea ecx, [ebp - 0x3a8]
add eax, 0x98
mov dword [ebp - method.std::_Func_impl_no_alloc_class__lambda_55af74bf4deee235c067d602169b37ca___void__int_.virtual_0], vtable.std::_Func_impl_no_alloc_class__lambda_55af74bf4deee235c067d602169b37ca___void__int_.0
push eax
mov dword [ebp - 0x3a4], edi
mov dword [ebp - 0x384], ecx
call fcn.00418690
mov ecx, dword [ebp - 0x384]
test ecx, ecx
je 0x4214d3
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x3a8]
cmp ecx, eax
setne al
push eax
call edx
mov eax, dword [edi + 0x4c]
lea ecx, [ebp - 0x3d0]
add eax, 0x20
mov dword [ebp - method.std::_Func_impl_no_alloc_class__lambda_46509e6a424293a388aa57c67591e576___class_std::optional_class_Menu____.virtual_0], vtable.std::_Func_impl_no_alloc_class__lambda_46509e6a424293a388aa57c67591e576___class_std::optional_class_Menu____.0
push eax
mov dword [ebp - 0x3cc], edi
mov dword [ebp - 0x3ac], ecx
call fcn.00418690
mov ecx, dword [ebp - 0x3ac]
test ecx, ecx
je 0x421518
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x3d0]
cmp ecx, eax
setne al
push eax
call edx
push 0x70
call fcn.00464140
add esp, 4
mov dword [ebp - 0x400], eax
mov byte [ebp - 4], 0x1e
test eax, eax
je 0x42153a
push edi
mov ecx, eax
call fcn.00413680
jmp 0x42153c
xor eax, eax
push 1
mov ecx, eax
mov byte [ebp - 4], 5
mov dword [edi + 0x50], eax
call fcn.004156e0
push 0x70
call fcn.00464140
mov esi, eax
add esp, 4
mov dword [ebp - 0x400], esi
mov byte [ebp - 4], 0x1f
test esi, esi
je 0x4215c2
push 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x260], 0
push str.Search_for_hooks
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x25c], 0
movups xmmword [ebp - 0x270], xmm0
call fcn.00412000
mov eax, dword [ebp - 0x404]
mov ecx, esi
or eax, 0x20
mov byte [ebp - 4], 0x20
mov dword [ebp - 0x404], eax
mov dword [ebp - 0x408], eax
lea eax, [ebp - 0x270]
push eax
push edi
call fcn.00412f30
mov ecx, eax
jmp 0x4215c4
xor ecx, ecx
mov eax, dword [ebp - 0x404]
mov dword [edi + 0x5c], ecx
mov dword [ebp - 4], 5
test al, 0x20
je 0x4215fc
mov eax, dword [ebp - 0x25c]
cmp eax, 7
jbe 0x4215fc
push eax
push dword [ebp - 0x270]
lea eax, [ebp - 0x270]
push eax
call fcn.00429b50
mov ecx, dword [edi + 0x5c]
add esp, 0xc
lea eax, [ecx + 0x48]
mov dword [ebp - method.std::_Func_impl_no_alloc_class__lambda_cdc6c4a03746c470e9a81488a53050b1___void___.virtual_0], vtable.std::_Func_impl_no_alloc_class__lambda_cdc6c4a03746c470e9a81488a53050b1___void___.0
lea ecx, [ebp - 0x3f8]
mov dword [ebp - 0x3f4], edi
push eax
mov dword [ebp - 0x3d4], ecx
call fcn.00418690
mov ecx, dword [ebp - 0x3d4]
test ecx, ecx
je 0x42163e
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x3f8]
cmp ecx, eax
setne al
push eax
call edx
movzx eax, byte [ebp - 0x3f9]
push 1
sub esp, 0x28
mov ecx, esp
sub esp, 0x28
mov dword [ecx], 0x49537c
mov dword [ecx + 4], 0x430650
mov byte [ecx + 8], al
movzx eax, byte [ebp - 0x3f9]
mov byte [ecx + 9], al
movzx eax, byte [ebp - 0x3f9]
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x24], ecx
mov ecx, esp
sub esp, 0x28
mov dword [ecx], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8LunaHost__AEXAAVTextThread___ZPAV3_ABU___Ph__00_2__std__XAAVTextThread___std__.0
mov dword [ecx + 4], 0x430be0
mov byte [ecx + 8], al
movzx eax, byte [ebp - 0x3f9]
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x24], ecx
mov ecx, esp
sub esp, 0x28
mov dword [ecx], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8LunaHost__AEXAAVTextThread___ZPAV3_ABU___Ph__00_2__std__XAAVTextThread___std__.0
mov dword [ecx + 4], 0x430a50
mov byte [ecx + 8], al
movzx eax, byte [ebp - 0x3f9]
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x24], ecx
mov ecx, esp
sub esp, 0x28
mov dword [ecx], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8LunaHost__AEXK_ZPAV3_ABU___Ph__00_2__std__XK_std__.0
mov dword [ecx + 4], 0x430610
mov byte [ecx + 8], al
movzx eax, byte [ebp - 0x3f9]
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x24], ecx
mov ecx, esp
mov dword [ecx], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8LunaHost__AEXK_ZPAV3_ABU___Ph__00_2__std__XK_std__.0
mov dword [ecx + 4], 0x42fff0
mov byte [ecx + 8], al
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x24], ecx
call fcn.00447290
push 0x70
call fcn.00464140
add esp, 0xd0
mov dword [ebp - 0x400], eax
mov byte [ebp - 4], 0x22
test eax, eax
je 0x421721
push 0
push 0
mov ecx, eax
call fcn.004130d0
jmp 0x421723
xor eax, eax
push 1
push 1
push 0
push 0
push dword [edi + 0x54]
mov ecx, eax
mov byte [ebp - 4], 5
mov dword [edi + 0x40], eax
call fcn.004141d0
mov ecx, dword [edi + 0x40]
push 1
push 1
push 1
push 0
push dword [edi + 0x58]
call fcn.004141d0
mov ecx, dword [edi + 0x40]
push 1
push 1
push 2
push 0
push dword [edi + 0x60]
call fcn.004141d0
mov ecx, dword [edi + 0x40]
push 1
push 1
push 3
push 0
push dword [edi + 0x48]
call fcn.004141d0
mov ecx, dword [edi + 0x40]
push 2
push 1
push 0
push 1
push dword [edi + 0x3c]
call fcn.004141d0
mov ecx, dword [edi + 0x40]
push 1
push 1
push 2
push 1
push dword [edi + 0x44]
call fcn.004141d0
mov ecx, dword [edi + 0x40]
push 1
push 1
push 3
push 1
push dword [edi + 0x5c]
call fcn.004141d0
mov ecx, dword [edi + 0x40]
push 4
push 1
push 0
push 2
push dword [edi + 0x4c]
call fcn.004141d0
mov ecx, dword [edi + 0x40]
push 4
push 1
push 0
push 3
push dword [edi + 0x50]
call fcn.004141d0
mov ecx, dword [edi + 0x40]
push 0x1e
push 0
call fcn.00414f70
mov ecx, dword [edi + 0x40]
push 0x1e
push 1
call fcn.00414f70
push dword [edi + 0x40]
mov ecx, edi
call fcn.00434390
push 0x320
push 0x4b0
mov ecx, edi
call fcn.00434210
xorps xmm0, xmm0
push 0xc
push str.LunaHost_Gui
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], 0
movups xmmword [ebp - 0x288], xmm0
mov dword [ebp - 0x274], 0
call fcn.00412000
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 0x23
push eax
mov ecx, edi
call fcn.004343a0
push 4
call fcn.00464140
add esp, 4
test eax, eax
je 0x42185b
mov dword [eax], edi
jmp 0x42185d
xor eax, eax
mov dword [ebp - 0x400], eax
lea ecx, [ebp - 0x40c]
mov byte [ebp - 4], 0x24
push ecx
push 0
push eax
push 0x41a950
push 0
push 0
call fcn.00474c02
add esp, 0x18
mov dword [ebp - 0x410], eax
test eax, eax
je 0x421b29
mov ecx, dword [ebp - 0x40c]
mov byte [ebp - 4], 0x25
test ecx, ecx
je 0x421b22
push ecx
push eax
call fcn.0044c9d2
add esp, 8
test eax, eax
jne 0x421b22
push 4
mov byte [ebp - 4], 0x23
call fcn.00464140
add esp, 4
test eax, eax
je 0x4218ca
mov dword [eax], edi
jmp 0x4218cc
xor eax, eax
mov dword [ebp - 0x400], eax
lea ecx, [ebp - 0x40c]
mov byte [ebp - 4], 0x26
push ecx
push 0
push eax
push 0x41aa90
push 0
push 0
call fcn.00474c02
add esp, 0x18
mov dword [ebp - 0x410], eax
test eax, eax
je 0x421b29
mov ecx, dword [ebp - 0x40c]
mov byte [ebp - 4], 0x27
test ecx, ecx
je 0x421b22
push ecx
push eax
call fcn.0044c9d2
add esp, 8
test eax, eax
jne 0x421b22
push 0x104
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0x23
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x258]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x421aab
lea eax, [ebp - 0x3f9]
push eax
push esi
lea ecx, [ebp - 0x414]
call fcn.0041ef00
push dword [ebp - 0x414]
lea eax, [ebp - 0x258]
push esi
push dword [ebp - 0x400]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x421aa0
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x408]
push eax
push 0x4948b0
push dword [ebp - 0x414]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x421aa0
mov eax, dword [ebp - 0x408]
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov dword [ebp - 0x404], ecx
movzx edi, cx
lea ecx, [ebp - 0x414]
call fcn.00423720
mov eax, dword [ebp - 0x404]
shr esi, 0x10
push esi
push edi
shr eax, 0x10
push eax
push str.Current_version
lea eax, [ebp - 0x50]
push str.___s_v_d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [ebp - 0x50]
add esp, 0x18
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421a00
sub ecx, edx
lea eax, [ebp - 0x50]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x288]
call fcn.0040c1e0
mov edi, dword [ebp - 0x418]
lea eax, [ebp - 0x288]
push eax
mov ecx, edi
call fcn.004343a0
push 4
call fcn.00464140
add esp, 4
test eax, eax
je 0x421a45
mov dword [eax], edi
jmp 0x421a47
xor eax, eax
mov dword [ebp - 0x41c], eax
lea ecx, [ebp - 0x40c]
mov byte [ebp - 4], 0x28
push ecx
push 0
push eax
push 0x41aa30
push 0
push 0
call fcn.00474c02
add esp, 0x18
mov dword [ebp - 0x410], eax
test eax, eax
je 0x421b29
mov ecx, dword [ebp - 0x40c]
mov byte [ebp - 4], 0x29
test ecx, ecx
je 0x421b22
push ecx
push eax
call fcn.0044c9d2
add esp, 8
test eax, eax
jne 0x421b22
jmp 0x421aab
lea ecx, [ebp - 0x414]
call fcn.00423720
mov ecx, dword [ebp - 0x274]
cmp ecx, 7
jbe 0x421ae7
mov edx, dword [ebp - 0x288]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x421add
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421b3a
push ecx
push edx
call fcn.00464170
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 - 0x10]
xor ecx, ebp
call fcn.0046417e
mov esp, ebp
pop ebp
ret
call fcn.0046999f
call fcn.0046999f
call fcn.0046999f
call fcn.0040bd40
call fcn.0040bbf0
call fcn.0046999f
push 1
call fcn.0044c7f1
push 6
mov dword [ebp - 0x40c], 0
call fcn.0044c7f1
call fcn.0046999f
int3