Function at 0x10098720
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 [0x1010a040]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push esi
push edi
lea ecx, [esp + 0x18]
call fcn.10004d10
push ecx
push 0x10512068
push str.main.premium
lea ecx, [esp + 0x24]
call fcn.10004e40
test al, al
je 0x10099606
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 0x10099606
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x232b84
jne 0x100995ff
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0x232b84
push 0x102df4e4
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100995ff
xor ecx, ecx
mov eax, ecx
shr eax, 8
xor al, 0x15
add al, byte [ecx + 0x102df4e4]
xor al, cl
xor al, 0xda
mov byte [ecx + 0x102df4e4], al
inc ecx
cmp ecx, 0x232b84
jb 0x100987c5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.10015b00
call fcn.10016440
call fcn.10096640
call fcn.10017c00
push 0x10071e40
push 0x5b96e8
push 0xe8
call fcn.100ce9c0
add esp, 0xc
mov eax, 0x106d6611
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, 0x106db431
jl 0x10098820
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, 0x102df55b
shr edx, 4
mov ecx, edx
shl ecx, 4
add ecx, edx
sub eax, ecx
mov al, byte [eax + edi]
xor al, byte [ebx + 0x102df506]
movzx esi, al
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 + 0x102df558]
xor al, byte [edi + 0x102df505]
movzx eax, al
add si, ax
mov eax, 0xf0f0f0f1
mul ebx
mov eax, 0x102df55a
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 + 0x102df506]
movzx eax, al
add si, ax
mov eax, 0xf0f0f0f1
mul ecx
mov eax, 0x102df559
shr edx, 4
mov ecx, edx
shl ecx, 4
add ecx, edx
sub eax, ecx
mov al, byte [eax + edi]
xor al, byte [edi + 0x102df506]
add edi, 4
movzx eax, al
add si, ax
add word [esp + 0x14], si
cmp ebx, 0x22
jb 0x10098860
mov al, byte [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub al, 0x12
mov byte [0x10549c66], al
mov eax, dword [esp + 0x14]
shr eax, 8
dec al
mov byte [0x10549c65], al
mov eax, dword [0xd227b0]
mov dword [0x106d660c], eax
mov eax, dword [0xd227f8]
mov dword [0x106d6608], eax
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
push 0xd227b0
call esi
lea eax, [esp + 0x10]
mov dword [0xd227b0], 0x10071c40
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], 0x10071d50
push eax
push dword [esp + 0x14]
push 4
push 0xd227f8
call esi
call fcn.1007f010
push 0x100c6300
push 0x5b545b
push 0xe9
call fcn.100ce9c0
push fcn.100c6330
push 0x59a8b0
push 0xe9
call fcn.100ce9c0
push 0x100c6890
push 0x59afb0
push 0xe9
call fcn.100ce9c0
push 0x100c6bd0
push 0x59b3c0
push 0xe9
call fcn.100ce9c0
add esp, 0x30
cmp dword [0x102df8b4], 1
jne 0x10098ac3
push 0x100c6e10
push 0x5b6427
push 0xe8
call fcn.100ce9c0
push 0x100c6e10
push 0x5b646f
push 0xe8
call fcn.100ce9c0
push 0x100c6e10
push 0x5b6e65
push 0xe8
call fcn.100ce9c0
push 0x100c6e10
push 0x5b6ea2
push 0xe8
call fcn.100ce9c0
push 0x100c6e10
push 0x5b703a
push 0xe8
call fcn.100ce9c0
push 0x100c6e10
push 0x5b7214
push 0xe8
call fcn.100ce9c0
add esp, 0x48
push 0x100c6e10
push 0x5b727c
push 0xe8
call fcn.100ce9c0
push 0x100c6e10
push 0x5b72e4
push 0xe8
call fcn.100ce9c0
push 0x100c6e10
push 0x5b73b1
push 0xe8
call fcn.100ce9c0
add esp, 0x24
push 0x10080fe0
push 0x58e650
push 0xe9
call fcn.100ce9c0
push 0x10081030
push 0x8386b5
push 0xe9
call fcn.100ce9c0
push 0x10081090
push 0x7dc068
push 0xe9
call fcn.100ce9c0
push 0x10081100
push 0x5c4025
push 0xe9
call fcn.100ce9c0
push 0x10081130
push 0x5f7c3b
push 0xe9
call fcn.100ce9c0
push 0x10081160
push 0x64b701
push 0xe9
call fcn.100ce9c0
add esp, 0x48
push 0x10081190
push 0x8383a0
push 0xe9
call fcn.100ce9c0
push 0x10081210
push 0x5f3f7e
push 0xe9
call fcn.100ce9c0
push 0x10081250
push 0x5f4a60
push 0xe9
call fcn.100ce9c0
add esp, 0x24
call fcn.100bc9c0
cmp dword [0x102df700], 0
je 0x10098c35
push 0x100c5bd0
push 0x40b903
push 0xe9
call fcn.100ce9c0
push 0x100c5c10
push 0x4da416
push 0xe9
call fcn.100ce9c0
push 0x100c5c30
push 0x63a192
push 0xe9
call fcn.100ce9c0
push 0x100c5c70
push 0x7a89eb
push 0xe9
call fcn.100ce9c0
push fcn.100c5b30
push 0x40bc24
push 0xe8
call fcn.100ce9c0
push fcn.100c5b30
push 0x4d762c
push 0xe8
call fcn.100ce9c0
add esp, 0x48
push fcn.100c5b30
push 0x4ef622
push 0xe8
call fcn.100ce9c0
push fcn.100c5b30
push 0x63cd3a
push 0xe8
call fcn.100ce9c0
add esp, 0x18
push 0x100c5ca0
push 0x4d13c2
push 0xe9
call fcn.100ce9c0
push 0x100c5e20
push 0x4d2782
push 0xe9
call fcn.100ce9c0
push 0x100c5ef0
push 0x830c3a
push 0xe9
call fcn.100ce9c0
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 [0x102df930], 1
jne 0x10098d97
push 0x10013900
push 0x82d1c3
push 0xe8
call fcn.100ce9c0
push 0x10013900
push 0x82d2e6
push 0xe8
call fcn.100ce9c0
push 0x10013900
push 0x82d325
push 0xe8
call fcn.100ce9c0
push 0x10013900
push 0x82d361
push 0xe8
call fcn.100ce9c0
push 0x10013900
push 0x82d39d
push 0xe8
call fcn.100ce9c0
push 0x10013920
push 0x82d4a2
push 0xe8
call fcn.100ce9c0
add esp, 0x48
push 0x10013920
push 0x82d4d1
push 0xe8
call fcn.100ce9c0
add esp, 0xc
call fcn.1006ee40
cmp dword [0x10549c54], 0
mov edi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
jne 0x10098dc8
call ebx
push eax
push dword [0x10549c50]
push 0x1001ba50
push 7
call edi
mov dword [0x10549c54], eax
cmp dword [0x10549c58], 0
jne 0x10098de8
call ebx
push eax
push dword [0x10549c50]
push 0x1001d180
push 2
call edi
mov dword [0x10549c58], eax
call fcn.1007f2e0
push 0x100ce180
push 0x588511
push 0xe8
mov dword [0x10824f64], 0
mov byte [0x10824f50], 0
mov dword [0x10824f58], 0xffffffff
mov dword [0x10824f60], 0xffffffff
mov dword [0x10824f54], 0xffffffff
call fcn.100ce9c0
add esp, 0xc
mov ecx, 0x102ba770
call fcn.10073d50
call fcn.100b0ef0
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, 0x1089df38
call fcn.100a76e0
call fcn.100aa440
call fcn.1003a040
xor eax, eax
mov ecx, 0x36b0
mov edi, 0x1010c0b4
rep stosd dword es:[edi], eax
cmp dword [0x102df87c], eax
je 0x10098ed7
push 0x10014180
push 0x5bafab
push 0xe8
call fcn.100ce9c0
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.100b2ad0
call fcn.10002180
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10002660
push 0x10029340
push 0x108753c4
call fcn.10001c30
push 0x10029560
push 0x10885584
call fcn.10001c30
call fcn.100021f0
call fcn.10043c10
cmp dword [0x102df7cc], 0
je 0x10098f35
push 0x10029730
push 0x50d905
push 0xe8
call fcn.100ce9c0
add esp, 0xc
call fcn.1004a310
cmp dword [0x102df7d4], 0
je 0x100990a7
lea eax, [esp + 0x10]
push eax
push 0x40
push 0x94a
push 0x749c90
call esi
push 0x94a
push 0x90
push 0x749c90
call fcn.100d29e0
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 0x10020d50
push 0x749c90
push 0xe9
call fcn.100ce9c0
push 0x10020cd0
push 0x56595e
push 0xe9
call fcn.100ce9c0
push 0x10020c80
push 0x566178
push 0xe9
call fcn.100ce9c0
push 0x100213e0
push 0x5914ab
push 0xe8
call fcn.100ce9c0
push 0x100213e0
push 0x5914c7
push 0xe8
call fcn.100ce9c0
push 0x100213e0
push 0x5a0652
push 0xe8
call fcn.100ce9c0
add esp, 0x48
push 0x100213e0
push 0x5a0775
push 0xe8
call fcn.100ce9c0
push 0x100213e0
push 0x5b6cf4
push 0xe8
call fcn.100ce9c0
push 0x100213e0
push 0x7e05a8
push 0xe8
call fcn.100ce9c0
add esp, 0x24
call fcn.10023120
cmp dword [0x102df7e8], 0
je 0x100990cc
push 0x10033280
push 0x7dd0d9
push 0xe8
call fcn.100ce9c0
add esp, 0xc
cmp dword [0x102df9e8], 0
je 0x10099114
push 0x10089dc0
push 0x8353d0
push 0xe9
call fcn.100ce9c0
push 0x1008a020
push 0x7dd4a0
push 0xe9
call fcn.100ce9c0
push 0x1008a150
push 0x7d9680
push 0xe9
call fcn.100ce9c0
add esp, 0x24
push fcn.1008b2f0
push 0x5d0b94
push 0xe8
call fcn.100ce9c0
push 0x10091bb0
push 0x7dd5e0
push 0xe9
call fcn.100ce9c0
push 0x10091ca0
push 0x7dd0c9
push 0xe8
call fcn.100ce9c0
push 0x10091ad0
push 0x508501
push 0xe9
call fcn.100ce9c0
add esp, 0x30
cmp dword [0x102df820], 0
je 0x10099187
push 0x1004d170
push 0x7dcfd0
push 0xe9
call fcn.100ce9c0
add esp, 0xc
cmp dword [0x102df7ec], 0
je 0x100991f7
push 0x10090900
push 0x4e8990
push 0xe9
call fcn.100ce9c0
push 0x10090a10
push 0x4e8b80
push 0xe9
call fcn.100ce9c0
push 0x10090c90
push 0x4e9210
push 0xe9
call fcn.100ce9c0
push 0x10090d20
push 0x4ec410
push 0xe9
call fcn.100ce9c0
push 0x100910b0
push 0x4eb910
push 0xe9
call fcn.100ce9c0
add esp, 0x3c
call fcn.10054230
call fcn.100beb90
call fcn.10039ae0
call fcn.1005dd60
push fcn.100326d0
push 0x58b77e
push 0xe8
call fcn.100ce9c0
push fcn.100326d0
push 0x5c7833
push 0xe8
call fcn.100ce9c0
push fcn.100326d0
push 0x5c7d71
push 0xe8
call fcn.100ce9c0
push fcn.100326d0
push 0x5c7f1b
push 0xe8
call fcn.100ce9c0
push fcn.100326d0
push 0x5c80be
push 0xe8
call fcn.100ce9c0
push fcn.100326d0
push 0x7e22ba
push 0xe8
call fcn.100ce9c0
add esp, 0x48
cmp dword [0x102df784], 0
je 0x10099355
mov eax, 0x102dc1e8
nop dword [eax + eax]
mov dword [eax - 4], 0xffffffff
mov dword [eax], 0xffffffff
add eax, 8
cmp eax, 0x102dc2e8
jl 0x100992a0
mov eax, 0x102cc7e4
nop dword [eax]
mov dword [eax], 0xffffffff
add eax, 0x20
cmp eax, 0x102dc1e4
jl 0x100992c0
push fcn.10091640
push 0x7e44d3
push 0xff
mov dword [0x102dc2e4], 0
mov dword [0x102dc2ec], 0
mov dword [0x102dc2e8], 0
call fcn.100ce9c0
push fcn.10091770
push 0x7e452f
push 0xff
call fcn.100ce9c0
push 0x100918c0
push 0x7e4497
push 0xe8
call fcn.100ce9c0
push 0x100918c0
push 0x7e44ec
push 0xe8
call fcn.100ce9c0
push 0x10091920
push 0x841b5a
push 0xe8
call fcn.100ce9c0
add esp, 0x3c
push 0x100b0630
push 0x82a980
push 0xe9
call fcn.100ce9c0
push 0x10039fe0
push 0x82b772
push 0xe8
call fcn.100ce9c0
add esp, 0x18
cmp dword [0x1081ee60], 2
jne 0x10099403
push 0x100b0550
push 0x4d6c36
push 0xe8
call fcn.100ce9c0
push 0x100b0550
push 0x4d75fa
push 0xe8
call fcn.100ce9c0
push 0x100b0550
push 0x63e195
push 0xe8
call fcn.100ce9c0
push 0x100b0550
push 0x63ecca
push 0xe8
call fcn.100ce9c0
push 0x100b0550
push 0x640c33
push 0xe8
call fcn.100ce9c0
mov eax, dword [0x102dea28]
add esp, 0x3c
mov ecx, dword [0x10824d6c]
lea eax, [eax + ecx*2]
mov dword [0x102dea28], eax
call fcn.10013990
cmp dword [0x102df8e0], 0
je 0x10099473
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 0x100b4900
push 0x84bdb0
push 0xe9
call fcn.100ce9c0
add esp, 0xc
cmp dword [0x102df8f8], 0
je 0x100994be
push 0x100b5190
push 0x84bc0f
push 0xe8
call fcn.100ce9c0
push 0x100b51b0
push 0x84bd1d
push 0xe8
call fcn.100ce9c0
add esp, 0x18
cmp dword [0x102df908], 0
jne 0x100994d0
cmp dword [0x102df904], 0
je 0x1009954a
push 0x10096b60
push 0x40b306
push 0xe8
call fcn.100ce9c0
push 0x10096c30
push 0x40b5a9
push 0xe8
call fcn.100ce9c0
add esp, 0x18
cmp dword [0x102df904], 1
jne 0x1009951f
push 0x10097180
push 0x40b400
push 0xe8
call fcn.100ce9c0
push 0x10097180
jmp 0x10099538
push 0x100972e0
push 0x40b400
push 0xe8
call fcn.100ce9c0
push 0x100972e0
push 0x40b44f
push 0xe8
call fcn.100ce9c0
add esp, 0x18
call fcn.100b5610
push 0x10067870
push 0x4d75b9
push 0xe8
call fcn.100ce9c0
push 0x10067870
push 0x4d9b77
push 0xe8
call fcn.100ce9c0
push 0x10067870
push 0x4d9c26
push 0xe8
call fcn.100ce9c0
push 0x10067920
push 0x4d958d
push 0xe8
call fcn.100ce9c0
add esp, 0x30
push str.._Settings.ini
push 0
push str.DiscordShowPresence
push str.Discord
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x106d6480], eax
test eax, eax
je 0x100995ea
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10067090
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10067050
push 0
push 0
call esi
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100d0820
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]