joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000eb22
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov edi, dword [ebp + 8]
mov edi, dword [edi]
push edi
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
pop edi
mov esi, ecx
not esi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
lea eax, [eax + 0x10]
push dword [eax]
xor eax, eax
push edx
mov ecx, dword [edx + 0x30]
movzx ebx, byte [eax + edi]
movzx edx, byte [ecx + eax*2]
sub ebx, edx
cmp ebx, 0
je 0x1000eb69
cmp ebx, 0x20
je 0x1000eb69
cmp ebx, 0xffffffe0
je 0x1000eb69
jne 0x1000eb72
add eax, 1
cmp esi, eax
je 0x1000eb7f
jne 0x1000eb4e
pop edx
mov edx, dword [edx]
xor eax, eax
pop ebx
cmp ebx, edx
push ebx
je 0x1000eb83
jne 0x1000eb4a
pop edx
mov eax, dword [edx + 0x18]
leave
ret 4

Function at 0x1000eb97
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x1000ebdc
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x1000ebe2
add eax, 4
pop esi
dec esi
push esi
jne 0x1000ebc4
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8
Function at 0x10013ef9
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.100140a9
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x10013ff7
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x10013f9a
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x10013fdd
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x10013fb1
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x10013fcc
test al, 0x40
je 0x10013fc3
mov ecx, dword [edi + 0x20]
jmp 0x10013fca
test al, 0x80
je 0x10013fdd
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x10013fdd
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x10013f69
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x10015337
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 4]
mov eax, dword [ebp - 4]
jmp 0x1001536e
mov esp, ebp
pop ebp
ret
Function at 0x10018a88
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0x40
call fcn.100abdd1
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov ebx, dword [ebp - 4]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 0x40
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10018af0
push 0x2c
push 0x4031b36
push 6
call fcn.100abddd
add esp, 0xc
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
fild qword [ebx]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fdiv qword [0x100dc53b]
fstp qword [ebp - 0x1c]
push 0
push 0
push 0
push 0x80000601
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 2
mov ebx, 0x68
call fcn.100b0360
add esp, 0x1c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
fld qword [ebp - 0x2c]
call fcn.10001713
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10018beb
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
fild qword [ebx]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fdiv qword [0x100dc543]
fstp qword [ebp - 0x1c]
push 0
push 0
push 0
push 0x80000601
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 2
mov ebx, 0x68
call fcn.100b0360
add esp, 0x1c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
fld qword [ebp - 0x2c]
call fcn.10001713
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.100acd80
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0x100dc54b
push dword [ebp - 0xc]
mov ecx, 2
call fcn.100010a5
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10018be3
push ebx
call fcn.100abdd7
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x10018c3a
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.100acd80
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0x100dc54e
push dword [ebp - 0xc]
mov ecx, 2
call fcn.100010a5
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10018c32
push ebx
call fcn.100abdd7
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x10018c3a
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x100200e4
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov ebx, dword [0x100e6ce1]
call fcn.10001d16
push ebx
push ecx
mov eax, dword [ebp + 8]
dec eax
jns 0x10020117
push 0x24
push 0x4057ac7
push 4
call fcn.100abddd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10020134
push 0x24
push 0x4057ac7
push 1
call fcn.100abddd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 4], ebx
fild dword [ebp + 0xc]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x100dc8f9]
fstp qword [ebp - 0x14]
mov dword [ebp - 0x18], esp
push 0
push dword [ebp + 0xc]
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 1
fld qword [ebp - 0x14]
call fcn.10001713
push eax
mov ebx, dword [ebp - 4]
push dword [ebx]
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSARecv]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x100201aa
push 0x44
push 0x4057ac7
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x10020200
mov dword [ebp - 4], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
nop
nop
cmp dword [ebp - 4], esp
je 0x100201e0
push 0xbe
push 0x4057ac7
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x3e5
jne 0x100201f5
jmp 0x10020200
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10020206
mov esp, ebp
pop ebp
ret 8

Function at 0x1002055a
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov ebx, dword [0x100e6ce1]
call fcn.10001d16
push ebx
push ecx
mov eax, dword [ebp + 8]
dec eax
jns 0x1002058d
push 0x24
push 0x4057ac8
push 4
call fcn.100abddd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x100205aa
push 0x24
push 0x4057ac8
push 1
call fcn.100abddd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 4], ebx
fild dword [ebp + 0xc]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x100dc8f9]
fstp qword [ebp - 0x14]
mov dword [ebp - 0x18], esp
push 0
push dword [ebp + 0xc]
push 0
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 1
fld qword [ebp - 0x14]
call fcn.10001713
push eax
mov ebx, dword [ebp - 4]
push dword [ebx]
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSASend]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10020619
push 0x44
push 0x4057ac8
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x10020676
mov dword [ebp - 4], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
nop
nop
cmp dword [ebp - 4], esp
je 0x1002064f
push 0xbe
push 0x4057ac8
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x3e5
jne 0x10020664
jmp 0x10020676
push dword [ebp + 0xc]
call fcn.10020686
mov eax, 0
jmp 0x10020680
mov eax, 1
jmp 0x10020680
mov esp, ebp
pop ebp
ret 8
Function at 0x1002dfa2
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0xc], 0
jne 0x1002dfe6
push 0
mov ebx, pe_nt_image_headers32
call fcn.100b35b0
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1002dfe0
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
push 1
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.1002e07a
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0
push 1
xor eax, eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
nop
cmp dword [ebp - 8], esp
je 0x1002e02c
push 0xb6
push 0x40582cf
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1002e060
push 0xb6
push 0x40582cf
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
mov eax, 0
sete al
jmp 0x1002e074
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1002e7bc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x100d4735
mov ebx, dword [ebp + 8]
push dword [ebx]
mov ecx, 2
call fcn.100010a5
add esp, 8
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1002e800
mov eax, 0x100d424e
push eax
push 1
mov ebx, 0x198
call fcn.100ad860
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1002e826
push ebx
call fcn.100abdd7
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1002e83a
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x1002e851
mov eax, 0x100d42b8
push eax
push 1
mov ebx, 0x194
call fcn.100ad2e0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
mov eax, dword [ebp - 4]
test eax, eax
je 0x1002e880
add eax, 8
push eax
push dword [0x100e6d49]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1002e8ad
push 0x6c
push 0x4010105
push 6
call fcn.100abddd
add esp, 0xc
mov eax, dword [0x100e6d49]
jmp 0x1002e8b7
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1002e8c8
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x10038f0c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], esp
push 1
push 0x100d424e
push 0x100d424e
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x100d4490
push 0
xor eax, eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
cmp dword [ebp - 4], esp
je 0x10038f5c
push 0
push 0x405811a
push 6
call fcn.100abddd
add esp, 0xc
mov esp, ebp
pop ebp
ret 4
Function at 0x100403a3
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.100abdd1
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.100abdd1
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0xc], 0
jne 0x10040443
mov dword [ebp - 0x18], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10040440
push 0x46
push 0x405812e
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10040479
push 0x75
push 0x405812e
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x100404b1
push 0xa2
push 0x405812e
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push str.SeDebugPrivilege
push 0
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x100404e7
push 0xcc
push 0x405812e
push 6
call fcn.100abddd
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10040580
push 0x1dc
push 0x405812e
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
xor eax, eax
call dword [0x100e6e15]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x100405af
push 0x21c
push 0x405812e
push 6
call fcn.100abddd
add esp, 0xc
mov eax, dword [ebp - 0x14]
jmp 0x100405b7
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10049342
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0x11
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 8], esp
je 0x10049387
push 0x59
push 0x4052199
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.100adef0
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100493ea
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.100adbf0
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x10
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 8], esp
je 0x10049418
push 0xfb
push 0x4052199
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.100adef0
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1004947b
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.100adbf0
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x12
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 8], esp
je 0x100494a9
push 0x19d
push 0x4052199
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.100adef0
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1004950c
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.100adbf0
add esp, 0x1c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x10049514
mov esp, ebp
pop ebp
ret
Function at 0x10055b59
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x18
call fcn.100abdd1
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
add ebx, 0x14
push ebx
push 0x208
call fcn.100abdd1
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x100ddf61
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0x94
mov dword [ebp - 8], esp
mov eax, dword [ebp - 4]
push eax
push 0x214
call fcn.100abdd1
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x80
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop ebx
add ebx, 4
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
nop
nop
cmp dword [ebp - 8], esp
je 0x10055c42
push 0x2c
push 0x4057c99
push 6
call fcn.100abddd
add esp, 0xc
push eax
mov ebx, dword [ebp - 0xc]
push ebx
mov edi, dword [ebp - 0x10]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.100abdd7
add esp, 4
pop eax
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 6
jl 0x10055ca9
mov eax, 1
jmp 0x10055cb3
mov eax, 0
jmp 0x10055cb3
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 0x14
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10055cd9
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10055cd5
imul eax, dword [ebx]
jmp 0x10055cca
mov ecx, eax
test ecx, ecx
je 0x10055cf8
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10055cf1
push ebx
push eax
call fcn.100abdd7
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10055cdf
call fcn.100abdd7
add esp, 4
pop ebx
call fcn.100abdd7
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x10064a99
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x5c]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10064af3
push 0x46
push 0x40521e0
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10064b0a
mov eax, 0x100dd49a
jmp 0x10064bed
fild dword [ebp - 8]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fmul qword [0x100d42c0]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x100d42c0]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.10001713
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.100acce0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10064b61
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x100d4302]
fstp qword [ebp - 0x1c]
mov dword [ebp - 0x20], esp
fld qword [ebp - 0x1c]
call fcn.10001713
push eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10064b8d
add eax, 8
push eax
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10064bb7
push 0x165
push 0x40521e0
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10064bce
mov eax, 0x100dd49a
jmp 0x10064bed
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10064be8
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100abdd1
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10064bed
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10064bfe
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x1008b893
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.100adbf0
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x40
push dword [ebp - 4]
push dword [ebp + 8]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 8], esp
je 0x1008b902
push 0x34
push 0x4057ad3
push 6
call fcn.100abddd
add esp, 0xc
jmp 0x1008b907
mov esp, ebp
pop ebp
ret 4

Function at 0x100ad020
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x84]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], 1
je case.0x100ad061.2
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x100ad061.2
jmp dword [eax*4 + 0x100ad0ec]
mov word [esp + 0x48], di
jmp 0x100ad09a
mov word [esp + 0x48], 2
jmp 0x100ad09a
mov word [esp + 0x48], 3
jmp 0x100ad09a
mov word [esp + 0x48], 4
jmp 0x100ad09a
mov word [esp + 0x48], 7
jmp 0x100ad09a
mov word [esp + 0x48], 5
lea edx, [esp + 8]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
cmp esi, edi
je 0x100ad0e4
cmp dword [esp + 0x70], edi
je 0x100ad0d0
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret