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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1013f040]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x1013ff0c], 0
push ebx
push esi
push edi
je 0x100076cb
cmp dword [0x1013ff10], 0
je 0x100076cb
cmp dword [0xe609e8], 5
jne 0x100076cb
mov ebx, dword [ebp + 8]
mov eax, dword [0x1013ff14]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp eax, dword [ebx]
jge 0x10007556
mov esi, dword [0x1013ff34]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
movss xmm0, dword [esi]
comiss xmm0, dword [0x10133fa0]
push esi
movss dword [ebp - 0x10], xmm0
jbe 0x10007537
call edi
mov dword [esi], 0xc2340000
jmp 0x1000754a
call edi
movss xmm0, dword [ebp - 0x10]
addss xmm0, dword [0x10133de8]
movss dword [esi], xmm0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push 4
push esi
call edi
mov eax, dword [0x1013ff14]
cmp eax, dword [ebx]
jle 0x100075ad
mov esi, dword [0x1013ff34]
lea eax, [ebp - 0xc]
movss xmm0, dword [0x101340c8]
push eax
push 0x40
movss xmm1, dword [esi]
comiss xmm0, xmm1
push 4
push esi
movss dword [ebp - 0x10], xmm1
jbe 0x1000758e
call edi
mov dword [esi], 0xc2340000
jmp 0x100075a1
call edi
movss xmm0, dword [ebp - 0x10]
subss xmm0, dword [0x10133de8]
movss dword [esi], xmm0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push 4
push esi
call edi
mov eax, dword [0x1013ff18]
cmp eax, dword [ebx + 4]
jge 0x1000763e
mov esi, dword [0x1013ff38]
movss xmm1, dword [0x101340c0]
movss xmm0, dword [esi]
comiss xmm1, xmm0
movss dword [ebp - 0x10], xmm0
jbe 0x1000763b
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
push esi
call edi
movss xmm0, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
addss xmm0, dword [0x10133d30]
push eax
push dword [ebp - 0xc]
push 4
push esi
movss dword [esi], xmm0
call edi
mov esi, dword [0x1013ff3c]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 8
movsd xmm0, qword [esi]
subsd xmm0, qword [0x10133d58]
push esi
movsd qword [ebp - 0x14], xmm0
call edi
movsd xmm0, qword [ebp - 0x14]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
movsd qword [esi], xmm0
push 8
push esi
call edi
mov eax, dword [0x1013ff18]
cmp eax, dword [ebx + 4]
jle 0x100076b7
mov esi, dword [0x1013ff38]
movss xmm0, dword [esi]
comiss xmm0, dword [0x101340c4]
movss dword [ebp - 0x10], xmm0
jbe 0x100076b7
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
push esi
call edi
movss xmm0, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
subss xmm0, dword [0x10133d30]
push eax
push dword [ebp - 0xc]
push 4
push esi
movss dword [esi], xmm0
call edi
mov esi, dword [0x1013ff3c]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 8
movsd xmm0, qword [esi]
addsd xmm0, qword [0x10133d58]
push esi
movsd qword [ebp - 0x14], xmm0
call edi
movsd xmm0, qword [ebp - 0x14]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
movsd qword [esi], xmm0
push 8
push esi
call edi
mov eax, dword [ebx]
mov dword [0x1013ff14], eax
mov eax, dword [ebx + 4]
mov dword [0x1013ff18], eax
call fcn.100076e0
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008eacb
mov esp, ebp
pop ebp
ret 4
Function at 0x100076e0
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 [0x1013f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1013ff3c]
push esi
mov esi, dword [0x1013ff40]
push edi
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x10133d68]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 8
andps xmm0, xmmword [0x101341f0]
mulsd xmm0, qword [0x10133d08]
push esi
addsd xmm0, qword [0x10133de0]
movsd qword [ebp - 0x10], xmm0
call edi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movsd qword [esi], xmm0
push 8
push esi
call edi
mov eax, dword [0x1013ff3c]
mov esi, dword [0x1013ff44]
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x10133d68]
push eax
push 0x40
push 8
push esi
andps xmm0, xmmword [0x101341f0]
mulsd xmm0, qword [0x10133d08]
addsd xmm0, qword [0x10133de0]
movsd qword [ebp - 0x10], xmm0
call edi
movsd xmm0, qword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movsd qword [esi], xmm0
push 8
push esi
call edi
mov eax, dword [0x1013ff3c]
mov esi, dword [0x1013ff48]
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x10133d68]
push eax
push 0x40
push 4
push esi
andps xmm0, xmmword [0x101341f0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x10133d40]
addss xmm0, dword [0x10134080]
movss dword [ebp - 0xc], xmm0
call edi
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movss dword [esi], xmm0
push 4
push esi
call edi
mov eax, dword [0x1013ff3c]
mov esi, dword [0x1013ff4c]
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x10133d68]
push eax
andps xmm0, xmmword [0x101341f0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x10133d40]
addss xmm0, dword [0x10134080]
movss dword [ebp - 0xc], xmm0
push 0x40
push 4
push esi
call edi
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movss dword [esi], xmm0
push 4
push esi
call edi
mov eax, dword [0x1013ff3c]
mov esi, dword [0x1013ff50]
movsd xmm0, qword [eax]
lea eax, [ebp - 8]
subsd xmm0, qword [0x10133d68]
push eax
push 0x40
push 4
push esi
andps xmm0, xmmword [0x101341f0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x10133d40]
addss xmm0, dword [0x10134078]
movss dword [ebp - 0xc], xmm0
call edi
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
movss dword [esi], xmm0
push 4
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1008eacb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x100078d0
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 [0x1013f040]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x58], 0
je 0x10007ac4
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.1008eacb
mov esp, ebp
pop ebp
ret
Function at 0x10012dc0
Capabilities:
Allocate or change rwx memory

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
push 0xffffffffffffffff
push 0x1011ddd5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x1013f040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [0x10140154]
call fcn.10050fc0
push str.Custom__Lua__CharacterSystem__CharacterCreateCape.lua
mov ecx, 0x10140150
call fcn.1003ea00
push dword [0x10140154]
call fcn.10013060
push dword [0x10140154]
call fcn.1003f7c0
mov ecx, dword [0x10140154]
call fcn.10053430
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push 0x101311d4
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
call fcn.100072b0
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
push dword [0x10140154]
lea ecx, [ebp - 0x4c]
call fcn.10007b40
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.10013820
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x10012eb6
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012eac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001304c
push ecx
push edx
call fcn.1008edf3
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp ecx, 0xf
jbe 0x10012efc
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10012ef2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001304c
push ecx
push edx
call fcn.1008edf3
add esp, 8
push 0x10012620
push 0x57232e
push 0xe9
call fcn.100744c0
add esp, 0xc
push 0x100126d0
push 0x5757d4
push 0xe9
call fcn.100744c0
add esp, 0xc
push 0x10012740
push 0x574667
push 0xe9
call fcn.100744c0
add esp, 0xc
push 0x100127b0
push 0x5750fb
push 0xe9
call fcn.100744c0
add esp, 0xc
push 0x10012890
push 0x5fa844
push 0xe9
call fcn.100744c0
add esp, 0xc
push 0x100129f0
push 0x5658b6
push 0xe9
call fcn.100744c0
add esp, 0xc
push 0x10012ac0
push 0x8362a2
push 0xe9
call fcn.100744c0
add esp, 0xc
push 0x10012b10
push 0x83640e
push 0xe9
call fcn.100744c0
add esp, 0xc
push 0x10012b60
push 0x57605b
push 0xe9
call fcn.100744c0
add esp, 0xc
push 0x10012ba0
push 0x576144
push 0xe9
call fcn.100744c0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x40
push 6
push 0x51ec76
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x51ec76
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 6
push 0x51ec76
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x10012c10
push 0x51ec76
push 0xe9
call fcn.100744c0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1008eacb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100f231d
int3
Function at 0x1001a600
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
push 0xffffffffffffffff
push 0x1011ddd5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
mov eax, dword [0x1013f040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push 0x101311d4
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
call fcn.100072b0
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
push dword [0x10140db8]
lea ecx, [ebp - 0x4c]
call fcn.10007b40
push 0x1001a520
push str.SetJewelStack
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1000d970
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1001a6c7
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a6bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a7e9
push ecx
push edx
call fcn.1008edf3
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp ecx, 0xf
jbe 0x1001a714
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a70a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a7e9
push ecx
push edx
call fcn.1008edf3
add esp, 8
push str.Custom__Lua__Configs__CustomJewelStack.lua
mov ecx, 0x10140db4
call fcn.1003ea00
push 0x10131178
push str.StartLoadJewelStack
push 0x10140db4
call fcn.1003ebc0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x18]
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 - 0x18]
push eax
push dword [ebp - 0x18]
push 6
push 0x7dc964
call esi
push 0x1001a3d0
push 0x7dc964
push 0xe9
call fcn.100744c0
add esp, 0xc
lea eax, [ebp - 0x18]
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 - 0x18]
push eax
push dword [ebp - 0x18]
push 6
push 0x7dd634
call esi
push 0x1001a4f0
push 0x7dd634
push 0xe9
call fcn.100744c0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1008eacb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100f231d
int3
Function at 0x1001c230
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1013f040]
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 0x1001b560
push 0x4dada4
push 0xe8
call fcn.100744c0
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.100dcbf0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x83
push 0x47fc85
call esi
push 0x1001b780
push 0x47fc85
push 0xe9
call fcn.100744c0
push 0x1001c200
push 0x520ecf
push 0xe8
call fcn.100744c0
push 0x1001c200
push 0x520f1f
push 0xe8
call fcn.100744c0
push 0x1001c200
push 0x63e743
push 0xe8
call fcn.100744c0
push 0x1001c200
push 0x640eb2
push 0xe8
call fcn.100744c0
push 0x1001c200
push 0x7d2dd9
push 0xe8
call fcn.100744c0
add esp, 0x48
push 0x1001c200
push 0x7e6c0f
push 0xe8
call fcn.100744c0
push 0x1001c200
push 0x84aef7
push 0xe8
call fcn.100744c0
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop esi
call fcn.1008eacb
mov esp, ebp
pop ebp
ret
Function at 0x10029b50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov edx, 0x10131178
push edi
lea edi, [esi + 0xc]
mov dword [esi], vtable.CFileProtect.0
mov eax, edi
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x10029b87
test cl, cl
je 0x10029b83
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x10029b87
add eax, 2
add edx, 2
test cl, cl
jne 0x10029b67
xor eax, eax
jmp 0x10029b8c
sbb eax, eax
or eax, 1
test eax, eax
je 0x10029bc7
cmp dword [esi + 8], 0
je 0x10029bc7
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x10029bc7
push dword [esi + 4]
call fcn.1008eff5
push 0x100
push 0
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.100dcbf0
add esp, 0x10
test byte [ebp + 8], 1
je 0x10029bdb
push 0x10c
push esi
call fcn.1008edf3
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10029bf0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1013f040]
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 0x10029c78
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 0x10029c47
push eax
call fcn.1008eff5
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.1008effa
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 0x10029c8c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008eacb
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 8]
cmp ecx, 8
jb 0x10029c78
mov edx, dword [edi + 4]
mov eax, dword [edx]
cmp eax, dword [0x10131130]
jne 0x10029c78
mov eax, dword [edx + 4]
cmp eax, dword [0x10131134]
jne 0x10029c78
push ebx
lea eax, [ecx - 8]
xor ebx, ebx
test eax, eax
jle 0x10029d0d
nop dword [eax]
mov ecx, 0x1014c18c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10029cc8
sub ecx, edx
mov esi, dword [edi + 4]
mov eax, ebx
xor edx, edx
div ecx
movsx eax, byte [edx + 0x1014c18c]
and eax, 0xf
movzx eax, byte [eax + 0x10131120]
sub byte [esi + ebx + 8], al
mov eax, ebx
mov ecx, dword [edi + 4]
and eax, 0xf
movzx eax, byte [eax + 0x10131120]
xor byte [ecx + ebx + 8], al
inc ebx
mov eax, dword [edi + 8]
sub eax, 8
cmp ebx, eax
jl 0x10029cc0
lea esi, [edi + 0xc]
call fcn.100e6d3e
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push str.DataItem_t_d
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x10102
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 0x10029c78
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 0x10029d94
call eax
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008eacb
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.1008eacb
mov esp, ebp
pop ebp
ret 4
Function at 0x10046740
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov edx, 0x10131178
push edi
lea edi, [esi + 0xc]
mov dword [esi], vtable.CLuaDecrypt.0
mov eax, edi
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x10046777
test cl, cl
je 0x10046773
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x10046777
add eax, 2
add edx, 2
test cl, cl
jne 0x10046757
xor eax, eax
jmp 0x1004677c
sbb eax, eax
or eax, 1
test eax, eax
je 0x100467b1
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x100467b1
push dword [esi + 4]
call fcn.1008eff5
push 0x100
push 0
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.100dcbf0
add esp, 0x10
test byte [ebp + 8], 1
je 0x100467c5
push 0x10c
push esi
call fcn.1008edf3
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x100467d0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1013f040]
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 0x10046858
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 0x10046827
push eax
call fcn.1008eff5
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.1008effa
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 0x1004686c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008eacb
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 8]
cmp ecx, 8
jb 0x10046858
mov edx, dword [edi + 4]
mov eax, dword [edx]
cmp eax, dword [0x10131164]
jne 0x10046858
mov eax, dword [edx + 4]
cmp eax, dword [0x10131168]
jne 0x10046858
push ebx
lea eax, [ecx - 8]
xor ebx, ebx
test eax, eax
jle 0x100468ed
nop dword [eax]
mov ecx, 0x1014c18c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100468a8
sub ecx, edx
mov esi, dword [edi + 4]
mov eax, ebx
xor edx, edx
div ecx
movsx eax, byte [edx + 0x1014c18c]
and eax, 0xf
movzx eax, byte [eax + 0x10131154]
sub byte [esi + ebx + 8], al
mov eax, ebx
mov ecx, dword [edi + 4]
and eax, 0xf
movzx eax, byte [eax + 0x10131154]
xor byte [ecx + ebx + 8], al
inc ebx
mov eax, dword [edi + 8]
sub eax, 8
cmp ebx, eax
jl 0x100468a0
lea esi, [edi + 0xc]
call fcn.100e6d3e
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push str.DataItem_vorks_d.lua
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x102
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 0x10046858
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 0x10046974
call eax
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008eacb
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.1008eacb
mov esp, ebp
pop ebp
ret 4