joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100155a0
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 0x101206f5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x10141040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [0x101421c4]
call fcn.10053940
push str.Data__Files__Lua__CharacterSystem__CharacterCreateCape.lua
mov ecx, 0x101421c0
call fcn.10041150
push dword [0x101421c4]
call fcn.10015840
push dword [0x101421c4]
call fcn.10041f00
mov ecx, dword [0x101421c4]
call fcn.10055e80
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push 0x10133208
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
call fcn.10008540
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
push dword [0x101421c4]
lea ecx, [ebp - 0x4c]
call fcn.10008db0
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.10016000
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x10015696
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001568c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001582c
push ecx
push edx
call fcn.1007a851
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 0x100156dc
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100156d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001582c
push ecx
push edx
call fcn.1007a851
add esp, 8
push 0x10014e00
push 0x57232e
push 0xe9
call fcn.10077930
add esp, 0xc
push 0x10014eb0
push 0x5757d4
push 0xe9
call fcn.10077930
add esp, 0xc
push 0x10014f20
push 0x574667
push 0xe9
call fcn.10077930
add esp, 0xc
push 0x10014f90
push 0x5750fb
push 0xe9
call fcn.10077930
add esp, 0xc
push 0x10015070
push 0x5fa844
push 0xe9
call fcn.10077930
add esp, 0xc
push 0x100151d0
push 0x5658b6
push 0xe9
call fcn.10077930
add esp, 0xc
push 0x100152a0
push 0x8362a2
push 0xe9
call fcn.10077930
add esp, 0xc
push 0x100152f0
push 0x83640e
push 0xe9
call fcn.10077930
add esp, 0xc
push 0x10015340
push 0x57605b
push 0xe9
call fcn.10077930
add esp, 0xc
push 0x10015380
push 0x576144
push 0xe9
call fcn.10077930
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 0x100153f0
push 0x51ec76
push 0xe9
call fcn.10077930
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.1007a529
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100f494d
int3
Function at 0x1001d800
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 0x101206f5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
mov eax, dword [0x10141040]
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 0x10133208
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
call fcn.10008540
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
push dword [0x10142e68]
lea ecx, [ebp - 0x4c]
call fcn.10008db0
push 0x1001d720
push str.SetJewelStack
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1000e920
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1001d8c7
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d8bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d9e9
push ecx
push edx
call fcn.1007a851
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 0x1001d914
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d90a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d9e9
push ecx
push edx
call fcn.1007a851
add esp, 8
push str.Data__Files__Lua__Configs__CustomJewelStack.lua
mov ecx, 0x10142e64
call fcn.10041150
push 0x101331c8
push str.StartLoadJewelStack
push 0x10142e64
call fcn.10041310
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 0x1001d5d0
push 0x7dc964
push 0xe9
call fcn.10077930
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 0x1001d6f0
push 0x7dd634
push 0xe9
call fcn.10077930
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.1007a529
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100f494d
int3
Function at 0x1001f420
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10141040]
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 0x1001e750
push 0x4dada4
push 0xe8
call fcn.10077930
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.100ded50
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x83
push 0x47fc85
call esi
push 0x1001e970
push 0x47fc85
push 0xe9
call fcn.10077930
push 0x1001f3f0
push 0x520ecf
push 0xe8
call fcn.10077930
push 0x1001f3f0
push 0x520f1f
push 0xe8
call fcn.10077930
push 0x1001f3f0
push 0x63e743
push 0xe8
call fcn.10077930
push 0x1001f3f0
push 0x640eb2
push 0xe8
call fcn.10077930
push 0x1001f3f0
push 0x7d2dd9
push 0xe8
call fcn.10077930
add esp, 0x48
push 0x1001f3f0
push 0x7e6c0f
push 0xe8
call fcn.10077930
push 0x1001f3f0
push 0x84aef7
push 0xe8
call fcn.10077930
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop esi
call fcn.1007a529
mov esp, ebp
pop ebp
ret
Function at 0x1002cfe0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10141040]
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 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1002d076
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [0x1014a6e4]
mov dword [0x1014a6e8], eax
test ecx, ecx
je 0x1002d042
push ecx
call fcn.1007aa53
mov eax, dword [0x1014a6e8]
add esp, 4
mov dword [0x1014a6e4], 0
push eax
call fcn.1007aa58
add esp, 4
mov dword [0x1014a6e4], eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push 0
push ecx
push dword [0x1014a6e8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
jne 0x1002d08a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a529
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov ecx, dword [0x1014a6e8]
cmp ecx, 8
jb 0x1002d076
mov esi, dword [0x1014a6e4]
mov eax, dword [esi]
cmp eax, dword [0x10133144]
jne 0x1002d076
mov eax, dword [esi + 4]
cmp eax, dword [0x10133148]
jne 0x1002d076
push edi
lea eax, [ecx - 8]
xor edi, edi
test eax, eax
jle 0x1002d11f
mov ecx, 0x101502cc
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d0d0
sub ecx, edx
mov eax, edi
xor edx, edx
div ecx
movsx eax, byte [edx + 0x101502cc]
and eax, 0xf
movzx eax, byte [eax + 0x10133134]
sub byte [esi + edi + 8], al
mov eax, edi
mov ecx, dword [0x1014a6e4]
and eax, 0xf
movzx eax, byte [eax + 0x10133134]
xor byte [ecx + edi + 8], al
inc edi
mov eax, dword [0x1014a6e8]
add eax, 0xfffffff8
cmp edi, eax
jge 0x1002d11f
mov esi, dword [0x1014a6e4]
jmp 0x1002d0c2
call fcn.100e936e
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push str.Data_t_d
push 0x1014a6ec
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x10106
push 2
push 0
push 7
push 0x40000000
push 0x1014a6ec
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
pop edi
cmp esi, 0xffffffff
je 0x1002d076
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov eax, dword [0x1014a6e8]
add eax, 0xfffffff8
push eax
mov eax, dword [0x1014a6e4]
add eax, 8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x1002d1aa
call ebx
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a529
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.1007a529
mov esp, ebp
pop ebp
ret 4
Function at 0x1003b520
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 0x1003b767
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x1014aa68]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1003b5b4
comiss xmm1, dword [0x1014aa70]
ja 0x1003b5b4
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x1014aa6c]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003b5b4
comiss xmm2, dword [0x1014aa74]
ja 0x1003b5b4
cmp dword [ebp + 8], 0x201
jne 0x1003b590
mov byte [0x1014aa7c], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x1014aa78]
mov byte [0x1014aa7c], 0
cmp eax, 0x1f4
jb 0x1003b767
call esi
mov dword [0x1014aa78], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x1014aab0]
comiss xmm0, xmm1
ja 0x1003b624
comiss xmm1, dword [0x1014aab8]
ja 0x1003b624
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x1014aab4]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003b624
comiss xmm2, dword [0x1014aabc]
ja 0x1003b624
cmp dword [ebp + 8], 0x201
jne 0x1003b600
mov byte [0x1014aac4], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x1014aac0]
mov byte [0x1014aac4], 0
cmp eax, 0x1f4
jb 0x1003b767
call esi
mov dword [0x1014aac0], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x1014aaf8]
comiss xmm0, xmm1
ja 0x1003b694
comiss xmm1, dword [0x1014ab00]
ja 0x1003b694
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x1014aafc]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003b694
comiss xmm2, dword [0x1014ab04]
ja 0x1003b694
cmp dword [ebp + 8], 0x201
jne 0x1003b670
mov byte [0x1014ab0c], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x1014ab08]
mov byte [0x1014ab0c], 0
cmp eax, 0x1f4
jb 0x1003b767
call esi
mov dword [0x1014ab08], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x1014ab40]
comiss xmm0, xmm1
ja 0x1003b700
comiss xmm1, dword [0x1014ab48]
ja 0x1003b700
movd xmm2, dword [0x8793410]
movss xmm0, dword [0x1014ab44]
cvtdq2ps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1003b700
comiss xmm2, dword [0x1014ab4c]
ja 0x1003b700
cmp dword [ebp + 8], 0x201
jne 0x1003b6e0
mov byte [0x1014ab54], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x1014ab50]
mov byte [0x1014ab54], 0
cmp eax, 0x1f4
jb 0x1003b767
call esi
mov dword [0x1014ab50], eax
pop esi
pop ebp
ret 4
movss xmm0, dword [0x1014ab88]
comiss xmm0, xmm1
ja 0x1003b767
comiss xmm1, dword [0x1014ab90]
ja 0x1003b767
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x1014ab8c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1003b767
comiss xmm1, dword [0x1014ab94]
ja 0x1003b767
cmp dword [ebp + 8], 0x201
jne 0x1003b74c
mov byte [0x1014ab9c], 1
pop esi
pop ebp
ret 4
sub eax, dword [0x1014ab98]
mov byte [0x1014ab9c], 0
cmp eax, 0x1f4
jb 0x1003b767
call esi
mov dword [0x1014ab98], eax
pop esi
pop ebp
ret 4
Function at 0x10040ca0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10141040]
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 4
push 0x6311b7
call esi
lea eax, [ebp - 8]
mov dword [0x6311b7], 0x1013489c
push eax
push dword [ebp - 8]
push 4
push 0x6311b7
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x6311d7
call esi
lea eax, [ebp - 8]
mov dword [0x6311d7], 0x1013489c
push eax
push dword [ebp - 8]
push 4
push 0x6311d7
call esi
push 0x10040190
push 0x4d7d13
push 0xe8
call fcn.10077930
push 0x10040c00
push 0x40b1ef
push 0xe8
call fcn.10077930
push 0x10040c30
push 0x40b210
push 0xe8
call fcn.10077930
push 0x10040c60
push 0x40b6a7
push 0xe8
call fcn.10077930
push 0x10040c60
push 0x40b635
push 0xe8
call fcn.10077930
add esp, 0x3c
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x40b7a2
call esi
mov eax, 0x40b7a2
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40b7a2
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x40b2e2
call esi
mov eax, 0x40b2e2
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40b2e2
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x40b306
call esi
mov eax, 0x40b306
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40b306
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x40b380
call esi
mov eax, 0x40b380
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x40b380
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push 0x401f56
call esi
mov eax, 0x401f56
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push 0x401f56
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1007a529
mov esp, ebp
pop ebp
ret
Function at 0x10048ec0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10141040]
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 0x80000000
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10048f48
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 0x10048f17
push eax
call fcn.1007aa53
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.1007aa58
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 0x10048f5c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a529
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 8]
cmp ecx, 8
jb 0x10048f48
mov edx, dword [edi + 4]
mov eax, dword [edx]
cmp eax, dword [0x10133160]
jne 0x10048f48
mov eax, dword [edx + 4]
cmp eax, dword [0x10133164]
jne 0x10048f48
push ebx
lea eax, [ecx - 8]
xor ebx, ebx
test eax, eax
jle 0x10048fdd
nop dword [eax]
mov ecx, 0x101502cc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10048f98
sub ecx, edx
mov esi, dword [edi + 4]
mov eax, ebx
xor edx, edx
div ecx
movsx eax, byte [edx + 0x101502cc]
and eax, 0xf
movzx eax, byte [eax + 0x10133150]
sub byte [esi + ebx + 8], al
mov eax, ebx
mov ecx, dword [edi + 4]
and eax, 0xf
movzx eax, byte [eax + 0x10133150]
xor byte [ecx + ebx + 8], al
inc ebx
mov eax, dword [edi + 8]
sub eax, 8
cmp ebx, eax
jl 0x10048f90
lea esi, [edi + 0xc]
call fcn.100e936e
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 0x10048f48
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 0x10049064
call eax
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a529
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.1007a529
mov esp, ebp
pop ebp
ret 4
Function at 0x1005e2d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10141040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1030e4b4], 0
jne 0x1005e4d0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4d1e33
mov byte [0x1030e4b4], 1
call esi
lea eax, [ebp - 8]
mov byte [0x4d1e33], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x4d1e33
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push 0x4d1e69
call esi
lea eax, [ebp - 8]
mov byte [0x4d1e69], 0xeb
push eax
push dword [ebp - 8]
push 1
push 0x4d1e69
call esi
push 0x1005e2b0
push 0x4d2103
push 0xe8
call fcn.10077930
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x4cfa8f
call esi
lea eax, [ebp - 8]
mov dword [0x4cfa8f], 0x2ac7
push eax
push dword [ebp - 8]
push 4
push 0x4cfa8f
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x60d985
call esi
lea eax, [ebp - 8]
mov dword [0x60d985], 0x2ac7
push eax
push dword [ebp - 8]
push 4
push 0x60d985
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x60f356
call esi
lea eax, [ebp - 8]
mov dword [0x60f356], 0x2ac7
push eax
push dword [ebp - 8]
push 4
push 0x60f356
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x6103ee
call esi
mov dword [0x6103ee], 0x2ac7
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push 0x6103ee
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x969c60
call esi
lea eax, [ebp - 8]
mov dword [0x969c60], 0x2ac7
push eax
push dword [ebp - 8]
push 4
push 0x969c60
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x969b3f
call esi
lea eax, [ebp - 8]
mov dword [0x969b3f], 0x2f8220
push eax
push dword [ebp - 8]
push 4
push 0x969b3f
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x969b60
call esi
lea eax, [ebp - 8]
mov dword [0x969b60], 0x2ec7
push eax
push dword [ebp - 8]
push 4
push 0x969b60
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x969b6f
call esi
lea eax, [ebp - 8]
mov dword [0x969b6f], 0x2ec7
push eax
push dword [ebp - 8]
push 4
push 0x969b6f
call esi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x969bad
call esi
lea eax, [ebp - 8]
mov dword [0x969bad], 0x2f821c
push eax
push dword [ebp - 8]
push 4
push 0x969bad
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a529
mov esp, ebp
pop ebp
ret
Function at 0x1005e4f0
Capabilities:
Create thread
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x1005e586
push ebx
push esi
call fcn.1005e2d0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push eax
push ebx
push 0x100348c0
push 2
call esi
mov dword [0x1014a81c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push ebx
push 0x10034a80
push 7
call esi
push 0x10034850
push 0x4d0e2f
push 0xe8
mov dword [0x1014a820], eax
mov dword [0x1014a818], ebx
call fcn.10077930
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
add esp, 0xc
mov dword [0x101543d0], ebx
push 0
push 0
push 0
push 0x1005b360
push 0
push 0
call esi
push 0
push 0
push 0
push 0x1005b3a0
push 0
push 0
call esi
pop esi
pop ebx
mov eax, 1
pop ebp
ret 0xc