Function at 0x41f130
Capabilities:
Check for peb ntglobalflag flag
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48838e
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x4b01a8]
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 - 0x2c0], edi
mov dword [ebp - 0x2ac], edi
xor eax, eax
mov dword [ebp - 0x2c4], edi
push eax
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x2b0], eax
call fcn.00431a10
lea esi, [edi + 0x34]
mov dword [edi], vtable.LunaHost.0
mov dword [edi + 0x30], 0
mov ecx, esi
mov dword [ebp - 0x2ac], esi
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00426dd0
mov dword [esi], eax
mov dword [edi + 0x64], 0
xor ecx, ecx
mov dword [edi + 0x68], 0
mov dword [edi + 0x70], 0
mov byte [edi + 0x74], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
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 - 0x2ac], esi
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov ecx, esi
call fcn.00426df0
mov dword [esi], eax
lea ecx, [edi + 0xb0]
mov byte [ebp - 4], 3
call fcn.0041d740
lea esi, [edi + 0xd0]
mov byte [ebp - 4], 4
mov dword [ebp - 0x2ac], esi
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00426dd0
mov dword [esi], eax
push 0x28
mov byte [ebp - 4], 5
call fcn.00462f4f
add esp, 4
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x41f27a
mov ecx, eax
call fcn.004086f0
jmp 0x41f27c
xor eax, eax
mov ecx, edi
mov byte [ebp - 4], 5
mov dword [edi + 0x78], eax
call fcn.0042da40
cmp dword [edi + 0xa0], 8
lea eax, [edi + 0x8c]
jb 0x41f29b
mov eax, dword [eax]
push eax
push 0x19
mov ecx, edi
call fcn.00432310
push 0x70
call fcn.00462f4f
mov esi, eax
add esp, 4
mov dword [ebp - 0x2ac], esi
xor eax, eax
mov byte [ebp - 4], 7
test esi, esi
je 0x41f30e
push 2
push 0x490b48
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
call fcn.00413d90
mov eax, 1
mov byte [ebp - 4], 8
mov dword [ebp - 0x2a4], eax
mov ecx, esi
mov dword [ebp - 0x2b0], eax
lea eax, [ebp - 0x270]
push eax
push edi
call fcn.00412970
mov dword [edi + 0x60], eax
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 4], 5
test al, 1
je 0x41f336
and eax, 0xfffffffe
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x2a4], eax
call fcn.00409610
push 0x70
call fcn.00462f4f
mov esi, eax
add esp, 4
mov dword [ebp - 0x2ac], esi
xor eax, eax
mov byte [ebp - 4], 0xa
test esi, esi
je 0x41f3a3
push 4
push 0x490470
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
call fcn.00413d90
mov eax, dword [ebp - 0x2a4]
mov ecx, esi
or eax, 2
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x2b0], eax
lea eax, [ebp - 0x270]
push eax
push edi
call fcn.00412970
mov dword [edi + 0x54], eax
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 4], 5
test al, 2
je 0x41f3cb
and eax, 0xfffffffd
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x2a4], eax
call fcn.00409610
push 0x70
call fcn.00462f4f
mov esi, eax
add esp, 4
mov dword [ebp - 0x2ac], esi
mov byte [ebp - 4], 0xd
test esi, esi
je 0x41f440
push 5
xor eax, eax
mov dword [ebp - 0x260], 0
push 0x490b50
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
call fcn.00413d90
mov eax, dword [ebp - 0x2a4]
mov ecx, esi
or eax, 4
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x2b0], eax
lea eax, [ebp - 0x270]
push eax
push edi
call fcn.00412970
mov ecx, eax
jmp 0x41f442
xor ecx, ecx
mov eax, dword [ebp - 0x2a4]
mov dword [edi + 0x58], ecx
mov dword [ebp - 4], 5
test al, 4
je 0x41f46d
and eax, 0xfffffffb
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x2a4], eax
call fcn.00409610
mov ecx, dword [edi + 0x58]
lea eax, [ecx + 0x48]
mov dword [ebp - method.std::_Func_impl_no_alloc_class__lambda_98862c73d5ee93a11cbb0c9e2d167bb8___void___.virtual_0], vtable.std::_Func_impl_no_alloc_class__lambda_98862c73d5ee93a11cbb0c9e2d167bb8___void___.0
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x27c], edi
push eax
mov dword [ebp - 0x25c], ecx
call fcn.004179e0
mov ecx, dword [ebp - 0x25c]
test ecx, ecx
je 0x41f4af
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x280]
cmp ecx, eax
setne al
push eax
call edx
push 0x70
call fcn.00462f4f
add esp, 4
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 0x10
test eax, eax
je 0x41f4d1
push edi
mov ecx, eax
call fcn.00412c40
jmp 0x41f4d3
xor eax, eax
push 0x70
mov byte [ebp - 4], 5
mov dword [edi + 0x3c], eax
call fcn.00462f4f
mov esi, eax
add esp, 4
mov dword [ebp - 0x2ac], esi
xor eax, eax
mov byte [ebp - 4], 0x11
test esi, esi
je 0x41f547
push 2
push 0x490b5c
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
call fcn.00413d90
mov eax, dword [ebp - 0x2a4]
mov ecx, esi
or eax, 8
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x2b0], eax
lea eax, [ebp - 0x270]
push eax
push edi
call fcn.00412970
mov dword [edi + 0x48], eax
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 4], 5
test al, 8
je 0x41f56f
and eax, 0xfffffff7
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x2a4], eax
call fcn.00409610
push 0x50
call fcn.00462f4f
add esp, 4
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 0x14
test eax, eax
je 0x41f591
push edi
mov ecx, eax
call fcn.00434510
jmp 0x41f593
xor eax, eax
mov dword [edi + 0x6c], eax
lea ecx, [ebp - 0x280]
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_054ad32d0be679ea5323f2f048b7487d___void___.virtual_0], vtable.std::_Func_impl_no_alloc_class__lambda_054ad32d0be679ea5323f2f048b7487d___void___.0
mov dword [ebp - 0x27c], edi
mov dword [ebp - 0x25c], ecx
call fcn.004179e0
mov ecx, dword [ebp - 0x25c]
test ecx, ecx
je 0x41f5df
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x280]
cmp ecx, eax
setne al
push eax
call edx
push 0x70
call fcn.00462f4f
mov esi, eax
add esp, 4
mov dword [ebp - 0x2ac], esi
xor eax, eax
mov byte [ebp - 4], 0x15
test esi, esi
je 0x41f64c
push 5
push 0x490b64
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
call fcn.00413d90
mov eax, dword [ebp - 0x2a4]
mov ecx, esi
or eax, 0x10
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x2b0], eax
lea eax, [ebp - 0x270]
push eax
push edi
call fcn.00412970
mov dword [edi + 0x44], eax
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 4], 5
test al, 0x10
je 0x41f674
and eax, 0xffffffef
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x2a4], eax
call fcn.00409610
mov eax, dword [edi + 0x60]
lea ecx, [ebp - 0x280]
add eax, 0x48
mov dword [ebp - method.std::_Func_impl_no_alloc_class__lambda_1ae6412048cf501d06809369eacf6884___void___.virtual_0], vtable.std::_Func_impl_no_alloc_class__lambda_1ae6412048cf501d06809369eacf6884___void___.0
push eax
mov dword [ebp - 0x27c], edi
mov dword [ebp - 0x25c], ecx
call fcn.004179e0
mov ecx, dword [ebp - 0x25c]
test ecx, ecx
je 0x41f6b9
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x280]
cmp ecx, eax
setne al
push eax
call edx
mov eax, dword [edi + 0x54]
lea ecx, [ebp - 0x280]
add eax, 0x48
mov dword [ebp - method.std::_Func_impl_no_alloc_class__lambda_2e8334245d7f2bd27bd8d2738b3ec9de___void___.virtual_0], vtable.std::_Func_impl_no_alloc_class__lambda_2e8334245d7f2bd27bd8d2738b3ec9de___void___.0
push eax
mov dword [ebp - 0x27c], edi
mov dword [ebp - 0x25c], ecx
call fcn.004179e0
mov ecx, dword [ebp - 0x25c]
test ecx, ecx
je 0x41f6fe
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x280]
cmp ecx, eax
setne al
push eax
call edx
mov eax, dword [edi + 0x44]
lea ecx, [ebp - 0x280]
add eax, 0x48
mov dword [ebp - method.std::_Func_impl_no_alloc_class__lambda_b430cee6cd63dee227706ed3824641a7___void___.virtual_0], vtable.std::_Func_impl_no_alloc_class__lambda_b430cee6cd63dee227706ed3824641a7___void___.0
push eax
mov dword [ebp - 0x27c], edi
mov dword [ebp - 0x25c], ecx
call fcn.004179e0
mov ecx, dword [ebp - 0x25c]
test ecx, ecx
je 0x41f743
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x280]
cmp ecx, eax
setne al
push eax
call edx
push 0xc0
call fcn.00462f4f
add esp, 4
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 0x18
test eax, eax
je 0x41f76e
push 0
push 0
push edi
mov ecx, eax
call fcn.00412d00
mov esi, eax
jmp 0x41f770
xor esi, esi
push 4
xor eax, eax
mov byte [ebp - 4], 5
push str.Hook
lea ecx, [ebp - 0x288]
mov dword [edi + 0x4c], esi
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 7
mov word [ebp - 0x288], ax
call fcn.00413d90
push 2
xor eax, eax
mov byte [ebp - 4], 0x19
push 0x490b7c
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
call fcn.00413d90
push dword [ebp - 0x2c4]
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x288]
mov dword [ebp - 0x2bc], 0
push eax
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 0
call fcn.00415b40
lea eax, [ebp - 0x2bc]
mov byte [ebp - 4], 0x1b
push eax
mov ecx, esi
call fcn.00414c80
lea ecx, [ebp - 0x2bc]
call fcn.00416fe0
push fcn.00409610
push 2
push 0x18
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 5
push eax
call fcn.00463052
mov eax, dword [edi + 0x4c]
lea ecx, [ebp - 0x280]
add eax, 0x98
mov dword [ebp - method.std::_Func_impl_no_alloc_class__lambda_b5167ee9b514bb3635b27a178f46c57b___void__int_.virtual_0], vtable.std::_Func_impl_no_alloc_class__lambda_b5167ee9b514bb3635b27a178f46c57b___void__int_.0
push eax
mov dword [ebp - 0x27c], edi
mov dword [ebp - 0x25c], ecx
call fcn.004179e0
mov ecx, dword [ebp - 0x25c]
test ecx, ecx
je 0x41f897
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x280]
cmp ecx, eax
setne al
push eax
call edx
mov eax, dword [edi + 0x4c]
lea ecx, [ebp - 0x280]
add eax, 0x20
mov dword [ebp - method.std::_Func_impl_no_alloc_class__lambda_50dc16738d6ca01384febb73d0f1a727___class_std::optional_class_Menu____.virtual_0], vtable.std::_Func_impl_no_alloc_class__lambda_50dc16738d6ca01384febb73d0f1a727___class_std::optional_class_Menu____.0
push eax
mov dword [ebp - 0x27c], edi
mov dword [ebp - 0x25c], ecx
call fcn.004179e0
mov ecx, dword [ebp - 0x25c]
test ecx, ecx
je 0x41f8dc
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x280]
cmp ecx, eax
setne al
push eax
call edx
push 0x70
call fcn.00462f4f
add esp, 4
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 0x1c
test eax, eax
je 0x41f8fe
push edi
mov ecx, eax
call fcn.00412e30
jmp 0x41f900
xor eax, eax
push 1
mov ecx, eax
mov byte [ebp - 4], 5
mov dword [edi + 0x50], eax
call fcn.00414db0
push 0x70
call fcn.00462f4f
mov esi, eax
add esp, 4
mov dword [ebp - 0x2ac], esi
mov byte [ebp - 4], 0x1d
test esi, esi
je 0x41f985
push 4
xor eax, eax
mov dword [ebp - 0x260], 0
push 0x490b84
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
call fcn.00413d90
mov eax, dword [ebp - 0x2a4]
mov ecx, esi
or eax, 0x20
mov byte [ebp - 4], 0x1e
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x2b0], eax
lea eax, [ebp - 0x270]
push eax
push edi
call fcn.00412970
mov ecx, eax
jmp 0x41f987
xor ecx, ecx
mov eax, dword [ebp - 0x2a4]
mov dword [edi + 0x5c], ecx
mov dword [ebp - 4], 5
test al, 0x20
je 0x41f9a9
lea ecx, [ebp - 0x270]
call fcn.00409610
mov ecx, dword [edi + 0x5c]
lea eax, [ecx + 0x48]
mov dword [ebp - method.std::_Func_impl_no_alloc_class__lambda_1b48a3067c4356fea17d8551cc1e0d10___void___.virtual_0], vtable.std::_Func_impl_no_alloc_class__lambda_1b48a3067c4356fea17d8551cc1e0d10___void___.0
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x27c], edi
push eax
mov dword [ebp - 0x25c], ecx
call fcn.004179e0
mov ecx, dword [ebp - 0x25c]
test ecx, ecx
je 0x41f9eb
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x280]
cmp ecx, eax
setne al
push eax
call edx
movzx eax, byte [ebp - 0x2a5]
push 1
sub esp, 0x28
mov ecx, esp
sub esp, 0x28
mov dword [ecx], 0x4910d0
mov dword [ecx + 4], 0x42eb50
mov byte [ecx + 8], al
movzx eax, byte [ebp - 0x2a5]
mov byte [ecx + 9], al
movzx eax, byte [ebp - 0x2a5]
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], 0x42f1e0
mov byte [ecx + 8], al
movzx eax, byte [ebp - 0x2a5]
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], 0x42f060
mov byte [ecx + 8], al
movzx eax, byte [ebp - 0x2a5]
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], 0x42ea90
mov byte [ecx + 8], al
movzx eax, byte [ebp - 0x2a5]
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], 0x42e620
mov byte [ecx + 8], al
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x24], ecx
call fcn.00444ce0
push 0x70
call fcn.00462f4f
add esp, 0xd0
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 0x20
test eax, eax
je 0x41face
push 0
push 0
mov ecx, eax
call fcn.00412b00
jmp 0x41fad0
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.00413a20
mov ecx, dword [edi + 0x40]
push 1
push 1
push 1
push 0
push dword [edi + 0x58]
call fcn.00413a20
mov ecx, dword [edi + 0x40]
push 1
push 1
push 2
push 0
push dword [edi + 0x60]
call fcn.00413a20
mov ecx, dword [edi + 0x40]
push 1
push 1
push 3
push 0
push dword [edi + 0x48]
call fcn.00413a20
mov ecx, dword [edi + 0x40]
push 2
push 1
push 0
push 1
push dword [edi + 0x3c]
call fcn.00413a20
mov ecx, dword [edi + 0x40]
push 1
push 1
push 2
push 1
push dword [edi + 0x44]
call fcn.00413a20
mov ecx, dword [edi + 0x40]
push 1
push 1
push 3
push 1
push dword [edi + 0x5c]
call fcn.00413a20
mov ecx, dword [edi + 0x40]
push 4
push 1
push 0
push 2
push dword [edi + 0x4c]
call fcn.00413a20
mov ecx, dword [edi + 0x40]
push 4
push 1
push 0
push 3
push dword [edi + 0x50]
call fcn.00413a20
mov ecx, dword [edi + 0x40]
push 0x1e
push 0
call fcn.00414830
mov ecx, dword [edi + 0x40]
push 0x1e
push 1
call fcn.00414830
push dword [edi + 0x40]
mov ecx, edi
call fcn.004323d0
push 0x320
push 0x4b0
mov ecx, edi
call fcn.00432270
mov dword [ebp - 0x290], 0
push 0xc
xor eax, eax
mov dword [ebp - 0x28c], 7
push str.LunaHost_Gui
lea ecx, [ebp - 0x2a0]
mov word [ebp - 0x2a0], ax
call fcn.00413d90
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 0x21
push eax
mov ecx, edi
call fcn.004323e0
push 4
call fcn.00462f4f
mov esi, eax
add esp, 4
test esi, esi
je 0x41fc09
mov dword [esi], edi
jmp 0x41fc0b
xor esi, esi
mov dword [ebp - 0x2b0], esi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x22
call fcn.00420ca0
mov dword [ebp - 0x26c], 0x4910ec
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x25c], esi
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0x23
push eax
lea ecx, [ebp - 0x26c]
call fcn.0042a4f0
mov eax, dword [ebp - 0x25c]
test eax, eax
je 0x41fc65
push 4
push eax
call fcn.00462f7f
add esp, 8
mov esi, dword [ebp - 0x264]
mov eax, dword [ebp - 0x268]
push esi
mov byte [ebp - 4], 0x24
mov dword [ebp - 0x2a4], eax
call fcn.00449977
add esp, 4
test eax, eax
je 0x41fc91
push eax
call fcn.00449a0a
add esp, 4
push esi
call fcn.004498bb
push dword [ebp - 0x2a4]
call fcn.0044ac29
add esp, 8
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x25
call fcn.0042c100
cmp dword [ebp - 0x2b4], 0
mov byte [ebp - 4], 0x21
jne 0x41ff97
push 4
call fcn.00462f4f
mov esi, eax
add esp, 4
test esi, esi
je 0x41fcd9
mov dword [esi], edi
jmp 0x41fcdb
xor esi, esi
mov dword [ebp - 0x2b0], esi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x26
call fcn.00420ca0
mov dword [ebp - 0x26c], 0x4910f4
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x25c], esi
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0x27
push eax
lea ecx, [ebp - 0x26c]
call fcn.0042a4f0
mov eax, dword [ebp - 0x25c]
test eax, eax
je 0x41fd35
push 4
push eax
call fcn.00462f7f
add esp, 8
mov esi, dword [ebp - 0x264]
mov eax, dword [ebp - 0x268]
push esi
mov byte [ebp - 4], 0x28
mov dword [ebp - 0x2a4], eax
call fcn.00449977
add esp, 4
test eax, eax
je 0x41fd61
push eax
call fcn.00449a0a
add esp, 4
push esi
call fcn.004498bb
push dword [ebp - 0x2a4]
call fcn.0044ac29
add esp, 8
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x29
call fcn.0042c100
cmp dword [ebp - 0x2b4], 0
mov byte [ebp - 4], 0x21
jne 0x41ff9c
push 0x104
lea eax, [ebp - 0x258]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x258]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x41fdfd
lea eax, [ebp - 0x2a5]
push eax
push esi
lea ecx, [ebp - 0x264]
call fcn.0041d800
push dword [ebp - 0x264]
lea eax, [ebp - 0x258]
push esi
push dword [ebp - 0x2b0]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x41fe25
lea ecx, [ebp - 0x264]
call fcn.00421cd0
lea ecx, [ebp - 0x2a0]
call fcn.00409610
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.00462f8d
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x2a4]
push eax
push 0x49098c
push dword [ebp - 0x264]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41fdf2
mov eax, dword [ebp - 0x2a4]
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov dword [ebp - 0x2ac], ecx
movzx edi, cx
lea ecx, [ebp - 0x264]
call fcn.00421cd0
mov eax, dword [ebp - 0x2ac]
shr esi, 0x10
push esi
push edi
shr eax, 0x10
push eax
push str.S_MRHr_g
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]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41fe93
sub ecx, edx
lea eax, [ebp - 0x50]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2a0]
call fcn.0040b8e0
mov edi, dword [ebp - 0x2c0]
lea eax, [ebp - 0x2a0]
push eax
mov ecx, edi
call fcn.004323e0
push 4
call fcn.00462f4f
mov esi, eax
add esp, 4
test esi, esi
je 0x41feda
mov dword [esi], edi
jmp 0x41fedc
xor esi, esi
mov dword [ebp - 0x2c0], esi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x2a
call fcn.00420ca0
mov dword [ebp - 0x26c], 0x4910fc
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x25c], esi
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0x2b
push eax
lea ecx, [ebp - 0x26c]
call fcn.0042a4f0
mov eax, dword [ebp - 0x25c]
test eax, eax
je 0x41ff36
push 4
push eax
call fcn.00462f7f
add esp, 8
mov esi, dword [ebp - 0x264]
mov eax, dword [ebp - 0x268]
push esi
mov byte [ebp - 4], 0x2c
mov dword [ebp - 0x2ac], eax
call fcn.00449977
add esp, 4
test eax, eax
je 0x41ff62
push eax
call fcn.00449a0a
add esp, 4
push esi
call fcn.004498bb
push dword [ebp - 0x2ac]
call fcn.0044ac29
add esp, 8
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x2d
call fcn.0042c100
cmp dword [ebp - 0x2b4], 0
je 0x41fdfd
call fcn.0046d0d3
call fcn.0046d0d3
call fcn.0046d0d3
int3