joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425bb0
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, edx
mov eax, 0x40
push edi
mov edi, ecx
mov edx, dword [esi]
and edx, 0x3f
mov byte [edx + esi + 0x18], 0x80
inc edx
sub eax, edx
cmp eax, 8
jae 0x425bf1
push eax
lea eax, [esi + 0x18]
add eax, edx
push 0
push eax
call fcn.004fb530
push 0x40
lea edx, [esi + 0x18]
mov ecx, esi
call fcn.00425130
add esp, 0x10
mov eax, 0x40
xor edx, edx
add eax, 0xfffffff8
push eax
lea eax, [esi + 0x18]
add eax, edx
push 0
push eax
call fcn.004fb530
shl dword [esi], 3
lea edx, [esi + 0x18]
movzx eax, byte [esi]
mov ecx, esi
mov byte [esi + 0x50], al
mov eax, dword [esi]
shr eax, 8
mov byte [esi + 0x51], al
movzx eax, byte [esi + 2]
mov byte [esi + 0x52], al
movzx eax, byte [esi + 3]
mov byte [esi + 0x53], al
movzx eax, byte [esi + 4]
mov byte [esi + 0x54], al
mov eax, dword [esi + 4]
shr eax, 8
mov byte [esi + 0x55], al
movzx eax, byte [esi + 6]
mov byte [esi + 0x56], al
movzx eax, byte [esi + 7]
push 0x40
mov byte [esi + 0x57], al
call fcn.00425130
movzx eax, byte [esi + 8]
mov byte [edi], al
mov eax, dword [esi + 8]
shr eax, 8
mov byte [edi + 1], al
movzx eax, byte [esi + 0xa]
mov byte [edi + 2], al
movzx eax, byte [esi + 0xb]
mov byte [edi + 3], al
movzx eax, byte [esi + 0xc]
mov byte [edi + 4], al
mov eax, dword [esi + 0xc]
shr eax, 8
mov byte [edi + 5], al
movzx eax, byte [esi + 0xe]
mov byte [edi + 6], al
movzx eax, byte [esi + 0xf]
mov byte [edi + 7], al
movzx eax, byte [esi + 0x10]
mov byte [edi + 8], al
mov eax, dword [esi + 0x10]
shr eax, 8
mov byte [edi + 9], al
movzx eax, byte [esi + 0x12]
mov byte [edi + 0xa], al
movzx eax, byte [esi + 0x13]
mov byte [edi + 0xb], al
movzx eax, byte [esi + 0x14]
mov byte [edi + 0xc], al
mov eax, dword [esi + 0x14]
shr eax, 8
mov byte [edi + 0xd], al
movzx eax, byte [esi + 0x16]
push 0x98
mov byte [edi + 0xe], al
movzx eax, byte [esi + 0x17]
push 0
push esi
mov byte [edi + 0xf], al
call fcn.004fb530
add esp, 0x1c
pop edi
pop esi
ret

Function at 0x425ce0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x5640a8]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
push edx
mov edx, ecx
mov dword [ebp - 0x9c], 0x67452301
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x98], 0xefcdab89
mov dword [ebp - 0x94], 0x98badcfe
mov dword [ebp - 0x90], 0x10325476
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
call fcn.00425b00
add esp, 4
lea edx, [ebp - 0xa4]
mov ecx, esi
call fcn.00425bb0
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.004e1de4
mov esp, ebp
pop ebp
ret
Function at 0x425f90
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5640a8]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push edi
mov edi, dword [ebp + 0x10]
push eax
push str.SeDebugPrivilege
push 0
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x42600e
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x10
push eax
push edi
push 0x10
lea eax, [ebp - 0x18]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x42600e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
je 0x42600e
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004e1de4
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004e1de4
mov esp, ebp
pop ebp
ret 0xc

Function at 0x426320
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
push 0x38
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x3c
push 0
push eax
mov esi, edx
mov edi, ecx
call fcn.004fb530
add esp, 0xc
mov dword [ebp - 0x38], 0x40
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x30], str.runas
jb 0x426359
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x2c], edi
jb 0x426364
mov esi, dword [esi]
mov eax, dword [ebp + 8]
pop edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], 1
cmp dword [eax + 0x10], 0
pop esi
je 0x426384
cmp dword [eax + 0x14], 8
jb 0x426381
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
neg eax
sbb eax, eax
and eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4263a0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [0x5640a8]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 0xc]
push edi
push 0x38
push 0
push eax
mov edi, edx
mov ebx, ecx
call fcn.004fb530
add esp, 0xc
mov dword [esp + 0xc], 0x3c
cmp dword [ebx + 0x14], 8
mov dword [esp + 0x10], 0x400
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], str.Open
jb 0x4263ff
mov eax, dword [ebx]
jmp 0x426401
mov eax, ebx
cmp dword [edi + 0x14], 8
mov dword [esp + 0x1c], eax
jb 0x42640d
mov edi, dword [edi]
mov dword [esp + 0x20], edi
mov edi, dword [esi + 0x14]
cmp edi, 8
jb 0x42641d
mov eax, dword [esi]
jmp 0x42641f
mov eax, esi
push 0
push 0x53cb08
push dword [esi + 0x10]
push eax
call fcn.00403590
add esp, 0x10
test eax, eax
jne 0x42643f
mov dword [esp + 0x24], eax
jmp 0x4264de
cmp edi, 8
jb 0x426448
mov eax, dword [esi]
jmp 0x42644a
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4264d2
push 0xffffffffffffffff
push eax
push ebx
lea ecx, [esp + 0x54]
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], eax
mov word [esp + 0x54], ax
call fcn.00402670
push 0x208
lea eax, [esp + 0x64]
push 0
push eax
call fcn.004fb530
cmp dword [esp + 0x68], 8
lea eax, [esp + 0x54]
cmovae eax, dword [esp + 0x54]
push eax
lea eax, [esp + 0x70]
push 0x104
push eax
call fcn.0050157b
add esp, 0x18
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x60]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x5c]
cmp eax, 8
jb 0x4264de
inc eax
lea ecx, [esp + 0x48]
push eax
push dword [esp + 0x4c]
call fcn.00402f10
jmp 0x4264de
cmp dword [esi + 0x14], 8
jb 0x4264da
mov esi, dword [esi]
mov dword [esp + 0x24], esi
lea eax, [esp + 0xc]
mov dword [esp + 0x28], 1
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e1de4
mov esp, ebp
pop ebp
ret
Function at 0x4286f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov edx, dword [esi]
mov dword [esp + 0x10], edx
cmp edx, 7
jl 0x428806
mov edi, 0xc
mov eax, edx
add edx, edx
sar eax, 0xb
imul ecx, eax, 0x1f25
xor edx, ecx
sub edi, 1
jne 0x428716
mov eax, dword [esp + 0x10]
shl eax, 0xc
or eax, edx
xor ebx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebx
nop dword [eax]
mov ecx, ebx
sar eax, cl
mov ecx, dword [esi + 4]
and eax, 0xffffff01
mov dword [esp + 0x1c], eax
mov byte [esp + 0x24], al
mov eax, 0x55555556
imul ebx
mov edi, edx
shr edi, 0x1f
add edi, edx
lea eax, [edi + edi*2]
sub ecx, eax
mov eax, dword [esi + 0x14]
add ecx, 0xfffffff5
add ebx, ecx
mov ecx, dword [esi + 0x10]
sub eax, ecx
sar eax, 4
cmp eax, edi
jbe 0x428817
mov eax, edi
shl eax, 4
mov dword [esp + 0x20], eax
cmp dword [eax + ecx + 0xc], ebx
jbe 0x42880d
mov esi, dword [eax + ecx]
mov edx, ebx
mov ecx, ebx
and edx, 0x1f
shr ecx, 5
shl ecx, 2
add esi, ecx
cmp byte [esp + 0x1c], 0
mov eax, dword [esi]
je 0x4287ae
bts eax, edx
jmp 0x4287b1
btr eax, edx
mov dword [esi], eax
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x1c]
sar eax, 4
cmp eax, edi
jbe 0x428817
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x1c]
cmp dword [eax + 0xc], ebx
jbe 0x42880d
mov eax, dword [eax]
add ecx, eax
push dword [esp + 0x24]
push ebx
mov eax, dword [ecx]
bts eax, edx
mov dword [ecx], eax
mov ecx, esi
push edi
call fcn.00428a90
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x18], ebx
cmp ebx, 0x12
jl 0x428740
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.invalid_vector_bool__subscript
call fcn.004dec34
push str.invalid_vector_T__subscript
call fcn.004dec34
int3
Function at 0x429f30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522109
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x5640a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x30], esi
mov edi, ecx
mov dword [ebp - 0x28], edi
lea eax, [esi - 1]
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
cmp eax, 0xfe
ja 0x42a09b
push esi
call fcn.0042a690
mov dword [ebp - 4], 0
mov eax, dword [edi + 4]
mov ecx, dword [edi]
sub eax, ecx
mov dword [ebp - 0x20], 1
lea edx, [eax - 1]
cmp eax, edx
ja 0x429faa
push str.invalid_vector_T__subscript
call fcn.004dec34
mov byte [ecx + edx], 1
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov edx, 1
mov dword [ebp - 0x18], edx
test esi, esi
jle 0x42a087
mov eax, dword [edi + 4]
xor esi, esi
mov ecx, dword [edi]
mov dword [ebp - 0x14], esi
sub eax, ecx
je 0x42a064
cmp eax, esi
jbe 0x429fa0
xor ebx, ebx
movzx edi, dl
add ecx, esi
mov eax, 7
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x10], eax
movzx ecx, byte [ecx]
mov dword [ebp - 0x24], ecx
mov esi, ecx
mov cl, al
mov edx, edi
shr edx, cl
mov eax, ebx
and edx, 1
sar eax, 7
imul eax, eax, 0x11d
add ebx, ebx
imul edx, esi
xor edx, eax
mov eax, dword [ebp - 0x10]
xor ebx, edx
sub eax, 1
mov dword [ebp - 0x10], eax
jns 0x429ff3
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
mov byte [eax], bl
mov eax, dword [edi + 4]
mov edx, dword [edi]
lea ecx, [esi + 1]
sub eax, edx
cmp ecx, eax
jae 0x42a04a
cmp eax, esi
jbe 0x429fa0
cmp eax, ecx
jbe 0x429fa0
mov al, byte [edx + ecx]
xor byte [edx + esi], al
mov eax, dword [edi + 4]
mov esi, ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edi]
sub eax, ecx
cmp esi, eax
jb 0x429fd5
mov ebx, dword [ebp - 0x1c]
movzx ecx, dl
inc ebx
mov eax, ecx
mov dword [ebp - 0x1c], ebx
sar eax, 7
imul edx, eax, 0x11d
lea eax, [ecx + ecx]
xor edx, eax
mov dword [ebp - 0x18], edx
cmp ebx, dword [ebp - 0x30]
jl 0x429fc3
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x40], vtable.std::exception.0
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], str.Degree_out_of_range
xorps xmm0, xmm0
mov byte [ebp - 0x30], 1
push eax
movq qword [ebp - 0x3c], xmm0
call fcn.004fa5d8
add esp, 8
mov dword [ebp - 0x40], vtable.std::domain_error.0
lea eax, [ebp - 0x40]
push 0x56137c
push eax
call fcn.004fab6b
int3
Function at 0x42d5f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f486
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5640a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004e204b
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004df4b7
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42f6d0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522663
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x5640a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x258], 0
mov dword [ebp - 4], 0
cmp dword [0x56ebcc], 0
je 0x42f752
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [esi + 0x10], 0
push 0x56ebbc
mov word [esi], ax
call fcn.00402670
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x42f8b8
inc ecx
push ecx
jmp 0x42f8ad
push 0x20a
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004fb530
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp word [ebp - 0x220], 0
jne 0x42f78b
xor ecx, ecx
jmp 0x42f7a3
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f794
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
mov edi, 0x56ebbc
push eax
mov ecx, edi
call fcn.00402570
cmp dword [ebp + 0x18], 0
je 0x42f84f
push 0x53ca00
lea eax, [ebp - 0x250]
push edi
push eax
call fcn.0040ccf0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x238]
call fcn.0040ce70
add esp, 0x10
mov ecx, edi
push eax
call fcn.0040c240
mov eax, dword [ebp - 0x224]
cmp eax, 8
jb 0x42f811
inc eax
lea ecx, [ebp - 0x238]
push eax
push dword [ebp - 0x238]
call fcn.00402f10
xor eax, eax
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x228], 0
cmp eax, 8
jb 0x42f84f
inc eax
lea ecx, [ebp - 0x250]
push eax
push dword [ebp - 0x250]
call fcn.00402f10
cmp dword [0x56ebd0], 8
mov eax, edi
cmovae eax, dword [0x56ebbc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42f881
cmp dword [0x56ebd0], 8
push eax
cmovae edi, dword [0x56ebbc]
push edi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x56ebbc
mov word [esi], ax
call fcn.00402670
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x42f8b8
inc eax
push eax
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00402f10
mov eax, esi
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.004e1de4
mov esp, ebp
pop ebp
ret
Function at 0x42ffa0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
mov eax, dword [0x5640a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, ecx
mov dword [ebp - 0x2d4], 0
lea ecx, [ebp - 0x1c]
call fcn.0042f600
cmp dword [eax + 0x14], 8
jb 0x42ffcf
mov eax, dword [eax]
push 0x4000
push 0x2b4
lea ecx, [ebp - 0x2d0]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x42fffe
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00402f10
lea eax, [ebp - 0x2d8]
push eax
push 0x52ceb8
push 2
call dword [sym.imp.SHELL32.dll_SHGetImageList]
test eax, eax
jne 0x430031
mov eax, dword [ebp - 0x2d8]
lea edx, [ebp - 0x2d4]
push edx
push 1
push dword [ebp - 0x2cc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x2d4]
xor ecx, ebp
call fcn.004e1de4
mov esp, ebp
pop ebp
ret

Function at 0x430050
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x878
mov eax, dword [0x5640a8]
xor eax, esp
mov dword [esp + 0x874], eax
push 0x800
lea eax, [esp + 0x74]
push 0
push eax
call fcn.004fb530
add esp, 0xc
lea ecx, [esp + 0x58]
xor edx, edx
call fcn.0042f600
cmp dword [eax + 0x14], 8
jb 0x430091
mov eax, dword [eax]
push eax
push 2
lea eax, [esp + 0x78]
push str.cmd.exe__c__ping__n__d_127.0.0.1___nul__del__s_q___s__
push eax
call fcn.00430750
mov eax, dword [esp + 0x7c]
add esp, 0x10
cmp eax, 8
jb 0x4300be
inc eax
lea ecx, [esp + 0x58]
push eax
push dword [esp + 0x5c]
call fcn.00402f10
push 0x44
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004fb530
add esp, 0xc
mov dword [esp + 0x10], 0x44
xor eax, eax
mov dword [esp + 0x3c], 1
mov word [esp + 0x40], ax
lea eax, [esp]
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0x10
push 0
push 0
push 0
lea eax, [esp + 0x90]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call fcn.005033d1
int3
Function at 0x430130
Capabilities:
Convert ip address from string
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x288
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x288
call fcn.005033e7
mov edi, eax
add esp, 4
mov dword [ebp - 8], edi
test edi, edi
je 0x4301f0
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 4]
push eax
push edi
call esi
cmp eax, 0x6f
jne 0x43018c
push edi
call fcn.004fe1ff
add esp, 4
push dword [ebp - 4]
call fcn.005033e7
mov edi, eax
mov dword [ebp - 8], eax
add esp, 4
test edi, edi
je 0x4301f0
lea eax, [ebp - 4]
push eax
push edi
call esi
test eax, eax
jne 0x4301f0
mov esi, edi
test edi, edi
je 0x4301f0
mov edi, dword [ebp - 0xc]
mov eax, dword [esi + 0x198]
mov ebx, dword [esi + 0x194]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [esi + 0x1b0]
push eax
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4301e7
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00430770
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ecx
mov esi, dword [esi]
test esi, esi
jne 0x4301a0
mov edi, dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test edi, edi
je 0x430205
push edi
call fcn.004fe1ff
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x431170
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4311f0
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x431198
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x10]
push ebx
push edi
lea ebx, [eax + eax]
lea eax, [ebx + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4311e8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], eax
jb 0x4311c4
mov esi, dword [esi]
push ebx
push esi
push eax
call fcn.004fafb0
mov eax, dword [ebp - 4]
add esp, 0xc
xor ecx, ecx
push edi
mov word [ebx + eax], cx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x435a90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x5cc], edi
jle 0x435adf
nop dword [eax + eax]
mov eax, dword [esi + 0x5c8]
lea edx, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push edx
push dword [ebp + 0x10]
mov ecx, dword [eax + edi*4]
push dword [ebp + 0xc]
push ebx
mov eax, dword [ecx]
call dword [eax]
cmp byte [ebp + 0xb], 0
jne 0x435c53
inc edi
cmp edi, dword [esi + 0x5cc]
jl 0x435ab0
sub ebx, 0x100
je 0x435bb0
sub ebx, 4
je 0x435b4d
sub ebx, 2
jne 0x435ba5
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.0050154b
mov ecx, dword [esi + 0x410]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push SHCreateMemStream
push edx
push 0x43cf00
call dword [eax + 0x18c]
mov esi, eax
test esi, esi
je 0x435ba5
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx + 0x15c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esi + 0x414], 0
je 0x435ba5
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
movups xmmword [ebp - 0x10], xmm0
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x4b4]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x4b8]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x10], eax
call fcn.00443460
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x414]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x19c]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x435ba5
mov ecx, dword [esi + 0x414]
test ecx, ecx
je 0x435c3a
mov eax, dword [ecx]
mov eax, dword [eax + 0x104]
cmp eax, method.ui::Control.virtual_260
jne 0x435c5e
cmp byte [ecx + 0x2fd], 0
je 0x435c3a
cmp byte [ecx + 0x2fe], 0
jne 0x435be7
jmp 0x435c3a
mov ecx, dword [esi + 0x414]
mov eax, dword [ecx]
mov eax, dword [eax + 0x128]
cmp eax, method.ui::Control.virtual_296
jne 0x435c66
mov al, byte [ecx + 0x2f8]
not al
and al, 1
test al, al
je 0x435c3a
mov ecx, dword [esi + 0x414]
push str.Edit
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004fa70d
add esp, 8
test eax, eax
je 0x435c3a
mov eax, dword [esi + 0x414]
cmp byte [eax + 0x309], 0
jne 0x435ba5
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.0043aa40
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call eax
test al, al
je 0x435c3a
jmp 0x435be7
call eax
jmp 0x435c06