joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b4fa0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov edx, 0x101334f7
push edi
lea edi, [esi + 0xc]
mov dword [esi], vtable.CFileProtect.0
mov eax, edi
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x100b4fd7
test cl, cl
je 0x100b4fd3
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x100b4fd7
add eax, 2
add edx, 2
test cl, cl
jne 0x100b4fb7
xor eax, eax
jmp 0x100b4fdc
sbb eax, eax
or eax, 1
test eax, eax
je 0x100b5017
cmp dword [esi + 8], 0
je 0x100b5017
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x100b5017
push dword [esi + 4]
call fcn.100dbe38
push 0x100
push 0
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
test byte [ebp + 8], 1
je 0x100b502b
push 0x10c
push esi
call fcn.100db7d1
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x100b5040
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0
push 0x20
push 3
push 0
push 1
push connect
push dword [ebp + 8]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x100b51d6
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 0x100b508d
push eax
call fcn.100dbe38
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.100dbe2f
add esp, 4
mov dword [edi + 4], eax
test eax, eax
je 0x100b51cf
push 0
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
push ecx
push dword [edi + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100b51cf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 8]
cmp ecx, 8
jb 0x100b51d6
mov edx, dword [edi + 4]
mov eax, dword [edx]
cmp eax, dword [0x10134008]
jne 0x100b51d6
mov eax, dword [edx + 4]
cmp eax, dword [0x1013400c]
jne 0x100b51d6
push ebx
lea eax, [ecx - 8]
xor ebx, ebx
test eax, eax
jle 0x100b514d
mov ecx, 0x101f0109
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b5108
sub ecx, edx
mov esi, dword [edi + 4]
mov eax, ebx
xor edx, edx
div ecx
movsx eax, byte [edx + 0x101f0109]
and eax, 0xf
movzx eax, byte [eax + 0x10134010]
sub byte [esi + ebx + 8], al
mov eax, ebx
mov ecx, dword [edi + 4]
and eax, 0xf
movzx eax, byte [eax + 0x10134010]
xor byte [ecx + ebx + 8], al
inc ebx
mov eax, dword [edi + 8]
sub eax, 8
cmp ebx, eax
jl 0x100b5100
lea esi, [edi + 0xc]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push str.DataItemTemp_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 0x100b51d6
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 0x100b51c5
call eax
pop edi
xor al, al
pop esi
pop ebp
ret 4
call eax
pop edi
mov al, 1
pop esi
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
pop ebp
ret 4
Function at 0x100b5260
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0xe8c588]
push ebx
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push edi
test eax, eax
je 0x100b5279
push eax
call esi
mov eax, dword [0xe8c58c]
test eax, eax
je 0x100b5285
push eax
call esi
mov eax, dword [0xe8c590]
test eax, eax
je 0x100b5291
push eax
call esi
mov eax, dword [0xe8c594]
test eax, eax
je 0x100b529d
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x81c0380
call edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
mov dword [0x81c0380], esi
push dword [ebp - 4]
push 4
push 0x81c0380
call edi
cmp dword [0x101a719c], 0x10
mov ecx, 0x101a7188
mov edi, dword [sym.imp.GDI32.dll_CreateFontA]
mov ebx, 0x190
cmovae ecx, dword [0x101a7188]
mov eax, 0x2bc
cmp dword [0x101a717c], 1
mov edx, ebx
push ecx
push 0
push 3
push 0
push 0
push dword [0x101a7184]
cmove edx, eax
mov eax, dword [0x101a7180]
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, 0x101a71ac
cmp dword [0x101a71c0], 0x10
mov eax, 0x2bc
mov edx, ebx
cmovae ecx, dword [0x101a71ac]
cmp dword [0x101a71a0], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x101a71a8]
cmove edx, eax
mov eax, dword [0x101a71a4]
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, 0x101a71d0
cmp dword [0x101a71e4], 0x10
mov eax, 0x2bc
mov edx, ebx
cmovae ecx, dword [0x101a71d0]
cmp dword [0x101a71c4], 1
push ecx
cmove edx, eax
mov eax, dword [0x101a71c8]
push 0
lea eax, [eax + esi*2]
add eax, 0xfffffffe
push 3
push 0
push 0
push dword [0x101a71cc]
push 0
push 0
push 0
push edx
push 0
push 0
push 0
push eax
call edi
mov dword [0xe8c590], eax
mov ecx, 0x101a71f4
cmp dword [0x101a7208], 0x10
mov eax, 0x2bc
cmovae ecx, dword [0x101a71f4]
cmp dword [0x101a71e8], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x101a71f0]
cmove ebx, eax
mov eax, dword [0x101a71ec]
push 0
push 0
push 0
push ebx
push 0
push 0
add eax, 0xc
push 0
push eax
call edi
pop edi
pop esi
mov dword [0xe8c594], eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100b75c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cvttss2si eax, xmm2
push edi
mov edi, ecx
movaps xmm4, xmm2
movss dword [ebp - 4], xmm3
movsx edx, ax
movss dword [ebp - 8], xmm4
cmp dword [0x879340c], edx
jl 0x100b76ff
cvttss2si eax, dword [ebp + 0xc]
cwde
add eax, edx
cmp dword [0x879340c], eax
jg 0x100b76ff
mov edx, dword [0x8793410]
cvttss2si eax, xmm3
movsx ecx, ax
cmp edx, ecx
jl 0x100b76ff
cvttss2si eax, dword [ebp + 0x10]
cwde
add eax, ecx
cmp edx, eax
jg 0x100b76ff
movss xmm0, dword [ebp + 0x18]
divss xmm0, dword [ebp + 0x20]
push 1
movss dword [ebp + 0x18], xmm0
movss xmm0, dword [ebp + 0x14]
divss xmm0, dword [ebp + 0x1c]
movss dword [ebp + 0x20], xmm0
call dword [sym.imp.USER32.dll_GetKeyState]
movss xmm2, dword [ebp + 0x18]
mov ecx, 0x8000
movss xmm0, dword [ebp + 0x20]
push ecx
mov dword [esp], 0
push 1
push 0
sub esp, 0x20
test cx, ax
mov eax, 0x637c60
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x18], xmm0
je 0x100b768f
cvtps2pd xmm1, xmm2
addsd xmm1, xmm1
cvtpd2ps xmm0, xmm1
movss dword [esp + 0x14], xmm0
jmp 0x100b7695
movss dword [esp + 0x14], xmm2
movss xmm0, dword [ebp + 0x10]
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0xc]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 8]
movss dword [esp], xmm0
push dword [ebp + 8]
call eax
add esp, 0x30
mov eax, 0x791050
push 1
call eax
add esp, 4
test al, al
je 0x100b776c
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
push edi
call dword [ebp + 0x24]
add esp, 0x10
pop edi
mov esp, ebp
pop ebp
ret 0x20
movss xmm1, dword [ebp + 0x18]
mov eax, 0x637c60
movss xmm2, dword [ebp + 0x14]
divss xmm1, dword [ebp + 0x20]
push ecx
mov dword [esp], 0
push 1
push 0
sub esp, 0x20
divss xmm2, dword [ebp + 0x1c]
movss xmm0, dword [ebp + 0x10]
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x18], xmm2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0xc]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm3
movss dword [esp], xmm4
push dword [ebp + 8]
call eax
add esp, 0x30
pop edi
mov esp, ebp
pop ebp
ret 0x20
Function at 0x100c7380
Capabilities:
Allocate or change rwx memory
Check for time delay via gettickcount
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x1014300c]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov dword [esp + 0xc], 0
cmp dword [0x102c5a2c], 2
push edi
jne 0x100c7412
movq xmm0, qword [0x102c5a48]
lea ecx, [esp + 0x14]
mov ax, word [0x102c5a50]
mov edx, 0xe
mov dword [esp + 0x14], 0x3f30ec1
movq qword [esp + 0x18], xmm0
mov word [esp + 0x20], ax
call fcn.100c7890
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x102c5a30], 1
mov dword [0x102c5a2c], 3
call esi
mov dword [0x102c5a28], eax
call esi
mov dword [0x102c5a24], eax
mov dword [0x102c5a20], 0x7530
mov dword [0x102c5a1c], 0x7530
mov ecx, 0x101efdc3
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c7420
sub ecx, edx
je 0x100c749a
push ecx
push 0x101efdc3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0xf
mov byte [esp + 0x1c], al
call fcn.1000c820
mov dword [esp + 0x10], 1
lea esi, [esp + 0x14]
mov edi, dword [esp + 0x28]
cmp edi, 0x10
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
cmovae esi, ecx
test eax, eax
je 0x100c74a2
lea edx, [eax + esi]
mov eax, esi
cmp esi, edx
jae 0x100c74a2
nop dword [eax]
cmp byte [eax], 0x20
jne 0x100c748c
inc eax
cmp eax, edx
jb 0x100c7480
jmp 0x100c74a2
sub eax, esi
cmp eax, 0xffffffff
je 0x100c74a2
mov byte [esp + 0xf], 0
jmp 0x100c74a7
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0xf], 1
test byte [esp + 0x10], 1
je 0x100c74e0
cmp edi, 0x10
jb 0x100c74e0
lea edx, [edi + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x100c74d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c74d6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100db7d1
add esp, 8
cmp byte [esp + 0xf], 0
je 0x100c74fa
cmp byte [0x101f018f], 0
jne 0x100c74fa
mov ecx, 0x10144808
call fcn.1002df60
mov ecx, dword [0x10546710]
mov eax, dword [ecx]
cmp eax, ecx
je 0x100c7558
nop word [eax + eax]
mov byte [eax + 0x15], 0xff
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x100c753a
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x100c7536
cmp eax, dword [ecx + 8]
jne 0x100c7536
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x100c7526
mov eax, ecx
jmp 0x100c7550
mov eax, ecx
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x100c7550
mov ecx, dword [edx]
mov eax, edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x100c7544
cmp eax, dword [0x10546710]
jne 0x100c7510
mov ecx, 0x10546710
call fcn.100afda0
mov ecx, 0x1054691c
call fcn.100afda0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x10]
push eax
push 0x40
push 1
push 0x83703d
mov dword [0x105467c0], 0
call esi
lea eax, [esp + 0x10]
mov byte [0x83703d], 0xc
push eax
push dword [esp + 0x14]
push 1
push 0x83703d
call esi
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor ecx, esp
call fcn.100db7c0
mov esp, ebp
pop ebp
ret
Function at 0x100c8450
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x1014300c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0xe609e8], 5
jne 0x100c85de
cmp dword [0x102c5a30], 2
je 0x100c85de
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov edi, dword [0x101efed4]
mov dword [0x102c5a30], 1
mov dword [0x102c5a2c], 0
call esi
mov dword [0x102c5a28], eax
call esi
mov dword [0x102c5a24], eax
xor esi, esi
mov eax, dword [0xe8cb7c]
mov ecx, 0x402bc0
mov dword [0x102c5a20], 0x7530
mov dword [0x102c5a1c], edi
mov dword [0x102c5a18], 0
movzx eax, byte [eax + 8]
mov dword [0x102c5a14], eax
mov byte [ebp - 0x108], 0xc1
mov byte [ebp - 0x106], 0x14
nop dword [eax + eax]
mov byte [ebp - 0x105], 0
mov ebx, 4
cmp esi, 0x190
jae 0x100c8576
mov edi, 6
lea eax, [ebp - 0x100]
sub edi, eax
push esi
call ecx
mov ecx, eax
mov eax, 0x96a4c0
call eax
test eax, eax
je 0x100c8568
cmp byte [eax + 0x30c], 0
je 0x100c8568
movzx ecx, word [eax + 0x7e]
mov eax, ecx
mov byte [ebp - 0x10b], cl
shr eax, 8
mov byte [ebp - 0x10c], al
lea eax, [edi + ebx]
lea eax, [ebp + eax - 0x104]
cmp eax, 0x100
ja 0x100c8576
mov ax, word [ebp - 0x10c]
mov word [ebp + ebx - 0x104], ax
add ebx, 2
inc byte [ebp - 0x105]
inc esi
mov ecx, 0x402bc0
cmp esi, 0x190
jb 0x100c8511
push 0xffffffffffffffff
mov byte [ebp - 0x107], bl
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x104]
push ebx
push eax
push 0x14
call fcn.100c45b0
add esp, 0x10
mov ecx, 0x402bc0
cmp esi, 0x190
jb 0x100c84f0
mov dword [0x81f6b6c], 0
mov ecx, dword [0x8128ac8]
pop edi
pop esi
pop ebx
movq xmm0, qword [ecx]
movq qword [0x102c5a48], xmm0
mov ax, word [ecx + 8]
mov word [0x102c5a50], ax
mov al, byte [ecx + 0xa]
mov byte [0x102c5a52], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100db7c0
mov esp, ebp
pop ebp
ret
Function at 0x100c8c40
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1013ec18
push 0x100dbe0c
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x1014300c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x148], eax
push dword [ebp + 8]
push str..PhysicalDrive_d
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x14c], esi
cmp esi, 0xffffffff
je 0x100c8ded
mov dword [ebp - 0x130], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x140], xmm0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
push 0
lea eax, [ebp - 0x144]
push eax
push 8
lea eax, [ebp - 0x140]
push eax
push 0xc
lea eax, [ebp - 0x138]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100c8d24
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100c8ded
push dword [ebp - 0x13c]
call fcn.100dbe2f
mov edi, eax
mov dword [ebp - 0x150], edi
push dword [ebp - 0x13c]
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
push 0
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x13c]
push edi
push 0xc
lea eax, [ebp - 0x138]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100c8d83
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.100dbe38
add esp, 4
jmp 0x100c8ded
mov eax, dword [edi + 0x18]
test eax, eax
je 0x100c8d71
mov dword [ebp - 4], 0
add eax, edi
push eax
push 0x100
push dword [ebp - 0x148]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.100dbe38
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x100c8def
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.100db7c0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100ca820
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012b240
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1014300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
push 0x101371b4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000c820
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push dword [0x101a5270]
lea ecx, [ebp - 0x44]
call fcn.1007cc10
push 0x100ca7e0
push str.SetJewelStack
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1008d2f0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x100ca8d2
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ca8c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ca8c8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100db7d1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x100ca921
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ca917
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ca917
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100db7d1
add esp, 8
push str.Data__KGData__Lua__Configs__CustomJewelStack.lua
mov ecx, 0x101a526c
call fcn.100b49b0
push 0x101334f7
push str.StartLoadJewelStack
push 0x101a526c
call fcn.100b4b60
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x48]
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 - 0x48]
push eax
push dword [ebp - 0x48]
push 6
push 0x7dc964
call esi
push 0x100ca6b0
push 0x7dc964
push 0xe9
call fcn.100cc920
add esp, 0xc
lea eax, [ebp - 0x48]
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 - 0x48]
push eax
push dword [ebp - 0x48]
push 6
push 0x7dd634
call esi
push 0x100ca7b0
push 0x7dd634
push 0xe9
call fcn.100cc920
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.100db7c0
mov esp, ebp
pop ebp
ret
Function at 0x100cbff0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov al, byte [ebp + 8]
push esi
mov byte [ebp - 0xc], al
mov esi, ecx
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 0x40
sub edx, esi
push 5
sub edx, 5
push esi
mov dword [ebp - 0xb], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100cc02c
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
mov al, byte [ebp - 8]
mov byte [esi + 4], al
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], 0
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100cc021
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100cc060
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
movzx esi, dx
mov edi, ecx
push esi
call fcn.100dbe2f
push esi
mov ebx, eax
push 0x90
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100cc0ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push ebx
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100cc09e
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100cc110
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x1014300c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [0xe8c578]
mov esi, ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100cc220
push edi
mov edi, dword [0xe8c578]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, edi
jne 0x100cc210
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0xe8c578]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
mov ecx, esi
call fcn.100cc260
push 0x1fc
lea eax, [ebp - 0x200]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov dword [ebp - 0x200], 0x1fc
add esp, 0xc
mov dword [ebp - 0x1f8], 0x444
xor ecx, ecx
mov eax, dword [0xe8c578]
mov dword [ebp - 0x1fc], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x1f4], 0x13
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1f0], 0x445
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x60], 0x1388
nop
mov al, byte [ecx + str.Game_has_been_minimized]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x161], al
test al, al
jne 0x100cc1d0
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x101efcb1]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x5d], al
test al, al
jne 0x100cc1f0
lea eax, [ebp - 0x200]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100db7c0
mov esp, ebp
pop ebp
ret
push 5
push dword [0xe8c578]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0xe8c578]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
mov ecx, esi
call fcn.100cc260
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100db7c0
mov esp, ebp
pop ebp
ret
Function at 0x100cc820
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea eax, [ebp - 4]
mov ebx, ecx
push eax
push 0x40
push 2
push ebx
mov di, dx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
mov word [ebx], di
push eax
push dword [ebp - 4]
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100cc860
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea eax, [ebp - 4]
mov ebx, ecx
push eax
push 0x40
push 4
push ebx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
mov dword [ebx], edi
push eax
push dword [ebp - 4]
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100cc8a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
lea eax, [ebp - 4]
movss dword [ebp - 8], xmm1
push eax
push 0x40
mov edi, ecx
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movss xmm0, dword [ebp - 8]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
movss dword [edi], xmm0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x100cc8e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movsd xmm0, qword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
movsd qword [edi], xmm0
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x100cc920
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp + 8]
cmp al, 0xff
je 0x100cc940
mov byte [esi], al
mov eax, dword [ebp + 0x10]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100cc960
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push edi
mov edi, dword [ebp + 8]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push dword [ebp + 0xc]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret