joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c9b10
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 [0x1014600c]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov dword [esp + 0xc], 0
cmp dword [0x102ca30c], 2
push edi
jne 0x100c9ba2
movq xmm0, qword [0x102ca328]
lea ecx, [esp + 0x14]
mov ax, word [0x102ca330]
mov edx, 0xe
mov dword [esp + 0x14], 0x3f30ec1
movq qword [esp + 0x18], xmm0
mov word [esp + 0x20], ax
call fcn.100ca020
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x102ca310], 1
mov dword [0x102ca30c], 3
call esi
mov dword [0x102ca308], eax
call esi
mov dword [0x102ca304], eax
mov dword [0x102ca300], 0x7530
mov dword [0x102ca2fc], 0x7530
mov ecx, 0x101f44d3
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c9bb0
sub ecx, edx
je 0x100c9c2a
push ecx
push 0x101f44d3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0xf
mov byte [esp + 0x1c], al
call fcn.1000c7d0
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 0x100c9c32
lea edx, [eax + esi]
mov eax, esi
cmp esi, edx
jae 0x100c9c32
nop dword [eax]
cmp byte [eax], 0x20
jne 0x100c9c1c
inc eax
cmp eax, edx
jb 0x100c9c10
jmp 0x100c9c32
sub eax, esi
cmp eax, 0xffffffff
je 0x100c9c32
mov byte [esp + 0xf], 0
jmp 0x100c9c37
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0xf], 1
test byte [esp + 0x10], 1
je 0x100c9c70
cmp edi, 0x10
jb 0x100c9c70
lea edx, [edi + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x100c9c66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c9c66
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100ddf04
add esp, 8
cmp byte [esp + 0xf], 0
je 0x100c9c8a
cmp byte [0x101f489f], 0
jne 0x100c9c8a
mov ecx, 0x10147808
call fcn.1002e0d0
mov ecx, dword [0x10549bb0]
mov eax, dword [ecx]
cmp eax, ecx
je 0x100c9ce8
nop word [eax + eax]
mov byte [eax + 0x15], 0xff
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x100c9cca
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x100c9cc6
cmp eax, dword [ecx + 8]
jne 0x100c9cc6
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x100c9cb6
mov eax, ecx
jmp 0x100c9ce0
mov eax, ecx
mov edx, dword [eax]
cmp byte [edx + 0xd], 0
jne 0x100c9ce0
mov ecx, dword [edx]
mov eax, edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x100c9cd4
cmp eax, dword [0x10549bb0]
jne 0x100c9ca0
mov ecx, 0x10549bb0
call fcn.100b0130
mov ecx, 0x10549dbc
call fcn.100b0130
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x10]
push eax
push 0x40
push 1
push 0x83703d
mov dword [0x10549c60], 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.100ddef3
mov esp, ebp
pop ebp
ret
Function at 0x100cabe0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x1014600c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0xe609e8], 5
jne 0x100cad6e
cmp dword [0x102ca310], 2
je 0x100cad6e
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov edi, dword [0x101f45e4]
mov dword [0x102ca310], 1
mov dword [0x102ca30c], 0
call esi
mov dword [0x102ca308], eax
call esi
mov dword [0x102ca304], eax
xor esi, esi
mov eax, dword [0xe8cb7c]
mov ecx, 0x402bc0
mov dword [0x102ca300], 0x7530
mov dword [0x102ca2fc], edi
mov dword [0x102ca2f8], 0
movzx eax, byte [eax + 8]
mov dword [0x102ca2f4], 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 0x100cad06
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 0x100cacf8
cmp byte [eax + 0x30c], 0
je 0x100cacf8
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 0x100cad06
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 0x100caca1
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.100c6d40
add esp, 0x10
mov ecx, 0x402bc0
cmp esi, 0x190
jb 0x100cac80
mov dword [0x81f6b6c], 0
mov ecx, dword [0x8128ac8]
pop edi
pop esi
pop ebx
movq xmm0, qword [ecx]
movq qword [0x102ca328], xmm0
mov ax, word [ecx + 8]
mov word [0x102ca330], ax
mov al, byte [ecx + 0xa]
mov byte [0x102ca332], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ddef3
mov esp, ebp
pop ebp
ret
Function at 0x100cb3d0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10141b80
push 0x100de53f
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x1014600c]
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 0x100cb57d
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 0x100cb4b4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100cb57d
push dword [ebp - 0x13c]
call fcn.100de562
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 0x100cb513
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.100de56b
add esp, 4
jmp 0x100cb57d
mov eax, dword [edi + 0x18]
test eax, eax
je 0x100cb501
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.100de56b
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x100cb57f
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.100ddef3
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100ccfb0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012d980
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1014600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
push 0x1013a044
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000c7d0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push dword [0x101a99b0]
lea ecx, [ebp - 0x44]
call fcn.1007c9f0
push 0x100ccf70
push str.SetJewelStack
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1008dea0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x100cd062
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100cd058
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100cd058
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100ddf04
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 0x100cd0b1
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100cd0a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100cd0a7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100ddf04
add esp, 8
push str.Data__KGData__Lua__Configs__CustomJewelStack.lua
mov ecx, 0x101a99ac
call fcn.100b56a0
push 0x10136507
push str.StartLoadJewelStack
push 0x101a99ac
call fcn.100b5850
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 0x100cce40
push 0x7dc964
push 0xe9
call fcn.100cf0b0
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 0x100ccf40
push 0x7dd634
push 0xe9
call fcn.100cf0b0
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.100ddef3
mov esp, ebp
pop ebp
ret
Function at 0x100ce780
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 0x100ce7bc
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 0x100ce7b1
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100ce7f0
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.100de562
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 0x100ce83b
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 0x100ce82e
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100ce8a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x1014600c]
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 0x100ce9b0
push edi
mov edi, dword [0xe8c578]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, edi
jne 0x100ce9a0
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.100ce9f0
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 0x100ce960
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x101f43c1]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x5d], al
test al, al
jne 0x100ce980
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.100ddef3
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.100ce9f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100ddef3
mov esp, ebp
pop ebp
ret
Function at 0x100cefb0
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 0x100ceff0
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 0x100cf030
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 0x100cf070
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 0x100cf0b0
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 0x100cf0d0
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 0x100cf0f0
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 0x100cf130
Capabilities:
Allocate or change rwx memory

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

Function at 0x100cf180
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

Function at 0x100cf200
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x102c7dfc]
mov ebx, edx
push edi
push 0x1013c020
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
mov dword [ebp - 4], edi
test edi, edi
je 0x100cf2ed
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0xc
jb 0x100cf2ed
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100cf2ed
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x100cf2e4
push dword [ebp - 4]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
push esi
cmp ecx, dword [edi + 8]
jne 0x100cf2b0
mov dword [ebp - 8], eax
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
call eax
mov edx, dword [ebp - 8]
lea ecx, [edx*4 + 0xc]
cmp eax, ecx
jb 0x100cf2ed
xor esi, esi
test edx, edx
je 0x100cf2e4
nop dword [eax]
mov ecx, dword [edi + esi*4 + 0xc]
mov edx, ebx
call fcn.100ceff0
inc esi
cmp esi, dword [edi]
jb 0x100cf290
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], eax
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
call eax
mov edx, dword [ebp - 8]
lea ecx, [edx*8 + 0xc]
cmp eax, ecx
jb 0x100cf2ed
xor esi, esi
test edx, edx
je 0x100cf2e4
nop
mov edx, dword [edi + esi*8 + 0x10]
mov ecx, dword [edi + esi*8 + 0xc]
add edx, ebx
call fcn.100ceff0
inc esi
cmp esi, dword [edi]
jb 0x100cf2d0
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100e33f0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x18]
mov edx, dword [esi + 0x10]
mov ebx, dword [esi + 0x28]
sub edx, 8
test ebx, ebx
je case.default.0x100e342a
mov eax, ebx
and eax, 0xfffffffc
mov eax, dword [eax + 0x38]
test eax, eax
jns 0x100e341d
mov ecx, dword [esi + 0x1c]
sub ecx, eax
cmp edx, ecx
jb 0x100e346d
cmp edx, dword [esi + 0x1c]
jbe case.default.0x100e342a
mov eax, dword [edx + 4]
mov ecx, eax
and ecx, 7
jmp dword [ecx*4 + 0x100e3550]
movzx ecx, byte [eax - 3]
mov eax, 0xfffffff8
shl ecx, 3
sub eax, ecx
add edx, eax
jmp 0x100e345c
cmp dword [edx - 8], 1
jne case.0x100e342a.3
mov ebx, dword [ebx + 0x34]
jmp case.0x100e342a.3
and eax, 0xfffffff8
sub edx, eax
test ebx, ebx
jne 0x100e3408
test edi, edi
jne 0x100e351b
jmp 0x100e3515
test edi, edi
je 0x100e350f
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x28], eax
lea eax, [edx + 8]
push ecx
push esi
mov dword [esi + 0x10], eax
call fcn.100e3a80
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
mov eax, ebx
pop ebx
ret
pop edi
mov eax, esi
pop esi
pop ebx
ret
mov dword [esi + 0x28], 0
mov eax, dword [esi + 0x1c]
add eax, 8
push eax
push esi
mov dword [esi + 0x10], eax
call fcn.100e3a80
add esp, 8
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xc8]
test eax, eax
je 0x100e3548
push esi
call eax
add esp, 4
push 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
xor dword [esi + ecx], esi
adc byte [ecx + 52], cl
push cs
adc byte [ebx + 0x34], al
push cs
adc byte [edi + 0x34], dl
push cs
adc byte [ecx], dh
xor al, 0xe
adc ah, al
xor al, 0xe
adc byte [esi + 0x34], cl
push cs
adc byte [esi + 0x34], cl
push cs
invalid
Function at 0x100e7050
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, dword [esp + 0x14]
mov eax, esi
sub eax, ebx
push edi
mov edi, dword [esp + 0x1c]
sub eax, 0x40
push edi
sar eax, 2
push eax
push ebx
call fcn.100e6770
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x100e7107
lea ebp, [ebx + 0x40]
sub esi, 4
cmp esi, ebp
jbe case.0x100e70d8.17
mov eax, dword [esi]
mov ecx, eax
shr ecx, 8
movzx edx, al
movzx ebx, cl
mov cx, word [edx*2 + 0x101346d8]
and cx, 7
cmp cx, 2
jne 0x100e70bf
cmp edi, ebx
jb 0x100e7082
cmp edx, 0x2a
jne case.0x100e70d8.17
shr eax, 0x10
cmp edi, eax
ja 0x100e7082
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
cmp cx, 1
jne 0x100e7082
cmp ebx, edi
jne 0x100e7082
add edx, 0xfffffff0
cmp edx, 0x27
ja case.0x100e70d8.17
movzx ecx, byte [edx + 0x100e71e4]
jmp dword [ecx*4 + 0x100e71d0]
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, esi
shr edi, 0x10
sub eax, ecx
sub eax, 0x40
push edi
sar eax, 2
push eax
push ecx
call fcn.100e6770
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x100e7082
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov eax, str.local
pop ebx
ret
mov ecx, dword [esp + 0x14]
shr eax, 0x10
not eax
pop edi
mov ecx, dword [ecx + 0x10]
pop esi
pop ebp
pop ebx
mov ecx, dword [ecx + eax*4]
mov eax, dword [esp + 0x10]
add ecx, 0x10
mov dword [eax], ecx
mov eax, str.global
ret
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [esp + 0x14]
not edx
mov ecx, dword [ecx + 0x10]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x20]
add edx, 0x10
mov dword [ecx], edx
mov ecx, dword [esi - 4]
cmp cl, 0x10
jne 0x100e7182
shr ecx, 8
movzx edx, cl
lea ecx, [ebx + 1]
cmp edx, ecx
jne 0x100e7182
shr eax, 8
xor eax, dword [esi - 4]
test eax, 0xffff0000
jne 0x100e7182
pop edi
pop esi
pop ebp
mov eax, str.method
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, str.field
pop ebx
ret
mov ecx, dword [esp + 0x14]
shr eax, 0x10
mov edx, dword [ecx + 0x38]
test edx, edx
jne 0x100e71af
mov eax, dword [esp + 0x20]
mov edx, 0x10136507
pop edi
pop esi
pop ebp
mov dword [eax], edx
mov eax, str.upvalue
pop ebx
ret
test eax, eax
je 0x100e71bf
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x100e71b3
sub eax, 1
jne 0x100e71b3
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [eax], edx
mov eax, str.upvalue
pop ebx
ret