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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101895b5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101b31c0]
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 0x100b9f90
push 0x78c015
push 0xe9
call fcn.100d0420
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 0x100b9fd0
push 0x78a01b
push 0xe9
call fcn.100d0420
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 0x100b9d40
push 0x6403f5
push 0xe9
call fcn.100d0420
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 0x100b9f20
push 0x788c59
push 0xe9
call fcn.100d0420
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 [0x102196b4]
lea ecx, [ebp - 0x44]
call fcn.1007fca0
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.100ba3c0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x100ba330
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ba326
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ba3b9
push ecx
push edx
call fcn.1014330c
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 0x100ba379
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ba36f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ba3b9
push ecx
push edx
call fcn.1014330c
add esp, 8
push str.Data__KGData__Lua__Configs__MessageColors.lua
mov ecx, 0x102196b0
call fcn.100b75d0
push 0x1019c7e7
push str.StartLoadCustomMessageColors
push 0x102196b0
call fcn.100b77c0
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.10142fe4
mov esp, ebp
pop ebp
ret
call fcn.1014f8ca
int3
Function at 0x100bb700
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 0x100bb845
cvttss2si eax, dword [ebp + 0xc]
cwde
add eax, ecx
cmp edx, eax
jg 0x100bb845
mov edx, dword [0x8793410]
cvttss2si eax, xmm3
movsx ecx, ax
cmp edx, ecx
jl 0x100bb845
cvttss2si eax, dword [ebp + 0x10]
cwde
add eax, ecx
cmp edx, eax
jg 0x100bb845
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 0x100bb7bf
movss xmm2, dword [ebp + 0x18]
cvtps2pd xmm1, xmm2
movss dword [esp + 0x1c], xmm2
addsd xmm1, xmm1
cvtpd2ps xmm0, xmm1
jmp 0x100bb7ca
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 0x100bb8b0
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 0x100cabb0
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 [0x101b31c0]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
mov dword [esp + 8], 0
cmp dword [0x103354c4], 2
push edi
jne 0x100cac42
movq xmm0, qword [0x103354dc]
lea ecx, [esp + 0x10]
mov ax, word [0x103354e4]
mov edx, 0xe
mov dword [esp + 0x10], 0x3f30ec1
movq qword [esp + 0x14], xmm0
mov word [esp + 0x1c], ax
call fcn.100cb100
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x103354c8], 1
mov dword [0x103354c4], 3
call esi
mov dword [0x103354c0], eax
call esi
mov dword [0x103354bc], eax
mov dword [0x103354b8], 0x7530
mov dword [0x103354b4], 0x7530
mov ecx, 0x1025df53
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100cac50
sub ecx, edx
je 0x100cacca
push ecx
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
push 0x1025df53
lea ecx, [esp + 0x28]
movaps xmmword [esp + 0x28], xmm0
mov dword [esp + 0x3c], 0
call fcn.1000d1c0
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 0x100cacd2
lea edx, [eax + esi]
mov eax, esi
cmp esi, edx
jae 0x100cacd2
nop dword [eax]
cmp byte [eax], 0x20
jne 0x100cacbc
inc eax
cmp eax, edx
jb 0x100cacb0
jmp 0x100cacd2
sub eax, esi
cmp eax, 0xffffffff
je 0x100cacd2
mov byte [esp + 0xb], 0
jmp 0x100cacd7
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov byte [esp + 0xb], 1
test byte [esp + 0xc], 1
je 0x100cad0e
cmp edi, 0xf
jbe 0x100cad0e
lea edx, [edi + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x100cad04
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cadf3
push edx
push ecx
call fcn.1014330c
add esp, 8
cmp byte [esp + 0xb], 0
je 0x100cad28
cmp byte [0x1025e31f], 0
jne 0x100cad28
mov ecx, 0x101b4c68
call fcn.10031ed0
mov esi, dword [0x105b4cc0]
mov eax, dword [esi]
mov dword [esp + 0xc], eax
cmp eax, esi
je 0x100cad5b
nop dword [eax + eax]
lea ecx, [esp + 0xc]
mov byte [eax + 0x15], 0xff
call fcn.10046ff0
mov eax, dword [esp + 0xc]
mov esi, dword [0x105b4cc0]
cmp eax, esi
jne 0x100cad40
push dword [esi + 4]
mov ecx, 0x105b4cc0
push 0x105b4cc0
call fcn.100b27f0
mov dword [esi + 4], esi
mov ecx, 0x105b4ecc
mov dword [esi], esi
mov dword [esi + 8], esi
mov esi, dword [0x105b4ecc]
mov dword [0x105b4cc4], 0
push dword [esi + 4]
push 0x105b4ecc
call fcn.100b27f0
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 [0x105b4ed0], 0
mov dword [0x105b4d70], 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.10142fe4
mov esp, ebp
pop ebp
ret
call fcn.1014f8ca
int3
Function at 0x100cbcf0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x101b31c0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0xe609e8], 5
jne 0x100cbe7b
cmp dword [0x103354c8], 2
je 0x100cbe7b
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov edi, dword [0x1025e064]
mov dword [0x103354c8], 1
mov dword [0x103354c4], 0
call esi
mov dword [0x103354c0], eax
call esi
mov dword [0x103354bc], eax
xor esi, esi
mov eax, dword [0xe8cb7c]
mov ecx, 0x402bc0
mov dword [0x103354b8], 0x7530
mov dword [0x103354b4], edi
mov dword [0x103354b0], 0
movzx eax, byte [eax + 8]
mov dword [0x103354ac], 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 0x100cbdf7
cmp byte [eax + 0x30c], 0
je 0x100cbdf7
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 0x100cbe05
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 0x100cbda0
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.100c7db0
add esp, 0x10
mov ecx, 0x402bc0
cmp esi, 0x190
jb 0x100cbd80
mov dword [0x81f6b6c], 0
mov ecx, dword [0x8128ac8]
pop edi
pop esi
pop ebx
movq xmm0, qword [ecx]
movq qword [0x103354dc], xmm0
mov ax, word [ecx + 8]
mov word [0x103354e4], ax
mov al, byte [ecx + 0xa]
mov byte [0x103354e6], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10142fe4
mov esp, ebp
pop ebp
ret
Function at 0x100cc4f0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x101b31c0]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
push edi
push 0x100
lea eax, [esp + 0x34]
push 0
push eax
call fcn.101456e0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
xor edi, edi
nop dword [eax]
push edi
lea eax, [esp + 0x134]
push str..PhysicalDrive_d
push eax
call fcn.100b7bc0
add esp, 0xc
lea eax, [esp + 0x130]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x100cc605
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x30], 0
push eax
push 8
lea eax, [esp + 0x1c]
mov dword [esp + 0x30], 0
push eax
push 0xc
lea eax, [esp + 0x38]
mov dword [esp + 0x3c], 0
push eax
push 0x2d1400
xorps xmm0, xmm0
push esi
movlpd qword [esp + 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100cc5b6
push esi
call ebx
jmp 0x100cc605
push ecx
push dword [esp + 0x18]
lea ecx, [esp + 0x20]
call fcn.100ccae0
push 0
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x30]
push dword [esp + 0x24]
push 0xc
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
test eax, eax
jne 0x100cc5ef
call ebx
jmp 0x100cc5fc
call ebx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x100cc611
lea ecx, [esp + 0x18]
call fcn.100cca90
inc edi
cmp edi, 5
jl 0x100cc530
jmp 0x100cc628
lea esi, [eax + ecx]
mov ecx, 0x40
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18]
call fcn.100cca90
mov ecx, dword [esp + 0x30]
test cl, cl
jne 0x100cc64a
mov eax, 0x1019c7ea
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.10142fe4
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x3c]
xor eax, dword [esp + 0x4c]
xor ecx, dword [esp + 0x40]
xor eax, 0x8941d8e7
push eax
mov eax, dword [esp + 0x3c]
xor ecx, 0x3ad3b74a
xor eax, dword [esp + 0x4c]
xor eax, 0xf45bbf4c
push eax
mov eax, dword [esp + 0x3c]
xor eax, dword [esp + 0x4c]
xor eax, 0x94fdc685
push eax
push ecx
push str._08X__08X__08X__08X
push 0x25
push 0x105b71bc
call sym.Main.dll_snprintf
mov ecx, dword [esp + 0x258]
add esp, 0x1c
mov eax, 0x105b71bc
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10142fe4
mov esp, ebp
pop ebp
ret
Function at 0x100cc6b0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101896bd
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x101b31c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
push 0x288
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x288
call fcn.1014333d
mov edi, eax
push 0x288
push 0
push edi
lea esi, [edi + 0x288]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x34], esi
call fcn.101456e0
add esp, 0x10
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push edi
mov esi, edi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x100cc744
mov esi, dword [ebp - 0x2c]
cmp esi, 0x288
jae 0x100cc793
lea eax, [edi + esi]
mov dword [ebp - 0x38], eax
mov esi, edi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x100cc766
test esi, esi
je 0x100cc766
cmp dword [esi + 0x190], 6
je 0x100cc7aa
mov esi, dword [esi]
test esi, esi
jne 0x100cc757
mov esi, dword [ebp - 0x30]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
jmp 0x100cc81d
jbe 0x100cc742
push ecx
push esi
lea ecx, [ebp - 0x3c]
call fcn.100ccb90
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
jmp 0x100cc742
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x24]
push str._02X:_02X:_02X:_02X:_02X:_02X
push eax
call fcn.100ccb70
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x24]
xorps xmm0, xmm0
lea edx, [ecx + 1]
add esp, 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100cc808
sub ecx, edx
lea eax, [ebp - 0x24]
push ecx
push eax
mov ecx, esi
call fcn.1000d1c0
test edi, edi
je 0x100cc84a
mov ecx, dword [ebp - 0x28]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x100cc840
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cc869
push ecx
push edi
call fcn.1014330c
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10142fe4
mov esp, ebp
pop ebp
ret 4
call fcn.1014f8ca
int3
Function at 0x100ce150
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 0x100ce334
push 0xf
call esi
mov ecx, eax
call edi
test al, al
jne 0x100ce334
cmp byte [0x101fda3d], al
je 0x100ce334
mov ebx, dword [ebp + 8]
mov ecx, 0x101fb640
push 0
push 0x92
push ebx
call fcn.1007b750
test al, al
je 0x100ce1c0
mov byte [0x101fda3d], 0
mov byte [0x101fda45], 0
mov dword [0xe8cb3c], 0
push 0
push 0x93
push ebx
mov ecx, 0x101fb640
call fcn.1007b750
test al, al
je 0x100ce1fc
mov eax, dword [0x105b4f20]
test eax, eax
je 0x100ce334
dec eax
mov ecx, 0x105b4f20
mov dword [0x105b4f20], eax
call fcn.100ce340
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0x94
push ebx
mov ecx, 0x101fb640
call fcn.1007b750
test al, al
je 0x100ce255
mov ecx, dword [0x105b4f24]
mov eax, 0x66666667
mov esi, dword [0x105b4f20]
lea ecx, [ecx - 1]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
je 0x100ce334
lea eax, [esi + 1]
mov ecx, 0x105b4f20
mov dword [0x105b4f20], eax
call fcn.100ce340
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, 0x105b4f3a
mov esi, 0x101fdc30
nop
movd xmm1, dword [0x10335548]
movss xmm0, dword [esi - 8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100ce322
comiss xmm1, dword [esi]
ja 0x100ce322
movd xmm1, dword [0x10335550]
movss xmm0, dword [esi - 4]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100ce322
comiss xmm1, dword [esi + 4]
ja 0x100ce322
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 8]
cmp ebx, 0x201
jne 0x100ce2c2
cmp byte [esi + 0xc], 0
jne 0x100ce322
mov byte [esi + 0xc], 1
jmp 0x100ce322
cmp ebx, 0x202
jne 0x100ce322
cmp eax, 0x1f4
jb 0x100ce322
mov byte [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 8], eax
cmp byte [0x101fda3d], 0
je 0x100ce334
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.100cb100
mov byte [0x101fda3d], 0
add esi, 0x40
add edi, 0x32
cmp esi, 0x101fdeb0
jl 0x100ce260
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100ce5f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101895b5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101b31c0]
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 [0x103292f0]
lea ecx, [ebp - 0x44]
call fcn.1007fca0
push 0x100ce510
push str.SetJewelStack
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10090b20
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x100ce6a1
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ce697
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ce7c0
push ecx
push edx
call fcn.1014330c
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 0x100ce6ee
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ce6e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ce7c0
push ecx
push edx
call fcn.1014330c
add esp, 8
push str.Data__KGData__Lua__Configs__CustomJewelStack.lua
mov ecx, 0x103292ec
call fcn.100b75d0
push 0x1019c807
push str.StartLoadJewelStack
push 0x103292ec
call fcn.100b77c0
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 0x100ce3c0
push 0x7dc964
push 0xe9
call fcn.100d0420
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 0x100ce4e0
push 0x7dd634
push 0xe9
call fcn.100d0420
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.10142fe4
mov esp, ebp
pop ebp
ret
call fcn.1014f8ca
int3

Function at 0x100cfaa0
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 0x100cfad3
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 0x100cfac8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100cfb00
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 0x100cfb3c
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 0x100cfb31
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100cfb70
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.10143452
push esi
mov ebx, eax
push 0x90
push ebx
call fcn.101456e0
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 0x100cfbbb
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 fcn.10145160
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 0x100cfbae
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100cfbf0
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 0x100cfc23
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 0x100cfc18
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret