joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100028b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1001a018]
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 0x1000292a
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 0x10002931
push str.psapi.dll
call edi
mov ebx, eax
test ebx, ebx
je 0x1000295d
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.1001115f
mov esp, ebp
pop ebp
ret 4
Function at 0x10002ce0
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 0x10002dfe
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 0x10002de1
xor esi, esi
cmp dword [ebp - 0x24], 0x1000
jne 0x10002db5
cmp dword [ebp - 0x20], 1
je 0x10002db5
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 0x10002db5
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 0x10002dec
mov edi, dword [ebp - 4]
add edi, dword [ebp - 0x28]
mov dword [ebp - 4], edi
test esi, esi
je 0x10002dcc
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
cmp edi, dword [ebp - 0x18]
jb 0x10002d10
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 0x10002fe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x1001a018]
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 0x10003020
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 0x10003040
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 0x10003060
mov edx, dword [str.d3d9.dll]
mov dword [esi + 0x32], edx
mov eax, dword [0x10015018]
mov dword [esi + 0x36], eax
mov cl, byte [0x1001501c]
mov byte [esi + 0x3a], cl
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.1001115f
mov esp, ebp
pop ebp
ret
Function at 0x10005db0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x1001a018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1001ee5c]
mov ecx, dword [eax + 0x90]
push ecx
call fcn.10002820
add esp, 4
test al, al
je 0x10005e2c
push 0x63
lea edx, [ebp - 0x67]
push 0
push edx
mov byte [ebp - 0x68], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov edi, edi
mov cl, byte [eax + 0x10015e50]
not cl
xor cl, 0xd3
mov byte [ebp + eax - 0x68], cl
inc eax
cmp eax, 0x2a
jl 0x10005df0
mov ecx, dword [0x1001ee60]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
lea eax, [ebp - 0x68]
push eax
mov eax, dword [0x1001ee5c]
push str.d3d9.dll
push 0
push 0
push 0
add eax, 0x90
push eax
call edx
mov eax, dword [0x1001ee5c]
mov ecx, dword [eax + 0x90]
mov eax, dword [ecx + 2]
mov dword [0x1001d3c8], eax
mov edx, dword [eax + 0xa8]
mov ecx, dword [eax + 0xc]
mov dword [0x1001d264], edx
mov edx, dword [eax + 0x1c]
push esi
push edi
mov edi, dword [eax + 0xe4]
mov dword [0x1001d274], ecx
mov ecx, dword [eax + 0x164]
mov dword [0x1001d278], edx
mov edx, dword [eax + 0xc0]
mov eax, dword [eax + 0x68]
push edi
mov esi, 0x1001ea64
mov dword [0x1001d268], edi
mov dword [0x1001d26c], ecx
mov dword [0x1001d270], edx
mov dword [0x1001d280], eax
call fcn.100020c0
mov edi, dword [0x1001d26c]
push edi
mov esi, 0x1001eab0
call fcn.100020c0
mov edi, dword [0x1001d270]
push edi
mov esi, 0x1001ea44
call fcn.100020c0
mov edi, dword [0x1001d278]
push edi
mov esi, 0x1001ea04
call fcn.100020c0
mov edi, dword [0x1001d274]
push edi
mov esi, 0x1001ea24
call fcn.100020c0
mov edi, dword [0x1001d280]
push edi
mov esi, 0x1001e964
call fcn.100020c0
mov ecx, dword [ebp - 4]
add esp, 0x18
pop edi
xor ecx, ebp
pop esi
call fcn.1001115f
mov esp, ebp
pop ebp
ret
Function at 0x10008da0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1001a018]
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 0x10008dd4
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x14
jl 0x10008db7
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0x1001ed34
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 0x10008e16
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001115f
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0x1001ed34
push 0xf003f
mov edi, 0x10016588
push 0
sub edi, 0xb954e7a
lea esi, [ebp - 0x18]
call fcn.100101a0
push eax
push 0x80000000
call ebx
test eax, eax
sete al
test al, al
jne 0x10008e72
push 0x1001ed34
push 0xf003f
push 0
mov edi, 0x144481cf
lea esi, [ebp - 0x2c]
call fcn.100101e0
push eax
push 0x80000001
call ebx
test eax, eax
sete al
test al, al
je 0x10008e85
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001115f
mov esp, ebp
pop ebp
ret
push 0x1001ed34
push 0xf003f
mov edi, 0x100165c4
push 0
sub edi, 0x50299d6f
lea esi, [ebp - 0x28]
call fcn.10010220
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.1001115f
mov esp, ebp
pop ebp
ret
Function at 0x1000c490
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.NxCharacter.2.8.1.dll
call esi
add eax, 0xcd0d
push str.NxCharacter.2.8.1.dll
mov dword [0x1001d24c], eax
call esi
add eax, 0xcde0
lea ecx, [eax + 6]
mov dword [0x1001e808], ecx
mov ecx, dword [0x1001d24c]
lea edx, [ecx + 6]
mov dword [0x1001c000], eax
mov dword [0x1001ee38], edx
test ecx, ecx
je 0x1000c673
test eax, eax
je 0x1000c673
mov ecx, dword [0x1001ee5c]
mov edx, dword [ecx + 0x10]
cmp dword [edx], 0
push ebx
push edi
jbe 0x1000c55b
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
call edi
mov eax, dword [ebp - 4]
lea edx, [ebp - 4]
push edx
mov ecx, 0x1000c460
push eax
sub ecx, esi
sub ecx, 5
push 4
mov byte [esi], 0xe9
mov dword [esi + 1], ecx
mov bl, 0x90
push esi
mov byte [esi + 5], bl
call edi
mov esi, dword [0x1001d24c]
lea ecx, [ebp - 4]
push ecx
push 0x40
push 4
push esi
call edi
mov ecx, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
mov edx, 0x1000c440
push ecx
sub edx, esi
sub edx, 5
push 4
mov byte [esi], 0xe9
mov dword [esi + 1], edx
push esi
mov byte [esi + 5], bl
call edi
mov ebx, 1
cmp dword [0x1001ef30], ebx
jne 0x1000c671
push str.SPACE____Untuk_Menaikan_Badan_nCTRL____Untuk_Menurunkan_Badan
push 0xffffff00
push 0xf0
mov ecx, 0x140
call fcn.100091e0
add esp, 0xc
mov edi, ebx
lea esi, [ebx + 0x1f]
call fcn.100027b0
test bl, al
je 0x1000c5a7
mov eax, 0x1001d144
fld qword [eax - 4]
fadd qword [0x10017028]
fstp qword [eax - 4]
mov esi, 0x11
call fcn.100027b0
test bl, al
je 0x1000c5c6
mov eax, 0x1001d144
fld qword [eax - 4]
fsub qword [0x10017028]
fstp qword [eax - 4]
cmp dword [0x1001ef30], 0
jne 0x1000c5df
mov edx, 0x1001dbfc
fld qword [edx - 4]
mov eax, 0x1001d144
fstp qword [eax - 4]
mov esi, dword [0x1001ee5c]
mov ecx, dword [esi + 0x10]
cmp dword [ecx], 0
jbe 0x1000c637
mov edx, dword [esi + 8]
mov eax, dword [edx]
mov ecx, dword [esi + 0x34]
mov eax, dword [eax + ecx]
push eax
call fcn.100063b0
add esp, 4
cmp eax, 2
jne 0x1000c637
cmp dword [0x1001d144], 0
mov eax, 0x1001dbfc
fld qword [eax - 4]
mov ecx, 0x1001d144
fstp qword [0x1001d0f0]
fld qword [ecx - 4]
fstp qword [0x1001c910]
jne 0x1000c631
fld qword [eax - 4]
fstp qword [ecx - 4]
mov dword [0x1001ef30], ebx
mov edx, dword [esi + 0x10]
cmp dword [edx], 0
jbe 0x1000c658
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov edx, dword [esi + 0x34]
mov eax, dword [ecx + edx]
push eax
call fcn.100063b0
add esp, 4
cmp eax, 3
jne 0x1000c671
cmp dword [0x1001d144], 0
je 0x1000c66b
mov dword [0x1001d144], 0
mov dword [0x1001e800], ebx
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000ca80
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 0x1000caeb
push esi
cmp ecx, edx
jne 0x1000cae1
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1000caa3
mov esi, dword [eax]
mov dword [ecx], esi
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1000caaf
mov esi, dword [eax]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x1000cabb
mov esi, dword [eax + 0x10]
mov dword [ecx], esi
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x1000cac8
mov esi, dword [eax + 0x14]
mov dword [ecx + 4], esi
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1000cad4
mov esi, dword [eax + 0xc]
mov dword [esi], ecx
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1000cae1
mov esi, dword [eax + 0xc]
mov dword [ecx + 4], esi
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x1000ca94
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
test edi, edi
je 0x1000cb49
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 0x1000cb21
push 0x40
push 0
push edi
call sub.MSVCR100.dll_memset
add esp, 0xc
test esi, esi
je 0x1000cb47
lea ecx, [ebp - 4]
push ecx
push 4
push 0xf8
push esi
call ebx
test eax, eax
je 0x1000cb47
push 0xf8
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000cb50
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 0x1000cbc0
Capabilities:
Execute shellcode via indirect call

Disassembly:
mov eax, dword [0x1001d268]
mov ecx, dword [eax + 1]
lea edx, [ecx + eax + 5]
mov ecx, 0x1001ea64
call fcn.10002010
mov eax, dword [0x1001d270]
mov edx, dword [eax + 1]
lea edx, [edx + eax + 5]
mov ecx, 0x1001ea44
call fcn.10002010
mov eax, dword [0x1001d26c]
mov ecx, dword [eax + 1]
lea edx, [ecx + eax + 5]
mov ecx, 0x1001eab0
call fcn.10002010
mov eax, dword [0x1001d278]
mov edx, dword [eax + 1]
lea edx, [edx + eax + 5]
mov ecx, 0x1001ea04
call fcn.10002010
mov eax, dword [0x1001d280]
mov ecx, dword [eax + 1]
lea edx, [ecx + eax + 5]
mov ecx, 0x1001e964
call fcn.10002010
mov eax, dword [0x1001d274]
mov edx, dword [eax + 1]
lea edx, [edx + eax + 5]
mov ecx, 0x1001ea24
jmp fcn.10002010
Function at 0x1000d290
Capabilities:
Enumerate threads
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f4
mov eax, dword [0x1001a018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 4
mov dword [ebp - 0x2f4], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x2f0], esi
cmp esi, 0xffffffff
je 0x1000d3ee
lea eax, [ebp - 0x2ec]
push eax
push esi
mov dword [ebp - 0x2ec], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1000d3e7
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetThreadContext]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
lea esp, [esp]
mov ecx, dword [ebp - 0x2f4]
cmp dword [ebp - 0x2e0], ecx
jne 0x1000d3c5
mov eax, dword [ebp - 0x2e4]
cmp dword [0x1001ee40], eax
je 0x1000d3cf
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x1000d3bf
push esi
mov dword [ebp - 0x2d0], 0x10010
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea edx, [ebp - 0x2d0]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1000d3b1
push 0x1000d180
push 1
call edi
mov eax, dword [0x1001ee5c]
mov ecx, dword [eax + 0x14c]
mov dword [ebp - 0x2cc], ecx
mov edx, dword [eax + 0x12c]
mov dword [ebp - 0x2c8], edx
mov ecx, dword [eax + 0x144]
mov dword [ebp - 0x2c4], ecx
mov edx, dword [eax + 0x128]
lea eax, [ebp - 0x2d0]
push eax
push esi
mov dword [ebp - 0x2c0], edx
mov dword [ebp - 0x2b8], 0x555
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x2f0]
mov dword [ebp - 0x2ec], 0x1c
lea ecx, [ebp - 0x2ec]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1000d300
pop edi
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1001115f
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov edi, dword [0x1001d250]
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push edi
call esi
push 6
push 0x1000d570
push edi
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 edi
call esi
mov eax, dword [0x1001d250]
mov edi, dword [eax + 2]
mov ecx, dword [edi]
lea edx, [ebp - 8]
push edx
push 0x40
mov ebx, ecx
push 4
push ebx
mov dword [0x1001d248], ecx
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push edi
call esi
mov edx, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
push edx
push 4
push edi
mov dword [edi], 0x1000d580
call esi
mov ecx, dword [ebp - 8]
lea eax, [ebp - 8]
push eax
push ecx
push 4
push ebx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000d880
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
call fcn.10005db0
mov eax, dword [0x1001d280]
mov edx, dword [eax]
mov ecx, dword [0x1001f220]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov ax, word [eax + 8]
mov word [ecx + 8], ax
mov eax, dword [0x1001f268]
mov edx, dword [eax]
mov ecx, dword [0x1001f24c]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov dx, word [eax + 8]
mov word [ecx + 8], dx
mov ecx, dword [0x1001f264]
mov esi, dword [ecx]
mov edx, dword [0x1001f26c]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
movzx ecx, word [ecx + 8]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov word [edx + 8], cx
mov ecx, dword [0x1001f2bc]
mov esi, dword [ecx]
mov edx, dword [0x1001f248]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
movzx ecx, word [ecx + 8]
mov word [edx + 8], cx
lea edx, [ebp - 4]
push edx
push 0x40
push 5
push eax
mov esi, eax
call edi
mov edx, dword [ebp - 4]
lea ecx, [ebp - 8]
push ecx
push edx
mov eax, 0x10006920
sub eax, esi
push 5
sub eax, 5
push esi
mov byte [esi], 0xe9
mov dword [esi + 1], eax
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000d940
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
push edi
push 0x294
call esi
push 0x294
push 0
push eax
mov dword [0x1001ee5c], eax
call sub.MSVCR100.dll_memset
push 4
call esi
add esp, 0x14
test eax, eax
je 0x1000d97f
mov dword [eax], vtable.mSearch.0
mov dword [0x1001ee60], eax
jmp 0x1000d989
mov dword [0x1001ee60], 0
push str.mfc140.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov eax, dword [eax + 0x29f8c0]
mov ecx, dword [eax + 0xc]
push 0x1c
push 0x1001dbbc
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp dword [0x1001dbc8], 0x1000
jbe 0x1000dae5
call fcn.1000d880
call fcn.100030a0
call fcn.10005750
mov eax, dword [0x1001dbbc]
mov dword [0x1001d254], eax
add eax, dword [0x1001dbc8]
mov dword [0x1001dbdc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov eax, dword [0x1001ee5c]
mov ecx, dword [eax + 0x250]
push ecx
call fcn.100022f0
mov edx, dword [0x1001ee5c]
mov eax, dword [edx + 0x18]
add esp, 8
cmp dword [eax], 0xffffffff
jne 0x1000da25
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, edi
push 0x1f4
call esi
mov ecx, dword [0x1001ee5c]
mov edx, dword [ecx + 0x18]
cmp dword [edx], 0xffffffff
je 0x1000da10
call fcn.100069d0
mov edi, dword [0x1001f264]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push edi
call esi
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push eax
mov ecx, 0x10006950
sub ecx, edi
push 5
sub ecx, 5
push edi
mov byte [edi], 0xe9
mov dword [edi + 1], ecx
call esi
mov edi, dword [0x1001f2bc]
lea ecx, [ebp - 4]
push ecx
push 0x40
push 5
push edi
call esi
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push ecx
mov edx, 0x10006990
sub edx, edi
push 5
sub edx, 5
push edi
mov byte [edi], 0xe9
mov dword [edi + 1], edx
call esi
mov edx, dword [0x1001ee5c]
mov edi, dword [edx + 0x25c]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push edi
call esi
push 1
push 0x10016b80
push edi
call dword [sym.imp.MSVCR100.dll_memmove]
mov edx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push edx
push 1
push edi
call esi
call fcn.1000cbc0
mov edi, str.obs64.exe
call fcn.10002140
test eax, eax
je 0x1000dadb
call fcn.1000cc50
jmp 0x1000dae0
call fcn.1000d860
call fcn.1000d290
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000db80
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1001a018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.MSVCR100.dll_malloc]
push 0x11
mov dword [ebp - 0x28], 4
call edi
push 0x288
mov ebx, eax
call edi
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000dbc4
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x1000dbf1
mov ecx, dword [ebp - 0x28]
push ecx
call edi
mov esi, eax
add esp, 4
test esi, esi
jne 0x1000dbf1
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
lea edx, [ebp - 0x28]
push edx
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x1000dc61
movzx eax, byte [esi + 0x199]
movzx ecx, byte [esi + 0x198]
movzx edx, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push ecx
movzx ecx, byte [esi + 0x195]
push edx
movzx edx, byte [esi + 0x194]
push eax
push ecx
mov edi, 0x10016ca8
push edx
sub edi, 0x3a40a478
lea esi, [ebp - 0x24]
call fcn.100102a0
push eax
push ebx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x20
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001115f
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.MSVCR100.dll_free]
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.1001115f
mov esp, ebp
pop ebp
ret