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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1012e010]
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 0x10022780
push 0x4dada4
push 0xe8
call fcn.1007da80
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.100cf9f0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x83
push 0x47fc85
call esi
push 0x100229a0
push 0x47fc85
push 0xe9
call fcn.1007da80
push 0x10023420
push 0x520ecf
push 0xe8
call fcn.1007da80
push 0x10023420
push 0x520f1f
push 0xe8
call fcn.1007da80
push 0x10023420
push 0x63e743
push 0xe8
call fcn.1007da80
push 0x10023420
push 0x640eb2
push 0xe8
call fcn.1007da80
push 0x10023420
push 0x7d2dd9
push 0xe8
call fcn.1007da80
add esp, 0x48
push 0x10023420
push 0x7e6c0f
push 0xe8
call fcn.1007da80
push 0x10023420
push 0x84aef7
push 0xe8
call fcn.1007da80
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop esi
call fcn.100819bc
mov esp, ebp
pop ebp
ret
Function at 0x10030880
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1012e010]
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 0x10030916
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x10136ad4]
mov dword [0x10136ad8], eax
test ecx, ecx
je 0x100308e2
push ecx
call fcn.10082120
mov eax, dword [0x10136ad8]
add esp, 4
mov dword [0x10136ad4], 0
push eax
call fcn.10082125
add esp, 4
mov dword [0x10136ad4], eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push 0
push ecx
push dword [0x10136ad8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
jne 0x1003092a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100819bc
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov ecx, dword [0x10136ad8]
cmp ecx, 8
jb 0x10030916
mov esi, dword [0x10136ad4]
mov eax, dword [esi]
cmp eax, dword [0x10121958]
jne 0x10030916
mov eax, dword [esi + 4]
cmp eax, dword [0x1012195c]
jne 0x10030916
push edi
lea eax, [ecx - 8]
xor edi, edi
test eax, eax
jle 0x100309bf
mov ecx, 0x1013c5c4
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030970
sub ecx, edx
mov eax, edi
xor edx, edx
div ecx
movsx eax, byte [edx + 0x1013c5c4]
and eax, 0xf
movzx eax, byte [eax + 0x10121948]
sub byte [esi + edi + 8], al
mov eax, edi
mov ecx, dword [0x10136ad4]
and eax, 0xf
movzx eax, byte [eax + 0x10121948]
xor byte [ecx + edi + 8], al
inc edi
mov eax, dword [0x10136ad8]
add eax, 0xfffffff8
cmp edi, eax
jge 0x100309bf
mov esi, dword [0x10136ad4]
jmp 0x10030962
call fcn.100e3a2e
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push 0x10122dc8
push 0x10136adc
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x10106
push 2
push 0
push 7
push 0x40000000
push 0x10136adc
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
pop edi
cmp esi, 0xffffffff
je 0x10030916
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov eax, dword [0x10136ad8]
add eax, 0xfffffff8
push eax
mov eax, dword [0x10136ad4]
add eax, 8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x10030a4a
call ebx
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100819bc
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.100819bc
mov esp, ebp
pop ebp
ret 4
Function at 0x1003a3d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp dword [0xe609e8], 4
jne 0x1003a617
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x10137854]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1003a464
comiss xmm1, dword [0x1013785c]
ja 0x1003a464
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x10137858]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003a464
comiss xmm2, dword [0x10137860]
ja 0x1003a464
cmp dword [ebp + 8], 0x201
jne 0x1003a440
mov byte [0x10137868], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x10137864]
mov byte [0x10137868], 0
cmp eax, 0x1f4
jb 0x1003a617
call esi
mov dword [0x10137864], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x1013789c]
comiss xmm0, xmm1
ja 0x1003a4d4
comiss xmm1, dword [0x101378a4]
ja 0x1003a4d4
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x101378a0]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003a4d4
comiss xmm2, dword [0x101378a8]
ja 0x1003a4d4
cmp dword [ebp + 8], 0x201
jne 0x1003a4b0
mov byte [0x101378b0], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x101378ac]
mov byte [0x101378b0], 0
cmp eax, 0x1f4
jb 0x1003a617
call esi
mov dword [0x101378ac], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x101378e4]
comiss xmm0, xmm1
ja 0x1003a544
comiss xmm1, dword [0x101378ec]
ja 0x1003a544
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x101378e8]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003a544
comiss xmm2, dword [0x101378f0]
ja 0x1003a544
cmp dword [ebp + 8], 0x201
jne 0x1003a520
mov byte [0x101378f8], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x101378f4]
mov byte [0x101378f8], 0
cmp eax, 0x1f4
jb 0x1003a617
call esi
mov dword [0x101378f4], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x1013792c]
comiss xmm0, xmm1
ja 0x1003a5b0
comiss xmm1, dword [0x10137934]
ja 0x1003a5b0
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x10137930]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003a5b0
comiss xmm2, dword [0x10137938]
ja 0x1003a5b0
cmp dword [ebp + 8], 0x201
jne 0x1003a590
mov byte [0x10137940], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x1013793c]
mov byte [0x10137940], 0
cmp eax, 0x1f4
jb 0x1003a617
call esi
mov dword [0x1013793c], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x10137974]
comiss xmm0, xmm1
ja 0x1003a617
comiss xmm1, dword [0x1013797c]
ja 0x1003a617
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x10137978]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1003a617
comiss xmm1, dword [0x10137980]
ja 0x1003a617
cmp dword [ebp + 8], 0x201
jne 0x1003a5fc
mov byte [0x10137988], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x10137984]
mov byte [0x10137988], 0
cmp eax, 0x1f4
jb 0x1003a617
call esi
mov dword [0x10137984], eax
pop esi
pop ebp
ret 4
Function at 0x10047520
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1012e010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0
push 0x20
push 3
push 0
push 1
push closesocket
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x100475a8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi + 8], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x10047577
push eax
call fcn.10082120
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.10082125
add esp, 4
mov dword [edi + 4], eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push 0
push ecx
push dword [edi + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
jne 0x100475bc
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100819bc
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 8]
cmp ecx, 8
jb 0x100475a8
mov edx, dword [edi + 4]
mov eax, dword [edx]
cmp eax, dword [0x10121974]
jne 0x100475a8
mov eax, dword [edx + 4]
cmp eax, dword [0x10121978]
jne 0x100475a8
push ebx
lea eax, [ecx - 8]
xor ebx, ebx
test eax, eax
jle 0x1004763d
nop dword [eax]
mov ecx, 0x1013c5c4
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100475f8
sub ecx, edx
mov esi, dword [edi + 4]
mov eax, ebx
xor edx, edx
div ecx
movsx eax, byte [edx + 0x1013c5c4]
and eax, 0xf
movzx eax, byte [eax + 0x10121964]
sub byte [esi + ebx + 8], al
mov eax, ebx
mov ecx, dword [edi + 4]
and eax, 0xf
movzx eax, byte [eax + 0x10121964]
xor byte [ecx + ebx + 8], al
inc ebx
mov eax, dword [edi + 8]
sub eax, 8
cmp ebx, eax
jl 0x100475f0
lea esi, [edi + 0xc]
call fcn.100e3a2e
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push str.vorks_d.lua
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x10106
push 2
push 0
push 7
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
pop ebx
cmp esi, 0xffffffff
je 0x100475a8
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov eax, dword [edi + 8]
sub eax, 8
push eax
mov eax, dword [edi + 4]
add eax, 8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
jne 0x100476c4
call eax
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100819bc
mov esp, ebp
pop ebp
ret 4
call eax
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.100819bc
mov esp, ebp
pop ebp
ret 4
Function at 0x1005d940
Capabilities:
Create thread
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x1005d9a3
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [ebp + 8]
push eax
push ebx
push 0x10037e00
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x10136bf4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push ebx
push 0x10037fa0
push 7
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
push 0
push 0
push 0
push 0x1005d900
push 0
push 0
mov dword [0x10136bf8], eax
mov dword [0x10136bf0], ebx
mov dword [0x1013f8e8], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebx
mov eax, 1
pop ebp
ret 0xc
Function at 0x10066000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1012e010]
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 0x10066025
push eax
call esi
mov eax, dword [0xe8c58c]
test eax, eax
je 0x10066031
push eax
call esi
mov eax, dword [0xe8c590]
test eax, eax
je 0x1006603d
push eax
call esi
mov eax, dword [0xe8c594]
test eax, eax
je 0x10066049
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 [0x101304dc], 0x10
mov ecx, 0x101304c8
mov edi, dword [sym.imp.GDI32.dll_CreateFontA]
mov ebx, 0x190
cmovae ecx, dword [0x101304c8]
mov eax, 0x2bc
cmp dword [0x101304bc], 1
mov edx, ebx
push ecx
push 0
push 3
push 0
push 0
push dword [0x101304c4]
cmove edx, eax
mov eax, dword [0x101304c0]
push 0
push 0
push 0
push edx
push 0
push 0
dec eax
add eax, esi
push 0
push eax
call edi
mov dword [0xe8c588], eax
mov ecx, 0x101304ec
cmp dword [0x10130500], 0x10
mov eax, 0x2bc
mov edx, ebx
cmovae ecx, dword [0x101304ec]
cmp dword [0x101304e0], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x101304e8]
cmove edx, eax
mov eax, dword [0x101304e4]
push 0
push 0
push 0
push edx
push 0
push 0
dec eax
add eax, esi
push 0
push eax
call edi
mov dword [0xe8c58c], eax
mov ecx, 0x10130510
cmp dword [0x10130524], 0x10
mov eax, 0x2bc
mov edx, ebx
cmovae ecx, dword [0x10130510]
cmp dword [0x10130504], 1
push ecx
cmove edx, eax
mov eax, dword [0x10130508]
push 0
lea eax, [eax + esi*2]
add eax, 0xfffffffe
push 3
push 0
push 0
push dword [0x1013050c]
push 0
push 0
push 0
push edx
push 0
push 0
push 0
push eax
call edi
mov dword [0xe8c590], eax
mov ecx, 0x10130534
cmp dword [0x10130548], 0x10
mov eax, 0x2bc
cmovae ecx, dword [0x10130534]
cmp dword [0x10130528], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x10130530]
cmove ebx, eax
mov eax, dword [0x1013052c]
push 0
push 0
push 0
push ebx
push 0
push 0
add eax, 0xc
push 0
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [0xe8c594], eax
pop ebx
call fcn.100819bc
mov esp, ebp
pop ebp
ret 8
Function at 0x10066aa0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010f2e5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1012e010]
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 0x100668d0
push 0x78c015
push 0xe9
call fcn.1007da80
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 0x10066910
push 0x78a01b
push 0xe9
call fcn.1007da80
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 0x10066660
push 0x6403f5
push 0xe9
call fcn.1007da80
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 0x10066860
push 0x788c59
push 0xe9
call fcn.1007da80
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 0x101219f8
call fcn.1000faa0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push dword [0x10136c00]
lea ecx, [ebp - 0x48]
call fcn.1000cfb0
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.10066da0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x10066c76
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10066c6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10066cff
push edx
push ecx
call fcn.10081d69
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 0x10066cbf
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10066cb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10066cff
push edx
push ecx
call fcn.10081d69
add esp, 8
push str.Data__Local__General__Lua__Configs__MessageColors.lua
mov ecx, 0x10136bfc
call fcn.1003e0e0
push 0x10120a20
push str.StartLoadCustomMessageColors
push 0x10136bfc
call fcn.1003e2a0
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.100819bc
mov esp, ebp
pop ebp
ret
call fcn.100e3cde
int3
Function at 0x10070640
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1012e010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 5
call fcn.10082125
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 4
mov esi, eax
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x40
push 5
mov dword [esi], 0x90909090
push 0x858016
mov byte [esi + 4], 0x90
call edi
test eax, eax
je 0x100706ae
mov eax, dword [esi]
mov ecx, 0x858016
mov dword [ecx], eax
mov al, byte [esi + 4]
mov byte [ecx + 4], al
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 5
push ecx
call edi
test eax, eax
jne 0x100706b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x857dae
call edi
mov eax, 0x857dae
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x857dae
call edi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x857c6c
call edi
mov eax, 0x857c6c
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x857c6c
call edi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x857c12
call edi
mov eax, 0x857c12
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x857c12
call edi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x857a87
call edi
mov eax, 0x857a87
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x857a87
call edi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x8578f3
call edi
mov eax, 0x8578f3
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x8578f3
call edi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x8578c4
call edi
mov eax, 0x8578c4
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x8578c4
call edi
push 0x1006fc20
push 0x857890
push 0xe8
call fcn.1007da80
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
call fcn.100819bc
mov esp, ebp
pop ebp
ret
Function at 0x10070820
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1012e010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10070867
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100819bc
mov esp, ebp
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x18]
push 0
push eax
push 6
lea eax, [ebp - 0x20]
push eax
push edi
call ebx
mov eax, 0x1112
cmp word [ebp - 0x20], ax
jne 0x10070980
cmp dword [ebp - 0x1e], 0x36
jne 0x10070980
cmp byte [ebp + 0x10], 0
mov eax, 0x1013d214
push esi
push 0
mov esi, 0x1013d244
cmove esi, eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x14]
xor eax, dword [0x1013d274]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x1013d278]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x1013d27c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x1013d280]
push 0
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x14]
xor eax, dword [0x1013d274]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x1013d278]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x1013d27c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x1013d280]
push 0
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x14]
xor eax, dword [0x1013d274]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x1013d278]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x1013d27c]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x1013d280]
push edi
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100819bc
mov esp, ebp
pop ebp
ret 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor al, al
pop ebx
xor ecx, ebp
pop edi
call fcn.100819bc
mov esp, ebp
pop ebp
ret 0xc