Function at 0x1008b4a0
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, 0x414
mov eax, dword [0x100fa040]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push esi
push edi
lea ecx, [esp + 0x18]
call fcn.10004ad0
push ecx
push 0x104d5044
push str.main.premium
lea ecx, [esp + 0x24]
call fcn.10004c00
test al, al
je 0x1008c333
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 0x1008c333
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x20e0d0
jne 0x1008c32c
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0x20e0d0
push 0x102c6f74
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1008c32c
xor ecx, ecx
mov eax, ecx
shr eax, 8
xor al, 0x15
add al, byte [ecx + 0x102c6f74]
xor al, cl
xor al, 0xda
mov byte [ecx + 0x102c6f74], al
inc ecx
cmp ecx, 0x20e0d0
jb 0x1008b545
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.100165c0
call fcn.10016f10
call fcn.100893c0
call fcn.100181f0
push 0x10067430
push 0x5b96e8
push 0xe8
call fcn.100bed50
add esp, 0xc
mov eax, 0x10699451
nop dword [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, 0x1069e271
jl 0x1008b5a0
mov dword [esp + 0x14], 0x24
xor edi, edi
mov dword [esp + 0x10], 1
mov ebx, 2
lea ecx, [ebx + 1]
mov eax, 0xf0f0f0f1
mul ecx
mov eax, 0x102c6feb
shr edx, 4
mov ecx, edx
shl ecx, 4
add ecx, edx
sub eax, ecx
mov al, byte [eax + edi]
xor al, byte [ebx + 0x102c6f96]
movzx esi, al
mov eax, 0xf0f0f0f1
mul ebx
mov eax, 0x102c6fea
add ebx, 4
shr edx, 4
mov ecx, edx
shl ecx, 4
add ecx, edx
sub eax, ecx
mov ecx, dword [esp + 0x10]
add dword [esp + 0x10], 4
mov al, byte [eax + edi]
xor al, byte [ecx + 0x102c6f96]
movzx eax, al
add si, ax
mov eax, 0xf0f0f0f1
mul ecx
mov eax, 0x102c6fe9
shr edx, 4
mov ecx, edx
shl ecx, 4
add ecx, edx
sub eax, ecx
mov al, byte [eax + edi]
xor al, byte [edi + 0x102c6f96]
movzx eax, al
add si, ax
mov eax, 0xf0f0f0f1
mul edi
mov eax, edi
shr edx, 4
mov ecx, edx
shl ecx, 4
add ecx, edx
sub eax, ecx
mov al, byte [eax + 0x102c6fe8]
xor al, byte [edi + 0x102c6f95]
add edi, 4
movzx eax, al
add si, ax
add word [esp + 0x14], si
cmp ebx, 0x22
jb 0x1008b5e0
mov al, byte [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub al, 0x12
mov byte [0x1050caae], al
mov eax, dword [esp + 0x14]
shr eax, 8
dec al
mov byte [0x1050caad], al
mov eax, dword [0xd227b0]
mov dword [0x1069944c], eax
mov eax, dword [0xd227f8]
mov dword [0x10699448], eax
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
push 0xd227b0
call esi
lea eax, [esp + 0x10]
mov dword [0xd227b0], 0x10067190
push eax
push dword [esp + 0x14]
push 4
push 0xd227b0
call esi
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
push 0xd227f8
call esi
lea eax, [esp + 0x10]
mov dword [0xd227f8], 0x100672f0
push eax
push dword [esp + 0x14]
push 4
push 0xd227f8
call esi
call fcn.100729f0
push 0x100b6670
push 0x5b545b
push 0xe9
call fcn.100bed50
push fcn.100b66a0
push 0x59a8b0
push 0xe9
call fcn.100bed50
push 0x100b6c00
push 0x59afb0
push 0xe9
call fcn.100bed50
push 0x100b6f40
push 0x59b3c0
push 0xe9
call fcn.100bed50
add esp, 0x30
cmp dword [0x102c7340], 1
jne 0x1008b843
push 0x100b7180
push 0x5b6427
push 0xe8
call fcn.100bed50
push 0x100b7180
push 0x5b646f
push 0xe8
call fcn.100bed50
push 0x100b7180
push 0x5b6e65
push 0xe8
call fcn.100bed50
push 0x100b7180
push 0x5b6ea2
push 0xe8
call fcn.100bed50
push 0x100b7180
push 0x5b703a
push 0xe8
call fcn.100bed50
push 0x100b7180
push 0x5b7214
push 0xe8
call fcn.100bed50
add esp, 0x48
push 0x100b7180
push 0x5b727c
push 0xe8
call fcn.100bed50
push 0x100b7180
push 0x5b72e4
push 0xe8
call fcn.100bed50
push 0x100b7180
push 0x5b73b1
push 0xe8
call fcn.100bed50
add esp, 0x24
push 0x10074850
push 0x58e650
push 0xe9
call fcn.100bed50
push 0x100748a0
push 0x8386b5
push 0xe9
call fcn.100bed50
push 0x10074900
push 0x7dc068
push 0xe9
call fcn.100bed50
push 0x10074970
push 0x5c4025
push 0xe9
call fcn.100bed50
push 0x100749a0
push 0x5f7c3b
push 0xe9
call fcn.100bed50
push 0x100749d0
push 0x64b701
push 0xe9
call fcn.100bed50
add esp, 0x48
push 0x10074a00
push 0x8383a0
push 0xe9
call fcn.100bed50
push 0x10074a80
push 0x5f3f7e
push 0xe9
call fcn.100bed50
push 0x10074ac0
push 0x5f4a60
push 0xe9
call fcn.100bed50
add esp, 0x24
call fcn.100ad1e0
cmp dword [0x102c7190], 0
je 0x1008b9b5
push 0x100b5f60
push 0x40b903
push 0xe9
call fcn.100bed50
push 0x100b5fa0
push 0x4da416
push 0xe9
call fcn.100bed50
push 0x100b5fc0
push 0x63a192
push 0xe9
call fcn.100bed50
push 0x100b6000
push 0x7a89eb
push 0xe9
call fcn.100bed50
push fcn.100b5ec0
push 0x40bc24
push 0xe8
call fcn.100bed50
push fcn.100b5ec0
push 0x4d762c
push 0xe8
call fcn.100bed50
add esp, 0x48
push fcn.100b5ec0
push 0x4ef622
push 0xe8
call fcn.100bed50
push fcn.100b5ec0
push 0x63cd3a
push 0xe8
call fcn.100bed50
add esp, 0x18
push 0x100b6030
push 0x4d13c2
push 0xe9
call fcn.100bed50
push 0x100b6190
push 0x4d2782
push 0xe9
call fcn.100bed50
push 0x100b6260
push 0x830c3a
push 0xe9
call fcn.100bed50
add esp, 0x24
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
push 0x7e0ed0
call esi
lea eax, [esp + 0x10]
mov dword [0x7e0ed0], 0x73
push eax
push dword [esp + 0x14]
push 4
push 0x7e0ed0
call esi
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
push 0x7e0ed7
call esi
lea eax, [esp + 0x10]
mov dword [0x7e0ed7], 0x20
push eax
push dword [esp + 0x14]
push 4
push 0x7e0ed7
call esi
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
push 0x7e0ede
call esi
lea eax, [esp + 0x10]
mov dword [0x7e0ede], 0x2a
push eax
push dword [esp + 0x14]
push 4
push 0x7e0ede
call esi
cmp dword [0x102c73bc], 1
jne 0x1008bb17
push 0x100143c0
push 0x82d1c3
push 0xe8
call fcn.100bed50
push 0x100143c0
push 0x82d2e6
push 0xe8
call fcn.100bed50
push 0x100143c0
push 0x82d325
push 0xe8
call fcn.100bed50
push 0x100143c0
push 0x82d361
push 0xe8
call fcn.100bed50
push 0x100143c0
push 0x82d39d
push 0xe8
call fcn.100bed50
push 0x100143e0
push 0x82d4a2
push 0xe8
call fcn.100bed50
add esp, 0x48
push 0x100143e0
push 0x82d4d1
push 0xe8
call fcn.100bed50
add esp, 0xc
call fcn.100643c0
cmp dword [0x1050ca9c], 0
mov edi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
jne 0x1008bb48
call ebx
push eax
push dword [0x1050ca98]
push 0x1001bd80
push 7
call edi
mov dword [0x1050ca9c], eax
cmp dword [0x1050caa0], 0
jne 0x1008bb68
call ebx
push eax
push dword [0x1050ca98]
push 0x1001d4b0
push 2
call edi
mov dword [0x1050caa0], eax
call fcn.10072c80
push 0x100be510
push 0x588511
push 0xe8
mov dword [0x107e7d68], 0
mov byte [0x107e7d54], 0
mov dword [0x107e7d5c], 0xffffffff
mov dword [0x107e7d64], 0xffffffff
mov dword [0x107e7d58], 0xffffffff
call fcn.100bed50
add esp, 0xc
mov ecx, 0x102a22b0
call fcn.10068780
lea eax, [esp + 0x10]
push eax
push 0x40
push 1
push 0x511584
call esi
lea eax, [esp + 0x10]
mov byte [0x511584], 0x6f
push eax
push dword [esp + 0x14]
push 1
push 0x511584
call esi
push 0
mov ecx, 0x1088b4e0
call fcn.1009a110
call fcn.1009ce50
call fcn.10039940
xor eax, eax
mov ecx, 0x36b0
mov edi, 0x100fc0b4
rep stosd dword es:[edi], eax
cmp dword [0x102c7308], eax
je 0x1008bc52
push 0x10014c40
push 0x5bafab
push 0xe8
call fcn.100bed50
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0x40
push 1
push 0x842862
call esi
lea eax, [esp + 0x10]
mov byte [0x842862], 0
push eax
push dword [esp + 0x14]
push 1
push 0x842862
call esi
call fcn.100a32c0
call fcn.10002180
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10002660
push 0x10028f60
push 0x10848384
call fcn.10001c30
push 0x10029180
push 0x10858244
call fcn.10001c30
call fcn.100021f0
call fcn.10043480
cmp dword [0x102c7258], 0
je 0x1008bcb0
push 0x10029350
push 0x50d905
push 0xe8
call fcn.100bed50
add esp, 0xc
call fcn.10048fe0
cmp dword [0x102c7260], 0
je 0x1008be22
lea eax, [esp + 0x10]
push eax
push 0x40
push 0x94a
push 0x749c90
call esi
push 0x94a
push 0x90
push 0x749c90
call fcn.100c2d20
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push 0x94a
push 0x749c90
call esi
lea eax, [esp + 0x10]
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 + 0x10]
push eax
push dword [esp + 0x14]
push 6
push 0x56595e
call esi
lea eax, [esp + 0x10]
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 + 0x10]
push eax
push dword [esp + 0x14]
push 7
push 0x566178
call esi
push 0x10021250
push 0x749c90
push 0xe9
call fcn.100bed50
push 0x100211d0
push 0x56595e
push 0xe9
call fcn.100bed50
push 0x10021180
push 0x566178
push 0xe9
call fcn.100bed50
push 0x100218e0
push 0x5914ab
push 0xe8
call fcn.100bed50
push 0x100218e0
push 0x5914c7
push 0xe8
call fcn.100bed50
push 0x100218e0
push 0x5a0652
push 0xe8
call fcn.100bed50
add esp, 0x48
push 0x100218e0
push 0x5a0775
push 0xe8
call fcn.100bed50
push 0x100218e0
push 0x5b6cf4
push 0xe8
call fcn.100bed50
push 0x100218e0
push 0x7e05a8
push 0xe8
call fcn.100bed50
add esp, 0x24
call fcn.10023630
cmp dword [0x102c7274], 0
je 0x1008be47
push 0x10032c60
push 0x7dd0d9
push 0xe8
call fcn.100bed50
add esp, 0xc
cmp dword [0x102c7474], 0
je 0x1008be8f
push 0x1007d170
push 0x8353d0
push 0xe9
call fcn.100bed50
push 0x1007d260
push 0x7dd4a0
push 0xe9
call fcn.100bed50
push 0x1007d390
push 0x7d9680
push 0xe9
call fcn.100bed50
add esp, 0x24
push fcn.1007e530
push 0x5d0b94
push 0xe8
call fcn.100bed50
push 0x10084df0
push 0x7dd5e0
push 0xe9
call fcn.100bed50
push 0x10084ee0
push 0x7dd0c9
push 0xe8
call fcn.100bed50
push 0x10084d10
push 0x508501
push 0xe9
call fcn.100bed50
add esp, 0x30
cmp dword [0x102c72ac], 0
je 0x1008bf02
push 0x1004a640
push 0x7dcfd0
push 0xe9
call fcn.100bed50
add esp, 0xc
cmp dword [0x102c7278], 0
je 0x1008bf72
push 0x10083b20
push 0x4e8990
push 0xe9
call fcn.100bed50
push 0x10083c30
push 0x4e8b80
push 0xe9
call fcn.100bed50
push 0x10083eb0
push 0x4e9210
push 0xe9
call fcn.100bed50
push 0x10083f40
push 0x4ec410
push 0xe9
call fcn.100bed50
push 0x100842e0
push 0x4eb910
push 0xe9
call fcn.100bed50
add esp, 0x3c
call fcn.10051680
call fcn.100af310
call fcn.100393e0
call fcn.10052ec0
push 0x100320f0
push 0x58b77e
push 0xe8
call fcn.100bed50
push 0x100320f0
push 0x5c7833
push 0xe8
call fcn.100bed50
push 0x100320f0
push 0x5c7d71
push 0xe8
call fcn.100bed50
push 0x100320f0
push 0x5c7f1b
push 0xe8
call fcn.100bed50
push 0x100320f0
push 0x5c80be
push 0xe8
call fcn.100bed50
push 0x100320f0
push 0x7e22ba
push 0xe8
call fcn.100bed50
add esp, 0x48
cmp dword [0x102c7210], 0
je 0x1008c0d5
mov eax, 0x102c3c88
nop dword [eax]
nop word [eax + eax]
mov dword [eax - 4], 0xffffffff
mov dword [eax], 0xffffffff
add eax, 8
cmp eax, 0x102c3d88
jl 0x1008c020
mov eax, 0x102b4284
nop dword [eax]
mov dword [eax], 0xffffffff
add eax, 0x20
cmp eax, 0x102c3c84
jl 0x1008c040
push fcn.10084880
push 0x7e44d3
push 0xff
mov dword [0x102c3d84], 0
mov dword [0x102c3d8c], 0
mov dword [0x102c3d88], 0
call fcn.100bed50
push fcn.100849b0
push 0x7e452f
push 0xff
call fcn.100bed50
push 0x10084b00
push 0x7e4497
push 0xe8
call fcn.100bed50
push 0x10084b00
push 0x7e44ec
push 0xe8
call fcn.100bed50
push 0x10084b60
push 0x841b5a
push 0xe8
call fcn.100bed50
add esp, 0x3c
push 0x100a2b30
push 0x82a980
push 0xe9
call fcn.100bed50
push 0x100398e0
push 0x82b772
push 0xe8
call fcn.100bed50
add esp, 0x18
cmp dword [0x107e1c64], 2
jne 0x1008c183
push 0x100a2a50
push 0x4d6c36
push 0xe8
call fcn.100bed50
push 0x100a2a50
push 0x4d75fa
push 0xe8
call fcn.100bed50
push 0x100a2a50
push 0x63e195
push 0xe8
call fcn.100bed50
push 0x100a2a50
push 0x63ecca
push 0xe8
call fcn.100bed50
push 0x100a2a50
push 0x640c33
push 0xe8
call fcn.100bed50
mov eax, dword [0x102c64c8]
add esp, 0x3c
mov ecx, dword [0x107e7b70]
lea eax, [eax + ecx*2]
mov dword [0x102c64c8], eax
call fcn.10014450
cmp dword [0x102c736c], 0
je 0x1008c1f3
lea eax, [esp + 0x10]
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 + 0x10]
push eax
push dword [esp + 0x14]
push 5
push 0x777c90
call esi
lea eax, [esp + 0x10]
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 + 0x10]
push eax
push dword [esp + 0x14]
push 5
push 0x777c9a
call esi
push 0x100a5120
push 0x84bdb0
push 0xe9
call fcn.100bed50
add esp, 0xc
cmp dword [0x102c7384], 0
je 0x1008c23e
push 0x100a59b0
push 0x84bc0f
push 0xe8
call fcn.100bed50
push 0x100a59d0
push 0x84bd1d
push 0xe8
call fcn.100bed50
add esp, 0x18
cmp dword [0x102c7394], 0
jne 0x1008c250
cmp dword [0x102c7390], 0
je 0x1008c2ca
push 0x100898e0
push 0x40b306
push 0xe8
call fcn.100bed50
push 0x100899b0
push 0x40b5a9
push 0xe8
call fcn.100bed50
add esp, 0x18
cmp dword [0x102c7390], 1
jne 0x1008c29f
push 0x10089f00
push 0x40b400
push 0xe8
call fcn.100bed50
push 0x10089f00
jmp 0x1008c2b8
push 0x1008a060
push 0x40b400
push 0xe8
call fcn.100bed50
push 0x1008a060
push 0x40b44f
push 0xe8
call fcn.100bed50
add esp, 0x18
call fcn.100a5e70
push str.._Settings.ini
push 0
push str.DiscordShowPresence
push str.Discord
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x106992c0], eax
test eax, eax
je 0x1008c317
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x1005c230
push 0
push 0
call esi
push 0
push 0
push 0
push 0x1005c1f0
push 0
push 0
call esi
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100c0b64
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]