joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f62a0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
cmp ebp, 2
je 0x4f631f
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4f62f0
push eax
push 0
lea eax, [esp + 0x2c]
push eax
push 0
call fcn.004b8510
add esp, 0x10
cmp dword [esp + 0x24], 0xffffffff
je 0x4f62f0
push 0
push 0
push 0x66
push 0x10a
push 0x10
call fcn.004982a0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
ret
test esi, esi
je 0x4f62d5
cmp edi, 0x40a
je 0x4f6314
cmp edi, 0x43f
je 0x4f6314
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x4f6319
mov eax, 0x20
cmp dword [esp + 0x20], eax
jne 0x4f62d5
push ebx
push 0x46
push str.cryptoececx_meth.c
push 0x40
call fcn.004a0760
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4f6351
push eax
push eax
push 0x41
push 0x10a
push 0x10
call fcn.004982a0
add esp, 0x14
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
test ebp, ebp
jne 0x4f6368
push dword [esp + 0x24]
push esi
push ebx
call fcn.0059d8c0
add esp, 0xc
jmp case.0x4f6492.1036
cmp edi, 0x40a
je 0x4f6388
cmp edi, 0x43f
je 0x4f6388
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x4f638d
mov eax, 0x20
push 0x50
push str.cryptoececx_meth.c
push eax
call fcn.004d2c00
mov esi, eax
add esp, 0xc
mov dword [ebx + 0x3c], esi
test esi, esi
jne 0x4f63bb
push eax
push eax
push 0x41
push 0x10a
push 0x10
call fcn.004982a0
add esp, 0x14
jmp 0x4f640e
cmp ebp, 2
jne 0x4f644d
cmp edi, 0x40a
je 0x4f63e4
cmp edi, 0x43f
je 0x4f63e4
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x4f63e9
mov eax, 0x20
push eax
push esi
call fcn.004a3c10
add esp, 8
test eax, eax
jg 0x4f6425
push 0x57
push str.cryptoececx_meth.c
push esi
call fcn.004d2bf0
add esp, 0xc
mov dword [ebx + 0x3c], 0
push 0x79
push str.cryptoececx_meth.c
push ebx
call fcn.004a04b0
add esp, 0xc
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
cmp edi, 0x40a
jne 0x4f643c
mov al, byte [esi + 0x1f]
and byte [esi], 0xf8
and al, 0x3f
or al, 0x40
mov byte [esi + 0x1f], al
jmp 0x4f6480
cmp edi, 0x40b
jne 0x4f6480
and byte [esi], 0xfc
or byte [esi + 0x37], 0x80
jmp 0x4f6480
cmp edi, 0x40a
je 0x4f646d
cmp edi, 0x43f
je 0x4f646d
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x4f6472
mov eax, 0x20
push eax
push dword [esp + 0x24]
push esi
call fcn.0059d8c0
add esp, 0xc
lea eax, [edi - 0x40a]
cmp eax, 0x36
ja case.0x4f6492.1036
movzx eax, byte [eax + 0x4f64ec]
jmp dword [eax*4 + 0x4f64d8]
push esi
push ebx
call fcn.00521420
jmp 0x4f64bb
push esi
push ebx
call fcn.00520f70
jmp 0x4f64bb
push esi
push ebx
call fcn.0052d050
jmp 0x4f64bb
push esi
push ebx
call fcn.0052f490
add esp, 8
push ebx
push edi
push dword [esp + 0x1c]
call fcn.0048c740
add esp, 0xc
mov eax, 1
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x500670
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x50070d
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x500691
cmp al, 0x6b
jne 0x50070d
inc ecx
cmp al, 0x6b
jne 0x5006d5
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x5006b2
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x5006b2
cmp dl, 0xbb
jne 0x5006b8
inc eax
cmp eax, esi
jl 0x5006a0
sub esi, eax
test eax, eax
jne 0x5006d8
push 0
push 0
push 0x8a
push 0x80
push 4
call fcn.004982a0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x5006fb
push 0
push 0
push 0x8b
push 0x80
push 4
call fcn.004982a0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.0059d8c0
add esp, 0xc
mov eax, esi
pop esi
ret
push 0
push 0
push 0x89
push 0x80
push 4
call fcn.004982a0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x505070
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.0059bb50
push esi
mov esi, dword [esp + 0xc]
push esi
call fcn.00562e70
add esp, 4
cmp eax, 0x72
jne 0x5051dd
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push ebp
push edi
mov edi, dword [esp + 0x2c]
mov ebp, eax
push edi
push esi
push dword [esp + 0x2c]
and eax, 1
shr ebp, 1
push dword [esp + 0x2c]
add eax, ebp
push eax
push dword [esp + 0x2c]
mov dword [esp + 0x24], eax
call fcn.004c88c0
push eax
call fcn.00504e10
add esp, 0x1c
test eax, eax
jne 0x5050d2
pop edi
pop ebp
pop esi
pop ecx
ret
push ebx
push 0x104
push str.cryptokdf_tls1_prf.c
push edi
call fcn.004a0480
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x505104
push eax
push eax
push 0x41
push 0x6f
push 0x34
call fcn.004982a0
add esp, 0x14
xor eax, eax
pop ebx
pop edi
pop ebp
pop esi
pop ecx
ret
mov eax, dword [esp + 0x1c]
push edi
push ebx
push dword [esp + 0x30]
add eax, ebp
push dword [esp + 0x30]
push dword [esp + 0x20]
push eax
call fcn.0048df50
push eax
call fcn.00504e10
add esp, 0x1c
test eax, eax
jne 0x505147
push 0x10a
push str.cryptokdf_tls1_prf.c
push edi
push ebx
call fcn.004a0570
add esp, 0x10
xor eax, eax
pop ebx
pop edi
pop ebp
pop esi
pop ecx
ret
xor edx, edx
test edi, edi
je 0x5051be
cmp edi, 0x20
jb 0x50519b
lea eax, [edi - 1]
lea ecx, [esi - 1]
add eax, ebx
add ecx, edi
cmp esi, eax
ja 0x505164
cmp ecx, ebx
jae 0x50519b
mov ecx, edi
mov ebp, ebx
and ecx, 0xffffffe0
mov eax, esi
sub ebp, esi
nop
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax + ebp - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [ebx + edx + 0x10]
add edx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jb 0x505170
cmp edx, edi
jae 0x5051be
mov ebp, ebx
lea ecx, [edx + esi]
sub ebp, esi
mov esi, edi
sub esi, edx
nop word [eax + eax]
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x5051b0
push 0x10f
push str.cryptokdf_tls1_prf.c
push edi
push ebx
call fcn.004a0570
add esp, 0x10
mov eax, 1
pop ebx
pop edi
pop ebp
pop esi
pop ecx
ret
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push esi
call fcn.00504e10
add esp, 0x1c
neg eax
sbb eax, eax
neg eax
pop esi
pop ecx
ret

Function at 0x50b1d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.0059bb50
mov edx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
mov dword [esp + 4], 0x10
lea eax, [edx + 0xf]
lea ecx, [esi + 0xf]
cmp esi, eax
ja 0x50b214
cmp ecx, edx
jb 0x50b214
push edi
mov ecx, esi
sub edx, esi
mov edi, 0x10
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edi, 1
jne 0x50b203
pop edi
jmp 0x50b221
movups xmm1, xmmword [esi]
movups xmm0, xmmword [edx]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
push 0x10
push esi
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x18]
push esi
push dword [eax + 4]
call fcn.004918a0
add esp, 0x14
pop esi
test eax, eax
je 0x50b24b
cmp dword [esp], 0x10
jne 0x50b24b
mov eax, 1
pop ecx
ret
xor eax, eax
pop ecx
ret
Function at 0x50b470
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x50b4d3
mov edx, dword [esp + 0x10]
test edx, edx
je 0x50b4d3
push ebx
push edi
mov edi, dword [esp + 0x10]
mov ebx, dword [edi + 0xc]
cmp edx, ebx
cmovb ebx, edx
xor ecx, ecx
test ebx, ebx
je 0x50b4a1
mov al, byte [ecx + esi]
xor byte [edi + ecx + 0x10], al
inc ecx
cmp ecx, ebx
jb 0x50b495
mov eax, dword [edi + 0xc]
cmp edx, eax
jbe 0x50b4d1
sub edx, eax
mov eax, 0x10
cmp edx, eax
cmova edx, eax
xor eax, eax
test edx, edx
je 0x50b4d1
nop word [eax + eax]
mov ecx, dword [edi + 0xc]
add ecx, eax
mov cl, byte [ecx + esi]
xor byte [edi + eax + 0x30], cl
inc eax
cmp eax, edx
jb 0x50b4c0
pop edi
pop ebx
pop esi
ret
Function at 0x541d50
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x10]
mov edx, 0x400
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
mov edi, 0x80
mov byte [ebx], 0
mov ecx, edi
mov ebp, edx
cmp dword [esp + 0x18], ecx
cmovle ecx, dword [esp + 0x18]
test eax, eax
cmovg ebp, eax
cmp ebp, edx
cmovg ebp, edx
mov dword [esp + 0x14], ebp
test ecx, ecx
jle 0x541da4
mov ebp, dword [esp + 0x1c]
mov edx, ebx
sub ebp, ebx
mov esi, ecx
mov al, byte [edx + ebp]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub esi, 1
jne 0x541d92
mov ebp, dword [esp + 0x14]
movzx edx, byte [ecx + ebx - 1]
cmp ecx, edi
jge 0x541dc9
mov esi, ebx
sub esi, ecx
movzx eax, byte [esi + ecx]
add eax, edx
movzx eax, al
movzx edx, byte [eax + 0x668588]
mov byte [ecx + ebx], dl
inc ecx
cmp ecx, edi
jl 0x541db1
mov ecx, dword [esp + 0x14]
add ebp, 7
sar ebp, 3
neg ecx
sub edi, ebp
and ecx, 7
movzx eax, byte [edi + ebx]
lea esi, [edi + ebx]
mov edx, 0xff
sar edx, cl
and edx, eax
movzx ecx, byte [edx + 0x668588]
mov byte [esi], cl
test edi, edi
je 0x541e18
nop word [eax + eax]
movzx eax, byte [esi + ebp - 1]
lea esi, [esi - 1]
xor eax, ecx
movzx ecx, byte [eax + 0x668588]
mov byte [esi], cl
sub edi, 1
jne 0x541e00
lea esi, [ebx + 0xfc]
mov edi, 0x40
lea edx, [ebx + 0x7e]
movzx ecx, byte [edx + 1]
lea esi, [esi - 4]
movzx eax, byte [edx]
lea edx, [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [esi + 4], ecx
sub edi, 1
jne 0x541e26
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x544030
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, 0x98
call fcn.0059bb50
mov eax, dword [0x6b0d44]
xor eax, esp
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0xa8]
push edi
mov edi, dword [esp + 0xa0]
mov dword [esp + 4], edi
mov eax, dword [ecx]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x7c], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 0x1c]
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x84], eax
mov dword [esp + 0x58], 0x61707865
mov dword [esp + 0x5c], 0x3320646e
mov eax, dword [ecx]
mov dword [esp + 0x88], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x8c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x90], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x60], 0x79622d32
mov dword [esp + 0x64], 0x6b206574
test eax, eax
je 0x54422d
push ebx
mov ebx, dword [esp + 0xa8]
push ebp
push esi
nop
mov esi, 0x40
cmp eax, esi
cmovb esi, eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x24], esi
push eax
call fcn.00544250
add esp, 8
xor eax, eax
test esi, esi
je 0x5441fc
cmp esi, 0x20
jb 0x5441d4
lea edx, [edi - 1]
lea ecx, [esp + esi + 0x23]
add edx, esi
cmp edi, ecx
ja 0x54414c
lea ecx, [esp + 0x24]
cmp edx, ecx
jae 0x5441d4
lea ecx, [ebx - 1]
add ecx, esi
cmp edi, ecx
ja 0x544159
cmp edx, ebx
jae 0x5441d4
mov ebp, esi
lea edx, [edi + 0x10]
lea esi, [esp + 0x24]
mov ecx, ebx
sub ecx, esi
and ebp, 0xffffffe0
mov dword [esp + 0x14], ecx
mov ecx, edi
sub ecx, esi
mov dword [esp + 0x18], ecx
mov ecx, ebx
mov ebx, dword [esp + 0x14]
sub ecx, edi
mov esi, dword [esp + 0x18]
mov edi, ecx
mov dword [esp + 0x1c], ecx
nop word [eax + eax]
movups xmm0, xmmword [esp + eax + 0x24]
lea ecx, [ebx + eax]
movups xmm1, xmmword [esp + ecx + 0x24]
lea ecx, [esi + eax]
lea edx, [edx + 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [esp + eax + 0x34]
add eax, 0x20
movups xmmword [esp + ecx + 0x24], xmm1
movups xmm1, xmmword [edi + edx - 0x20]
pxor xmm1, xmm0
movups xmmword [edx - 0x20], xmm1
cmp eax, ebp
jb 0x544190
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0xb0]
cmp eax, esi
jae 0x5441fc
lea ecx, [esp + 0x24]
mov ebp, edi
sub ebx, ecx
sub ebp, ecx
lea edx, [esp + 0x24]
add edx, eax
inc eax
mov cl, byte [ebx + edx]
xor cl, byte [edx]
mov byte [edx + ebp], cl
cmp eax, esi
jb 0x5441e2
mov ebx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb4]
add edi, esi
inc dword [esp + 0x94]
sub eax, esi
add ebx, esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], eax
test eax, eax
jne 0x544100
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
pop edi
xor ecx, esp
call fcn.0059b3f0
add esp, 0x98
ret
Function at 0x5e3800
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x5e3827
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005ca400
add esp, 4
or eax, 0xffffffff
jmp 0x5e3829
xor eax, eax
pop ebp
ret

Function at 0x5e3850
Capabilities:
Delete directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x5e3877
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005ca400
add esp, 4
or eax, 0xffffffff
jmp 0x5e3879
xor eax, eax
pop ebp
ret

Function at 0x6106c0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
call fcn.005fc5f0
mov byte [ebp - 1], al
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x6106fe
cmp dword [ebp + 8], 0
je 0x6106ec
lea eax, [ebp + 8]
push eax
call fcn.00610ac0
add esp, 4
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x6106fe
mov eax, 4
jmp 0x61082e
call fcn.005fc3c0
movzx edx, al
test edx, edx
jne 0x61072c
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x61071d
mov dword [ebp - 0xc], 4
jmp 0x610724
mov dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
jmp 0x61082e
movzx eax, byte [ebp - 1]
test eax, eax
je 0x6107d5
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
push 0
push 0
lea ecx, [ebp - 0x34]
push ecx
push 0x610a20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
lea ecx, [ebp - 8]
call fcn.005f5ea0
lea ecx, [ebp - 8]
call fcn.005f2900
movzx edx, al
test edx, edx
jne 0x610797
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 8]
call fcn.005f28c0
mov eax, dword [ebp - 0x10]
jmp 0x61082e
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.0060b820
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
je 0x6107c2
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 8]
call fcn.005f28c0
mov eax, dword [ebp - 0x14]
jmp 0x61082e
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 8]
call fcn.005f28c0
mov eax, dword [ebp - 0x18]
jmp 0x61082e
call fcn.005fc540
movzx ecx, al
test ecx, ecx
jne 0x61080e
mov edx, dword [ebp + 0x10]
or edx, 0x200000
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.006109c0
add esp, 0x10
jmp 0x61082e
call fcn.005fc450
mov dword [ebp - 0x24], eax
lea ecx, [ebp + 0x10]
push ecx
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.006109c0
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x610840
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
call fcn.005fc5f0
mov byte [ebp - 1], al
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x61087e
cmp dword [ebp + 8], 0
je 0x61086c
lea eax, [ebp + 8]
push eax
call fcn.00610ae0
add esp, 4
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x61087e
mov eax, 4
jmp 0x6109ae
call fcn.005fc3c0
movzx edx, al
test edx, edx
jne 0x6108ac
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x61089d
mov dword [ebp - 0xc], 4
jmp 0x6108a4
mov dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
jmp 0x6109ae
movzx eax, byte [ebp - 1]
test eax, eax
je 0x610955
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
push 0
push 0
lea ecx, [ebp - 0x34]
push ecx
push 0x610a70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
lea ecx, [ebp - 8]
call fcn.005f5ea0
lea ecx, [ebp - 8]
call fcn.005f2900
movzx edx, al
test edx, edx
jne 0x610917
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 8]
call fcn.005f28c0
mov eax, dword [ebp - 0x10]
jmp 0x6109ae
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.0060b820
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
je 0x610942
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 8]
call fcn.005f28c0
mov eax, dword [ebp - 0x14]
jmp 0x6109ae
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 8]
call fcn.005f28c0
mov eax, dword [ebp - 0x18]
jmp 0x6109ae
call fcn.005fc540
movzx ecx, al
test ecx, ecx
jne 0x61098e
mov edx, dword [ebp + 0x10]
or edx, 0x200000
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.006109f0
add esp, 0x10
jmp 0x6109ae
call fcn.005fc450
mov dword [ebp - 0x24], eax
lea ecx, [ebp + 0x10]
push ecx
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.006109f0
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x613cd2
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.006132fe

Function at 0x613cdd
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00613639
Function at 0x42a0c7
Capabilities:
Terminate process

Disassembly:
jmp 0x45c7e0
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45c7f1
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00429442
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x42a9d7
Capabilities:
Parse pe header

Disassembly:
jmp 0x4315c8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x431608
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x431608
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x431608
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x431608
cmp dword [ecx + 0x74], 0xe
jbe 0x431608
cmp dword [ecx + 0xe8], 0
je 0x431608
mov al, 1
ret
xor al, al
ret

Function at 0x42b1c5
Capabilities:
Query environment variable

Disassembly:
jmp 0x45fc01
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x45fc15
xor edi, edi
jmp 0x45fc4c
push ebx
push esi
call fcn.0045fb0b
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0042a4b4
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x45fc3c
push ebx
push esi
push edi
call fcn.0042b2ba
add esp, 0xc
push 0
call fcn.0042950f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x477fc0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4dd20b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004d1848
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x478042
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004cf45d
mov eax, dword [eax]
push 0x5e2210
push eax
call fcn.004c1904
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004d1ad3
test bl, bl
je 0x478042
push 0x5e2210
lea ecx, [esp + 0xc]
call fcn.004d1e63
push 0x5e5d8c
lea ecx, [esp + 0xc]
call fcn.004d1e63
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x47807e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004d1ad3
jmp 0x478149
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x478102
lea edx, [esp + 0x7c]
push 0x5e5d88
push edx
call fcn.004c1904
add esp, 8
test eax, eax
je 0x478102
lea eax, [esp + 0x7c]
push 0x5e5d84
push eax
call fcn.004c1904
add esp, 8
test eax, eax
je 0x478102
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x478092
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004d1ad3
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x478940
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4789a2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4789b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4dd28b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5ec7b8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x478ae8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x478a16
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d1ad3
xor eax, eax
jmp 0x478b5f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004d1c10
push esi
lea ecx, [esp + 0xc]
call fcn.004d1e9f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x478b3d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00478940
test eax, eax
jne 0x478b3d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00478940
test eax, eax
jne 0x478b3d
lea eax, [esp + 0x14]
push 0x5e5da0
push eax
call fcn.004c2940
mov esi, eax
add esp, 8
test esi, esi
jne 0x478b1c
lea ecx, [esp + 0x14]
push 0x5e5d9c
push ecx
call fcn.004c28c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x478b1c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x478b1f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004d1bc0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x478a2e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d1ad3
xor eax, eax
jmp 0x478b5f
mov byte [esi], 0
push 0x5e5d98
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004d1ad3
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4