joyce8/EMBER2024-capa huggingface dataset:
Function at 0x65d2ec
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x3c]
push 0x2f0
mov byte [ebp - 1], 0
add esi, edi
call fcn.00658a48
push 0x742
mov ebx, eax
call fcn.00658a5c
test ebx, ebx
je 0x65d49c
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x24], 0x73616c43
push edi
mov dword [ebp - 0x20], 0x696e4973
mov dword [ebp - 0x1c], 0x6c616974
mov dword [ebp - 0x18], 0x657a69
call 0x6370f8
test eax, eax
je 0x65d49c
mov ecx, dword [esi + 0x34]
mov dword [ebp - 8], ecx
cmp eax, dword [ebp + 0xc]
jae 0x65d49c
lea ecx, [eax + 0x1000]
cmp ecx, dword [ebp + 0xc]
jae 0x65d49c
lea esi, [eax + edi]
xor eax, eax
and dword [ebp + 8], eax
and dword [ebp - 0xc], eax
lea edx, [esi + 0x1000]
push 8
pop ecx
lea edi, [ebp - 0x44]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edx
rep stosd dword es:[edi], eax
cmp esi, edx
jae 0x65d49c
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x14]
push esi
call 0x64d8d6
test al, al
je 0x65d49c
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
lea ecx, [eax - 0x10ab]
cmp ecx, 7
ja 0x65d3e5
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 8]
jbe 0x65d48d
mov esi, dword [ebp - 0x10]
mov edx, eax
sub edx, dword [ebp - 8]
cmp dword [ebp + 0xc], edx
jbe 0x65d48d
mov dword [ebp + ecx*4 - 0x44], eax
jmp 0x65d48d
cmp eax, 0x107c
jne 0x65d421
mov eax, dword [ebp - 0x5c]
lea ecx, [eax - 0x38]
cmp ecx, 0x6c
ja 0x65d48d
test al, 3
jne 0x65d48d
add eax, 0xffffffc8
shr eax, 2
cmp eax, 0x1b
ja 0x65d48d
movzx ecx, byte [ebp - 0x60]
shr ecx, 3
and ecx, 7
mov ecx, dword [ebp + ecx*4 - 0x44]
sub ecx, dword [ebp - 8]
jmp 0x65d452
cmp eax, 0x10b8
jne 0x65d468
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [ebp - 8]
jbe 0x65d48d
sub ecx, dword [ebp - 8]
cmp dword [ebp + 0xc], ecx
jbe 0x65d48d
mov eax, dword [ebp - 0x5c]
lea edx, [eax - 0x38]
cmp edx, 0x6c
ja 0x65d48d
test al, 3
jne 0x65d48d
add eax, 0xffffffc8
shr eax, 2
cmp eax, 0x1b
ja 0x65d48d
imul eax, eax, 0x1c
add eax, edi
mov dword [eax + 4], ecx
add ecx, ebx
inc dword [ebp + 8]
mov byte [ebp - 1], 1
mov dword [ebp - 0xc], eax
jmp 0x65d48a
cmp eax, 0x107e
je 0x65d48d
cmp dword [ebp + 8], 1
ja 0x65d49c
jne 0x65d48d
xor ecx, ecx
mov dword [ebp + 8], ecx
cmp dword [ebp - 0xc], ecx
je 0x65d48d
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], ecx
mov dword [ebp - 0xc], ecx
mov dword [eax + 8], ecx
add esi, dword [ebp - 0x50]
mov dword [ebp - 0x10], esi
cmp esi, dword [ebp - 0x14]
jb 0x65d39a
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x427466
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.0049ab41
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0049ab41
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.0049ab41
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 0xd
call fcn.0049ab4d
cmp dword [ebp - 0x20], esp
je 0x427523
push 6
call fcn.0049ab47
add esp, 4
mov dword [ebp - 4], eax
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42753c
push ebx
call fcn.0049ab53
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0xe
call fcn.0049ab4d
cmp dword [ebp - 0x20], esp
je 0x42756b
push 6
call fcn.0049ab47
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x586aaf
mov eax, 0xf
call fcn.0049ab4d
cmp dword [ebp - 0x20], esp
je 0x427595
push 6
call fcn.0049ab47
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 0x10
call fcn.0049ab4d
cmp dword [ebp - 0x20], esp
je 0x427629
push 6
call fcn.0049ab47
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 0x11
call fcn.0049ab4d
cmp dword [ebp - 0x20], esp
je 0x42764e
push 6
call fcn.0049ab47
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x427656
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x427667
push ebx
call fcn.0049ab53
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0049ab53
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0049ab53
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.0049ab53
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x4421da
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x4421fc
mov eax, 0xfffffffd
jmp 0x4422d9
mov ebx, dword [0x938084]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x4422a7
mov ebx, dword [0x938084]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x44224b
mov ebx, dword [0x938084]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x44224b
mov eax, 1
jmp 0x44224d
xor eax, eax
test eax, eax
je 0x442279
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x442262
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x938084]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x4422cf
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x4422d9
mov esp, ebp
pop ebp
ret 4
Function at 0x469b7d
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.0049ab41
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0049ab41
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.0049ab41
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 0xa1
call fcn.0049ab4d
cmp dword [ebp - 0x20], esp
je 0x469c3a
push 6
call fcn.0049ab47
add esp, 4
mov dword [ebp - 4], eax
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x469c53
push ebx
call fcn.0049ab53
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0xa2
call fcn.0049ab4d
cmp dword [ebp - 0x20], esp
je 0x469c82
push 6
call fcn.0049ab47
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x586aaf
mov eax, 0xa3
call fcn.0049ab4d
cmp dword [ebp - 0x20], esp
je 0x469cac
push 6
call fcn.0049ab47
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 0xa4
call fcn.0049ab4d
cmp dword [ebp - 0x20], esp
je 0x469d40
push 6
call fcn.0049ab47
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 0xa5
call fcn.0049ab4d
cmp dword [ebp - 0x20], esp
je 0x469d65
push 6
call fcn.0049ab47
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x469d6d
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x469d7e
push ebx
call fcn.0049ab53
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0049ab53
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0049ab53
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.0049ab53
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x46c5bf
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
and eax, 1
leave
ret
Function at 0x49930f
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x499330
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x499327
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x49931f
mov eax, ebx
leave
ret

Function at 0x499356
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x4993b5
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x4993e2
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x4993d1
xor ecx, eax
xor edx, ebx
dec edi
jne 0x4993c2
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x499408
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x4993a9
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8

Function at 0x499a87
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
jmp 0x499a8f
sub esp, 0x28
push ecx
mov ecx, dword [ebp + 8]
cmp ecx, 0
jle 0x499ad4
mov eax, dword [ecx]
mov dword [ebp - 8], eax
cmp word [ebp - 8], 0x5a4d
jne 0x499ad4
lea eax, [ecx + 0x3c]
mov eax, dword [eax]
add ecx, eax
mov eax, dword [ecx]
cmp eax, 0x4550
jne 0x499ad4
lea eax, [ecx + 0x16]
mov eax, dword [eax]
cwde
and eax, 0x2000
test eax, eax
je 0x499ad4
lea eax, [ecx + 0x28]
mov eax, dword [eax]
add eax, dword [ebp + 8]
jmp 0x499ad8
xor eax, eax
jmp 0x499b03
nop
push 0
push 0
push 0
call eax
call fcn.00499b08
push 0x700ed6df
push eax
push 0
call fcn.00499b5b
push 0
push 0x8000
push 0
push dword [ebp + 8]
push 0xffffffffffffffff
call eax
pop ecx
leave
ret 4
Function at 0x499b08
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x499b36
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x499b2d
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x499b25
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x499b57
mov esp, ebp
pop ebp
ret

Function at 0x499b5b
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x499bc7
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x499bf4
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x499be3
xor ecx, eax
xor edx, ebx
dec edi
jne 0x499bd4
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x499c1a
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x499bbb
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x499c46
mov esp, ebp
pop ebp
ret 0xc
Function at 0x499c5c
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x499c6c
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jle 0x499d7a
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cwde
call fcn.00499d8a
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a4d
jne 0x499d7a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call fcn.00499d8a
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4550
jne 0x499d7a
pop eax
push eax
mov eax, dword [eax + 0x7c]
call fcn.00499d8a
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x499d7a
pop eax
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop eax
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x499d77
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.00499d9d
test eax, eax
je 0x499d66
push ecx
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop ecx
leave
ret 8
push dword [ebp - 8]
call fcn.00499dd1
add dword [ebp - 0xc], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x499d21
add esp, 0xc
mov eax, 0
jmp 0x499d84
mov esp, ebp
pop ebp
ret 8
Function at 0x4ab790
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x56eedb
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.005608cb
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4ab812
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0055dcd0
mov eax, dword [eax]
push 0x917db8
push eax
call fcn.0054dd84
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00560b56
test bl, bl
je 0x4ab812
push 0x917db8
lea ecx, [esp + 0xc]
call fcn.00560f32
push 0x917dc4
lea ecx, [esp + 0xc]
call fcn.00560f32
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 0x4ab84e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00560b56
jmp 0x4ab919
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 0x4ab8d2
lea edx, [esp + 0x7c]
push 0x917dc0
push edx
call fcn.0054dd84
add esp, 8
test eax, eax
je 0x4ab8d2
lea eax, [esp + 0x7c]
push 0x917dbc
push eax
call fcn.0054dd84
add esp, 8
test eax, eax
je 0x4ab8d2
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 0x4ab862
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.00560b56
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 0x4ac130
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 0x4ac192
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 0x4ac1a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x56ef5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x9335e8]
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 0x4ac2d8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4ac206
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00560b56
xor eax, eax
jmp 0x4ac34f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00560cdf
push esi
lea ecx, [esp + 0xc]
call fcn.00560f6e
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x917df8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4ac32d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push bind
call fcn.004ac130
test eax, eax
jne 0x4ac32d
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 bind
mov ecx, edi
call fcn.004ac130
test eax, eax
jne 0x4ac32d
lea eax, [esp + 0x14]
push 0x917dd4
push eax
call fcn.0054efa0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4ac30c
lea ecx, [esp + 0x14]
push 0x917dd0
push ecx
call fcn.0054ef20
mov esi, eax
add esp, 8
test esi, esi
jne 0x4ac30c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4ac30f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00560c8f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4ac21e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00560b56
xor eax, eax
jmp 0x4ac34f
mov byte [esi], 0
push 0x917dcc
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.00560b56
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