Function at 0x40a780
Capabilities:
Check os version
Create process on windows
Enumerate process modules
Get file version info
Get memory capacity
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa80
mov eax, dword [0x448010]
mov ebx, ecx
xor eax, ebp
mov dword [esp + 0xa78], eax
push 0x24
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov edi, eax
lea esi, [esp + 0x650]
mov dword [eax], 0x43e318
mov word [eax + 4], 0
mov dword [eax + 0x1c], 7
mov dword [eax + 0x18], 0
mov word [eax + 8], 0
mov dword [eax + 0x20], 0
push 0x20a
push 0
push esi
call sub.ntdll.dll_memset
add esp, 0xc
push 0x105
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wtmpnam_s]
add esp, 8
test eax, eax
je 0x40a824
mov byte [edi + 4], 1
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 8]
xor ebx, ebx
mov ecx, dword [esp + 0xa78]
xor ecx, ebp
call fcn.0043c380
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, edi
mov dword [esp + 0xc], ebx
add ecx, 8
push esi
call fcn.0040a530
push 0
push 0x100
push 1
push 0
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov eax, dword [edi + 0x20]
lea ecx, [eax + 1]
cmp ecx, 2
jb 0x40a860
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0xffffffff
mov dword [edi + 0x20], ebx
je 0x40a7fd
cmp byte [edi + 4], 0
jne 0x40a801
lea eax, [esp + 0x138]
lea ecx, [esp + 0x14c]
mov dword [esp + 0x128], edi
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 8
mov ebx, esp
mov dword [esp + 0x12c], eax
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 8
mov dword [esp + 0x140], ecx
lea ecx, [esp + 0x128]
mov dword [esp + 0x154], 0
call fcn.0040c450
mov esp, ebx
lea edi, [esp + 0x118]
push edi
call dword [sym.imp.RPCRT4.dll_UuidCreate]
test eax, eax
jne 0x40a94f
xorps xmm0, xmm0
mov dword [esp + 0x104], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x10a], 0
mov dword [esp + 0x106], 0
lea eax, [esp + 0xc0]
movaps xmmword [esp + 0xf0], xmm0
movaps xmmword [esp + 0xe0], xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
push 0x27
push eax
push edi
call dword [sym.imp.ole32.dll_StringFromGUID2]
cmp eax, 0x27
je 0x40a9af
xor ebx, ebx
mov eax, dword [esp + 0x140]
lea ecx, [esp + 0x14c]
cmp eax, ecx
je 0x40a96d
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [esp + 0x12c]
lea ecx, [esp + 0x138]
cmp eax, ecx
je 0x40a989
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ecx, dword [esp + 0x128]
mov dword [esp + 0x128], 0
test ecx, ecx
je 0x40a80c
mov eax, dword [ecx]
push 1
call dword [eax + 8]
jmp 0x40a80c
mov ecx, 7
lea eax, [esp + 0xc2]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], ecx
mov word [esp + 0xa8], 0
sub esp, 0xc
mov cl, byte [esp + 0x65c]
lea edi, [esp + 0xb4]
mov byte [esp + 4], cl
mov ecx, edi
mov dword [esp + 8], eax
mov dword [esp], 0x24
call fcn.0040a5c0
lea ebx, [esp + 0x128]
mov ecx, ebx
call fcn.0040caf0
mov ecx, dword [esp + 0x128]
mov eax, dword [ecx]
push 0x43ff5b
call dword [eax + 4]
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x154]
mov byte [eax + ecx], 1
inc dword [esp + 0x154]
mov ecx, ebx
call fcn.0040c450
mov eax, dword [esp + 0x140]
mov ecx, dword [esp + 0x154]
mov edx, str.type
mov byte [eax + ecx], 0
mov ecx, ebx
push str.launcher_process_failure
call fcn.0040c600
sub esp, 0xc
mov dword [esp], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
call fcn.0040cdc0
add esp, 0x10
test eax, eax
jle 0x40aac0
lea ecx, [esp + 0x128]
mov ebx, eax
call fcn.0040caf0
lea ecx, [esp + 0x128]
mov edx, 0x4406e7
call fcn.0040cb80
mov ecx, dword [esp + 0x128]
mov eax, dword [ecx]
push ebx
push esi
call dword [eax]
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x154]
mov byte [eax + ecx], 1
mov eax, dword [esp + 0xb8]
cmp dword [esp + 0xbc], 7
jbe 0x40aad8
mov edi, dword [esp + 0xa8]
lea ecx, [esp + 0x5c]
mov edx, edi
push eax
call fcn.0040c8f0
add esp, 4
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x40ab04
lea ecx, [esp + 0x128]
mov edx, 0x440e0b
push eax
call fcn.0040c600
add esp, 4
lea edi, [esp + 0x50]
push edi
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
lea eax, [esp + 0x84]
push edi
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__gmtime64_s]
add esp, 8
test eax, eax
jne 0x40ab6d
xorps xmm0, xmm0
lea eax, [esp + 0x84]
movaps xmmword [esp + 0x660], xmm0
movaps xmmword [esp + 0x650], xmm0
push eax
push str._FT_T.000Z
push 0x20
push esi
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
add esp, 0x10
test eax, eax
je 0x40ab6d
lea ecx, [esp + 0x128]
mov edx, str.creationDate
push esi
call fcn.0040c600
add esp, 4
lea ecx, [esp + 0x128]
mov edx, str.update_channel
push str.release
call fcn.0040c600
add esp, 4
mov eax, dword [0x448758]
test eax, eax
je 0x40abbf
lea edi, [esp + 0x128]
mov edx, str.build_id
mov ecx, edi
push dword [eax + 0x10]
call fcn.0040c600
add esp, 4
mov eax, dword [0x448758]
mov ecx, edi
mov edx, str.build_version
push dword [eax + 0xc]
call fcn.0040c600
add esp, 4
lea eax, [esp + 0x270]
push 0x118
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [esp + 0x26c]
mov dword [esp + 0x26c], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40ad87
lea edi, [esp + 0x650]
mov ecx, edi
push 1
push 2
call fcn.0040c670
mov ebx, 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, edi
push dword [esp + 0x270]
call ebx
push 0x441a84
push eax
call fcn.0040c730
add esp, 8
mov ecx, eax
push dword [esp + 0x274]
call ebx
push 0x441a84
push eax
call fcn.0040c730
add esp, 8
mov ecx, eax
push dword [esp + 0x278]
call ebx
cmp dword [esp + 0x270], 0xa
jne 0x40acb8
cmp dword [esp + 0x274], 0
jne 0x40acb8
lea eax, [esp + 0x1c0]
mov dword [esp + 0x1c0], 4
lea ecx, [esp + 0x450]
push eax
push ecx
push 0
push 0x10018
push 0x442f96
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x40acb8
push 0x441a84
push edi
call fcn.0040c730
add esp, 8
mov ecx, eax
push dword [esp + 0x450]
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 eax, dword [esp + 0x650]
add edi, dword [eax + 4]
mov ecx, edi
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::fail_void_const]
test al, al
je 0x40b59f
mov al, byte [esp + 0x386]
xor ebx, ebx
lea ecx, [esp + 0x128]
mov edi, str.false
or al, 1
cmp al, 3
mov eax, str.true
sete bl
cmove edi, eax
xor ebx, 5
call fcn.0040caf0
lea ecx, [esp + 0x128]
mov edx, str.server_os
call fcn.0040cb80
mov ecx, dword [esp + 0x128]
mov eax, dword [ecx]
push ebx
push edi
call dword [eax]
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x154]
lea ebx, [esp + 0x654]
lea edi, [esp + 0x6a0]
mov byte [eax + ecx], 1
mov eax, dword [esp + 0x650]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x650], 0x43e32c
mov eax, dword [esp + 0x650]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x50]
mov dword [esp + eax + 0x64c], ecx
mov ecx, ebx
mov dword [esp + 0x654], 0x43e340
call fcn.0040d480
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, edi
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::ios_base::destructor_void_]
xorps xmm0, xmm0
lea eax, [esp + 0x1c0]
mov dword [esp + 0x264], 0
mov dword [esp + 0x260], 0
mov word [esp + 0x268], 0
movaps xmmword [esp + 0x250], xmm0
movaps xmmword [esp + 0x240], xmm0
movaps xmmword [esp + 0x230], xmm0
movaps xmmword [esp + 0x220], xmm0
movaps xmmword [esp + 0x210], xmm0
movaps xmmword [esp + 0x200], xmm0
movaps xmmword [esp + 0x1f0], xmm0
movaps xmmword [esp + 0x1e0], xmm0
movaps xmmword [esp + 0x1d0], xmm0
movaps xmmword [esp + 0x1c0], xmm0
push 0x55
push eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLocaleName]
test eax, eax
jne 0x40b56c
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [esp + 0x2c]
sub esp, 0x10
mov dword [esp + 8], eax
mov dword [esp], esi
mov dword [esp + 0xc], 0
call fcn.0040cdc0
add esp, 0x10
test eax, eax
jle 0x40ae7b
lea ebx, [esp + 0x128]
mov edi, eax
mov ecx, ebx
call fcn.0040caf0
mov ecx, ebx
mov edx, str.cpu_arch
call fcn.0040cb80
mov ecx, dword [esp + 0x128]
mov eax, dword [ecx]
push edi
push esi
call dword [eax]
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x154]
mov byte [eax + ecx], 1
mov eax, dword [esp + 0x40]
sub esp, 0x10
mov dword [esp + 8], eax
mov dword [esp], esi
mov dword [esp + 0xc], 0
call fcn.0040cdc0
add esp, 0x10
test eax, eax
jle 0x40aed8
lea ebx, [esp + 0x128]
mov edi, eax
mov ecx, ebx
call fcn.0040caf0
mov ecx, ebx
mov edx, str.num_logical_cpus
call fcn.0040cb80
mov ecx, dword [esp + 0x128]
mov eax, dword [ecx]
push edi
push esi
call dword [eax]
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x154]
mov byte [eax + ecx], 1
lea ecx, [esp + 0x1b0]
call fcn.00407430
cmp byte [esp + 0x1bc], 0
jne 0x40af48
movzx eax, byte [esp + 0x1b0]
mov ecx, str.true
mov ebx, str.false
mov edi, 5
test eax, eax
cmovne ebx, ecx
lea ecx, [esp + 0x128]
sub edi, eax
call fcn.0040caf0
lea ecx, [esp + 0x128]
mov edx, str.is_admin_without_uac
call fcn.0040cb80
mov ecx, dword [esp + 0x128]
mov eax, dword [ecx]
push edi
push ebx
call dword [eax]
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x154]
mov byte [eax + ecx], 1
xorps xmm0, xmm0
lea eax, [esp + 0x170]
movaps xmmword [esp + 0x170], xmm0
movaps xmmword [esp + 0x1a0], xmm0
movaps xmmword [esp + 0x190], xmm0
movaps xmmword [esp + 0x180], xmm0
mov dword [esp + 0x170], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x40b144
lea ecx, [esp + 0x128]
mov edx, str.memory
push 0
push 0x43ff5b
call fcn.0040ca90
add esp, 8
mov eax, dword [esp + 0x178]
mov ecx, dword [esp + 0x17c]
sub esp, 0x10
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.0040cdc0
add esp, 0x10
test eax, eax
jle 0x40b00a
lea ebx, [esp + 0x128]
mov edi, eax
mov ecx, ebx
call fcn.0040caf0
mov ecx, ebx
mov edx, str.total_phys
call fcn.0040cb80
mov ecx, dword [esp + 0x128]
mov eax, dword [ecx]
push edi
push esi
call dword [eax]
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x154]
mov byte [eax + ecx], 1
mov eax, dword [esp + 0x180]
mov ecx, dword [esp + 0x184]
sub esp, 0x10
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.0040cdc0
add esp, 0x10
test eax, eax
jle 0x40b06d
lea ebx, [esp + 0x128]
mov edi, eax
mov ecx, ebx
call fcn.0040caf0
mov ecx, ebx
mov edx, str.avail_phys
call fcn.0040cb80
mov ecx, dword [esp + 0x128]
mov eax, dword [ecx]
push edi
push esi
call dword [eax]
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x154]
mov byte [eax + ecx], 1
mov eax, dword [esp + 0x190]
mov ecx, dword [esp + 0x194]
sub esp, 0x10
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.0040cdc0
add esp, 0x10
test eax, eax
jle 0x40b0d0
lea ebx, [esp + 0x128]
mov edi, eax
mov ecx, ebx
call fcn.0040caf0
mov ecx, ebx
mov edx, str.avail_page_file
call fcn.0040cb80
mov ecx, dword [esp + 0x128]
mov eax, dword [ecx]
push edi
push esi
call dword [eax]
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x154]
mov byte [eax + ecx], 1
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x1a4]
sub esp, 0x10
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.0040cdc0
add esp, 0x10
test eax, eax
jle 0x40b133
lea ebx, [esp + 0x128]
mov edi, eax
mov ecx, ebx
call fcn.0040caf0
mov ecx, ebx
mov edx, str.avail_virt
call fcn.0040cb80
mov ecx, dword [esp + 0x128]
mov eax, dword [ecx]
push edi
push esi
call dword [eax]
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x154]
mov byte [eax + ecx], 1
lea ecx, [esp + 0x128]
mov edx, 0x43ff59
call fcn.0040d750
lea edi, [esp + 0x128]
mov edx, str.xpcom_abi
mov ecx, edi
push str.x86_msvc
call fcn.0040c600
add esp, 4
mov ecx, edi
mov edx, str.launcher_error
push 1
push 0x43ff5b
call fcn.0040ca90
add esp, 8
mov eax, dword [esp + 0xc]
lea edi, [esp + 0x158]
mov ecx, edi
mov eax, dword [eax]
mov dword [esp + 0x16c], 0xf
mov dword [esp + 0x168], 0
mov byte [esp + 0x158], 0
push eax
call fcn.0040d7a0
mov ecx, edi
call fcn.0040c9a0
cmp eax, 0xffffffff
je 0x40b22a
mov ecx, 0xf
inc eax
mov dword [esp + 0x660], 0
mov dword [esp + 0x664], ecx
lea ecx, [esp + 0x650]
mov byte [esp + 0x650], 0
push 0xffffffffffffffff
push eax
push edi
call fcn.0040d820
mov ecx, dword [esp + 0x16c]
cmp ecx, 0x10
jae 0x40b8e7
movsd xmm0, qword [esp + 0x660]
movsd xmm2, qword [esp + 0x650]
movsd xmm1, qword [esp + 0x658]
movsd qword [esp + 0x168], xmm0
movsd qword [esp + 0x160], xmm1
movsd qword [esp + 0x158], xmm2
cmp dword [esp + 0x16c], 0xf
jbe 0x40b23b
mov edi, dword [esp + 0x158]
lea ecx, [esp + 0x128]
mov edx, str.source_file
push edi
call fcn.0040c600
add esp, 4
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
mov ecx, eax
sar ecx, 0x1f
sub esp, 0x10
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.0040cdc0
add esp, 0x10
test eax, eax
jle 0x40b2b1
lea ebx, [esp + 0x128]
mov edi, eax
mov ecx, ebx
call fcn.0040caf0
mov ecx, ebx
mov edx, str.source_line
call fcn.0040cb80
mov ecx, dword [esp + 0x128]
mov eax, dword [ecx]
push edi
push esi
call dword [eax]
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x154]
mov byte [eax + ecx], 1
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
mov ecx, eax
sar ecx, 0x1f
sub esp, 0x10
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.0040cdc0
add esp, 0x10
test eax, eax
jle 0x40b312
lea ebx, [esp + 0x128]
mov edi, eax
mov ecx, ebx
call fcn.0040caf0
mov ecx, ebx
mov edx, str.hresult
call fcn.0040cb80
mov ecx, dword [esp + 0x128]
mov eax, dword [ecx]
push edi
push esi
call dword [eax]
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x154]
mov byte [eax + ecx], 1
lea ecx, [esp + 0x128]
mov edx, 0x43ff59
call fcn.0040d750
mov eax, dword [0x448750]
cmp eax, 0x601ffff
ja 0x40b3cc
mov eax, dword [0x448038]
cmp eax, 0x6020001
jb 0x40b915
lea eax, [esp + 0x65c]
push 0x90
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov edi, dword [sym.imp.ntdll.dll_VerSetConditionMask]
mov dword [esp + 0x650], 0x9c
mov dword [esp + 0x654], 6
mov dword [esp + 0x658], 2
mov dword [esp + 0x6e4], 0
push 3
push 2
push 0
push 0
call edi
push 3
push 1
push edx
push eax
call edi
push 3
push 0x20
push edx
push eax
call edi
push 3
push 0x10
push edx
push eax
call edi
push edx
push eax
push 0x33
push esi
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
test eax, eax
je 0x40b90a
mov eax, 0x6020000
xchg dword [0x448750], eax
mov dword [esp + 0x3a0], 0x800401f0
mov dword [esp + 0x3a4], 0
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
mov dword [esp + 0x3a8], eax
je 0x40b65e
mov dword [esp + 0x3a0], eax
mov bl, 1
test eax, eax
jns 0x40b676
cmp dword [esp + 0x3a8], 0
js 0x40b41c
call dword [sym.imp.ole32.dll_CoUninitialize]
test bl, bl
jne 0x40b915
xor ebx, ebx
mov ecx, dword [esp + 0x16c]
cmp ecx, 0x10
jae 0x40b63b
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x5c], 0
test eax, eax
je 0x40b450
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
test bl, bl
je 0x40b559
mov ebx, dword [esp + 0x128]
cmp byte [ebx + 4], 0
jne 0x40b559
lea ecx, [esp + 0x2c]
call fcn.0040a430
lea edi, [esp + 0x450]
mov word [esp + 0x88], 0
mov dword [esp + 0x84], 0
push 0x200
push 0
push edi
call sub.ntdll.dll_memset
add esp, 0xc
mov ecx, dword [esp + 0x2c]
push 0
push 0
push 0
push 0
push 0x100
push edi
push 3
lea eax, [esp + 0xa0]
push eax
mov dword [esp + 0x2c], ecx
push ecx
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
add esp, 0x24
test eax, eax
jne 0x40bbd0
push 0x20a
push 0
push esi
call sub.ntdll.dll_memset
add esp, 0xc
push 0x442dac
push str.pingsender
push edi
lea eax, [esp + 0x90]
push eax
push 0x105
push esi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmakepath_s]
add esp, 0x18
test eax, eax
jne 0x40bbd0
push 0x10e
push 0
lea eax, [esp + 0x274]
mov edi, eax
push eax
call sub.ntdll.dll_memset
add esp, 0xc
push 0x43e250
push 0x87
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
test eax, eax
jne 0x40bbd0
cmp dword [esp + 0xbc], 7
jbe 0x40ba60
mov eax, dword [esp + 0xa8]
jmp 0x40ba67
xor ebx, ebx
lea ecx, [esp + 0xa8]
call fcn.0040dd20
jmp 0x40a951
dec eax
lea ecx, [esp + 0x650]
lea edx, [esp + 0x1c0]
push eax
call fcn.0040c8f0
add esp, 4
mov edi, dword [esp + 0x650]
test edi, edi
jne 0x40b60c
mov dword [esp + 0x650], 0
jmp 0x40ae12
lea edi, [esp + 0x450]
lea ecx, [esp + 0x654]
push edi
call fcn.0040d5e0
cmp dword [esp + 0x464], 0xf
jbe 0x40b5c4
mov edi, dword [esp + 0x450]
lea ecx, [esp + 0x128]
mov edx, str.os_version
push edi
call fcn.0040c600
add esp, 4
mov ecx, dword [esp + 0x464]
cmp ecx, 0x10
jb 0x40acd2
mov eax, dword [esp + 0x450]
inc ecx
cmp ecx, 0x1000
jae 0x40c2c0
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x40acd2
lea ecx, [esp + 0x128]
mov edx, str.os_locale
push edi
call fcn.0040c600
add esp, 4
mov dword [esp + 0x650], 0
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x40ae12
mov eax, dword [esp + 0x158]
inc ecx
cmp ecx, 0x1000
jae 0x40c298
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x40b436
lea ecx, [esp + 0x3a0]
call fcn.00406010
mov eax, dword [esp + 0x3a0]
jmp 0x40b402
lea ecx, [esp + 0x128]
mov edx, str.security
push 0
push 0x43ff5b
call fcn.0040ca90
add esp, 8
movsd xmm1, qword [0x43e37c]
movsd xmm0, qword [0x43e384]
movsd xmm2, qword [0x43e394]
xor edi, edi
movsd qword [esp + 0x650], xmm1
movsd xmm1, qword [0x43e38c]
movsd qword [esp + 0x658], xmm0
movsd qword [esp + 0x458], xmm2
movsd qword [esp + 0x450], xmm1
lea eax, [esp + 0x68]
mov dword [esp + 0x68], 0
push eax
lea eax, [esp + 0x454]
push eax
push 1
push 0
push esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, 1
test eax, eax
js 0x40b715
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
push dword [edi*8 + 0x43e39c]
push eax
call dword [ecx + 0x1c]
test eax, eax
jns 0x40b736
mov eax, dword [esp + 0x68]
test eax, eax
je 0x40b723
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebx, ebx
jne 0x40ba4b
inc edi
cmp edi, 3
jne 0x40b6d7
jmp 0x40b8c1
mov edx, dword [edi*8 + 0x43e3a0]
lea ecx, [esp + 0x128]
push 0
push 0x4412b2
call fcn.0040ca90
add esp, 8
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x438]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
js 0x40b715
mov eax, dword [esp + 0x438]
mov ecx, 0x3e8
cmp eax, 0x3e9
cmovl ecx, eax
test eax, eax
mov dword [esp + 0x438], ecx
jle 0x40b8a9
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x68]
mov dword [esp + 0x388], 0
lea edx, [esp + 0x388]
mov ecx, dword [eax]
push edx
push dword [esp + 0x14]
push eax
call dword [ecx + 0x24]
test eax, eax
js 0x40b871
mov eax, dword [esp + 0x388]
lea edx, [esp + 0x78]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
js 0x40b871
mov eax, dword [esp + 0x78]
mov ebx, 4
dec eax
cmp eax, 3
jb 0x40b876
mov ebx, dword [esp + 0x388]
push 0xc
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov dword [eax + 4], 0
mov dword [eax + 8], 1
mov dword [eax], 0
mov dword [esp + 8], eax
mov ecx, dword [ebx]
push eax
push ebx
call dword [ecx + 0x1c]
mov ebx, 1
test eax, eax
jns 0x40bc45
mov eax, dword [esp + 8]
lock dec dword [eax + 8]
jne 0x40b876
mov eax, dword [esp + 8]
mov eax, dword [eax]
test eax, eax
je 0x40b84d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 8]
mov dword [eax], 0
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x40b862
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
push dword [esp + 8]
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x40b876
mov ebx, 1
mov eax, dword [esp + 0x388]
test eax, eax
je 0x40b887
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or ebx, 4
cmp ebx, 4
jne 0x40bc3b
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x438]
mov dword [esp + 0x10], eax
jl 0x40b794
lea ecx, [esp + 0x128]
mov edx, 0x4412b0
call fcn.0040d750
xor ebx, ebx
jmp 0x40b715
lea ecx, [esp + 0x128]
mov edx, 0x43ff59
call fcn.0040d750
mov bl, 1
cmp dword [esp + 0x3a8], 0
jns 0x40b416
jmp 0x40b41c
mov eax, dword [esp + 0x158]
inc ecx
cmp ecx, 0x1000
jae 0x40c2ac
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x40b1f4
mov eax, 0x6020000
xchg dword [0x448038], eax
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 0xc]
cmp edi, 0xffffffff
je 0x40b969
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x78], 0x18
lea eax, [esp + 0x654]
push 0x424
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [esp + 0x650], 0x428
push esi
push edi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x40b981
lea ecx, [esp + 0x128]
mov edx, 0x441c8b
call fcn.0040d750
mov bl, 1
jmp 0x40b426
lea eax, [esp + 0x6c]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x6c], 0x43e3c0
push eax
call dword [sym.imp.mozglue.dll_void___cdecl_DllBlocklist_SetBasicDllServices_class_mozilla::glue::detail::DllServicesBase__]
add esp, 4
lea ecx, [esp + 0x128]
mov edx, str.modules
push 0
push 0x43ff5b
call fcn.0040ca90
add esp, 8
xor edi, edi
lea ebx, [esp + 0x450]
push 0x200
push 0
push ebx
call sub.ntdll.dll_memset
add esp, 0xc
push 0
push 0
push 0x100
push ebx
push 0
push 0
push 0
push 0
lea eax, [esp + 0x890]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
add esp, 0x24
test eax, eax
jne 0x40ba19
push 0x100
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
add esp, 8
test eax, eax
je 0x40bcba
xor ebx, ebx
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
test eax, eax
jg 0x40bc8e
cmp edi, 0x18
je 0x40bbf7
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
test bl, bl
je 0x40b424
jmp 0x40b969
xor ebx, ebx
cmp dword [esp + 0x3a8], 0
jns 0x40b416
jmp 0x40b41c
lea eax, [esp + 0xa8]
push eax
push 0x87
lea eax, [esp + 0x274]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
test eax, eax
jne 0x40bbd0
lea ecx, [esp + 0x26c]
mov dword [esp + 0x170], esi
lea eax, [ebx + 8]
mov dword [esp + 0x174], ecx
cmp dword [ebx + 0x1c], 8
jb 0x40baa6
mov eax, dword [eax]
mov dword [esp + 0x178], eax
lea eax, [esp + 0x170]
lea ecx, [esp + 0x438]
mov edx, 3
push eax
call fcn.00403190
add esp, 4
mov edi, dword [esp + 0x438]
lea eax, [esp + 0x3a0]
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1c4], 0
mov dword [esp + 0x1d0], 0
mov dword [esp + 0x1cc], 0
mov dword [esp + 0x1d8], 0
mov dword [esp + 0x1d4], 0
mov dword [esp + 0x1e0], 0
mov dword [esp + 0x1dc], 0
mov dword [esp + 0x1e8], 0
mov dword [esp + 0x1e4], 0
mov dword [esp + 0x1f0], 0
mov dword [esp + 0x1f8], 0
mov dword [esp + 0x1f4], 0
mov dword [esp + 0x200], 0
mov dword [esp + 0x1fc], 0
mov dword [esp + 0x1c0], 0x44
mov dword [esp + 0x1ec], 1
push eax
lea eax, [esp + 0x1c4]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40bc04
xor ebx, ebx
test edi, edi
mov dword [esp + 0x438], 0
je 0x40bbd2
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x40bbd2
xor ebx, ebx
cmp dword [esp + 0xc], 0
mov dword [esp + 0x2c], 0
je 0x40b55b
push dword [esp + 0xc]
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x40b55b
test bl, bl
je 0x40b424
jmp 0x40b969
mov byte [ebx + 5], 1
mov eax, dword [esp + 0x3a4]
mov esi, dword [esp + 0x3a0]
lea ecx, [eax + 1]
cmp ecx, 2
jb 0x40bc25
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 1]
mov bl, 1
cmp eax, 2
jb 0x40bbb5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40bbb5
mov ebx, 1
jmp 0x40b715
mov eax, dword [esp + 8]
xor edx, edx
mov ecx, dword [eax]
mov eax, 0
test ecx, ecx
je 0x40bc63
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
lea ecx, [esp + 0x6c]
push eax
call fcn.0040c8f0
add esp, 4
mov ecx, dword [esp + 0x6c]
test ecx, ecx
jne 0x40c01d
mov dword [esp + 0x6c], 0
mov ebx, 1
jmp 0x40b828
lea eax, [eax + eax*2]
lea eax, [edi + eax*8]
mov dword [esp + 0x10], eax
mov eax, edi
mov ecx, eax
mov dword [esp + 0xc], eax
call fcn.0040dd20
mov ecx, dword [esp + 0xc]
add ecx, 0x18
cmp ecx, dword [esp + 0x10]
mov eax, ecx
jae 0x40ba2b
jmp 0x40bc9a
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
lea ecx, [esp + 0x68]
mov edx, ebx
push eax
call fcn.0040c8f0
add esp, 4
mov eax, dword [esp + 0x68]
test eax, eax
mov dword [esp + 0x10], eax
je 0x40ba19
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x128]
push 0
push 0x4412b2
call fcn.0040ca90
add esp, 8
mov eax, 0xf
mov dword [esp + 0x448], 0
mov dword [esp + 0x44c], eax
mov byte [esp + 0x438], 0
push 0
lea eax, [esp + 0x874]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x40bed5
mov dword [esp + 0x18], eax
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov dword [esp + 8], eax
push dword [esp + 0x18]
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
push dword [esp + 8]
push dword [esp + 0x1c]
push 0
lea eax, [esp + 0x87c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40bec8
lea eax, [esp + 0x60]
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
push eax
lea eax, [esp + 0x68]
push eax
push 0x442e84
push dword [esp + 0x14]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40bec8
lea eax, [esp + 0x3a0]
mov ecx, eax
push 1
push 2
call fcn.0040c670
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x3a0]
movzx eax, word [eax + 0xa]
push 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_short_int_]
mov ecx, eax
call fcn.0040d8c0
mov ecx, dword [esp + 0x64]
movzx edx, word [ecx + 8]
mov ecx, eax
push edx
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_short_int_]
mov ecx, eax
call fcn.0040d8c0
mov ecx, dword [esp + 0x64]
movzx edx, word [ecx + 0xe]
mov ecx, eax
push edx
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_short_int_]
mov ecx, eax
call fcn.0040d8c0
mov ecx, dword [esp + 0x64]
movzx edx, word [ecx + 0xc]
mov ecx, eax
push edx
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_short_int_]
lea ecx, [esp + 0x3a4]
lea eax, [esp + 0x388]
push eax
call fcn.0040d5e0
mov ecx, dword [esp + 0x44c]
cmp ecx, 0x10
jae 0x40c279
movsd xmm0, qword [esp + 0x398]
movsd xmm2, qword [esp + 0x388]
movsd xmm1, qword [esp + 0x390]
mov eax, dword [esp + 0x3a0]
movsd qword [esp + 0x448], xmm0
movsd qword [esp + 0x440], xmm1
movsd qword [esp + 0x438], xmm2
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x3a0], 0x43e32c
mov eax, dword [esp + 0x3a0]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x50]
mov dword [esp + eax + 0x39c], ecx
lea ecx, [esp + 0x3a4]
mov dword [esp + 0x3a4], 0x43e340
mov ecx, ecx
call fcn.0040d480
lea ecx, [esp + 0x3a4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [esp + 0x3f0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::ios_base::destructor_void_]
push dword [esp + 8]
call dword [sym.imp.mozglue.dll_free]
add esp, 4
cmp dword [esp + 0x44c], 0xf
lea eax, [esp + 0x438]
jbe 0x40beed
mov eax, dword [esp + 0x438]
lea ecx, [esp + 0x128]
xor edx, edx
push eax
call fcn.0040c600
add esp, 4
mov ecx, dword [esp + 0x70]
test ecx, ecx
jne 0x40c051
mov dword [esp + 0x388], 0
lea ecx, [esp + 0x128]
mov edx, 0x4412b0
call fcn.0040d750
mov eax, dword [esp + 0x388]
mov dword [esp + 0x388], 0
test eax, eax
je 0x40bf47
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ecx, dword [esp + 0x44c]
cmp ecx, 0x10
jae 0x40c1b4
push dword [esp + 0x10]
call dword [sym.imp.mozglue.dll_free]
add esp, 4
cmp edi, 0x3e7
je 0x40bf82
inc edi
push esi
mov eax, dword [esp + 0x10]
push dword [eax + 0xc]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x40b9cb
lea edi, [esp + 0x128]
mov edx, 0x43ff59
mov ecx, edi
call fcn.0040d750
mov ecx, edi
mov edx, str.signatures
push 0
push 0x4412b2
call fcn.0040ca90
add esp, 8
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x40c19c
mov edi, dword [esp + 0x78]
shl eax, 3
lea ebx, [eax + eax*2]
mov eax, dword [edi + 0x10]
cmp dword [edi + 0x14], 7
mov edx, edi
jbe 0x40bfce
mov edx, dword [edi]
lea ecx, [esp + 0x450]
push eax
call fcn.0040c8f0
add esp, 4
mov ecx, dword [esp + 0x450]
test ecx, ecx
jne 0x40bff6
add edi, 0x18
add ebx, 0xffffffe8
jne 0x40bfc1
jmp 0x40c19c
mov eax, ecx
lea ecx, [esp + 0x128]
xor edx, edx
mov dword [esp + 0xc], eax
push eax
call fcn.0040c600
add esp, 4
push dword [esp + 0xc]
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x40bfe9
mov eax, ecx
xor ebx, ebx
lea ecx, [esp + 0x128]
xor edx, edx
mov dword [esp + 0x18], eax
push eax
call fcn.0040c600
add esp, 4
mov dword [esp + 0x6c], 0
push dword [esp + 0x18]
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x40b828
mov eax, dword [ecx]
push 0
lea edx, [esp + 0x874]
push edx
lea edx, [esp + 0x390]
push edx
call dword [eax]
mov eax, dword [esp + 0x388]
test eax, eax
je 0x40bf16
mov ecx, 7
mov dword [esp + 0x3b0], 0
mov dword [esp + 0x3b4], ecx
mov word [esp + 0x3a0], 0
lea ecx, [esp + 0x3a0]
push eax
call fcn.0040a530
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
test ecx, ecx
mov dword [esp + 0x20], eax
mov eax, ecx
mov dword [esp + 0x1c], ecx
je 0x40c1d7
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3b0]
cmp dword [esp + 0x3b4], 7
lea edx, [esp + 0x3a0]
mov dword [esp + 0x24], edx
lea eax, [eax + eax*2]
mov dword [esp + 8], ecx
jbe 0x40c0f0
mov ecx, dword [esp + 0x3a0]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x20]
lea eax, [ecx + eax*8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], eax
jmp 0x40c116
mov eax, dword [esp + 0x14]
add eax, 0x18
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
je 0x40c1d7
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
cmp dword [eax + 0x10], ecx
jne 0x40c101
cmp dword [esp + 8], 0
je 0x40c15d
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x14], 7
mov dword [esp + 0x18], edx
jbe 0x40c142
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
movzx eax, word [eax + ecx*2]
cmp ax, word [edx + ecx*2]
jne 0x40c101
inc ecx
cmp dword [esp + 8], ecx
jne 0x40c144
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x3a0]
sub eax, dword [esp + 0x20]
sar eax, 3
imul eax, eax, 0xaaaaaaab
mov dword [esp + 8], eax
call fcn.0040dd20
mov edx, dword [esp + 8]
lea ecx, [esp + 0x128]
mov eax, edx
sar eax, 0x1f
push eax
call fcn.0040da70
add esp, 4
jmp 0x40bf16
lea ecx, [esp + 0x128]
mov edx, 0x4412b0
call fcn.0040d750
mov bl, 1
jmp 0x40ba1b
mov eax, dword [esp + 0x438]
inc ecx
cmp ecx, 0x1000
jae 0x40c2d4
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x40bf57
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x80]
jne 0x40c1fd
lea ecx, [esp + 0x78]
call fcn.0040db00
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea eax, [eax + eax*2]
mov dword [ecx + eax*8 + 0x10], 0
mov dword [ecx + eax*8 + 0x14], 0
lea edx, [ecx + eax*8]
movsd xmm0, qword [esp + 0x3b0]
mov dword [esp + 0x14], edx
movsd qword [ecx + eax*8 + 0x10], xmm0
movsd xmm0, qword [esp + 0x3a0]
movsd xmm1, qword [esp + 0x3a8]
movsd qword [ecx + eax*8 + 8], xmm1
movsd qword [ecx + eax*8], xmm0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3b0], 0
mov dword [esp + 0x3b4], 7
mov word [esp + 0x3a0], 0
inc ecx
mov dword [esp + 0x7c], ecx
jmp 0x40c15d
mov eax, dword [esp + 0x438]
inc ecx
cmp ecx, 0x1000
jae 0x40c2e8
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x40be36
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x40c2f9
mov eax, ecx
jmp 0x40b64f
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x40c2f9
mov eax, ecx
jmp 0x40b8fb
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x40c2f9
mov eax, ecx
jmp 0x40b5fd
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x40c2f9
mov eax, ecx
jmp 0x40c1c8
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x40c2f9
mov eax, ecx
jmp 0x40c289
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3