joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10021f3d
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 0x10021f74
mov esp, ebp
pop ebp
ret
Function at 0x10024ca2
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0x40
call fcn.100b8c3f
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 0x10024d0a
push 0x2c
push 0x4031b36
push 6
call fcn.100b8c4b
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 [0x100de471]
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.100bf250
add esp, 0x1c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
fld qword [ebp - 0x2c]
call fcn.10001795
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10024e05
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 [0x100d5dfd]
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.100bf250
add esp, 0x1c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
fld qword [ebp - 0x2c]
call fcn.10001795
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.100b9a00
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0x100de479
push dword [ebp - 0xc]
mov ecx, 2
call fcn.10001088
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10024dfd
push ebx
call fcn.100b8c45
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x10024e54
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.100b9a00
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0x100de47c
push dword [ebp - 0xc]
mov ecx, 2
call fcn.10001088
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10024e4c
push ebx
call fcn.100b8c45
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x10024e54
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x1002d236
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov ebx, dword [0x100e6a65]
call fcn.100020b9
push ebx
push ecx
mov eax, dword [ebp + 8]
dec eax
jns 0x1002d269
push 0x24
push 0x4060660
push 4
call fcn.100b8c4b
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1002d286
push 0x24
push 0x4060660
push 1
call fcn.100b8c4b
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 [0x100ddc2c]
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.10001795
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 0x1002d2fc
push 0x44
push 0x4060660
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x1002d352
mov dword [ebp - 4], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
nop
nop
cmp dword [ebp - 4], esp
je 0x1002d332
push 0xbe
push 0x4060660
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x3e5
jne 0x1002d347
jmp 0x1002d352
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1002d358
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov ebx, dword [0x100e6a65]
call fcn.100020b9
push ebx
push ecx
mov eax, dword [ebp + 8]
dec eax
jns 0x1002d6df
push 0x24
push 0x4060661
push 4
call fcn.100b8c4b
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1002d6fc
push 0x24
push 0x4060661
push 1
call fcn.100b8c4b
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 [0x100ddc2c]
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.10001795
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 0x1002d76b
push 0x44
push 0x4060661
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x1002d7c8
mov dword [ebp - 4], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
nop
nop
cmp dword [ebp - 4], esp
je 0x1002d7a1
push 0xbe
push 0x4060661
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x3e5
jne 0x1002d7b6
jmp 0x1002d7c8
push dword [ebp + 0xc]
call fcn.1002d7d8
mov eax, 0
jmp 0x1002d7d2
mov eax, 1
jmp 0x1002d7d2
mov esp, ebp
pop ebp
ret 8
Function at 0x10030132
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x10030151
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
nop
cmp dword [ebp - 8], esp
je 0x10030178
push 0x19
push 0x40618b7
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x1003018f
mov eax, 0
jmp 0x100301cb
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc4
call fcn.100bae50
add esp, 0x1c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
setne al
jmp 0x100301cb
mov esp, ebp
pop ebp
ret 4
Function at 0x1003aa8e
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 0x100d5d18
mov ebx, dword [ebp + 8]
push dword [ebx]
mov ecx, 2
call fcn.10001088
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 0x1003aad2
mov eax, 0x100d520e
push eax
push 1
mov ebx, 0x198
call fcn.100ba120
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1003aaf8
push ebx
call fcn.100b8c45
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1003ab0c
push ebx
call fcn.100b8c45
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 0x1003ab23
mov eax, 0x100d5289
push eax
push 1
mov ebx, 0x194
call fcn.100ba1f0
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 0x1003ab52
add eax, 8
push eax
push dword [0x100e6ac1]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1003ab7f
push 0x6c
push 0x4010105
push 6
call fcn.100b8c4b
add esp, 0xc
mov eax, dword [0x100e6ac1]
jmp 0x1003ab89
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1003ab9a
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x10043c23
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], esp
push 1
push 0x100d520e
push 0x100d520e
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x100d5921
push 0
xor eax, eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
cmp dword [ebp - 4], esp
je 0x10043c73
push 0
push 0x4060cf5
push 6
call fcn.100b8c4b
add esp, 0xc
mov esp, ebp
pop ebp
ret 4
Function at 0x1004fc64
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 0x1004fca9
push 0x59
push 0x405ad32
push 6
call fcn.100b8c4b
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.100bae50
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1004fd0c
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.100bab10
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 0x1004fd3a
push 0xfb
push 0x405ad32
push 6
call fcn.100b8c4b
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.100bae50
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1004fd9d
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.100bab10
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 0x1004fdcb
push 0x19d
push 0x405ad32
push 6
call fcn.100b8c4b
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.100bae50
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1004fe2e
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.100bab10
add esp, 0x1c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x1004fe36
mov esp, ebp
pop ebp
ret
Function at 0x10064aef
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x18
call fcn.100b8c3f
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.100b8c3f
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x100de1ef
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.100b8c3f
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 0x10064bd8
push 0x2c
push 0x4060832
push 6
call fcn.100b8c4b
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.100b8c45
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 0x10064c3f
mov eax, 1
jmp 0x10064c49
mov eax, 0
jmp 0x10064c49
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 0x10064c6f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10064c6b
imul eax, dword [ebx]
jmp 0x10064c60
mov ecx, eax
test ecx, ecx
je 0x10064c8e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10064c87
push ebx
push eax
call fcn.100b8c45
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10064c75
call fcn.100b8c45
add esp, 4
pop ebx
call fcn.100b8c45
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x10071458
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 0x100714b2
push 0x46
push 0x405ad79
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100714c9
mov eax, 0x100d5291
jmp 0x100715ac
fild dword [ebp - 8]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fmul qword [0x100d5281]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x100d5281]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.10001795
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.100b9960
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10071520
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x100d537e]
fstp qword [ebp - 0x1c]
mov dword [ebp - 0x20], esp
fld qword [ebp - 0x1c]
call fcn.10001795
push eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1007154c
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 0x10071576
push 0x165
push 0x405ad79
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1007158d
mov eax, 0x100d5291
jmp 0x100715ac
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x100715a7
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100b8c3f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x100715ac
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100715bd
push ebx
call fcn.100b8c45
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x10098706
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.100bab10
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 0x10098775
push 0x34
push 0x406066c
push 6
call fcn.100b8c4b
add esp, 0xc
jmp 0x1009877a
mov esp, ebp
pop ebp
ret 4

Function at 0x100b9ca0
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.0x100b9ce1.2
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x100b9ce1.2
jmp dword [eax*4 + 0x100b9d6c]
mov word [esp + 0x48], di
jmp 0x100b9d1a
mov word [esp + 0x48], 2
jmp 0x100b9d1a
mov word [esp + 0x48], 3
jmp 0x100b9d1a
mov word [esp + 0x48], 4
jmp 0x100b9d1a
mov word [esp + 0x48], 7
jmp 0x100b9d1a
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 0x100b9d64
cmp dword [esp + 0x70], edi
je 0x100b9d50
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
Function at 0x100b9d90
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x28]
sub esp, 0x18
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
cmp eax, 0x80000301
ja 0x100b9e10
je 0x100b9e01
cmp eax, 0x80000101
ja 0x100b9dfa
je 0x100b9e01
cmp eax, reloc.WS2_32.dll_connect
je 0x100b9ddc
cmp eax, reloc.WS2_32.dll_getpeername
jne 0x100b9e25
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 3
test eax, eax
je 0x100b9e72
mov ebx, dword [eax + 4]
lea ebp, [eax + 8]
jmp 0x100b9e72
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 1
push eax
call fcn.100c13a0
mov ebp, dword [esp + 0x44]
mov ebx, eax
add esp, 4
inc ebx
jmp 0x100b9e72
cmp eax, 0x80000201
jne 0x100b9e25
mov ebx, 4
lea ebp, [esp + 0x40]
mov dword [esp + 8], ebx
jmp 0x100b9e72
cmp eax, 0x80000401
je 0x100b9e5d
cmp eax, 0x80000501
je 0x100b9e45
cmp eax, 0x80000601
je 0x100b9e2d
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
fld qword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
call sub.MSVCRT.dll__ftol
mov dword [esp + 0xc], eax
jmp 0x100b9e6e
fld dword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
call sub.MSVCRT.dll__ftol
mov dword [esp + 0xc], eax
jmp 0x100b9e6e
mov ecx, dword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea ebp, [esp + 0xc]
mov edx, dword [esp + 0x28]
push esi
push edx
call fcn.100c2030
mov esi, eax
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], 0
call fcn.100c13a0
add esp, 8
test esi, esi
je 0x100b9f4a
test eax, eax
je 0x100b9f4a
inc eax
push edi
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, dword [esp + 0x40]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x2c], edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MSVCRT.dll_strrchr
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100b9eec
mov byte [esi], 0
inc esi
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push 0
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x100b9f40
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x100b9f35
mov dword [esp + 0x1c], 1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
mov eax, dword [esp + 0x18]
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x100babf0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x100bac82
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x100bac74
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x100bac6c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x100bac35
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
Function at 0x100bb680
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push edi
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100bb6ca
push esi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x100bb6bf
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
push edi
call fcn.100c13a0
push eax
push edi
call fcn.100c20f0
add esp, 0xc
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop esi
pop edi
ret
mov eax, edi
pop edi
ret

Function at 0x100bb6d0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x100bb74e
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100bb74e
push ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
call fcn.100c13a0
add esp, 4
inc eax
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x100bb742
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov esi, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
mov eax, esi
pop edi
pop esi
ret
mov eax, esi
pop edi
pop esi
ret

Function at 0x100bb7c0
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret

Function at 0x100bbf40
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x100bbfa9
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.100b95d0
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret