Function at 0x1009a9a0
Capabilities:
Allocate or change rwx memory
Create thread
Encode data using xor
Execute shellcode via indirect call
Get file size
Log keystrokes via application hook
Read .ini file
Read file on windows
Spawn thread to rwx shellcode
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x410
mov eax, dword [0x1010c040]
xor eax, esp
mov dword [esp + 0x40c], eax
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.10004d30
push ecx
push 0x1051403c
push str.main.premium
lea ecx, [esp + 0x1c]
call fcn.10004e60
test al, al
je 0x1009b895
push 0
push 0x20
push 3
push 0
push 1
push connect
push str.main.premium
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1009b895
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x232bb8
jne 0x1009b88e
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0x232bb8
push 0x102e1484
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1009b88e
xor ecx, ecx
mov eax, ecx
shr eax, 8
xor al, 0x15
add al, byte [ecx + 0x102e1484]
xor al, cl
xor al, 0xda
mov byte [ecx + 0x102e1484], al
inc ecx
cmp ecx, 0x232bb8
jb 0x1009aa44
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.100161c0
call fcn.10016b00
call fcn.100988c0
call fcn.100182a0
push 0x100741e0
push 0x5b96e8
push 0xe8
call fcn.100d0e40
add esp, 0xc
mov eax, 0x1132aaf9
nop dword [eax + eax]
mov byte [eax - 1], 0
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0xffffffff
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xf], 0
add eax, 0x14
cmp eax, 0x1132f919
jl 0x1009aaa0
call fcn.10073cf0
call fcn.10081270
push 0x100c8720
push 0x5b545b
push 0xe9
call fcn.100d0e40
push fcn.100c8750
push 0x59a8b0
push 0xe9
call fcn.100d0e40
push 0x100c8cb0
push 0x59afb0
push 0xe9
call fcn.100d0e40
push 0x100c8ff0
push 0x59b3c0
push 0xe9
call fcn.100d0e40
add esp, 0x30
cmp dword [0x102e1854], 1
jne 0x1009abed
push 0x100c9230
push 0x5b6427
push 0xe8
call fcn.100d0e40
push 0x100c9230
push 0x5b646f
push 0xe8
call fcn.100d0e40
push 0x100c9230
push 0x5b6e65
push 0xe8
call fcn.100d0e40
push 0x100c9230
push 0x5b6ea2
push 0xe8
call fcn.100d0e40
push 0x100c9230
push 0x5b703a
push 0xe8
call fcn.100d0e40
push 0x100c9230
push 0x5b7214
push 0xe8
call fcn.100d0e40
add esp, 0x48
push 0x100c9230
push 0x5b727c
push 0xe8
call fcn.100d0e40
push 0x100c9230
push 0x5b72e4
push 0xe8
call fcn.100d0e40
push 0x100c9230
push 0x5b73b1
push 0xe8
call fcn.100d0e40
add esp, 0x24
push 0x10083210
push 0x58e650
push 0xe9
call fcn.100d0e40
push 0x10083260
push 0x8386b5
push 0xe9
call fcn.100d0e40
push 0x100832c0
push 0x7dc068
push 0xe9
call fcn.100d0e40
push 0x10083330
push 0x5c4025
push 0xe9
call fcn.100d0e40
push 0x10083360
push 0x5f7c3b
push 0xe9
call fcn.100d0e40
push 0x10083390
push 0x64b701
push 0xe9
call fcn.100d0e40
add esp, 0x48
push 0x100833c0
push 0x8383a0
push 0xe9
call fcn.100d0e40
push 0x10083440
push 0x5f3f7e
push 0xe9
call fcn.100d0e40
push 0x10083480
push 0x5f4a60
push 0xe9
call fcn.100d0e40
add esp, 0x24
call fcn.100beaf0
cmp dword [0x102e16a0], 0
je 0x1009ad5f
push 0x100c7ff0
push 0x40b903
push 0xe9
call fcn.100d0e40
push 0x100c8030
push 0x4da416
push 0xe9
call fcn.100d0e40
push 0x100c8050
push 0x63a192
push 0xe9
call fcn.100d0e40
push 0x100c8090
push 0x7a89eb
push 0xe9
call fcn.100d0e40
push fcn.100c7f50
push 0x40bc24
push 0xe8
call fcn.100d0e40
push fcn.100c7f50
push 0x4d762c
push 0xe8
call fcn.100d0e40
add esp, 0x48
push fcn.100c7f50
push 0x4ef622
push 0xe8
call fcn.100d0e40
push fcn.100c7f50
push 0x63cd3a
push 0xe8
call fcn.100d0e40
add esp, 0x18
push 0x100c80c0
push 0x4d13c2
push 0xe9
call fcn.100d0e40
push 0x100c8240
push 0x4d2782
push 0xe9
call fcn.100d0e40
push 0x100c8310
push 0x830c3a
push 0xe9
call fcn.100d0e40
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x30]
add esp, 0x24
push eax
push 0x40
push 4
push 0x7e0ed0
call esi
lea eax, [esp + 0xc]
mov dword [0x7e0ed0], 0x73
push eax
push dword [esp + 0x10]
push 4
push 0x7e0ed0
call esi
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
push 0x7e0ed7
call esi
lea eax, [esp + 0xc]
mov dword [0x7e0ed7], 0x20
push eax
push dword [esp + 0x10]
push 4
push 0x7e0ed7
call esi
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
push 0x7e0ede
call esi
lea eax, [esp + 0xc]
mov dword [0x7e0ede], 0x2a
push eax
push dword [esp + 0x10]
push 4
push 0x7e0ede
call esi
cmp dword [0x102e18d0], 1
jne 0x1009aec7
push 0x10013f70
push 0x82d1c3
push 0xe8
call fcn.100d0e40
push 0x10013f70
push 0x82d2e6
push 0xe8
call fcn.100d0e40
push 0x10013f70
push 0x82d325
push 0xe8
call fcn.100d0e40
push 0x10013f70
push 0x82d361
push 0xe8
call fcn.100d0e40
push 0x10013f70
push 0x82d39d
push 0xe8
call fcn.100d0e40
push 0x10013f90
push 0x82d4a2
push 0xe8
call fcn.100d0e40
add esp, 0x48
push 0x10013f90
push 0x82d4d1
push 0xe8
call fcn.100d0e40
add esp, 0xc
cmp dword [0x102e1780], 5
jne 0x1009b01e
lea eax, [esp + 0xc]
push eax
push 0x40
push 1
push 0x813bf4
call esi
lea eax, [esp + 0xc]
mov byte [0x813bf4], 1
push eax
push dword [esp + 0x10]
push 1
push 0x813bf4
call esi
lea eax, [esp + 0xc]
push eax
push 0x40
push 1
push 0x4ebd07
call esi
lea eax, [esp + 0xc]
mov byte [0x4ebd07], 1
push eax
push dword [esp + 0x10]
push 1
push 0x4ebd07
call esi
push 0x10012260
push 0x4d5ec3
push 0xe8
call fcn.100d0e40
push 0x10011eb0
push 0x4d9d0e
push 0xe8
call fcn.100d0e40
add esp, 0x18
lea eax, [esp + 0xc]
push eax
push 0x40
push 1
push 0x59788f
call esi
lea eax, [esp + 0xc]
mov byte [0x59788f], 0x14
push eax
push dword [esp + 0x10]
push 1
push 0x59788f
call esi
lea eax, [esp + 0xc]
push eax
push 0x40
push 1
push 0x597897
call esi
lea eax, [esp + 0xc]
mov byte [0x597897], 0xa
push eax
push dword [esp + 0x10]
push 1
push 0x597897
call esi
push 0x100121b0
push 0x588277
push 0xe9
call fcn.100d0e40
push 0x100121d0
push 0x588460
push 0xe9
call fcn.100d0e40
push 0x100121f0
push 0x588560
push 0xe9
call fcn.100d0e40
push 0x10012210
push 0x4f0356
push 0xe8
call fcn.100d0e40
push 0x100120d0
push 0x51cb60
push 0xe9
call fcn.100d0e40
push 0x10011fb0
push 0x51e440
push 0xe9
call fcn.100d0e40
add esp, 0x48
call fcn.10070a50
cmp dword [0x1054bc78], 0
mov edi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
jne 0x1009b04d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push dword [0x1054bc74]
push 0x1001c150
push 7
call edi
mov dword [0x1054bc78], eax
cmp dword [0x1054bc7c], 0
jne 0x1009b071
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push dword [0x1054bc74]
push 0x1001d880
push 2
call edi
mov dword [0x1054bc7c], eax
call fcn.10081540
push 0x100d0600
push 0x588511
push 0xe8
mov dword [0x1147944c], 0
mov byte [0x11479438], 0
mov dword [0x11479440], 0xffffffff
mov dword [0x11479448], 0xffffffff
mov dword [0x1147943c], 0xffffffff
call fcn.100d0e40
add esp, 0xc
mov ecx, 0x102bc710
call fcn.10076250
call fcn.100b30f0
lea eax, [esp + 0xc]
push eax
push 0x40
push 1
push 0x511584
call esi
lea eax, [esp + 0xc]
mov byte [0x511584], 0x6f
push eax
push dword [esp + 0x10]
push 1
push 0x511584
call esi
push 0
mov ecx, 0x114f23c8
call fcn.100a9950
call fcn.100ac6b0
call fcn.1003a9b0
xor eax, eax
mov ecx, 0x36b0
mov edi, 0x1010e054
rep stosd dword es:[edi], eax
cmp dword [0x102e181c], eax
je 0x1009b160
push 0x100147f0
push 0x5bafab
push 0xe8
call fcn.100d0e40
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0x40
push 1
push 0x842862
call esi
lea eax, [esp + 0xc]
mov byte [0x842862], 0
push eax
push dword [esp + 0x10]
push 1
push 0x842862
call esi
call fcn.100b4c50
call fcn.10002180
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10002660
push 0x10029eb0
push 0x114c984c
call fcn.10001c30
push 0x1002a0c0
push 0x114d9a0c
call fcn.10001c30
call fcn.100021f0
call fcn.10044680
cmp dword [0x102e176c], 0
je 0x1009b1be
push 0x1002a270
push 0x50d905
push 0xe8
call fcn.100d0e40
add esp, 0xc
call fcn.1004ae00
cmp dword [0x102e1774], 0
je 0x1009b330
lea eax, [esp + 0xc]
push eax
push 0x40
push 0x94a
push 0x749c90
call esi
push 0x94a
push 0x90
push 0x749c90
call fcn.100d4f20
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push 0x94a
push 0x749c90
call esi
lea eax, [esp + 0xc]
push eax
push 0x40
push 6
push 0x56595e
call esi
mov eax, 0x56595e
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push 6
push 0x56595e
call esi
lea eax, [esp + 0xc]
push eax
push 0x40
push 7
push 0x566178
call esi
mov eax, 0x566178
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push 7
push 0x566178
call esi
push 0x10021450
push 0x749c90
push 0xe9
call fcn.100d0e40
push 0x100213d0
push 0x56595e
push 0xe9
call fcn.100d0e40
push 0x10021380
push 0x566178
push 0xe9
call fcn.100d0e40
push 0x10021ac0
push 0x5914ab
push 0xe8
call fcn.100d0e40
push 0x10021ac0
push 0x5914c7
push 0xe8
call fcn.100d0e40
push 0x10021ac0
push 0x5a0652
push 0xe8
call fcn.100d0e40
add esp, 0x48
push 0x10021ac0
push 0x5a0775
push 0xe8
call fcn.100d0e40
push 0x10021ac0
push 0x5b6cf4
push 0xe8
call fcn.100d0e40
push 0x10021ac0
push 0x7e05a8
push 0xe8
call fcn.100d0e40
add esp, 0x24
call fcn.10023930
cmp dword [0x102e1788], 0
je 0x1009b355
push 0x10033fb0
push 0x7dd0d9
push 0xe8
call fcn.100d0e40
add esp, 0xc
cmp dword [0x102e1988], 0
je 0x1009b39d
push 0x1008bfb0
push 0x8353d0
push 0xe9
call fcn.100d0e40
push 0x1008c210
push 0x7dd4a0
push 0xe9
call fcn.100d0e40
push 0x1008c340
push 0x7d9680
push 0xe9
call fcn.100d0e40
add esp, 0x24
push fcn.1008d4e0
push 0x5d0b94
push 0xe8
call fcn.100d0e40
push 0x10093df0
push 0x7dd5e0
push 0xe9
call fcn.100d0e40
push 0x10093ee0
push 0x7dd0c9
push 0xe8
call fcn.100d0e40
push 0x10093d10
push 0x508501
push 0xe9
call fcn.100d0e40
add esp, 0x30
cmp dword [0x102e17c0], 0
je 0x1009b410
push 0x1004dc50
push 0x7dcfd0
push 0xe9
call fcn.100d0e40
add esp, 0xc
cmp dword [0x102e178c], 0
je 0x1009b480
push 0x10092af0
push 0x4e8990
push 0xe9
call fcn.100d0e40
push 0x10092c00
push 0x4e8b80
push 0xe9
call fcn.100d0e40
push 0x10092e80
push 0x4e9210
push 0xe9
call fcn.100d0e40
push 0x10092f10
push 0x4ec410
push 0xe9
call fcn.100d0e40
push 0x100932a0
push 0x4eb910
push 0xe9
call fcn.100d0e40
add esp, 0x3c
call fcn.10054d50
call fcn.100c0c80
call fcn.1003a450
call fcn.1005f490
push fcn.10033410
push 0x58b77e
push 0xe8
call fcn.100d0e40
push fcn.10033410
push 0x5c7833
push 0xe8
call fcn.100d0e40
push fcn.10033410
push 0x5c7d71
push 0xe8
call fcn.100d0e40
push fcn.10033410
push 0x5c7f1b
push 0xe8
call fcn.100d0e40
push fcn.10033410
push 0x5c80be
push 0xe8
call fcn.100d0e40
push fcn.10033410
push 0x7e22ba
push 0xe8
call fcn.100d0e40
add esp, 0x48
cmp dword [0x102e1724], 0
je 0x1009b5e5
mov eax, 0x102de188
nop dword [eax]
nop word [eax + eax]
mov dword [eax - 4], 0xffffffff
mov dword [eax], 0xffffffff
add eax, 8
cmp eax, 0x102de288
jl 0x1009b530
mov eax, 0x102ce784
nop dword [eax]
mov dword [eax], 0xffffffff
add eax, 0x20
cmp eax, 0x102de184
jl 0x1009b550
push fcn.10093870
push 0x7e44d3
push 0xff
mov dword [0x102de284], 0
mov dword [0x102de28c], 0
mov dword [0x102de288], 0
call fcn.100d0e40
push fcn.100939a0
push 0x7e452f
push 0xff
call fcn.100d0e40
push 0x10093af0
push 0x7e4497
push 0xe8
call fcn.100d0e40
push 0x10093af0
push 0x7e44ec
push 0xe8
call fcn.100d0e40
push 0x10093b50
push 0x841b5a
push 0xe8
call fcn.100d0e40
add esp, 0x3c
push 0x100b28a0
push 0x82a980
push 0xe9
call fcn.100d0e40
push 0x1003a950
push 0x82b772
push 0xe8
call fcn.100d0e40
add esp, 0x18
cmp dword [0x11473344], 2
jne 0x1009b693
push 0x100b27c0
push 0x4d6c36
push 0xe8
call fcn.100d0e40
push 0x100b27c0
push 0x4d75fa
push 0xe8
call fcn.100d0e40
push 0x100b27c0
push 0x63e195
push 0xe8
call fcn.100d0e40
push 0x100b27c0
push 0x63ecca
push 0xe8
call fcn.100d0e40
push 0x100b27c0
push 0x640c33
push 0xe8
call fcn.100d0e40
mov eax, dword [0x102e09c8]
add esp, 0x3c
mov ecx, dword [0x11479250]
lea eax, [eax + ecx*2]
mov dword [0x102e09c8], eax
call fcn.10014000
cmp dword [0x102e1880], 0
je 0x1009b703
lea eax, [esp + 0xc]
push eax
push 0x40
push 5
push 0x777c90
call esi
mov eax, 0x777c90
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push 5
push 0x777c90
call esi
lea eax, [esp + 0xc]
push eax
push 0x40
push 5
push 0x777c9a
call esi
mov eax, 0x777c9a
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push 5
push 0x777c9a
call esi
push 0x100b6a90
push 0x84bdb0
push 0xe9
call fcn.100d0e40
add esp, 0xc
cmp dword [0x102e1898], 0
je 0x1009b74e
push 0x100b7320
push 0x84bc0f
push 0xe8
call fcn.100d0e40
push 0x100b7340
push 0x84bd1d
push 0xe8
call fcn.100d0e40
add esp, 0x18
cmp dword [0x102e18a8], 0
jne 0x1009b760
cmp dword [0x102e18a4], 0
je 0x1009b7da
push 0x10098de0
push 0x40b306
push 0xe8
call fcn.100d0e40
push 0x10098eb0
push 0x40b5a9
push 0xe8
call fcn.100d0e40
add esp, 0x18
cmp dword [0x102e18a4], 1
jne 0x1009b7af
push 0x10099400
push 0x40b400
push 0xe8
call fcn.100d0e40
push 0x10099400
jmp 0x1009b7c8
push 0x10099560
push 0x40b400
push 0xe8
call fcn.100d0e40
push 0x10099560
push 0x40b44f
push 0xe8
call fcn.100d0e40
add esp, 0x18
call fcn.100b77a0
push 0x10069450
push 0x4d75b9
push 0xe8
call fcn.100d0e40
push 0x10069450
push 0x4d9b77
push 0xe8
call fcn.100d0e40
push 0x10069450
push 0x4d9c26
push 0xe8
call fcn.100d0e40
push 0x10069500
push 0x4d958d
push 0xe8
call fcn.100d0e40
add esp, 0x30
push str.._Settings.ini
push 0
push str.DiscordShowPresence
push str.Discord
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x106d84a0], eax
test eax, eax
je 0x1009b87a
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10068c70
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10068c30
push 0
push 0
call esi
mov ecx, dword [esp + 0x414]
pop edi
pop esi
xor ecx, esp
call fcn.100d2be8
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x10
push str.Error
push str.Main.premium_not_found_or_invalid_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]