joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c14a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x484ae8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41c18d
cmp word [esi], dx
jne 0x41c18d
or byte [edi + eax + 0x28], 4
jmp 0x41c192
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41c2e5
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41c2c5
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41c1d4
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41c20a
cmp eax, edx
jae 0x41c216
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41c1ac
jmp 0x41c2e5
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c2c1
cmp dword [ebp - 0x14], 0
je 0x41c2c1
mov eax, dword [ebx*4 + 0x484ae8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41c299
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41c262
mov word [esi], cx
jmp 0x41c295
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x484ae8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x484ae8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x484ae8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41c2e5
pop ebx
cmp word [ebp - 4], bx
jne 0x41c2aa
cmp esi, dword [ebp + 0xc]
jne 0x41c2aa
mov word [esi], bx
jmp 0x41c2e2
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041cb7e
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41c2e5
push 0xd
jmp 0x41c2de
mov ecx, dword [ebx*4 + 0x484ae8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41c2dc
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41c2e5
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41e0dc
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41e179
push ebx
push esi
call fcn.0041e0a5
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041cd2a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41e126
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41e178
push edi
push eax
call fcn.00417686
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41e146
call fcn.0041745c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41e177
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041cd2a
add esp, 0x20
test eax, eax
jne 0x41e165
push edi
call fcn.0041745c
jmp 0x41e16d
push ebx
call fcn.0041745c
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x425c70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x425c9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x425c9d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x427000
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
push str.Success_created.
push 0x484178
mov ebx, ecx
call fcn.00401200
push eax
call fcn.004021f0
push 8
call fcn.00409271
mov esi, eax
add esp, 0x10
test esi, esi
je 0x427062
push 4
call fcn.00409271
add esp, 4
test eax, eax
je 0x427040
mov dword [eax], 0x427bc0
jmp 0x427042
xor eax, eax
lea edi, [esi + 4]
push edi
push 0
push eax
push 0x4021d0
push 0
push 0
call fcn.00410396
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x42709d
jmp 0x427064
xor esi, esi
cmp dword [esi + 4], 0
je 0x4270aa
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [esi + 4], eax
je 0x4270b1
push 0
push dword [esi + 4]
push dword [esi]
call fcn.00405ba5
add esp, 0xc
test eax, eax
jne 0x4270b8
push 8
push esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.004092a1
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
ret
push 6
mov dword [edi], 0
call fcn.00405d5b
push 1
call fcn.00405d5b
push 5
call fcn.00405d5b
push 2
call fcn.00405d5b
int3

Function at 0x4275d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x24c
mov eax, dword [0x482d00]
Function at 0x406d4d
Capabilities:
Check for software breakpoints

Disassembly:
cmc
mov dword [0x725cb6c8], eax
jns 0x406d48
jb 0x406dae
adc bl, byte [edx - 0x5d5dead7]
dec eax
pop ebx
lcall 0x5b48, 0xa2a21529
jge 0x406d85
or ebx, dword [ecx + 0x54]
mov ah, 0x2c
inc esp
and ah, byte [edx + 0x32455733]
invalid
push edi
inc ebp
xor bl, cl
or dh, byte [ecx - 0x3b]
jno 0x406d14
invalid
xor ebx, dword [ebx + edx*2 + 0xe64bbd0]
lodsd eax, dword [esi]
arpl word [edx + 0x15e94fb7], di
cmp eax, 0x573d1bbb
inc eax
daa
cmpsb byte [esi], byte es:[edi]
outsb dx, byte [esi]
loope 0x406d2e
add al, 0x53
lds ebx, [eax - 0xb]
invalid
adc al, 0xf4
pop es
jle 0x406d33
sal esi, cl
xchg ebp, eax
xor ecx, dword [ecx]
and al, al
mov dh, 0xdd
sbb al, byte [ebx + 0x2b]
cmp dword [ecx - 0x3699320f], ebp
inc edi
pop edx
invalid
or cl, ah
jno 0x406e15
push esi
push es
sbb cl, byte [ebx]
xchg edi, eax
push es
mov ebp, 0xfcffb591
jno 0x406d82
cmpsd dword [esi], dword es:[edi]
jmp 0x406df0
inc ebp
add bl, byte [esi + 0x692657c2]
xlatb
cmpsd dword [esi], dword es:[edi]
imul esi, dword [esi - 0x44], 0xb9b41bfb
mov cl, 0x52
sbb dh, byte [ebx - 0x22fbcd00]
sub eax, 0x7e2d2c75
out 0xbd, al
jp 0x406e53
xchg ebx, eax
pop ss
jbe 0x406e34
ror byte [esi - 0x70391cec], 0xaa
ret
out dx, al
shr byte [edx], cl
and esi, ebx
and byte [ebp + ebx*8 + 0x7f1a693], bl
sahf
cmp eax, dword [edi - 0x69845a17]
stc
aas
arpl word [edi], di
xchg esp, eax
ror dword [0x46ff1c94], 1
and al, 0x88
mov dword [0xb00c0f04], eax
sbb dword [edx], eax
sal byte ds:[edx], 0x79
xor byte [eax + 0x20], ah
cmp al, 0xcc
jl 0x406e67
bound eax, qword [esi - 0x4dff223a]
invalid
Function at 0x406d53
Capabilities:
Check for software breakpoints

Disassembly:
cmc
mov dword [0x725cb6c8], eax
jns 0x406d48
jb 0x406dae
adc bl, byte [edx - 0x5d5dead7]
dec eax
pop ebx
lcall 0x5b48, 0xa2a21529
jge 0x406d85
or ebx, dword [ecx + 0x54]
mov ah, 0x2c
inc esp
and ah, byte [edx + 0x32455733]
invalid
push edi
inc ebp
xor bl, cl
or dh, byte [ecx - 0x3b]
jno 0x406d14
invalid
xor ebx, dword [ebx + edx*2 + 0xe64bbd0]
lodsd eax, dword [esi]
arpl word [edx + 0x15e94fb7], di
cmp eax, 0x573d1bbb
inc eax
daa
cmpsb byte [esi], byte es:[edi]
outsb dx, byte [esi]
loope 0x406d2e
add al, 0x53
lds ebx, [eax - 0xb]
invalid
adc al, 0xf4
pop es
jle 0x406d33
sal esi, cl
xchg ebp, eax
xor ecx, dword [ecx]
and al, al
mov dh, 0xdd
sbb al, byte [ebx + 0x2b]
cmp dword [ecx - 0x3699320f], ebp
inc edi
pop edx
invalid
or cl, ah
jno 0x406e15
push esi
push es
sbb cl, byte [ebx]
xchg edi, eax
push es
mov ebp, 0xfcffb591
jno 0x406d82
cmpsd dword [esi], dword es:[edi]
jmp 0x406df0
inc ebp
add bl, byte [esi + 0x692657c2]
xlatb
cmpsd dword [esi], dword es:[edi]
imul esi, dword [esi - 0x44], 0xb9b41bfb
mov cl, 0x52
sbb dh, byte [ebx - 0x22fbcd00]
sub eax, 0x7e2d2c75
out 0xbd, al
jp 0x406e53
xchg ebx, eax
pop ss
jbe 0x406e34
ror byte [esi - 0x70391cec], 0xaa
ret
out dx, al
shr byte [edx], cl
and esi, ebx
and byte [ebp + ebx*8 + 0x7f1a693], bl
sahf
cmp eax, dword [edi - 0x69845a17]
stc
aas
arpl word [edi], di
xchg esp, eax
ror dword [0x46ff1c94], 1
and al, 0x88
mov dword [0xb00c0f04], eax
sbb dword [edx], eax
sal byte ds:[edx], 0x79
xor byte [eax + 0x20], ah
cmp al, 0xcc
jl 0x406e67
bound eax, qword [esi - 0x4dff223a]
invalid
Function at 0x406d59
Capabilities:
Check for software breakpoints

Disassembly:
cmc
mov dword [0x725cb6c8], eax
jns 0x406d48
jb 0x406dae
adc bl, byte [edx - 0x5d5dead7]
dec eax
pop ebx
lcall 0x5b48, 0xa2a21529
jge 0x406d85
or ebx, dword [ecx + 0x54]
mov ah, 0x2c
inc esp
and ah, byte [edx + 0x32455733]
invalid
push edi
inc ebp
xor bl, cl
or dh, byte [ecx - 0x3b]
jno 0x406d14
invalid
xor ebx, dword [ebx + edx*2 + 0xe64bbd0]
lodsd eax, dword [esi]
arpl word [edx + 0x15e94fb7], di
cmp eax, 0x573d1bbb
inc eax
daa
cmpsb byte [esi], byte es:[edi]
outsb dx, byte [esi]
loope 0x406d2e
add al, 0x53
lds ebx, [eax - 0xb]
invalid
adc al, 0xf4
pop es
jle 0x406d33
sal esi, cl
xchg ebp, eax
xor ecx, dword [ecx]
and al, al
mov dh, 0xdd
sbb al, byte [ebx + 0x2b]
cmp dword [ecx - 0x3699320f], ebp
inc edi
pop edx
invalid
or cl, ah
jno 0x406e15
push esi
push es
sbb cl, byte [ebx]
xchg edi, eax
push es
mov ebp, 0xfcffb591
jno 0x406d82
cmpsd dword [esi], dword es:[edi]
jmp 0x406df0
inc ebp
add bl, byte [esi + 0x692657c2]
xlatb
cmpsd dword [esi], dword es:[edi]
imul esi, dword [esi - 0x44], 0xb9b41bfb
mov cl, 0x52
sbb dh, byte [ebx - 0x22fbcd00]
sub eax, 0x7e2d2c75
out 0xbd, al
jp 0x406e53
xchg ebx, eax
pop ss
jbe 0x406e34
ror byte [esi - 0x70391cec], 0xaa
ret
out dx, al
shr byte [edx], cl
and esi, ebx
and byte [ebp + ebx*8 + 0x7f1a693], bl
sahf
cmp eax, dword [edi - 0x69845a17]
stc
aas
arpl word [edi], di
xchg esp, eax
ror dword [0x46ff1c94], 1
and al, 0x88
mov dword [0xb00c0f04], eax
sbb dword [edx], eax
sal byte ds:[edx], 0x79
xor byte [eax + 0x20], ah
cmp al, 0xcc
jl 0x406e67
bound eax, qword [esi - 0x4dff223a]
invalid
Function at 0x406d8a
Capabilities:
Check for software breakpoints

Disassembly:
cmc
mov dword [0x725cb6c8], eax
jns 0x406d48
jb 0x406dae
adc bl, byte [edx - 0x5d5dead7]
dec eax
pop ebx
lcall 0x5b48, 0xa2a21529
jge 0x406d85
or ebx, dword [ecx + 0x54]
mov ah, 0x2c
inc esp
and ah, byte [edx + 0x32455733]
invalid
push edi
inc ebp
xor bl, cl
or dh, byte [ecx - 0x3b]
jno 0x406d14
invalid
xor ebx, dword [ebx + edx*2 + 0xe64bbd0]
lodsd eax, dword [esi]
arpl word [edx + 0x15e94fb7], di
cmp eax, 0x573d1bbb
inc eax
daa
cmpsb byte [esi], byte es:[edi]
outsb dx, byte [esi]
loope 0x406d2e
add al, 0x53
lds ebx, [eax - 0xb]
invalid
adc al, 0xf4
pop es
jle 0x406d33
sal esi, cl
xchg ebp, eax
xor ecx, dword [ecx]
and al, al
mov dh, 0xdd
sbb al, byte [ebx + 0x2b]
cmp dword [ecx - 0x3699320f], ebp
inc edi
pop edx
invalid
or cl, ah
jno 0x406e15
push esi
push es
sbb cl, byte [ebx]
xchg edi, eax
push es
mov ebp, 0xfcffb591
jno 0x406d82
cmpsd dword [esi], dword es:[edi]
jmp 0x406df0
inc ebp
add bl, byte [esi + 0x692657c2]
xlatb
cmpsd dword [esi], dword es:[edi]
imul esi, dword [esi - 0x44], 0xb9b41bfb
mov cl, 0x52
sbb dh, byte [ebx - 0x22fbcd00]
sub eax, 0x7e2d2c75
out 0xbd, al
jp 0x406e53
xchg ebx, eax
pop ss
jbe 0x406e34
ror byte [esi - 0x70391cec], 0xaa
ret
out dx, al
shr byte [edx], cl
and esi, ebx
and byte [ebp + ebx*8 + 0x7f1a693], bl
sahf
cmp eax, dword [edi - 0x69845a17]
stc
aas
arpl word [edi], di
xchg esp, eax
ror dword [0x46ff1c94], 1
and al, 0x88
mov dword [0xb00c0f04], eax
sbb dword [edx], eax
sal byte ds:[edx], 0x79
xor byte [eax + 0x20], ah
cmp al, 0xcc
jl 0x406e67
bound eax, qword [esi - 0x4dff223a]
invalid
Function at 0x406db2
Capabilities:
Check for software breakpoints

Disassembly:
cmc
mov dword [0x725cb6c8], eax
jns 0x406d48
jb 0x406dae
adc bl, byte [edx - 0x5d5dead7]
dec eax
pop ebx
lcall 0x5b48, 0xa2a21529
jge 0x406d85
or ebx, dword [ecx + 0x54]
mov ah, 0x2c
inc esp
and ah, byte [edx + 0x32455733]
invalid
push edi
inc ebp
xor bl, cl
or dh, byte [ecx - 0x3b]
jno 0x406d14
invalid
xor ebx, dword [ebx + edx*2 + 0xe64bbd0]
lodsd eax, dword [esi]
arpl word [edx + 0x15e94fb7], di
cmp eax, 0x573d1bbb
inc eax
daa
cmpsb byte [esi], byte es:[edi]
outsb dx, byte [esi]
loope 0x406d2e
add al, 0x53
lds ebx, [eax - 0xb]
invalid
adc al, 0xf4
pop es
jle 0x406d33
sal esi, cl
xchg ebp, eax
xor ecx, dword [ecx]
and al, al
mov dh, 0xdd
sbb al, byte [ebx + 0x2b]
cmp dword [ecx - 0x3699320f], ebp
inc edi
pop edx
invalid
or cl, ah
jno 0x406e15
push esi
push es
sbb cl, byte [ebx]
xchg edi, eax
push es
mov ebp, 0xfcffb591
jno 0x406d82
cmpsd dword [esi], dword es:[edi]
jmp 0x406df0
inc ebp
add bl, byte [esi + 0x692657c2]
xlatb
cmpsd dword [esi], dword es:[edi]
imul esi, dword [esi - 0x44], 0xb9b41bfb
mov cl, 0x52
sbb dh, byte [ebx - 0x22fbcd00]
sub eax, 0x7e2d2c75
out 0xbd, al
jp 0x406e53
xchg ebx, eax
pop ss
jbe 0x406e34
ror byte [esi - 0x70391cec], 0xaa
ret
out dx, al
shr byte [edx], cl
and esi, ebx
and byte [ebp + ebx*8 + 0x7f1a693], bl
sahf
cmp eax, dword [edi - 0x69845a17]
stc
aas
arpl word [edi], di
xchg esp, eax
ror dword [0x46ff1c94], 1
and al, 0x88
mov dword [0xb00c0f04], eax
sbb dword [edx], eax
sal byte ds:[edx], 0x79
xor byte [eax + 0x20], ah
cmp al, 0xcc
jl 0x406e67
bound eax, qword [esi - 0x4dff223a]
invalid
Function at 0xa754f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
mov ecx, dword [esi + 4]
test eax, eax
jle 0xa7554a
push edi
mov edi, dword [ebp + 0x10]
sub dword [ebp + 0xc], edi
mov dword [ebp + 8], eax
mov edi, edi
inc bl
lea edi, [edi + 1]
movzx ebx, bl
mov dl, byte [esi + ebx + 8]
add cl, dl
movzx ecx, cl
mov al, byte [esi + ecx + 8]
mov byte [esi + ebx + 8], al
add al, dl
movzx eax, al
mov byte [esi + ecx + 8], dl
movzx edx, byte [eax + esi + 8]
mov eax, dword [ebp + 0xc]
xor dl, byte [eax + edi - 1]
dec dword [ebp + 8]
mov byte [edi - 1], dl
jne 0xa75510
mov eax, dword [ebp + 0x14]
pop edi
mov dword [esi], ebx
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
ret
Function at 0xa85537
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push edi
mov edi, dword [esp + 4]
lea edi, [edi + 0x68]
xchg dword [esp + 4], edi
mov dword [esp + 4], edi
mov edi, dword [esp]
lea esp, [esp + 4]
lea ebx, [ebx]
mov edx, edx
add dword [esp], 0xfffffc6d
xchg dword [esp], ecx
push esi
mov esi, dword [esp + 4]
lea esi, [esi + 0x1c]
xchg dword [esp + 4], esi
mov dword [esp + 4], esi
mov esi, dword [esp]
lea esp, [esp + 4]
pushfd
pushfd
add ebp, 0x3d
popfd
lea ebp, [ebp - 0x3d]
add ebp, 1
push eax
mov eax, dword [esp + 4]
lea eax, [eax + 0x62]
xchg dword [esp + 4], eax
mov dword [esp + 4], eax
mov eax, dword [esp]
lea esp, [esp + 4]
popfd
push esi
mov esi, dword [esp + 4]
lea esi, [esi + 0x7b]
xchg dword [esp + 4], esi
mov dword [esp + 4], esi
mov esi, dword [esp]
lea esp, [esp + 4]
lea ebp, [ebp - 1]
push ecx
mov ecx, dword [esp + 8]
pop ecx
xchg dword [esp + 4], ecx
push ebx
mov ebx, dword [esp + 4]
lea ebx, [ebx + 0x46]
xchg dword [esp + 4], ebx
mov dword [esp + 4], ebx
mov ebx, dword [esp]
lea esp, [esp + 4]
mov ecx, ecx
pushfd
add ebp, 0xe
popfd
lea ebp, [ebp - 0xe]
xchg dword [esp], ecx
push ebx
mov ebx, dword [esp + 4]
lea ebx, [ebx + 0x6a]
xchg dword [esp + 4], ebx
mov dword [esp + 4], ebx
mov ebx, dword [esp]
lea esp, [esp + 4]
xchg ecx, esi
lea esp, [esp - 4]
mov dword [esp], ecx
mov ecx, esi
mov esi, dword [esp]
xchg esi, ecx
mov ecx, dword [esp + 4]
push esi
xchg esi, ecx
pop ecx
lea esi, [esi + 0x38]
push esi
mov esi, dword [esp + 4]
lea esi, [esi + 0x6c]
xchg dword [esp + 4], esi
mov dword [esp + 4], esi
mov esi, dword [esp]
lea esp, [esp + 4]
xchg dword [esp + 4], esi
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx + 0x13]
xchg dword [esp + 4], ecx
mov dword [esp + 4], ecx
mov ecx, dword [esp]
lea esp, [esp + 4]
mov dword [esp + 4], esi
push ebx
mov ebx, dword [esp + 4]
lea ebx, [ebx + 0x4e]
xchg dword [esp + 4], ebx
mov dword [esp + 4], ebx
mov ebx, dword [esp]
lea esp, [esp + 4]
xchg esi, edi
mov edi, dword [esp]
push esi
xchg esi, edi
pop edi
lea esp, [esp + 4]
push ebp
mov ebp, esp
leave
popfd
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx + 0x63]
xchg dword [esp + 4], ecx
mov dword [esp + 4], ecx
mov ecx, dword [esp]
lea esp, [esp + 4]
xchg ecx, edx
lea esp, [esp - 4]
mov dword [esp], ecx
mov ecx, edx
mov edx, dword [esp]
xchg edx, eax
mov eax, dword [esp + 4]
push edx
xchg edx, eax
pop eax
lea edx, [edx + 0x77]
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx + 0x73]
xchg dword [esp + 4], ecx
mov dword [esp + 4], ecx
mov ecx, dword [esp]
lea esp, [esp + 4]
xchg dword [esp + 4], edx
push edi
mov edi, dword [esp + 4]
lea edi, [edi + 3]
xchg dword [esp + 4], edi
mov dword [esp + 4], edi
mov edi, dword [esp]
lea esp, [esp + 4]
mov dword [esp + 4], edx
pushfd
add ebp, 0xa
popfd
lea ebp, [ebp - 0xa]
xchg edx, esi
mov esi, dword [esp]
push edx
xchg edx, esi
pop esi
lea esp, [esp + 4]
push eax
mov eax, dword [esp + 4]
lea eax, [eax + 0x6a]
xchg dword [esp + 4], eax
mov dword [esp + 4], eax
mov eax, dword [esp]
lea esp, [esp + 4]
jmp fcn.00a754f0
Function at 0x429fe0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cbdab
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.004c01ae
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42a062
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004bd92d
mov eax, dword [eax]
push 0xe53d0c
push eax
call fcn.004af884
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c0439
test bl, bl
je 0x42a062
push 0xe53d0c
lea ecx, [esp + 0xc]
call fcn.004c07c9
push 0xe53d18
lea ecx, [esp + 0xc]
call fcn.004c07c9
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 0x42a09e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c0439
jmp 0x42a169
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 0x42a122
lea edx, [esp + 0x7c]
push 0xe53d14
push edx
call fcn.004af884
add esp, 8
test eax, eax
je 0x42a122
lea eax, [esp + 0x7c]
push 0xe53d10
push eax
call fcn.004af884
add esp, 8
test eax, eax
je 0x42a122
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 0x42a0b2
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.004c0439
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 0x42a970
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 0x42a9d2
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 0x42a9e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cbe2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xe698a0]
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 0x42ab18
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42aa46
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c0439
xor eax, eax
jmp 0x42ab8f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c0576
push esi
lea ecx, [esp + 0xc]
call fcn.004c0805
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0xe53d4c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42ab6d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0042a970
test eax, eax
jne 0x42ab6d
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 accept
mov ecx, edi
call fcn.0042a970
test eax, eax
jne 0x42ab6d
lea eax, [esp + 0x14]
push 0xe53d28
push eax
call fcn.004b09f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42ab4c
lea ecx, [esp + 0x14]
push 0xe53d24
push ecx
call fcn.004b0970
mov esi, eax
add esp, 8
test esi, esi
jne 0x42ab4c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42ab4f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c0526
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42aa5e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c0439
xor eax, eax
jmp 0x42ab8f
mov byte [esi], 0
push 0xe53d20
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.004c0439
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