joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424750
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x5640a8]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov dword [esp], eax
mov edx, 2
mov eax, 0x200
mov dword [esp + 4], 0
mul edx
push ebx
push esi
mov esi, dword [ebp + 8]
seto cl
neg ecx
push edi
mov edi, dword [ebp + 0xc]
or ecx, eax
push ecx
call fcn.004e22d3
add esp, 4
mov ebx, eax
cmp dword [0x564a48], 8
mov ecx, 0x564a34
mov eax, dword [esp + 0xc]
cmovae ecx, dword [0x564a34]
cmp dword [eax + 0x14], 8
jb 0x4247ba
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x4247c2
mov edi, dword [edi]
push ecx
push 0x200
push ebx
push 0x53cb10
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
test eax, eax
jne 0x4247fa
push 2
push ebx
call fcn.004e2095
add esp, 8
mov dword [esi + 0x14], 7
xor eax, eax
mov dword [esi + 0x10], 0
mov word [esi], ax
jmp 0x42485e
xor ecx, ecx
mov dword [esp + 0x28], 7
push eax
mov word [esp + 0x18], cx
lea ecx, [esp + 0x18]
push ebx
mov dword [esp + 0x2c], 0
call fcn.00402570
push 2
push ebx
call fcn.004e2095
xor eax, eax
mov dword [esi + 0x14], 7
add esp, 8
mov dword [esi + 0x10], 0
mov word [esi], ax
mov ecx, esi
lea eax, [esp + 0x14]
push eax
call fcn.004032f0
mov eax, dword [esp + 0x28]
cmp eax, 8
jb 0x42485e
inc eax
lea ecx, [esp + 0x14]
push eax
push dword [esp + 0x18]
call fcn.00402f10
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e1bb1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x425910
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 0x425951
push eax
lea eax, [esi + 0x18]
add eax, edx
push 0
push eax
call fcn.004fb2d0
push 0x40
lea edx, [esi + 0x18]
mov ecx, esi
call fcn.00424e90
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.004fb2d0
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.00424e90
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.004fb2d0
add esp, 0x1c
pop edi
pop esi
ret

Function at 0x425a40
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.00425860
add esp, 4
lea edx, [ebp - 0xa4]
mov ecx, esi
call fcn.00425910
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.004e1bb1
mov esp, ebp
pop ebp
ret
Function at 0x425cf0
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 0x425d6e
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 0x425d6e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x514
je 0x425d6e
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004e1bb1
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004e1bb1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x426080
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.004fb2d0
add esp, 0xc
mov dword [ebp - 0x38], 0x40
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x30], str.runas
jb 0x4260b9
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x2c], edi
jb 0x4260c4
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 0x4260e4
cmp dword [eax + 0x14], 8
jb 0x4260e1
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 0x426100
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.004fb2d0
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 0x42615f
mov eax, dword [ebx]
jmp 0x426161
mov eax, ebx
cmp dword [edi + 0x14], 8
mov dword [esp + 0x1c], eax
jb 0x42616d
mov edi, dword [edi]
mov dword [esp + 0x20], edi
mov edi, dword [esi + 0x14]
cmp edi, 8
jb 0x42617d
mov eax, dword [esi]
jmp 0x42617f
mov eax, esi
push 0
push 0x53cb10
push dword [esi + 0x10]
push eax
call fcn.00403590
add esp, 0x10
test eax, eax
jne 0x42619f
mov dword [esp + 0x24], eax
jmp 0x42623e
cmp edi, 8
jb 0x4261a8
mov eax, dword [esi]
jmp 0x4261aa
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x426232
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.004fb2d0
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.0050136b
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 0x42623e
inc eax
lea ecx, [esp + 0x48]
push eax
push dword [esp + 0x4c]
call fcn.00402f10
jmp 0x42623e
cmp dword [esi + 0x14], 8
jb 0x42623a
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.004e1bb1
mov esp, ebp
pop ebp
ret
Function at 0x428450
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 0x428566
mov edi, 0xc
mov eax, edx
add edx, edx
sar eax, 0xb
imul ecx, eax, 0x1f25
xor edx, ecx
sub edi, 1
jne 0x428476
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 0x428577
mov eax, edi
shl eax, 4
mov dword [esp + 0x20], eax
cmp dword [eax + ecx + 0xc], ebx
jbe 0x42856d
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 0x42850e
bts eax, edx
jmp 0x428511
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 0x428577
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x1c]
cmp dword [eax + 0xc], ebx
jbe 0x42856d
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.004287f0
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x18], ebx
cmp ebx, 0x12
jl 0x4284a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.invalid_vector_bool__subscript
call fcn.004dea01
push str.invalid_vector_T__subscript
call fcn.004dea01
int3
Function at 0x429c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521ea9
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 0x429dfb
push esi
call fcn.0042a3f0
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 0x429d0a
push str.invalid_vector_T__subscript
call fcn.004dea01
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 0x429de7
mov eax, dword [edi + 4]
xor esi, esi
mov ecx, dword [edi]
mov dword [ebp - 0x14], esi
sub eax, ecx
je 0x429dc4
cmp eax, esi
jbe 0x429d00
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 0x429d53
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 0x429daa
cmp eax, esi
jbe 0x429d00
cmp eax, ecx
jbe 0x429d00
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 0x429d35
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 0x429d23
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.004fa378
add esp, 8
mov dword [ebp - 0x40], vtable.std::domain_error.0
lea eax, [ebp - 0x40]
push 0x561344
push eax
call fcn.004fa90b
int3
Function at 0x42d340
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f216
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.004e1dfa
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004df284
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 0x42f420
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522403
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 [0x56eafc], 0
je 0x42f4a2
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [esi + 0x10], 0
push 0x56eaec
mov word [esi], ax
call fcn.00402670
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x42f608
inc ecx
push ecx
jmp 0x42f5fd
push 0x20a
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004fb2d0
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 0x42f4db
xor ecx, ecx
jmp 0x42f4f3
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f4e4
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
mov edi, 0x56eaec
push eax
mov ecx, edi
call fcn.00402570
cmp dword [ebp + 0x18], 0
je 0x42f59f
push 0x53ca10
lea eax, [ebp - 0x250]
push edi
push eax
call fcn.0040cc50
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x238]
call fcn.0040cdd0
add esp, 0x10
mov ecx, edi
push eax
call fcn.0040c1a0
mov eax, dword [ebp - 0x224]
cmp eax, 8
jb 0x42f561
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 0x42f59f
inc eax
lea ecx, [ebp - 0x250]
push eax
push dword [ebp - 0x250]
call fcn.00402f10
cmp dword [0x56eb00], 8
mov eax, edi
cmovae eax, dword [0x56eaec]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42f5d1
cmp dword [0x56eb00], 8
push eax
cmovae edi, dword [0x56eaec]
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 0x56eaec
mov word [esi], ax
call fcn.00402670
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x42f608
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.004e1bb1
mov esp, ebp
pop ebp
ret
Function at 0x42fcf0
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.0042f350
cmp dword [eax + 0x14], 8
jb 0x42fd1f
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 0x42fd4e
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 0x42fd81
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.004e1bb1
mov esp, ebp
pop ebp
ret

Function at 0x42fda0
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.004fb2d0
add esp, 0xc
lea ecx, [esp + 0x58]
xor edx, edx
call fcn.0042f350
cmp dword [eax + 0x14], 8
jb 0x42fde1
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.004304a0
mov eax, dword [esp + 0x7c]
add esp, 0x10
cmp eax, 8
jb 0x42fe0e
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.004fb2d0
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.0050316e
int3
Function at 0x42fe80
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.00503184
mov edi, eax
add esp, 4
mov dword [ebp - 8], edi
test edi, edi
je 0x42ff40
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 4]
push eax
push edi
call esi
cmp eax, 0x6f
jne 0x42fedc
push edi
call fcn.004fdfef
add esp, 4
push dword [ebp - 4]
call fcn.00503184
mov edi, eax
mov dword [ebp - 8], eax
add esp, 4
test edi, edi
je 0x42ff40
lea eax, [ebp - 4]
push eax
push edi
call esi
test eax, eax
jne 0x42ff40
mov esi, edi
test edi, edi
je 0x42ff40
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 0x42ff37
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004304c0
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 0x42fef0
mov edi, dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
test edi, edi
je 0x42ff55
push edi
call fcn.004fdfef
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430ec0
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 0x430f40
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x430ee8
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 0x430f38
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], eax
jb 0x430f14
mov esi, dword [esi]
push ebx
push esi
push eax
call fcn.004fad50
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 0x4357e0
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 0x43582f
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 0x4359a3
inc edi
cmp edi, dword [esi + 0x5cc]
jl 0x435800
sub ebx, 0x100
je 0x435900
sub ebx, 4
je 0x43589d
sub ebx, 2
jne 0x4358f5
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.0050133b
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 0x43cc20
call dword [eax + 0x18c]
mov esi, eax
test esi, esi
je 0x4358f5
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 0x4358f5
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.00443180
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 0x4358f5
mov ecx, dword [esi + 0x414]
test ecx, ecx
je 0x43598a
mov eax, dword [ecx]
mov eax, dword [eax + 0x104]
cmp eax, method.ui::Control.virtual_260
jne 0x4359ae
cmp byte [ecx + 0x2fd], 0
je 0x43598a
cmp byte [ecx + 0x2fe], 0
jne 0x435937
jmp 0x43598a
mov ecx, dword [esi + 0x414]
mov eax, dword [ecx]
mov eax, dword [eax + 0x128]
cmp eax, method.ui::Control.virtual_296
jne 0x4359b6
mov al, byte [ecx + 0x2f8]
not al
and al, 1
test al, al
je 0x43598a
mov ecx, dword [esi + 0x414]
push str.Edit
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004fa4ad
add esp, 8
test eax, eax
je 0x43598a
mov eax, dword [esi + 0x414]
cmp byte [eax + 0x309], 0
jne 0x4358f5
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.0043a760
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call eax
test al, al
je 0x43598a
jmp 0x435937
call eax
jmp 0x435956