joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100be5b0
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 0x100be5c9
push eax
call esi
mov eax, dword [0xe8c58c]
test eax, eax
je 0x100be5d5
push eax
call esi
mov eax, dword [0xe8c590]
test eax, eax
je 0x100be5e1
push eax
call esi
mov eax, dword [0xe8c594]
test eax, eax
je 0x100be5ed
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 [0x101ad7ac], 0xf
mov ecx, 0x101ad798
mov edi, dword [sym.imp.GDI32.dll_CreateFontA]
mov ebx, 0x190
cmova ecx, dword [0x101ad798]
mov eax, 0x2bc
cmp dword [0x101ad78c], 1
mov edx, ebx
push ecx
push 0
push 3
push 0
push 0
push dword [0x101ad794]
cmove edx, eax
mov eax, dword [0x101ad790]
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, 0x101ad7bc
cmp dword [0x101ad7d0], 0xf
mov eax, 0x2bc
mov edx, ebx
cmova ecx, dword [0x101ad7bc]
cmp dword [0x101ad7b0], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x101ad7b8]
cmove edx, eax
mov eax, dword [0x101ad7b4]
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, 0x101ad7e0
cmp dword [0x101ad7f4], 0xf
mov eax, 0x2bc
mov edx, ebx
cmova ecx, dword [0x101ad7e0]
cmp dword [0x101ad7d4], 1
push ecx
cmove edx, eax
mov eax, dword [0x101ad7d8]
push 0
lea eax, [eax + esi*2]
add eax, 0xfffffffe
push 3
push 0
push 0
push dword [0x101ad7dc]
push 0
push 0
push 0
push edx
push 0
push 0
push 0
push eax
call edi
mov dword [0xe8c590], eax
mov ecx, 0x101ad804
cmp dword [0x101ad818], 0xf
mov eax, 0x2bc
cmova ecx, dword [0x101ad804]
cmp dword [0x101ad7f8], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x101ad800]
cmove ebx, eax
mov eax, dword [0x101ad7fc]
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 0x100bf010
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10134e25
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1014c1c0]
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 0x100bee40
push 0x78c015
push 0xe9
call fcn.100d5c50
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 0x100bee80
push 0x78a01b
push 0xe9
call fcn.100d5c50
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 0x100bebf0
push 0x6403f5
push 0xe9
call fcn.100d5c50
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 0x100bedd0
push 0x788c59
push 0xe9
call fcn.100d5c50
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 [0x101b1c44]
lea ecx, [ebp - 0x44]
call fcn.100830c0
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.100bf300
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x100bf1dc
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100bf1d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bf21b
push ecx
push edx
call fcn.10131b2c
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 0x100bf22b
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100bf221
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100bf221
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10131b2c
add esp, 8
push str.Data__KGData__Lua__Configs__MessageColors.lua
mov ecx, 0x101b1c40
call fcn.100bc3f0
push 0x1013d4af
push str.StartLoadCustomMessageColors
push 0x101b1c40
call fcn.100bc5a0
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.10131804
mov esp, ebp
pop ebp
ret
Function at 0x100c06a0
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 0x100c07e5
cvttss2si eax, dword [ebp + 0xc]
cwde
add eax, ecx
cmp edx, eax
jg 0x100c07e5
mov edx, dword [0x8793410]
cvttss2si eax, xmm3
movsx ecx, ax
cmp edx, ecx
jl 0x100c07e5
cvttss2si eax, dword [ebp + 0x10]
cwde
add eax, ecx
cmp edx, eax
jg 0x100c07e5
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 0x100c075f
movss xmm2, dword [ebp + 0x18]
cvtps2pd xmm1, xmm2
movss dword [esp + 0x1c], xmm2
addsd xmm1, xmm1
cvtpd2ps xmm0, xmm1
jmp 0x100c076a
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 0x100c0850
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 0x100cfe20
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 [0x1014c1c0]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
mov dword [esp + 8], 0
cmp dword [0x102cc2fc], 2
push edi
jne 0x100cfeb2
movq xmm0, qword [0x102cc304]
lea ecx, [esp + 0x10]
mov ax, word [0x102cc30c]
mov edx, 0xe
mov dword [esp + 0x10], 0x3f30ec1
movq qword [esp + 0x14], xmm0
mov word [esp + 0x1c], ax
call fcn.100d0350
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x102cc300], 1
mov dword [0x102cc2fc], 3
call esi
mov dword [0x102cc2f8], eax
call esi
mov dword [0x102cc2f0], eax
mov dword [0x102cc2f4], 0x7530
mov dword [0x102cc2e8], 0x7530
mov ecx, 0x101f64e3
mov dword [0x1014d240], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100cfec4
sub ecx, edx
je 0x100cff3b
push ecx
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
push 0x101f64e3
lea ecx, [esp + 0x28]
movaps xmmword [esp + 0x28], xmm0
mov dword [esp + 0x3c], 0
call fcn.1000d0f0
mov dword [esp + 0xc], 1
lea esi, [esp + 0x20]
mov edi, dword [esp + 0x34]
cmp edi, 0xf
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
cmova esi, edx
test eax, eax
je 0x100cff43
lea ecx, [eax + esi]
mov eax, esi
cmp esi, ecx
jae 0x100cff43
cmp byte [eax], 0x20
jne 0x100cff2d
inc eax
cmp eax, ecx
jb 0x100cff21
jmp 0x100cff43
sub eax, esi
cmp eax, 0xffffffff
je 0x100cff43
mov byte [esp + 0xb], 0
jmp 0x100cff48
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
mov byte [esp + 0xb], 1
test byte [esp + 0xc], 1
je 0x100cff81
cmp edi, 0xf
jbe 0x100cff81
lea ecx, [edi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100cff77
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100cff77
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10131b2c
add esp, 8
cmp byte [esp + 0xb], 0
je 0x100cff9b
cmp byte [0x101f68af], 0
jne 0x100cff9b
mov ecx, 0x1014d208
call fcn.1002f8d0
mov esi, dword [0x1054baa8]
mov eax, dword [esi]
mov dword [esp + 0xc], eax
cmp eax, esi
je 0x100cffcb
nop dword [eax + eax]
lea ecx, [esp + 0xc]
mov byte [eax + 0x15], 0xff
call fcn.10047490
mov eax, dword [esp + 0xc]
mov esi, dword [0x1054baa8]
cmp eax, esi
jne 0x100cffb0
push dword [esi + 4]
mov ecx, 0x1054baa8
push 0x1054baa8
call fcn.100b74d0
mov dword [esi + 4], esi
mov ecx, 0x1054bcac
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [0x1054baac], 0
call fcn.100b9c90
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0xc]
push eax
push 0x40
push 1
push 0x83703d
mov dword [0x1054bb50], 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.10131804
mov esp, ebp
pop ebp
ret
Function at 0x100d0f60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x1014c1c0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0xe609e8], 5
jne 0x100d10eb
cmp dword [0x102cc300], 2
je 0x100d10eb
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov edi, dword [0x101f65f4]
mov dword [0x102cc300], 1
mov dword [0x102cc2fc], 0
call esi
mov dword [0x102cc2f8], eax
call esi
mov dword [0x102cc2f0], eax
xor esi, esi
mov eax, dword [0xe8cb7c]
mov ecx, 0x402bc0
mov dword [0x102cc2f4], 0x7530
mov dword [0x102cc2e8], edi
mov dword [0x102cc2ec], 0
movzx eax, byte [eax + 8]
mov dword [0x102cc2e4], 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 0x100d1067
cmp byte [eax + 0x30c], 0
je 0x100d1067
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 0x100d1075
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 0x100d1010
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.100ccf60
add esp, 0x10
mov ecx, 0x402bc0
cmp esi, 0x190
jb 0x100d0ff0
mov dword [0x81f6b6c], 0
mov ecx, dword [0x8128ac8]
pop edi
pop esi
pop ebx
movq xmm0, qword [ecx]
movq qword [0x102cc304], xmm0
mov ax, word [ecx + 8]
mov word [0x102cc30c], ax
mov al, byte [ecx + 0xa]
mov byte [0x102cc30e], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10131804
mov esp, ebp
pop ebp
ret
Function at 0x100d1760
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x1014c1c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor edi, edi
nop
push edi
lea eax, [ebp - 0x208]
push str..PhysicalDrive_d
push eax
call fcn.100bc990
add esp, 0xc
lea eax, [ebp - 0x208]
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 0x100d18cb
push 0
lea eax, [ebp - 0x224]
mov dword [ebp - 0x20c], 0
push eax
push 8
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x214], 0
push eax
push 0xc
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], 0
push eax
push 0x2d1400
xorps xmm0, xmm0
push esi
movlpd qword [ebp - 0x22c], xmm0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100d1829
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100d18cb
push ecx
push dword [ebp - 0x228]
lea ecx, [ebp - 0x220]
call fcn.100d1de0
mov ebx, dword [ebp - 0x220]
lea eax, [ebp - 0x224]
push 0
push eax
push dword [ebp - 0x228]
lea eax, [ebp - 0x214]
push ebx
push 0xc
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
jne 0x100d1878
call eax
test ebx, ebx
je 0x100d18cb
jmp 0x100d1881
call eax
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x100d18d7
mov ecx, dword [ebp - 0x218]
mov eax, ebx
sub ecx, ebx
cmp ecx, 0x1000
jb 0x100d18a3
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d1909
push ecx
push ebx
call fcn.10131b2c
mov dword [ebp - 0x218], 0
add esp, 8
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0
inc edi
cmp edi, 5
jl 0x100d1790
jmp 0x100d1919
lea esi, [eax + ebx]
mov ecx, 0x40
lea edi, [ebp - 0x104]
mov eax, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x218]
sub ecx, ebx
cmp ecx, 0x1000
jb 0x100d190f
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d190f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push ebx
call fcn.10131b2c
add esp, 8
mov ecx, dword [ebp - 0x104]
pop edi
pop esi
pop ebx
test cl, cl
jne 0x100d1939
mov eax, 0x1013d4af
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10131804
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xf8]
xor eax, dword [ebp - 0xe8]
xor ecx, dword [ebp - 0xf4]
xor eax, 0x8941d8e7
push eax
mov eax, dword [ebp - 0xfc]
xor ecx, 0x3ad3b74a
xor eax, dword [ebp - 0xec]
xor eax, 0xf45bbf4c
push eax
mov eax, dword [ebp - 0x100]
xor eax, dword [ebp - 0xf0]
xor eax, 0x94fdc685
push eax
push ecx
push str._08X__08X__08X__08X
push 0x25
push 0x1054df84
call sym.Main.dll_snprintf
mov ecx, dword [ebp - 4]
add esp, 0x1c
xor ecx, ebp
mov eax, 0x1054df84
call fcn.10131804
mov esp, ebp
pop ebp
ret
Function at 0x100d19b0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10134f2d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1014c1c0]
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 - 0x34], eax
push 0x288
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x288
call fcn.10131b5d
mov edi, eax
push 0x288
push 0
push edi
lea esi, [edi + 0x288]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x38], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - 0x3c], 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 0x100d1a46
mov esi, dword [ebp - 0x28]
mov ecx, esi
mov eax, dword [ebp - 0x2c]
sub ecx, edi
cmp eax, ecx
jae 0x100d1a9c
add eax, edi
mov dword [ebp - 0x3c], eax
mov esi, edi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x100d1a6f
test esi, esi
je 0x100d1a6f
nop dword [eax]
cmp dword [esi + 0x190], 6
je 0x100d1ab3
mov esi, dword [esi]
test esi, esi
jne 0x100d1a60
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 0x100d1b26
jbe 0x100d1a44
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.100d1ea0
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x28], esi
jmp 0x100d1a44
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.100d1e80
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 0x100d1b11
sub ecx, edx
lea eax, [ebp - 0x24]
push ecx
push eax
mov ecx, esi
call fcn.1000d0f0
test edi, edi
je 0x100d1b59
mov ecx, dword [ebp - 0x28]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x100d1b4f
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d1b4f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.10131b2c
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.10131804
mov esp, ebp
pop ebp
ret 4
Function at 0x100d4270
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10134e25
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1014c1c0]
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 [0x102c1880]
lea ecx, [ebp - 0x44]
call fcn.100830c0
push 0x100d4190
push str.SetJewelStack
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10093060
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x100d431d
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d4313
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d435c
push ecx
push edx
call fcn.10131b2c
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 0x100d436c
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100d4362
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100d4362
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10131b2c
add esp, 8
push str.Data__KGData__Lua__Configs__CustomJewelStack.lua
mov ecx, 0x102c187c
call fcn.100bc3f0
push 0x1013d4af
push str.StartLoadJewelStack
push 0x102c187c
call fcn.100bc5a0
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 0x100d4040
push 0x7dc964
push 0xe9
call fcn.100d5c50
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 0x100d4160
push 0x7dd634
push 0xe9
call fcn.100d5c50
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.10131804
mov esp, ebp
pop ebp
ret
Function at 0x100d56e0
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 0x100d571c
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 0x100d5711
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100d5c10
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 0x100d5c50
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 0x100d5c70
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 0x100d5c90
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

Function at 0x100d5cd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov eax, ecx
mov ebx, edx
lea ecx, [ebp - 8]
mov dword [ebp - 4], eax
push ecx
push 0x40
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebx + 5]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push ebx
push dword [ebp - 4]
mov esi, eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 4]
lea eax, [ebx - 5]
mov ecx, edx
mov byte [esi + ebx], 0xe9
sub ecx, esi
sub ecx, 5
mov dword [esi + ebx + 1], ecx
sub esi, edx
push eax
lea eax, [edx + 5]
mov byte [edx], 0xe9
push 0x90
sub esi, 5
push eax
mov dword [edx + 1], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x1c
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret