joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411ca0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0x10]
sub esp, 0xc
xor ecx, ecx
test edx, edx
je 0x411daa
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x28]
cmp edx, 0x40
jb 0x411d8b
lea eax, [edx - 1]
lea ebp, [edx - 1]
add eax, ebx
add ebp, edi
cmp edi, eax
ja 0x411ce0
cmp ebp, ebx
jae 0x411d8b
lea eax, [edx - 1]
add eax, esi
cmp edi, eax
ja 0x411cf1
cmp ebp, esi
jae 0x411d8b
mov eax, edx
lea ebp, [edi + 0x20]
mov edx, esi
and eax, 0xffffffc0
sub edx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
lea eax, [ebx + 0x10]
mov edx, edi
sub edx, ebx
mov dword [esp + 0x10], edx
mov edx, esi
mov ebx, dword [esp + 0x10]
sub edx, edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x14], edx
movups xmm0, xmmword [eax - 0x10]
mov edx, dword [esp + 0x14]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ecx + esi]
lea ebp, [ebp + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x40]
movups xmmword [ebp - 0x60], xmm1
movups xmm1, xmmword [edi + eax - 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x30]
movups xmmword [ebx + eax - 0x40], xmm1
movups xmm1, xmmword [edx + ebp - 0x40]
mov edx, dword [esp + 0x2c]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x20]
movups xmmword [ebp - 0x40], xmm1
movups xmm1, xmmword [ecx + esi + 0x30]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [ebp - 0x30], xmm1
cmp ecx, dword [esp + 0x18]
jb 0x411d20
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x2c], ecx
cmp ecx, edx
jae 0x411da6
sub esi, ebx
lea eax, [ecx + ebx]
sub edi, ebx
sub edx, ecx
mov cl, byte [eax + esi]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [eax + edi - 1], cl
sub edx, 1
jne 0x411d94
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
Function at 0x413060
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov edx, 0x3e
push esi
mov esi, ecx
lea ecx, [esp + 8]
call fcn.00412330
cmp dword [eax + 0x14], 8
jb 0x413082
mov eax, dword [eax]
push 0
push 0
push 0
push 1
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edx, dword [esp + 0x1c]
mov dword [esi + 4], eax
cmp edx, 8
jb 0x4130cc
mov ecx, dword [esp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4130c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413114
push edx
push ecx
call fcn.00423b44
add esp, 8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x413107
cmp dword [0x45d164], 8
mov eax, 0x45d150
push 0
cmovae eax, dword [0x45d150]
push 0
push 3
push 0
push 0
push 0x1bb
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 8], eax
test eax, eax
je 0x413107
mov byte [esi], 1
cmp byte [esi], 1
pop esi
sete al
mov esp, ebp
pop ebp
ret 8
call fcn.0042823f
int3
Function at 0x417cf0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445667
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x13a0
call fcn.00424db0
mov eax, dword [0x459020]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x13a8], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x13ac], edi
mov dword [ebp - 0x13a4], 0
movq qword [edi], xmm0
mov dword [edi + 8], 0
push 0x10
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.00423b52
mov dword [edi], eax
xorps xmm0, xmm0
mov dword [edi + 4], eax
add esp, 4
add eax, 0x10
mov dword [edi + 8], eax
mov eax, dword [edi]
lea ecx, [eax + 0x10]
movups xmmword [eax], xmm0
mov dword [edi + 4], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x13a4], 1
call fcn.004233c3
mov edx, eax
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x139c], edx
mov eax, 1
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [ebp + eax*4 - 0x139c], edx
inc eax
cmp eax, 0x270
jb 0x417dc3
mov dword [ebp - 0x13a0], 0x270
xor esi, esi
nop dword [eax]
lea ecx, [ebp - 0x13a0]
call fcn.00419800
mov ecx, dword [edi]
movzx edx, al
mov byte [esi + ecx], dl
inc esi
cmp esi, 0x10
jl 0x417df0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00423b13
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x418190
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [0x459020]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x24]
xor bl, bl
cmp dword [eax + 0x14], 0x10
push edi
mov edi, dword [esp + 0x24]
jb 0x4181b7
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push ecx
push 0x20119
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x418268
cmp dword [edi + 0x14], 0x10
mov dword [esp + 0x10], eax
mov eax, edi
jb 0x4181e5
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0
push eax
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41825e
push eax
mov eax, dword [esp + 0x14]
mov ecx, esi
dec eax
mov dword [esp + 0x18], 1
push eax
call fcn.00402370
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41821f
mov eax, dword [esi]
cmp dword [edi + 0x14], 0x10
jb 0x418227
mov edi, dword [edi]
lea ecx, [esp + 0x10]
push ecx
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push edi
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41825e
cmp dword [esp + 0x10], eax
jne 0x41825c
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x418253
mov eax, dword [esi]
mov dword [esi + 0x10], 0
mov byte [eax], bl
mov bl, 1
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00423b13
add esp, 0x10
ret
Function at 0x419800
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
cmp eax, 0x270
jne 0x419850
lea edx, [edi + 8]
mov esi, eax
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x419812
mov eax, dword [edi]
jmp 0x419937
cmp eax, 0x4e0
jb 0x419937
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
push ebp
mov ebp, 0xe3
nop
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x419870
mov eax, dword [edi + 0xd50]
lea ebx, [edi + 0xd50]
mov ebp, 0x18c
nop word [eax + eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x4198c0
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop ebp
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
pop ebx
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
ret
Function at 0x41b970
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445acd
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x459020]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
cmp dword [edx + 0x14], 0x10
jb 0x41b9a7
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b9c0
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.004018a0
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 0x10
jb 0x41b9e2
mov esi, dword [esi]
mov ecx, esi
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41ba00
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.004018a0
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x20]
push ecx
push 0x20019
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41ba7f
cmp dword [ebp - 0x3c], 0x10
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 4
push ecx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x1c], 4
cmovae eax, dword [ebp - 0x50]
push eax
push 0x45306c
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
push dword [ebp - 0x20]
test eax, eax
cmove edi, dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x41baaf
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41baa5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bb0f
push edx
push ecx
call fcn.00423b44
add esp, 8
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp edx, 0x10
jb 0x41baf1
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41bae7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bb0f
push edx
push ecx
call fcn.00423b44
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00423b13
mov esp, ebp
pop ebp
ret
call fcn.0042823f
int3
Function at 0x41bb20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445b0d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x459020]
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
cmp dword [edx + 0x14], 0x10
jb 0x41bb54
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41bb72
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x48]
call fcn.004018a0
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 0x10
jb 0x41bb94
mov esi, dword [esi]
mov ecx, esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41bbb0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x30]
call fcn.004018a0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
cmp dword [ebp - 0x1c], 0x10
push ecx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push 0x20006
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41bc1a
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x14]
push 4
push ecx
push 4
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
push 0x45306c
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x41bc4a
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41bc40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bca7
push edx
push ecx
call fcn.00423b44
add esp, 8
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x41bc8c
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41bc82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41bca7
push edx
push ecx
call fcn.00423b44
add esp, 8
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.00423b13
mov esp, ebp
pop ebp
ret
call fcn.0042823f
int3
Function at 0x41ded0
Capabilities:
Get session information

Disassembly:
sub esp, 0x20
mov eax, dword [0x459020]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov edi, eax
mov dword [esp + 0x20], 0
lea eax, [esp + 0x20]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x18]
push eax
push 0x18
push edi
push 0
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
mov esi, dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
test eax, eax
je 0x41df3a
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41df3a
cmp dword [eax], 0
jne 0x41df37
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00423b13
add esp, 0x20
ret
push eax
call esi
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
lea eax, [esp + 0x1c]
push eax
push 1
push 0
push 0
call dword [sym.imp.WTSAPI32.dll_WTSEnumerateSessionsW]
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov edi, dword [esp + 0x18]
test edx, edx
je 0x41df88
mov eax, edi
nop dword [eax + eax]
cmp dword [eax + 8], 0
movq xmm0, qword [eax]
movq qword [esp + 8], xmm0
je 0x41df9f
inc ecx
add eax, 0xc
cmp ecx, edx
jb 0x41df70
push edi
call esi
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00423b13
add esp, 0x20
ret
push edi
call esi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 8]
pop edi
pop esi
xor ecx, esp
call fcn.00423b13
add esp, 0x20
ret
Function at 0x41e120
Capabilities:
Delete registry key
Delete service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x459020]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x41e1e5
mov edx, 1
lea ecx, [esp + 8]
call fcn.00411db0
cmp dword [esp + 0x1c], 0x10
lea ecx, [esp + 8]
push 0x10000
cmovae ecx, dword [esp + 0xc]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edx, dword [esp + 0x1c]
mov esi, eax
cmp edx, 0x10
jb 0x41e1b0
mov ecx, dword [esp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41e1a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e281
push edx
push ecx
call fcn.00423b44
add esp, 8
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0xf
mov byte [esp + 8], 0
test esi, esi
jne 0x41e1d2
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x41e1e5
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call esi
lea ecx, [esp + 8]
call fcn.0041bcb0
cmp dword [eax + 0x14], 0x10
jb 0x41e200
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push ecx
push 0xf003f
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41e235
push 0x45306c
push dword [esp + 0x24]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x1c]
cmp edx, 0x10
jb 0x41e267
mov ecx, dword [esp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41e25d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e286
push edx
push ecx
call fcn.00423b44
add esp, 8
push 0x64
call esi
call fcn.0041e290
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor ecx, esp
call fcn.00423b13
mov esp, ebp
pop ebp
ret
call fcn.0042823f
call fcn.0042823f
int3
Function at 0x41e290
Capabilities:
Create process on windows
Query environment variable

Disassembly:
mov eax, 0x168c
call fcn.00424db0
mov eax, dword [0x459020]
xor eax, esp
mov dword [esp + 0x1684], eax
push 0x1000
lea eax, [esp + 0x684]
push 0
push eax
call fcn.004259e0
add esp, 0xc
lea eax, [esp + 0x680]
push 0x800
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x410
lea eax, [esp + 0x274]
push 0
push eax
call fcn.004259e0
add esp, 0xc
lea ecx, [esp]
mov edx, 0x49
call fcn.00412330
cmp dword [eax + 0x14], 8
jb 0x41e300
mov eax, dword [eax]
lea ecx, [esp + 0x680]
push ecx
push eax
lea eax, [esp + 0x278]
push 0x208
push eax
call fcn.0041dff0
mov edx, dword [esp + 0x24]
add esp, 0x10
cmp edx, 8
jb 0x41e359
mov ecx, dword [esp]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e34f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e472
push edx
push ecx
call fcn.00423b44
add esp, 8
push 0x200
lea eax, [esp + 0x74]
push 0
push eax
call fcn.004259e0
add esp, 0xc
lea ecx, [esp]
mov edx, 0x4a
call fcn.00412330
cmp dword [eax + 0x14], 8
jb 0x41e382
mov eax, dword [eax]
push 0x100
lea ecx, [esp + 0x74]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edx, dword [esp + 0x14]
cmp edx, 8
jb 0x41e3ce
mov ecx, dword [esp]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e3c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e477
push edx
push ecx
call fcn.00423b44
add esp, 8
xor eax, eax
mov dword [esp + 0x28], 0x44
mov word [esp + 0x6a], ax
xorps xmm0, xmm0
mov word [esp + 0x58], ax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
movlpd qword [esp + 0x30], xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x290]
movlpd qword [esp + 0x54], xmm0
push eax
lea eax, [esp + 0x94]
movlpd qword [esp + 0x60], xmm0
push eax
movlpd qword [esp + 0x6c], xmm0
movlpd qword [esp + 0x74], xmm0
movlpd qword [esp + 0x82], xmm0
movlpd qword [esp + 0x8a], xmm0
mov dword [esp + 0x7c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1684]
xor ecx, esp
call fcn.00423b13
add esp, 0x168c
ret
call fcn.0042823f
call fcn.0042823f
int3
Function at 0x41f520
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x459020]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
xor esi, esi
push edi
mov dword [esp + 0x10], esi
call fcn.0041ded0
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x41f568
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.00423b13
mov esp, ebp
pop ebp
ret
mov edx, 0x1e
lea ecx, [esp + 0x25c]
call fcn.00412330
push 0
push 2
mov dword [esp + 0x28], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x41f6f6
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x41f6ec
nop dword [eax]
lea eax, [esp + 0x44]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f5b7
sub eax, edx
lea ebx, [esp + 0x25c]
mov edx, dword [esp + 0x26c]
lea ecx, [esp + 0x44]
sar eax, 1
mov edi, edx
cmp dword [esp + 0x270], 8
mov dword [esp + 0x1c], eax
cmovae ebx, dword [esp + 0x25c]
cmp eax, edx
cmovb edi, eax
test edi, edi
je 0x41f63b
movzx edx, word [ebx]
movzx esi, word [esp + 0x44]
cmp dx, si
jb 0x41f6d0
mov eax, ecx
sub ebx, eax
mov eax, dword [esp + 0x1c]
cmp dx, si
ja 0x41f6d0
cmp edi, 1
je 0x41f634
movzx edx, word [ebx + ecx + 2]
add ecx, 2
dec edi
movzx esi, word [ecx]
cmp dx, si
jae 0x41f613
jmp 0x41f6d0
mov edx, dword [esp + 0x26c]
cmp edx, eax
jb 0x41f6d0
ja 0x41f6d0
push dword [esp + 0x28]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41f6d0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 8
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41f6c9
lea eax, [esp + 0x254]
mov dword [esp + 0x254], 4
push eax
push 4
lea eax, [esp + 0x260]
push eax
push 0xc
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x41f6bf
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x258], ecx
cmove eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x41f5b0
mov esi, dword [esp + 0x10]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x270]
cmp edx, 8
jb 0x41f734
mov ecx, dword [esp + 0x25c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f72a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f74b
push edx
push ecx
call fcn.00423b44
add esp, 8
mov ecx, dword [esp + 0x274]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00423b13
mov esp, ebp
pop ebp
ret
call fcn.0042823f
int3