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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101278a5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10141040]
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 - 0x48]
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 - 0x48]
push eax
push dword [ebp - 0x48]
push 6
push 0x78c015
call esi
push 0x100b2ff0
push 0x78c015
push 0xe9
call fcn.100c9bf0
add esp, 0xc
lea eax, [ebp - 0x48]
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 - 0x48]
push eax
push dword [ebp - 0x48]
push 0xa
push 0x78a01b
call esi
push 0x100b3030
push 0x78a01b
push 0xe9
call fcn.100c9bf0
add esp, 0xc
lea eax, [ebp - 0x48]
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 - 0x48]
push eax
push dword [ebp - 0x48]
push 7
push 0x6403f5
call esi
push 0x100b2da0
push 0x6403f5
push 0xe9
call fcn.100c9bf0
add esp, 0xc
lea eax, [ebp - 0x48]
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 - 0x48]
push eax
push dword [ebp - 0x48]
push 8
push 0x788c59
call esi
push 0x100b2f80
push 0x788c59
push 0xe9
call fcn.100c9bf0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 2
movups xmmword [ebp - 0x28], xmm0
mov eax, 0x475f
mov dword [ebp - 0x14], 0xf
add esp, 0xc
mov word [ebp - 0x28], ax
mov byte [ebp - 0x26], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push dword [0x101aac64]
lea ecx, [ebp - 0x44]
call fcn.1007b660
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.100b3420
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x100b338c
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b3382
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b33cb
push ecx
push edx
call fcn.100d84b0
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0xf
jbe 0x100b33db
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b33d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b33d1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d84b0
add esp, 8
push str.Data__KGData__Lua__Configs__MessageColors.lua
mov ecx, 0x101aac60
call fcn.100b06a0
push 0x1012f47f
push str.StartLoadCustomMessageColors
push 0x101aac60
call fcn.100b0890
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.100d84a2
mov esp, ebp
pop ebp
ret
Function at 0x100b4750
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [0x879340c]
movaps xmm4, xmm2
movss xmm5, dword [ebp + 0x1c]
movss xmm2, dword [ebp + 0x20]
cvttss2si eax, xmm4
push esi
mov esi, ecx
movss dword [ebp - 4], xmm3
movsx ecx, ax
movss dword [ebp - 8], xmm4
cmp edx, ecx
jl 0x100b4895
cvttss2si eax, dword [ebp + 0xc]
cwde
add eax, ecx
cmp edx, eax
jg 0x100b4895
mov edx, dword [0x8793410]
cvttss2si eax, xmm3
movsx ecx, ax
cmp edx, ecx
jl 0x100b4895
cvttss2si eax, dword [ebp + 0x10]
cwde
add eax, ecx
cmp edx, eax
jg 0x100b4895
movss xmm0, dword [ebp + 0x18]
divss xmm0, xmm2
push 1
movss dword [ebp + 0x18], xmm0
movss xmm0, dword [ebp + 0x14]
divss xmm0, xmm5
movss dword [ebp + 0x14], xmm0
call dword [sym.imp.USER32.dll_GetKeyState]
push ecx
mov dword [esp], 0
push 1
push 0
sub esp, 0x20
test ax, ax
mov eax, 0x637c60
jns 0x100b480f
movss xmm2, dword [ebp + 0x18]
cvtps2pd xmm1, xmm2
movss dword [esp + 0x1c], xmm2
addsd xmm1, xmm1
cvtpd2ps xmm0, xmm1
jmp 0x100b481a
movss xmm0, dword [ebp + 0x18]
movss dword [esp + 0x1c], xmm0
movss xmm2, dword [ebp + 0x14]
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x14], xmm0
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 0x100b4900
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
push esi
call dword [ebp + 0x24]
add esp, 0x10
pop esi
mov esp, ebp
pop ebp
ret 0x20
movss xmm1, dword [ebp + 0x18]
mov eax, 0x637c60
divss xmm1, xmm2
push ecx
mov dword [esp], 0
push 1
push 0
sub esp, 0x20
movss xmm2, dword [ebp + 0x14]
divss xmm2, xmm5
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 esi
mov esp, ebp
pop ebp
ret 0x20
Function at 0x100c4600
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, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x10141040]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
mov dword [esp + 8], 0
cmp dword [0x102c5244], 2
push edi
jne 0x100c4692
movq xmm0, qword [0x102c525c]
lea ecx, [esp + 0x10]
mov ax, word [0x102c5264]
mov edx, 0xe
mov dword [esp + 0x10], 0x3f30ec1
movq qword [esp + 0x14], xmm0
mov word [esp + 0x1c], ax
call fcn.100c4b40
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x102c5248], 1
mov dword [0x102c5244], 3
call esi
mov dword [0x102c5240], eax
call esi
mov dword [0x102c523c], eax
mov dword [0x102c5238], 0x7530
mov dword [0x102c5234], 0x7530
mov ecx, 0x101ef533
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c46a0
sub ecx, edx
je 0x100c471a
push ecx
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
push 0x101ef533
lea ecx, [esp + 0x28]
movaps xmmword [esp + 0x28], xmm0
mov dword [esp + 0x3c], 0
call fcn.1000d190
mov dword [esp + 0xc], 1
lea esi, [esp + 0x20]
mov edi, dword [esp + 0x34]
cmp edi, 0xf
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
cmova esi, ecx
test eax, eax
je 0x100c4722
lea edx, [eax + esi]
mov eax, esi
cmp esi, edx
jae 0x100c4722
nop dword [eax]
cmp byte [eax], 0x20
jne 0x100c470c
inc eax
cmp eax, edx
jb 0x100c4700
jmp 0x100c4722
sub eax, esi
cmp eax, 0xffffffff
je 0x100c4722
mov byte [esp + 0xb], 0
jmp 0x100c4727
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov byte [esp + 0xb], 1
test byte [esp + 0xc], 1
je 0x100c4760
cmp edi, 0xf
jbe 0x100c4760
lea edx, [edi + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x100c4756
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c4756
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100d84b0
add esp, 8
cmp byte [esp + 0xb], 0
je 0x100c477a
cmp byte [0x101ef8ff], 0
jne 0x100c477a
mov ecx, 0x10142878
call fcn.1002dae0
mov esi, dword [0x10544b10]
mov eax, dword [esi]
mov dword [esp + 0xc], eax
cmp eax, esi
je 0x100c47ab
nop word [eax + eax]
lea ecx, [esp + 0xc]
mov byte [eax + 0x15], 0xff
call fcn.1004ed30
mov eax, dword [esp + 0xc]
mov esi, dword [0x10544b10]
cmp eax, esi
jne 0x100c4790
push dword [esi + 4]
mov ecx, 0x10544b10
push 0x10544b10
call fcn.100ab8d0
mov dword [esi + 4], esi
mov ecx, 0x10544d1c
mov dword [esi], esi
mov dword [esi + 8], esi
mov esi, dword [0x10544d1c]
mov dword [0x10544b14], 0
push dword [esi + 4]
push 0x10544d1c
call fcn.100ab8d0
lea eax, [esp + 0xc]
mov dword [esi + 4], esi
push eax
push 0x40
mov dword [esi], esi
mov dword [esi + 8], esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 1
push 0x83703d
mov dword [0x10544d20], 0
mov dword [0x10544bc0], 0
call esi
lea eax, [esp + 0xc]
mov byte [0x83703d], 0xc
push eax
push dword [esp + 0x10]
push 1
push 0x83703d
call esi
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
xor ecx, esp
call fcn.100d84a2
mov esp, ebp
pop ebp
ret
Function at 0x100c5730
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10141040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0xe609e8], 5
jne 0x100c58bb
cmp dword [0x102c5248], 2
je 0x100c58bb
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov edi, dword [0x101ef644]
mov dword [0x102c5248], 1
mov dword [0x102c5244], 0
call esi
mov dword [0x102c5240], eax
call esi
mov dword [0x102c523c], eax
xor esi, esi
mov eax, dword [0xe8cb7c]
mov ecx, 0x402bc0
mov dword [0x102c5238], 0x7530
mov dword [0x102c5234], edi
mov dword [0x102c5230], 0
movzx eax, byte [eax + 8]
mov dword [0x102c522c], eax
nop dword [eax]
xor al, al
mov edi, 6
mov byte [ebp - 0x105], al
mov ebx, 4
lea eax, [ebp - 0x100]
sub edi, eax
nop word [eax + eax]
push esi
call ecx
mov ecx, eax
mov eax, 0x96a4c0
call eax
test eax, eax
je 0x100c5837
cmp byte [eax + 0x30c], 0
je 0x100c5837
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 0x100c5845
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 0x100c57e0
mov al, byte [ebp - 0x105]
push 0xffffffffffffffff
mov byte [ebp - 0x101], al
lea eax, [ebp - 0x104]
push ebx
push eax
push 0x14
mov byte [ebp - 0x104], 0xc1
mov byte [ebp - 0x103], bl
mov byte [ebp - 0x102], 0x14
call fcn.100c1810
add esp, 0x10
mov ecx, 0x402bc0
cmp esi, 0x190
jb 0x100c57c0
mov dword [0x81f6b6c], 0
mov ecx, dword [0x8128ac8]
pop edi
pop esi
pop ebx
movq xmm0, qword [ecx]
movq qword [0x102c525c], xmm0
mov ax, word [ecx + 8]
mov word [0x102c5264], ax
mov al, byte [ecx + 0xa]
mov byte [0x102c5266], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d84a2
mov esp, ebp
pop ebp
ret
Function at 0x100c5f30
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1013cde0
push 0x100d8cba
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x10141040]
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 0x100c60dd
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 0x100c6014
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100c60dd
push dword [ebp - 0x13c]
call fcn.100d890b
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
je 0x100c60cd
mov eax, dword [edi + 0x18]
test eax, eax
je 0x100c60cd
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.100d8914
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x100c60df
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.100d8914
add esp, 4
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.100d84a2
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100c7910
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0xe
mov esi, 0x861110
call esi
mov edi, 0x85ec20
mov ecx, eax
call edi
test al, al
jne 0x100c7af4
push 0xf
call esi
mov ecx, eax
call edi
test al, al
jne 0x100c7af4
cmp byte [0x1018efed], al
je 0x100c7af4
mov ebx, dword [ebp + 8]
mov ecx, 0x1018cbf0
push 0
push 0x92
push ebx
call fcn.10077160
test al, al
je 0x100c7980
mov byte [0x1018efed], 0
mov byte [0x1018eff5], 0
mov dword [0xe8cb3c], 0
push 0
push 0x93
push ebx
mov ecx, 0x1018cbf0
call fcn.10077160
test al, al
je 0x100c79bc
mov eax, dword [0x10544d70]
test eax, eax
je 0x100c7af4
dec eax
mov ecx, 0x10544d70
mov dword [0x10544d70], eax
call fcn.100c7b00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0x94
push ebx
mov ecx, 0x1018cbf0
call fcn.10077160
test al, al
je 0x100c7a15
mov ecx, dword [0x10544d74]
mov eax, 0x66666667
mov esi, dword [0x10544d70]
lea ecx, [ecx - 1]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
je 0x100c7af4
lea eax, [esi + 1]
mov ecx, 0x10544d70
mov dword [0x10544d70], eax
call fcn.100c7b00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, 0x10544d8a
mov esi, 0x1018f1e0
nop
movd xmm1, dword [0x102c52c8]
movss xmm0, dword [esi - 8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100c7ae2
comiss xmm1, dword [esi]
ja 0x100c7ae2
movd xmm1, dword [0x102c52d0]
movss xmm0, dword [esi - 4]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100c7ae2
comiss xmm1, dword [esi + 4]
ja 0x100c7ae2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 8]
cmp ebx, 0x201
jne 0x100c7a82
cmp byte [esi + 0xc], 0
jne 0x100c7ae2
mov byte [esi + 0xc], 1
jmp 0x100c7ae2
cmp ebx, 0x202
jne 0x100c7ae2
cmp eax, 0x1f4
jb 0x100c7ae2
mov byte [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 8], eax
cmp byte [0x1018efed], 0
je 0x100c7af4
movzx ecx, word [edi - 2]
mov edx, 0x10
movq xmm0, qword [edi]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x10], al
mov ax, word [edi + 8]
mov byte [ebp - 0xf], cl
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x20ff10c1
movq qword [ebp - 0xe], xmm0
mov word [ebp - 6], ax
call fcn.100c4b40
mov byte [0x1018efed], 0
add esi, 0x40
add edi, 0x32
cmp esi, 0x1018f460
jl 0x100c7a20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100c7de0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101278a5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10141040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], 2
movups xmmword [ebp - 0x28], xmm0
mov eax, 0x475f
mov dword [ebp - 0x14], 0xf
mov word [ebp - 0x28], ax
mov byte [ebp - 0x26], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push dword [0x102ba8d0]
lea ecx, [ebp - 0x44]
call fcn.1007b660
push 0x100c7d00
push str.SetJewelStack
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10089350
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x100c7e8d
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100c7e83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100c7ecc
push ecx
push edx
call fcn.100d84b0
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0xf
jbe 0x100c7edc
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100c7ed2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c7ed2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d84b0
add esp, 8
push str.Data__KGData__Lua__Configs__CustomJewelStack.lua
mov ecx, 0x102ba8cc
call fcn.100b06a0
push 0x1012f48b
push str.StartLoadJewelStack
push 0x102ba8cc
call fcn.100b0890
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 0x100c7bb0
push 0x7dc964
push 0xe9
call fcn.100c9bf0
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 0x100c7cd0
push 0x7dd634
push 0xe9
call fcn.100c9bf0
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.100d84a2
mov esp, ebp
pop ebp
ret

Function at 0x100c9270
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
movss dword [ebp - 8], xmm1
push eax
push 0x40
mov esi, ecx
mov dword [ebp - 4], 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100c92a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
mov dword [esi], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
mov dword [ebp - 0xc], 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100c9298
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100c92d0
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 0x100c930c
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 0x100c9301
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100c9340
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.100d890b
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 0x100c938b
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 0x100c937e
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100c93c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
movsd qword [ebp - 0x10], xmm1
push eax
push 0x40
mov esi, ecx
mov dword [ebp - 4], 0
push 8
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100c93f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [esi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [esi + 4], ecx
push 8
push esi
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100c93e8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100c9450
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x10141040]
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 0x100c9560
push edi
mov edi, dword [0xe8c578]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, edi
jne 0x100c9550
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.100c95a0
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 0x100c9510
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x101ef421]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x5d], al
test al, al
jne 0x100c9530
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.100d84a2
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.100c95a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100d84a2
mov esp, ebp
pop ebp
ret