joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100bbd20
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10195790
push 0x10130e80
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x1019a06c]
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 - 0x14c], 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 - 0x150], esi
cmp esi, 0xffffffff
je 0x100bbeea
mov dword [ebp - 0x134], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x144], xmm0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
push 0
lea eax, [ebp - 0x130]
push eax
push 8
lea eax, [ebp - 0x144]
push eax
push 0xc
lea eax, [ebp - 0x13c]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100bbe04
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100bbeea
push dword [ebp - 0x140]
call fcn.100e3b3e
mov edi, eax
mov dword [ebp - 0x148], edi
push dword [ebp - 0x140]
push 0
push edi
call fcn.10131ef0
add esp, 0x10
push 0
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x140]
push edi
push 0xc
lea eax, [ebp - 0x13c]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100bbe66
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.100e38a5
add esp, 4
jmp 0x100bbeea
mov eax, dword [edi + 0x18]
test eax, eax
je 0x100bbe51
mov dword [ebp - 4], 0
add eax, edi
push eax
push 0x100
push dword [ebp - 0x14c]
call fcn.10142bb5
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.100e38a5
add esp, 4
mov dword [ebp - 0x148], 0x8123
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x100bbeec
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.100e34d0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100bd900
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016ee90
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1019a06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
push 0x1018a9ac
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.1000db00
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push dword [0x1030bad8]
lea ecx, [ebp - 0x48]
call fcn.1007c450
push 0x100bd8c0
push str.SetJewelStack
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1008cca0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x100bd9b0
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100bd9a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bdacf
push edx
push ecx
call fcn.100e3844
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x100bd9fd
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100bd9f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100bdad4
push edx
push ecx
call fcn.100e3844
add esp, 8
push str.Data__KGData__Lua__Configs__CustomJewelStack.lua
mov ecx, 0x1030bad4
call fcn.100aff20
push 0x10186c1f
push str.StartLoadJewelStack
push 0x1030bad4
call fcn.100b00e0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
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 - 0x14]
push eax
push dword [ebp - 0x14]
push 6
push 0x7dc964
call esi
push 0x100bd790
push 0x7dc964
push 0xe9
call fcn.100bfb10
add esp, 0xc
lea eax, [ebp - 0x14]
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 - 0x14]
push eax
push dword [ebp - 0x14]
push 6
push 0x7dd634
call esi
push 0x100bd890
push 0x7dd634
push 0xe9
call fcn.100bfb10
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.100e34d0
mov esp, ebp
pop ebp
ret
call fcn.1013a639
call fcn.1013a639
int3
Function at 0x100bf160
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1019a06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x40
mov esi, ecx
mov dword [ebp - 0x10], edx
push edi
push esi
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100bf1a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
push edi
push dword [ebp - 0x10]
push esi
call fcn.101313f0
add esp, 0xc
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100bf193
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.100e34d0
mov esp, ebp
pop ebp
ret

Function at 0x100bf1f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1019a06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 8]
mov byte [ebp - 0x14], 0xe9
push eax
mov esi, ecx
mov dword [ebp - 8], 0
push 0x40
sub edx, esi
push 5
sub edx, 5
push esi
mov dword [ebp - 0x13], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100bf23e
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov al, byte [ebp - 0x10]
mov byte [esi + 4], al
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100bf229
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100e34d0
mov esp, ebp
pop ebp
ret

Function at 0x100bf280
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1019a06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
push esi
mov byte [ebp - 0x14], 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 - 0x13], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100bf2d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov al, byte [ebp - 0x10]
mov byte [esi + 4], al
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100bf2bb
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
Function at 0x100bf370
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x1019a06c]
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 0x100bf480
push edi
mov edi, dword [0xe8c578]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, edi
jne 0x100bf470
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.100bf4c0
push 0x1fc
lea eax, [ebp - 0x200]
push 0
push eax
call fcn.10131ef0
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 0x100bf430
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x10241c49]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x5d], al
test al, al
jne 0x100bf450
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.100e34d0
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.100bf4c0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
Function at 0x100bf9d0
Capabilities:
Allocate or change rwx memory

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

Function at 0x100bfa20
Capabilities:
Allocate or change rwx memory

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

Function at 0x100bfa70
Capabilities:
Allocate or change rwx memory

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

Function at 0x100bfac0
Capabilities:
Allocate or change rwx memory

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

Function at 0x100bfb10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1019a06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp + 8]
cmp al, 0xff
je 0x100bfb3c
mov byte [esi], al
mov eax, dword [ebp + 0x10]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
Function at 0x100bfb70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1019a06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push 0x40
push ebx
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push esi
mov esi, dword [ebp - 0xc]
push esi
call fcn.101313f0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100e34d0
mov esp, ebp
pop ebp
ret

Function at 0x100bfbd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1019a06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push edi
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], eax
push ecx
push 0x40
push ebx
push eax
mov edi, edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
mov edi, dword [ebp - 0xc]
push edi
call fcn.10131ef0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.100e34d0
mov esp, ebp
pop ebp
ret

Function at 0x100bfc30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1019a06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 8]
mov esi, edx
push eax
push 0x40
mov ebx, ecx
mov dword [ebp - 0xc], esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor ecx, ecx
add esi, 5
setb cl
neg ecx
or ecx, esi
push ecx
call fcn.1013a049
push dword [ebp - 0xc]
mov esi, eax
push ebx
push esi
call fcn.101313f0
mov eax, dword [ebp - 0xc]
mov ecx, ebx
sub ecx, esi
sub ecx, 5
mov byte [eax + esi], 0xe9
mov dword [eax + esi + 1], ecx
add eax, 0xfffffffb
push eax
sub esi, ebx
mov byte [ebx], 0xe9
lea eax, [ebx + 5]
sub esi, 5
push 0x90
push eax
mov dword [ebx + 1], esi
call fcn.10131ef0
add esp, 0x1c
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
Function at 0x100bfcd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [0x10315598]
test edx, 0xffff0000
jne 0x100bfdc4
push ebx
push 0x1018c5b0
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x100bfdc3
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0xc
jb 0x100bfdc3
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x100bfdc3
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x100bfdb9
mov ecx, dword [edi + 4]
mov eax, dword [edi]
push ebx
push esi
cmp ecx, dword [edi + 8]
jne 0x100bfd84
mov dword [ebp - 4], eax
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
call eax
mov edx, dword [ebp - 4]
lea ecx, [edx*4 + 0xc]
cmp eax, ecx
jb 0x100bfdc2
xor esi, esi
test edx, edx
je 0x100bfdb9
mov ebx, dword [ebp + 8]
mov ecx, dword [edi + esi*4 + 0xc]
mov edx, ebx
call fcn.100bfa20
inc esi
cmp esi, dword [edi]
jb 0x100bfd64
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], eax
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
call eax
mov edx, dword [ebp - 4]
lea ecx, [edx*8 + 0xc]
cmp eax, ecx
jb 0x100bfdc2
xor esi, esi
test edx, edx
je 0x100bfdb9
mov ebx, dword [ebp + 8]
mov edx, dword [edi + esi*8 + 0x10]
mov ecx, dword [edi + esi*8 + 0xc]
add edx, ebx
call fcn.100bfa20
inc esi
cmp esi, dword [edi]
jb 0x100bfda5
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100bfdd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1019a06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 0xc]
mov byte [ebp - 0x13], al
mov al, byte [ebp + 0x10]
push esi
mov byte [ebp - 0x12], al
mov esi, ecx
mov eax, dword [edx]
mov dword [ebp - 0x11], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 7
push esi
mov byte [ebp - 0x14], 0xf
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100bfe27
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov ax, word [ebp - 0x10]
mov word [esi + 4], ax
mov al, byte [ebp - 0xe]
mov byte [esi + 6], al
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 7
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100bfe12
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100e34d0
mov esp, ebp
pop ebp
ret
Function at 0x100e8b90
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.0x100e8bca
mov eax, ebx
and eax, 0xfffffffc
mov eax, dword [eax + 0x38]
test eax, eax
jns 0x100e8bbd
mov ecx, dword [esi + 0x1c]
sub ecx, eax
cmp edx, ecx
jb 0x100e8c0d
cmp edx, dword [esi + 0x1c]
jbe case.default.0x100e8bca
mov eax, dword [edx + 4]
mov ecx, eax
and ecx, 7
jmp dword [ecx*4 + 0x100e8cf0]
movzx ecx, byte [eax - 3]
mov eax, 0xfffffff8
shl ecx, 3
sub eax, ecx
add edx, eax
jmp 0x100e8bfc
cmp dword [edx - 8], 1
jne case.0x100e8bca.3
mov ebx, dword [ebx + 0x34]
jmp case.0x100e8bca.3
and eax, 0xfffffff8
sub edx, eax
test ebx, ebx
jne 0x100e8ba8
test edi, edi
jne 0x100e8cbb
jmp 0x100e8cb5
test edi, edi
je 0x100e8caf
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.100e9220
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.100e9220
add esp, 8
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xc8]
test eax, eax
je 0x100e8ce8
push esi
call eax
add esp, 4
push 1
call fcn.10153b52
nop
ror dword [ebx - 0x7416eff2], 1
push cs
adc bl, ah
mov ecx, dword [esi]
adc bh, dh
mov ecx, dword [esi]
adc cl, dl
mov ecx, dword [esi]
adc byte [esp + ecx*4 + 0xe], ah
adc dh, ch
mov ecx, dword [esi]
adc dh, ch
mov ecx, dword [esi]
invalid
Function at 0x100ec7f0
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.100ebf10
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x100ec8a7
lea ebp, [ebx + 0x40]
sub esi, 4
cmp esi, ebp
jbe case.0x100ec878.17
mov eax, dword [esi]
mov ecx, eax
shr ecx, 8
movzx edx, al
movzx ebx, cl
mov cx, word [edx*2 + 0x1017a070]
and cx, 7
cmp cx, 2
jne 0x100ec85f
cmp edi, ebx
jb 0x100ec822
cmp edx, 0x2a
jne case.0x100ec878.17
shr eax, 0x10
cmp edi, eax
ja 0x100ec822
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
cmp cx, 1
jne 0x100ec822
cmp ebx, edi
jne 0x100ec822
add edx, 0xfffffff0
cmp edx, 0x27
ja case.0x100ec878.17
movzx ecx, byte [edx + 0x100ec984]
jmp dword [ecx*4 + 0x100ec970]
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.100ebf10
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x100ec822
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 0x100ec922
shr ecx, 8
movzx edx, cl
lea ecx, [ebx + 1]
cmp edx, ecx
jne 0x100ec922
shr eax, 8
xor eax, dword [esi - 4]
test eax, 0xffff0000
jne 0x100ec922
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 0x100ec94f
mov eax, dword [esp + 0x20]
mov edx, 0x10186c1f
pop edi
pop esi
pop ebp
mov dword [eax], edx
mov eax, str.upvalue
pop ebx
ret
test eax, eax
je 0x100ec95f
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x100ec953
sub eax, 1
jne 0x100ec953
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [eax], edx
mov eax, str.upvalue
pop ebx
ret
Function at 0x100eeec0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov ecx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
movzx eax, byte [ebp + 0x24]
lea edx, [eax*4 + 0x14]
call fcn.100ea450
mov esi, eax
lea ecx, [ebp + 0x40]
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
mov word [esi + 5], 8
mov byte [esi + 7], 0
movzx ecx, byte [ebp + 0x25]
add ecx, 0x20
mov eax, ecx
shr eax, 3
and al, 0x20
sub cl, al
mov al, byte [ebp + 0x24]
mov byte [ebp + 0x25], cl
mov byte [esp + 0x18], al
movzx ecx, al
test al, al
je 0x100eef71
push ebx
lea ebx, [esi + 0x14]
mov esi, ecx
mov ecx, dword [esp + 0x18]
mov edx, 0x18
call fcn.100ea450
lea ebx, [ebx + 4]
lea ecx, [eax + 8]
mov word [eax + 5], 0x105
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0xffffffff
mov ecx, dword [ebp + 0x14]
movzx edx, word [ecx + edi*2]
inc edi
mov ecx, edx
shl edx, 0x18
shr ecx, 0xe
xor edx, ebp
and cl, 1
mov dword [eax + 0x14], edx
mov byte [eax + 7], cl
mov dword [ebx - 4], eax
cmp edi, esi
jb 0x100eef22
mov esi, dword [esp + 0x10]
mov al, byte [esp + 0x1c]
pop ebx
mov byte [esi + 7], al
mov eax, esi
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x10102420
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
mov ecx, dword [ebp + 0x10]
mov edx, 1
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x3c], esi
lea edi, [eax + ecx*8]
cmp edi, dword [ebx + 0x14]
jae 0x10102486
nop dword [eax]
mov eax, dword [edi + 4]
cmp eax, 0xfffffffb
jne 0x10102499
mov eax, dword [edi]
test edx, edx
je 0x10102478
push dword [esp + 0x3c]
mov esi, dword [eax + 0xc]
add eax, 0x10
push esi
push 1
push eax
call fcn.10144a00
add esp, 0x10
cmp eax, esi
je 0x101024c0
xor edx, edx
mov esi, dword [esp + 0x3c]
add edi, 8
cmp edi, dword [ebx + 0x14]
jb 0x10102450
push 0
push edx
push ebx
call fcn.100e7d00
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0xfffffff2
jae 0x101024c7
test edx, edx
je 0x10102478
movsd xmm0, qword [edi]
sub esp, 8
movsd qword [esp], xmm0
push str._.14g
push esi
call sym.Main.dll_fprintf
add esp, 0x10
test eax, eax
jle 0x10102478
mov edx, 1
jmp 0x1010247a
sub edi, dword [ebx + 0x10]
sar edi, 3
push 4
inc edi
push edi
push ebx
call fcn.100e8d30
int3