joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b2c3
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.0040f5f0
mov esi, dword [0x417288]
add esp, 0xc
mov edi, 0x419294
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call esi
mov ebx, dword [0x417284]
lea eax, [ebp - 0x208]
push eax
call ebx
test eax, eax
jne 0x40b31c
xor eax, eax
jmp 0x40b383
push str.REGRES.EXE
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call esi
lea eax, [ebp - 0x208]
push eax
call ebx
test eax, eax
je 0x40b318
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
xor ebx, ebx
call esi
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
lea eax, [ebp - 0x208]
push eax
call dword [0x4170e0]
mov esi, eax
cmp esi, 0xffffffff
je 0x40b381
push ebx
push ebx
push dword [ebp + 0xc]
push esi
call dword [0x41710c]
test eax, eax
je 0x40b37a
inc ebx
push esi
call dword [0x41709c]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40b388
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8c
push ebx
push esi
push edi
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x468], ax
xor esi, esi
lea eax, [ebp - 0x466]
push esi
push eax
call fcn.0040f5f0
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.0040b2c3
pop ecx
pop ecx
test eax, eax
je 0x40b41c
push 8
lea eax, [ebp - 0x678]
push esi
push eax
call fcn.0040f5f0
mov edx, dword [ebp + 8]
add esp, 0xc
lea eax, [ebp - 0xa88]
push eax
lea ecx, [edi + 2]
call fcn.00401fb7
lea eax, [ebp - 0xa88]
push eax
call dword [0x417278]
push 8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x678]
push eax
call fcn.0040fb80
mov ebx, dword [ebp + 0xc]
add esp, 0xc
lea eax, [ebp - 0xa88]
push eax
call fcn.0040c38c
mov ebx, dword [0x417288]
push 0x41a464
push dword [ebp + 8]
lea eax, [ebp - 0x468]
push eax
call ebx
push 0x24c
lea eax, [ebp - 0x25c]
push esi
push eax
mov dword [ebp - 0x260], esi
call fcn.0040f5f0
add esp, 0xc
push esi
push esi
push 1
lea eax, [ebp - 0x260]
push eax
push esi
lea eax, [ebp - 0x468]
push eax
call dword [0x417110]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x40b506
xor eax, eax
push edi
mov word [ebp - 0x670], ax
lea eax, [ebp - 0x66e]
push esi
push eax
call fcn.0040f5f0
mov esi, dword [0x4171fc]
add esp, 0xc
mov eax, dword [ebp - 0x260]
and eax, 0x10
cmp al, 0x10
jne 0x40b4e8
lea eax, [ebp - 0x234]
push eax
push 0x41aa30
call esi
test eax, eax
je 0x40b4e8
lea eax, [ebp - 0x234]
push eax
push 0x41aa34
call esi
test eax, eax
je 0x40b4e8
lea eax, [ebp - 0x234]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x670]
push eax
call ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x670]
push eax
call fcn.0040b388
pop ecx
pop ecx
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 4]
call dword [0x417114]
cmp eax, 1
je 0x40b493
push dword [ebp - 4]
call dword [0x417118]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b526
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
xor edi, edi
cmp eax, edi
je 0x40b546
push eax
call fcn.0040de46
pop ecx
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov eax, dword [0x41dddc]
mov ecx, 0x41dddc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edi
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push 0x418ee8
push eax
call fcn.0040389f
add esp, 0xc
push 0x41e9d0
push 0x208
lea eax, [ebp - 0x424]
push eax
push 0x419a78
push dword [ebp - 8]
push str.BackupDirs
call dword [0x41722c]
test eax, eax
je 0x40b627
lea eax, [ebp - 0x424]
push eax
call dword [0x417268]
lea eax, [ebp - 0x424]
push eax
call dword [0x4171f8]
cmp eax, 2
jl 0x40b627
lea eax, [ebp - 0x424]
push eax
call dword [0x417278]
lea edi, [ebp - 0x424]
lea esi, [ebp - 0x10]
call fcn.00403083
mov ebx, esi
call fcn.0040316d
call fcn.004031af
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x40b61c
push dword [ebp + 8]
push eax
call fcn.0040b388
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00404aac
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x3e8
mov esi, dword [ebp + 8]
jl 0x40b562
jmp 0x40b627
add eax, 0xfffffff0
call fcn.00404aac
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
jle 0x40b6b9
lea edi, [eax - 1]
mov dword [esi + 0xc], 0x40b50b
test edi, edi
je 0x40b6b9
test eax, eax
je 0x40b6b9
push edi
push 0
mov ecx, esi
call fcn.0040c5e7
mov eax, dword [esi]
mov dword [ebp + 8], eax
mov ebx, edi
test edi, edi
jle 0x40b6b9
imul edi, edi, 0x418
mov eax, dword [ebp + 8]
add eax, edi
lea ecx, [eax - 0x418]
push ecx
push eax
call dword [esi + 0xc]
pop ecx
pop ecx
test eax, eax
jne 0x40b6ae
test ebx, ebx
jl 0x40b6ae
mov eax, dword [esi + 4]
cmp ebx, eax
jge 0x40b6ae
lea ecx, [eax - 1]
cmp ebx, ecx
je 0x40b6ab
mov ecx, dword [esi]
sub eax, ebx
imul eax, eax, 0x418
lea edx, [eax - 0x418]
push edx
add ecx, edi
lea edx, [ecx + 0x418]
push edx
push eax
push ecx
call fcn.004046f3
add esp, 0x10
dec dword [esi + 4]
dec ebx
sub edi, 0x418
test ebx, ebx
jg 0x40b65f
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00404aac
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b7ed
Capabilities:
Delete directory
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa34
mov eax, dword [0x41dddc]
push ebx
push esi
push edi
mov edi, 0x41dddc
mov ecx, edi
call dword [eax + 0xc]
mov esi, dword [0x417288]
add eax, 0x10
push 0x419294
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x624]
push eax
call esi
xor ebx, ebx
push ebx
lea eax, [ebp - 0xc]
push 0x418ee8
push eax
call fcn.0040389f
add esp, 0xc
lea eax, [ebp - 0x624]
push eax
push 0x208
lea eax, [ebp - 0xa34]
push eax
push 0x419a78
push dword [ebp - 0xc]
push str.Files
call dword [0x41722c]
test eax, eax
je 0x40b8af
lea eax, [ebp - 0xa34]
push eax
call dword [0x417268]
lea eax, [ebp - 0xa34]
push eax
call dword [0x4171f8]
cmp eax, 2
jl 0x40b8af
lea eax, [ebp - 0xa34]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x41c]
push eax
call esi
lea eax, [ebp - 0x41c]
push eax
call dword [0x4170f0]
inc ebx
cmp ebx, 0x3e8
jl 0x40b827
mov ebx, dword [0x417120]
mov dword [ebp - 8], 1
mov eax, dword [0x41dddc]
mov ecx, edi
call dword [eax + 0xc]
push dword [ebp - 8]
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push str.Users_d
push eax
call fcn.0040389f
add esp, 0xc
push dword [ebp - 4]
lea eax, [ebp - 0x214]
push dword [ebp + 8]
push eax
call esi
lea eax, [ebp - 0x214]
push eax
call dword [0x417258]
test eax, eax
je 0x40b930
lea eax, [ebp - 0x214]
push eax
call dword [0x41728c]
test eax, eax
je 0x40b91a
lea eax, [ebp - 0x214]
push eax
call ebx
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00404aac
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x64
jl 0x40b8bc
jmp 0x40b93b
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00404aac
push str.Users
push dword [ebp + 8]
lea eax, [ebp - 0x214]
push eax
call esi
lea eax, [ebp - 0x214]
push eax
call ebx
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x214]
push eax
mov ecx, 0x104
call fcn.00401fb7
mov esi, dword [0x417254]
jmp 0x40b9a5
lea eax, [ebp - 0x214]
push eax
call dword [0x41728c]
test eax, eax
je 0x40b9b2
lea eax, [ebp - 0x214]
push eax
call ebx
lea eax, [ebp - 0x214]
push eax
call dword [0x417264]
lea eax, [ebp - 0x214]
push eax
call dword [0x417280]
lea eax, [ebp - 0x214]
push eax
call esi
test eax, eax
je 0x40b971
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00404aac
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40be3d
Capabilities:
Create thread

Disassembly:
push ecx
push ecx
push ebx
xor ebx, ebx
push ebp
push edi
cmp dword [esi + 8], ebx
je 0x40be53
mov eax, 0x8000ffff
jmp 0x40bf48
lea edi, [esi + 0x24]
mov ecx, edi
call fcn.00406c4c
cmp eax, ebx
jl 0x40bf48
mov ebp, dword [0x4170b0]
push ebx
push ebx
push ebx
push ebx
mov byte [edi + 0x18], 1
call ebp
mov dword [esi + 0x40], eax
cmp eax, ebx
jne 0x40be96
cmp byte [edi + 0x18], bl
je 0x40be8b
push edi
mov byte [edi + 0x18], bl
call dword [0x417080]
pop edi
pop ebp
pop ebx
add esp, 8
jmp fcn.00406e8e
push ebx
push ebx
push ebx
push ebx
call ebp
mov edi, eax
cmp edi, ebx
jne 0x40bec1
call fcn.00406e8e
mov edi, eax
mov eax, esi
call fcn.0040c0d5
cmp eax, ebx
jge 0x40beba
cmp edi, ebx
jl 0x40beba
mov edi, eax
mov eax, edi
jmp 0x40bf48
push ebx
push ebx
push edi
mov eax, esi
call fcn.0040bf4e
cmp eax, ebx
mov dword [esp + 0x10], eax
jge 0x40bee7
push edi
call dword [0x41709c]
mov eax, esi
call fcn.0040c0d5
mov eax, dword [esp + 0x10]
jmp 0x40bf48
push ebx
push ebx
push ebx
push ebx
call ebp
mov edi, eax
cmp edi, ebx
je 0x40bea2
push ebx
push ebx
push edi
mov eax, esi
call fcn.0040bf4e
mov ebp, eax
cmp ebp, ebx
jge 0x40bf13
push edi
call dword [0x41709c]
mov eax, esi
call fcn.0040c0d5
jmp 0x40bf46
lea eax, [esi + 4]
push eax
push ebx
push esi
push 0x40c549
push ebx
push ebx
call dword [0x4170a0]
mov dword [esi], eax
cmp eax, ebx
je 0x40bea2
push 0xffffffffffffffff
push dword [esi + 0x40]
call dword [0x417210]
test eax, eax
je 0x40bf46
call fcn.00406e8e
mov ebp, eax
mov eax, ebp
pop edi
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x40c949
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x3c
push edi
xor edi, edi
cmp dword [eax - 0xc], edi
jne 0x40c980
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00404aac
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.00404aac
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.00404aac
mov eax, edi
pop edi
leave
ret
push 0x3c
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.0040f5f0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x4400
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], edi
mov ecx, dword [eax - 0xc]
add esp, 0xc
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x28], ecx
call dword [0x41723c]
mov edi, eax
jmp 0x40c95a

Function at 0x40ca2b
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
xor ebx, ebx
inc ebx
call dword [0x417228]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
jne 0x40ca65
call dword [0x417218]
test eax, eax
je 0x40ca65
xor ebx, ebx
and dword [esi], ebx
and dword [esi + 4], ebx
jmp 0x40ca70
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
mov eax, ebx
pop ebx
leave
ret
Function at 0x40d21b
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x41d044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor esi, esi
push esi
push 0x41744c
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d2f0
push edi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push esi
push dword [ebp - 0x10c]
mov edi, 0x104
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40d2df
cmp dword [ebp - 0x114], 2
mov byte [ebp - 5], al
lea eax, [ebp - 0x108]
jne 0x40d2c9
push edi
push dword [ebp - 0x110]
push eax
call dword [0x417134]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb esi, esi
inc esi
jmp 0x40d2df
push eax
push edi
push dword [ebp - 0x110]
call fcn.0040d1b8
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
jmp 0x40d2f2
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004100cc
leave
ret 4

Function at 0x40d84b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x41dd60], 0
push esi
jne 0x40d7be
call fcn.0040d6e4
test eax, eax
je 0x40d801
mov eax, dword [0x41dd60]
cmp eax, 1
jne 0x40d7df
push 0xd
push 0
call dword [0x4171e0]
push eax
call dword [0x4171dc]
test eax, eax
je 0x40d801
pop esi
ret
push eax
call dword [0x41dd68]
test eax, eax
jne 0x40d849
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [0x4171cc]
mov esi, eax
test esi, esi
jne 0x40d805
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x41dd60]
call dword [0x41dd68]
mov edi, eax
test edi, edi
je 0x40d82a
push 0x8000
push 0
push esi
call dword [0x4171d0]
jmp 0x40d846
mov edi, esi
add esi, 0xff0
push edi
push dword [0x41dd60]
call dword [0x41dd64]
add edi, 0x10
cmp edi, esi
jb 0x40d832
mov eax, edi
pop edi
pop esi
ret
jmp 0x40d7ab

Function at 0x4100cc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41d044]
jne 0x4100d6
repz ret
jmp fcn.00413399
Function at 0x413a57
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00411fc5
and dword [ebp - 4], 0
cmp dword [0x41e868], 0
mov ebx, eax
jne 0x413b08
push 0x417ce4
call dword [0x417138]
mov edi, eax
test edi, edi
je 0x413bb9
mov esi, dword [0x41706c]
push 0x417cd8
push edi
call esi
test eax, eax
je 0x413bb9
push eax
call fcn.00411f53
mov dword [esp], 0x417cc8
push edi
mov dword [0x41e868], eax
call esi
push eax
call fcn.00411f53
mov dword [esp], 0x417cb4
push edi
mov dword [0x41e86c], eax
call esi
push eax
call fcn.00411f53
mov dword [esp], 0x417c98
push edi
mov dword [0x41e870], eax
call esi
push eax
call fcn.00411f53
pop ecx
mov dword [0x41e878], eax
test eax, eax
je 0x413b08
push 0x417c80
push edi
call esi
push eax
call fcn.00411f53
pop ecx
mov dword [0x41e874], eax
mov eax, dword [0x41e874]
cmp eax, ebx
je 0x413b60
cmp dword [0x41e878], ebx
je 0x413b60
push eax
call fcn.00411fce
push dword [0x41e878]
mov esi, eax
call fcn.00411fce
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413b60
test edi, edi
je 0x413b60
call esi
test eax, eax
je 0x413b57
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413b57
test byte [ebp - 0xc], 1
jne 0x413b60
or dword [ebp + 0x10], 0x200000
jmp 0x413b99
mov eax, dword [0x41e86c]
cmp eax, ebx
je 0x413b99
push eax
call fcn.00411fce
pop ecx
test eax, eax
je 0x413b99
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413b99
mov eax, dword [0x41e870]
cmp eax, ebx
je 0x413b99
push eax
call fcn.00411fce
pop ecx
test eax, eax
je 0x413b99
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41e868]
call fcn.00411fce
pop ecx
test eax, eax
je 0x413bb9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413bbb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x615037
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ebx, ecx
lea edx, [edx + edi]
xor ecx, esi
rdtsc
rdtsc
bswap edi
jmp 0x615005
setbe dh
mov dl, byte [esp]
mov bx, sp
mov ax, word [esp]
jmp 0x615073
pop esi
rdtsc
xchg dh, al
rdtsc
mov dl, 0x3c
mov al, byte [esp]
jmp 0x614ff2
lea eax, [ebx + ebp]
rcr ah, 1
jmp 0x61501b
mov dl, dh
mov ebx, 0x320f8bbc
inc cl
pushal
mov dword [esp + 0x1d], eax
mov cl, ch
jmp 0x6150a7
xchg di, bx
mov byte [esp + 1], ch
pop word [esp]
lea ebx, [ebp - 0x17]
add al, dh
xchg edx, ebx
jmp 0x61503e
mov ebp, 0xb6acca34
mov ebp, 0x8c287d7c
mov ecx, dword [esp]
mov cx, word [esp]
bswap edi
push edx
jmp 0x615055
inc ebx
lea esi, [edx*4]
lea esp, [esp + 0xd]
add eax, ebp
xchg edi, edx
lea ebp, [ecx*4]
jmp 0x6150e0
xchg dh, al
pop ax
neg ah
mov edx, 0xea9b61da
bsr ax, bp
mov cx, 0x3d4b
jmp 0x615089
btr ecx, edx
add esp, 1
push edx
not ebp
xchg word [esp + 1], si
mov ebx, ecx
jmp 0x61514a
mov di, word [esp + 7]
mov edi, 0x1e49fc10
btr esi, edx
add bx, 0xb076
mov cl, 0x1a
xchg byte [esp + 0x10], dl
jmp 0x6150bc
neg esi
pop edi
bswap ebx
xchg dh, al
inc cx
rdtsc
jmp 0x61510d
lea ecx, [esp + ebp]
xchg si, di
add esp, 0xf
mov esi, dword [esp + 6]
mov eax, 0x67e69652
cld
jmp 0x615133

Function at 0x61540c
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x615479
inc cl
xchg edi, esi
clc
xchg ecx, eax
pop dword [esp + 2]
cmc
jmp 0x615461
add esp, 0x14
add esp, 5
xchg edx, esi
mov bh, byte [esp + 3]
rdtsc
xchg dword [esp + 4], edi
jmp 0x61540e

Function at 0x6156e0
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg ah, bl
clc
xchg dword [esp + 5], ecx
mov di, word [esp + 0x1f]
not cx
sete dh
jmp 0x6156e2
jmp 0x6156b8
mov ax, 0x1c03
mov ebp, 0x2974bd08
rdtsc
lea esp, [esp + 0xc]
mov al, ah

Function at 0x61581e
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 1]
xchg byte [esp + 3], cl
lea esp, [esp + 0xf]
bswap eax
mov al, 0x7e
inc cl
jmp 0x615820
mov dword [esp + 6], ebp
mov bx, 0x97a9
mov dx, word [esp + 0xe]
mov edx, dword [esp + 3]
mov byte [esp + 1], bh
jmp 0x6157e3
jmp 0x615803
mov si, word [esp + 1]
mov eax, 0x6edaea8e
pushal
push edx
mov edi, dword [esp + 2]
jmp 0x615896
xchg dx, bp
stc
bsf cx, si
xchg cx, bp
mov dl, 0xd4
jmp 0x6158a6
pushal
lea esp, [esp + 0x47]
btc ecx, ebx
lea esi, [ecx*4]
bswap ebx
jmp 0x615869
mov al, 0x9e
xchg dh, al
rdtsc
mov ebx, dword [esp + 0x13]
rdtsc
cpuid
jmp 0x61587f
mov di, 0xe1f9
mov bp, dx
mov ebp, eax
bswap edi
inc ecx
mov bl, 0x30
jmp 0x6158f9
popal
sub esp, 0x18
mov dword [esp + 0x13], eax
push word [esp + 0xf]
sub esp, 0x10
mov dword [esp + 0xb], ebp
jmp 0x6159a2
xchg di, cx
rcr ah, 1
mov bl, byte [esp]
rdtsc
rdtsc
mov bl, byte [esp]
jmp 0x6158d6
push 0x875c5359
add dword [esp], reloc.WINMM.dll_waveOutUnprepareHeader
call fcn.00615971
inc edx
imul esi, dword [edx + eax*2 + 0x6c], 0x840f0074
out 0xf4, eax
invalid
push word [esp + 0xb]
mov dword [esp + 0xb], eax
push edx
lea esp, [esp + 0x30]
popfd
jmp 0x61590a
Function at 0x40e760
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46dd2b
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.00462662
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40e7e2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046054d
mov eax, dword [eax]
push 0x4861c0
push eax
call fcn.00453274
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004628ed
test bl, bl
je 0x40e7e2
push 0x4861c0
lea ecx, [esp + 0xc]
call fcn.00462c7d
push 0x489d6c
lea ecx, [esp + 0xc]
call fcn.00462c7d
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 0x40e81e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004628ed
jmp 0x40e8e9
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 0x40e8a2
lea edx, [esp + 0x7c]
push 0x489d68
push edx
call fcn.00453274
add esp, 8
test eax, eax
je 0x40e8a2
lea eax, [esp + 0x7c]
push 0x489d64
push eax
call fcn.00453274
add esp, 8
test eax, eax
je 0x40e8a2
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 0x40e832
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.004628ed
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 0x40f0e0
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 0x40f142
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 0x40f150
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46ddab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4902d8]
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 0x40f288
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40f1b6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004628ed
xor eax, eax
jmp 0x40f2ff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00462a2a
push esi
lea ecx, [esp + 0xc]
call fcn.00462cb9
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 0x40f2dd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.0040f0e0
test eax, eax
jne 0x40f2dd
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 0x80000000
mov ecx, edi
call fcn.0040f0e0
test eax, eax
jne 0x40f2dd
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.00454410
mov esi, eax
add esp, 8
test esi, esi
jne 0x40f2bc
lea ecx, [esp + 0x14]
push 0x489d7c
push ecx
call fcn.00454390
mov esi, eax
add esp, 8
test esi, esi
jne 0x40f2bc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40f2bf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004629da
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40f1ce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004628ed
xor eax, eax
jmp 0x40f2ff
mov byte [esi], 0
push 0x489d78
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.004628ed
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