joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007680
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1010400c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10104f44]
push esi
mov esi, dword [0x10104f48]
push edi
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x100fc628]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 8
andps xmm0, xmmword [0x100fc880]
push esi
movsd qword [ebp - 0x10], xmm0
call edi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
mulsd xmm0, qword [0x100fc5e8]
push eax
push dword [ebp - 8]
push 8
addsd xmm0, qword [0x100fc658]
push esi
movsd qword [esi], xmm0
call edi
mov eax, dword [0x10104f44]
mov esi, dword [0x10104f4c]
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x100fc628]
push eax
push 0x40
push 8
push esi
andps xmm0, xmmword [0x100fc880]
movsd qword [ebp - 0x10], xmm0
call edi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
mulsd xmm0, qword [0x100fc5e8]
push eax
push dword [ebp - 8]
push 8
addsd xmm0, qword [0x100fc658]
push esi
movsd qword [esi], xmm0
call edi
mov eax, dword [0x10104f44]
mov esi, dword [0x10104f50]
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x100fc628]
push eax
push 0x40
push 4
push esi
andps xmm0, xmmword [0x100fc880]
movsd qword [ebp - 0x10], xmm0
call edi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
cvtpd2ps xmm0, xmm0
push eax
push dword [ebp - 8]
mulss xmm0, dword [0x100fc610]
push 4
push esi
addss xmm0, dword [0x100fc718]
movss dword [esi], xmm0
call edi
mov eax, dword [0x10104f44]
mov esi, dword [0x10104f54]
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x100fc628]
push eax
push 0x40
push 4
push esi
andps xmm0, xmmword [0x100fc880]
movsd qword [ebp - 0x10], xmm0
call edi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
cvtpd2ps xmm0, xmm0
push eax
push dword [ebp - 8]
mulss xmm0, dword [0x100fc610]
push 4
push esi
addss xmm0, dword [0x100fc718]
movss dword [esi], xmm0
call edi
mov eax, dword [0x10104f44]
mov esi, dword [0x10104f58]
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x100fc628]
push eax
push 0x40
push 4
push esi
andps xmm0, xmmword [0x100fc880]
movsd qword [ebp - 0x10], xmm0
call edi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
cvtpd2ps xmm0, xmm0
push eax
push dword [ebp - 8]
mulss xmm0, dword [0x100fc610]
push 4
push esi
addss xmm0, dword [0x100fc714]
movss dword [esi], xmm0
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10061486
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10007870
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x1010400c]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x58], 0
je 0x10007a64
movss xmm0, dword [ebx + 0x5c]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x20], xmm0
call edi
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [ebx + 0x60]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x34]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x20], xmm0
call edi
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [ebx + 0x64]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x38]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x20], xmm0
call edi
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movss dword [esi], xmm0
push 4
push esi
call edi
movsd xmm0, qword [ebx + 0x68]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x3c]
push eax
push 0x40
push 8
push esi
movsd qword [esp + 0x20], xmm0
call edi
movsd xmm0, qword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movsd qword [esi], xmm0
push 8
push esi
call edi
movsd xmm0, qword [ebx + 0x70]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x40]
push eax
push 0x40
push 8
push esi
movsd qword [esp + 0x20], xmm0
call edi
movsd xmm0, qword [esp + 0x10]
lea eax, [esp + 0x18]
movsd qword [esi], xmm0
push eax
push dword [esp + 0x1c]
push 8
push esi
call edi
movsd xmm0, qword [ebx + 0x78]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x44]
push eax
push 0x40
push 8
push esi
movsd qword [esp + 0x20], xmm0
call edi
movsd xmm0, qword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movsd qword [esi], xmm0
push 8
push esi
call edi
movss xmm0, dword [ebx + 0x80]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x48]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x20], xmm0
call edi
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [ebx + 0x84]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x4c]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x20], xmm0
call edi
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movss dword [esi], xmm0
push 4
push esi
call edi
movss xmm0, dword [ebx + 0x88]
lea eax, [esp + 0x18]
mov esi, dword [ebx + 0x50]
push eax
push 0x40
push 4
push esi
movss dword [esp + 0x20], xmm0
call edi
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
movss dword [esi], xmm0
push 4
push esi
call edi
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10061486
mov esp, ebp
pop ebp
ret
Function at 0x10019c00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e9e95
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1010400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push 0x100fa084
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.1000c5b0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push dword [0x10105d30]
lea ecx, [ebp - 0x48]
call fcn.10007bc0
push 0x10019b20
push str.SetJewelStack
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1000d430
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x10019cb7
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10019cad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019dd6
push edx
push ecx
call fcn.100617ae
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x10019d04
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10019cfa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019dd6
push edx
push ecx
call fcn.100617ae
add esp, 8
push str.OgocX__Lua__Configs__CustomJewelStack.lua
mov ecx, 0x10105d2c
call fcn.10033b80
push 0x100fa501
push str.StartLoadJewelStack
push 0x10105d2c
call fcn.10033ce0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
add esp, 0xc
push eax
push 0x40
push 6
push 0x7dc964
call esi
mov eax, 0x7dc964
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 6
push 0x7dc964
call esi
push 0x100199d0
push 0x7dc964
push 0xe9
call fcn.1005dd50
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 6
push 0x7dd634
call esi
mov eax, 0x7dd634
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 6
push 0x7dd634
call esi
push 0x10019af0
push 0x7dd634
push 0xe9
call fcn.1005dd50
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10061486
mov esp, ebp
pop ebp
ret
call fcn.100bfe59
int3
Function at 0x1001b8e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1010400c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ebf8
call esi
lea eax, [ebp - 8]
mov byte [0x62ebf8], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62ebf8
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ebfe
call esi
lea eax, [ebp - 8]
mov byte [0x62ebfe], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62ebfe
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ee42
call esi
lea eax, [ebp - 8]
mov byte [0x62ee42], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62ee42
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ee48
call esi
lea eax, [ebp - 8]
mov byte [0x62ee48], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62ee48
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62eee5
call esi
lea eax, [ebp - 8]
mov byte [0x62eee5], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62eee5
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62eeeb
call esi
lea eax, [ebp - 8]
mov byte [0x62eeeb], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x62eeeb
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ebf7
call esi
lea eax, [ebp - 8]
mov byte [0x62ebf7], 0x69
push eax
push dword [ebp - 8]
push 1
push 0x62ebf7
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62ee41
call esi
lea eax, [ebp - 8]
mov byte [0x62ee41], 0x69
push eax
push dword [ebp - 8]
push 1
push 0x62ee41
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x62eee4
call esi
lea eax, [ebp - 8]
mov byte [0x62eee4], 0x69
push eax
push dword [ebp - 8]
push 1
push 0x62eee4
call esi
push 0x1001ac10
push 0x4dada4
push 0xe8
call fcn.1005dd50
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x40
push 0x83
push 0x47fc85
call esi
push 0x83
push 0x90
push 0x47fc85
call fcn.100af060
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x83
push 0x47fc85
call esi
push 0x1001ae30
push 0x47fc85
push 0xe9
call fcn.1005dd50
push 0x1001b8b0
push 0x520ecf
push 0xe8
call fcn.1005dd50
push 0x1001b8b0
push 0x520f1f
push 0xe8
call fcn.1005dd50
push 0x1001b8b0
push 0x63e743
push 0xe8
call fcn.1005dd50
push 0x1001b8b0
push 0x640eb2
push 0xe8
call fcn.1005dd50
push 0x1001b8b0
push 0x7d2dd9
push 0xe8
call fcn.1005dd50
add esp, 0x48
push 0x1001b8b0
push 0x7e6c0f
push 0xe8
call fcn.1005dd50
push 0x1001b8b0
push 0x84aef7
push 0xe8
call fcn.1005dd50
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop esi
call fcn.10061486
mov esp, ebp
pop ebp
ret
Function at 0x10028e60
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1010400c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0
push 0x20
push 3
push 0
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10028ef6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x1010b69c]
mov dword [0x1010b6a0], eax
test ecx, ecx
je 0x10028ec2
push ecx
call fcn.100619b0
mov eax, dword [0x1010b6a0]
add esp, 4
mov dword [0x1010b69c], 0
push eax
call fcn.100619b5
add esp, 4
mov dword [0x1010b69c], eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push 0
push ecx
push dword [0x1010b6a0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
jne 0x10028f0a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061486
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov ecx, dword [0x1010b6a0]
cmp ecx, 8
jb 0x10028ef6
mov esi, dword [0x1010b69c]
mov eax, dword [esi]
cmp eax, dword [0x100fa020]
jne 0x10028ef6
mov eax, dword [esi + 4]
cmp eax, dword [0x100fa024]
jne 0x10028ef6
push edi
lea eax, [ecx - 8]
xor edi, edi
test eax, eax
jle 0x10028f9f
mov ecx, 0x1010bd14
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10028f50
sub ecx, edx
mov eax, edi
xor edx, edx
div ecx
movsx eax, byte [edx + 0x1010bd14]
and eax, 0xf
movzx eax, byte [eax + 0x100fa010]
sub byte [esi + edi + 8], al
mov eax, edi
mov ecx, dword [0x1010b69c]
and eax, 0xf
movzx eax, byte [eax + 0x100fa010]
xor byte [ecx + edi + 8], al
inc edi
mov eax, dword [0x1010b6a0]
add eax, 0xfffffff8
cmp edi, eax
jge 0x10028f9f
mov esi, dword [0x1010b69c]
jmp 0x10028f42
call fcn.100b7a5a
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push str.Data_t_d
push 0x1010b6a4
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x10106
push 2
push 0
push 7
push 0x40000000
push 0x1010b6a4
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
pop edi
cmp esi, 0xffffffff
je 0x10028ef6
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov eax, dword [0x1010b6a0]
add eax, 0xfffffff8
push eax
mov eax, dword [0x1010b69c]
add eax, 8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x1002902a
call ebx
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061486
mov esp, ebp
pop ebp
ret 4
call ebx
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.10061486
mov esp, ebp
pop ebp
ret 4
Function at 0x1003b480
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1010400c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0
push 0x20
push 3
push 0
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1003b516
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x1010c824]
mov dword [0x1010c828], eax
test ecx, ecx
je 0x1003b4e2
push ecx
call fcn.100619b0
mov eax, dword [0x1010c828]
add esp, 4
mov dword [0x1010c824], 0
push eax
call fcn.100619b5
add esp, 4
mov dword [0x1010c824], eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push 0
push ecx
push dword [0x1010c828]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
jne 0x1003b52a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061486
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov ecx, dword [0x1010c828]
cmp ecx, 8
jb 0x1003b516
mov esi, dword [0x1010c824]
mov eax, dword [esi]
cmp eax, dword [0x100fa044]
jne 0x1003b516
mov eax, dword [esi + 4]
cmp eax, dword [0x100fa048]
jne 0x1003b516
push edi
lea eax, [ecx - 8]
xor edi, edi
test eax, eax
jle 0x1003b5bf
mov ecx, 0x1010bd14
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003b570
sub ecx, edx
mov eax, edi
xor edx, edx
div ecx
movsx eax, byte [edx + 0x1010bd14]
and eax, 0xf
movzx eax, byte [eax + 0x100fa034]
sub byte [esi + edi + 8], al
mov eax, edi
mov ecx, dword [0x1010c824]
and eax, 0xf
movzx eax, byte [eax + 0x100fa034]
xor byte [ecx + edi + 8], al
inc edi
mov eax, dword [0x1010c828]
add eax, 0xfffffff8
cmp edi, eax
jge 0x1003b5bf
mov esi, dword [0x1010c824]
jmp 0x1003b562
call fcn.100b7a5a
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push str.DataItem_vorks_d.lua
push 0x1010c82c
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x102
push 2
push 0
push 7
push 0x40000000
push 0x1010c82c
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
pop edi
cmp esi, 0xffffffff
je 0x1003b516
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov eax, dword [0x1010c828]
add eax, 0xfffffff8
push eax
mov eax, dword [0x1010c824]
add eax, 8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x1003b64a
call ebx
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10061486
mov esp, ebp
pop ebp
ret 4
call ebx
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.10061486
mov esp, ebp
pop ebp
ret 4
Function at 0x1003b660
Capabilities:
Delete file

Disassembly:
mov ecx, 0x100fa501
mov eax, 0x1010c82c
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003b690
test dl, dl
je 0x1003b68c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003b690
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003b670
xor eax, eax
jmp 0x1003b695
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003b6db
push 0x1010c82c
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x1003b6db
push dword [0x1010c824]
call fcn.100619b0
push 0x100
push 0
push 0x1010c82c
mov dword [0x1010c824], 0
mov dword [0x1010c828], 0
call fcn.100af060
add esp, 0x10
ret
Function at 0x1004f530
Capabilities:
Create thread
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x1004f5a3
sub eax, 1
jne 0x1004f5ad
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [ebp + 8]
push eax
push ebx
push 0x1002f940
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x1010b7bc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push ebx
push 0x1002fad0
push 7
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
push 0
push 0
push 0
push 0x1004f4e0
push 0
push 0
mov dword [0x1010b7c0], eax
mov dword [0x1010b7b8], ebx
mov dword [0x1010e9d8], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebx
mov eax, 1
pop ebp
ret 0xc
mov ecx, 0x10104e60
call fcn.10006d40
mov eax, 1
pop ebp
ret 0xc
Function at 0x10051150
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1010400c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0xe8c588]
push ebx
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push edi
test eax, eax
je 0x10051175
push eax
call esi
mov eax, dword [0xe8c58c]
test eax, eax
je 0x10051181
push eax
call esi
mov eax, dword [0xe8c590]
test eax, eax
je 0x1005118d
push eax
call esi
mov eax, dword [0xe8c594]
test eax, eax
je 0x10051199
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x81c0380
call edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
mov dword [0x81c0380], esi
push dword [ebp - 8]
push 4
push 0x81c0380
call edi
cmp dword [0x101050a0], 0x10
mov eax, 0x1010508c
mov edi, dword [sym.imp.GDI32.dll_CreateFontA]
mov ebx, 0x190
cmovae eax, dword [0x1010508c]
mov ecx, 0x2bc
cmp dword [0x10105080], 1
push eax
push 0
push 3
push 0
push 0
push dword [0x10105088]
mov eax, ebx
push 0
push 0
push 0
cmove eax, ecx
push eax
mov eax, dword [0x10105084]
push 0
push 0
dec eax
push 0
add eax, esi
push eax
call edi
mov dword [0xe8c588], eax
mov ecx, 0x2bc
cmp dword [0x101050c4], 0x10
mov eax, 0x101050b0
cmovae eax, dword [0x101050b0]
cmp dword [0x101050a4], 1
push eax
push 0
push 3
push 0
push 0
push dword [0x101050ac]
mov eax, ebx
push 0
push 0
push 0
cmove eax, ecx
push eax
mov eax, dword [0x101050a8]
push 0
push 0
dec eax
push 0
add eax, esi
push eax
call edi
mov dword [0xe8c58c], eax
mov eax, 0x101050d4
cmp dword [0x101050e8], 0x10
cmovae eax, dword [0x101050d4]
push eax
push 0
push 3
push 0
push 0
push dword [0x101050d0]
push 0
push 0
push 0
cmp dword [0x101050c8], 1
mov ecx, 0x2bc
mov eax, ebx
cmove eax, ecx
push eax
mov eax, dword [0x101050cc]
push 0
push 0
push 0
lea eax, [eax + esi*2]
add eax, 0xfffffffe
push eax
call edi
mov dword [0xe8c590], eax
mov eax, 0x101050f8
cmp dword [0x1010510c], 0x10
cmovae eax, dword [0x101050f8]
cmp dword [0x101050ec], 1
push eax
push 0
push 3
push 0
push 0
push dword [0x101050f4]
mov eax, 0x2bc
push 0
push 0
push 0
cmove ebx, eax
mov eax, dword [0x101050f0]
push ebx
push 0
push 0
push 0
add eax, 0xc
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [0xe8c594], eax
pop ebx
call fcn.10061486
mov esp, ebp
pop ebp
ret 8
Function at 0x10051b90
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e9e95
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1010400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 6
push 0x78c015
call esi
mov eax, 0x78c015
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 6
push 0x78c015
call esi
push 0x100519f0
push 0x78c015
push 0xe9
call fcn.1005dd50
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0xa
push 0x78a01b
call esi
mov eax, 0x78a01b
mov ecx, 0x90909090
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov word [eax + 8], cx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 0xa
push 0x78a01b
call esi
push 0x10051a30
push 0x78a01b
push 0xe9
call fcn.1005dd50
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 7
push 0x6403f5
call esi
mov eax, 0x6403f5
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 7
push 0x6403f5
call esi
push 0x100517b0
push 0x6403f5
push 0xe9
call fcn.1005dd50
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 8
push 0x788c59
call esi
mov eax, 0x788c59
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 8
push 0x788c59
call esi
push 0x10051980
push 0x788c59
push 0xe9
call fcn.1005dd50
add esp, 0xc
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 2
push 0x100fa084
call fcn.1000c5b0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push dword [0x1010c930]
lea ecx, [ebp - 0x48]
call fcn.10007bc0
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.10051e90
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x10051d66
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10051d5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10051def
push edx
push ecx
call fcn.100617ae
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x10051daf
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10051da5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10051def
push edx
push ecx
call fcn.100617ae
add esp, 8
push str.OgocX__Lua__Configs__MessageColors.lua
mov ecx, 0x1010c92c
call fcn.10033b80
push 0x100fa501
push str.StartLoadCustomMessageColors
push 0x1010c92c
call fcn.10033ce0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10061486
mov esp, ebp
pop ebp
ret
call fcn.100bfe59
int3