joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40488d
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x4048be
mov eax, dword fs:[4]
mov dword [ebp + 8], eax
mov eax, dword fs:[8]
mov dword [ebp - 4], eax
cmp ebx, dword [ebp - 4]
jb 0x4048c5
cmp ebx, dword [ebp + 8]
jae 0x4048c5
xor eax, eax
jmp 0x404ab5
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x4048d6
xor eax, eax
inc eax
jmp 0x404ab4
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4048ec
cmp ecx, edx
jae 0x404a31
cmp dword [eax + 4], 0
je 0x4048f5
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x4048dd
cmp dword [ebp + 8], 0
je 0x404917
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x404a31
cmp eax, esi
jae 0x404a31
mov eax, dword [0x40a1f0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x40493c
cmp dword [esi*4 + 0x40a1f8], edi
je 0x404a35
inc esi
cmp esi, eax
jl 0x40492a
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x4070b4]
test eax, eax
je 0x404ab1
cmp dword [ebp - 8], 0x1000000
jne 0x404ab1
test byte [ebp - 0xc], 0xcc
je 0x4049ba
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x404ab1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x404ab1
cmp word [eax + 0x18], 0x10b
jne 0x404ab1
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x404ab1
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x4049ba
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x4049ba
test byte [ecx + 0x27], 0x80
jne 0x404a31
push 1
push 0x40a238
call dword [0x4070b0]
test eax, eax
jne 0x4048ce
mov ecx, dword [0x40a1f0]
test ecx, ecx
mov edx, ecx
jle 0x4049ee
lea eax, [ecx*4 + 0x40a1f4]
cmp dword [eax], edi
je 0x4049ee
dec edx
sub eax, 4
test edx, edx
jg 0x4049e2
test edx, edx
jne 0x404a1f
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4049fb
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x404a13
lea eax, [edx*4 + 0x40a1f8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x404a01
cmp ecx, 0x10
jge 0x404a1f
inc ecx
mov dword [0x40a1f0], ecx
push 0
push 0x40a238
call dword [0x4070b0]
jmp 0x4048ce
xor eax, eax
jmp 0x404ab4
test esi, esi
jle 0x4048ce
mov ebx, dword [0x4070b0]
push 1
push 0x40a238
call ebx
test eax, eax
jne 0x4048ce
cmp dword [esi*4 + 0x40a1f8], edi
je 0x404a8b
mov eax, dword [0x40a1f0]
lea esi, [eax - 1]
test esi, esi
jl 0x404a79
cmp dword [esi*4 + 0x40a1f8], edi
je 0x404a75
dec esi
jns 0x404a69
test esi, esi
jge 0x404a89
cmp eax, 0x10
jge 0x404a84
inc eax
mov dword [0x40a1f0], eax
lea esi, [eax - 1]
jmp 0x404a8b
je 0x404aa3
xor ecx, ecx
test esi, esi
jl 0x404aa3
lea eax, [ecx*4 + 0x40a1f8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x404a91
push 0
push 0x40a238
call ebx
jmp 0x4048ce
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x6d711fdb
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x6e38501e
nop
nop
nop
nop
test eax, eax
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ed0
nop
nop
mov ecx, 0x768c2abf
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x7d376ee9
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
jmp int.00401219
Function at 0x4011e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [0x418170]
test eax, eax
jne 0x4011f9
pop edi
pop ebx
ret
push esi
push eax
call dword [0x418174]
mov esi, eax
test esi, esi
je 0x401234
push edi
push ebx
call dword [0x418178]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401230
lea ebx, [ebx]
cmp esi, eax
jae 0x401234
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401220
cmp esi, eax
jb 0x40123a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4014f0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [0x418014]
ret 8

Function at 0x401510
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x401524
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [0x41818c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [0x418014]
pop edi
pop esi
ret 0xc

Function at 0x401550
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x401566
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [0x41818c]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x401573
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [0x418014]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x401ee0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x41e8b8]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ecx + 4]
push edi
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x1c]
push ecx
xor ebx, ebx
or esi, 0x2001f
push esi
push ebx
push edx
push eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
call dword [0x418010]
mov ecx, dword [esp + 0x10]
mov edi, eax
cmp edi, ebx
jne 0x401f5f
xor eax, eax
cmp ecx, ebx
je 0x401f47
push ecx
call dword [0x418008]
mov ecx, dword [esp + 0x1c]
and esi, 0x300
mov edi, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
cmp eax, ebx
je 0x401f83
cmp ecx, ebx
je 0x401f6a
push ecx
call dword [0x418008]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0040ac0c
mov esp, ebp
pop ebp
ret 4
mov esi, dword [0x41801c]
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
push ebx
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x44]
push edx
push ebx
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x401fea
jmp 0x401fb0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.00401ee0
mov edi, eax
cmp edi, ebx
jne 0x402039
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x44]
push eax
push ebx
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x401fb0
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x401ffd
push eax
call dword [0x418008]
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
mov dword [esp + 0x18], ebx
call fcn.00401380
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x402020
push eax
call dword [0x418008]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0040ac0c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x402048
push eax
call dword [0x418008]
mov ecx, dword [esp + 0x234]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040ac0c
mov esp, ebp
pop ebp
ret 4
Function at 0x404980
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x416a20
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x41e8b8]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov edi, dword [ebp + 0x414]
mov ebx, dword [ebp + 0x418]
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [0x4180d8]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x404a02
call fcn.004012d0
mov edi, eax
jmp 0x404ae4
push ebx
push edi
push esi
call dword [0x41816c]
mov edi, eax
test edi, edi
jne 0x404a1b
call fcn.004012d0
jmp 0x404adb
push edi
push esi
call dword [0x418170]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x404a36
call fcn.004012d0
jmp 0x404adb
push edi
push esi
call dword [0x418178]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x18], edi
cmp eax, edi
jae 0x404a6c
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x404a5a
lea ecx, [ebp]
call fcn.00401c20
lea ecx, [ebp - 0x20]
call fcn.00401bb0
mov eax, 0x8007000e
jmp 0x404af6
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00402a40
mov dword [ebp - 4], 1
jmp 0x404a98
mov eax, dword [ebp]
test eax, eax
jne 0x404aa6
mov edi, 0x8007000e
jmp 0x404add
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [0x418100]
test eax, eax
jne 0x404abf
call fcn.004012d0
jmp 0x404adb
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.004043d0
mov edi, eax
push esi
call dword [0x4180dc]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x404af4
lea ecx, [ebp]
call fcn.00401c20
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 + 0x404]
xor ecx, ebp
call fcn.0040ac0c
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10
Function at 0x405350
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push 0xffffffffffffffff
push 0x416ae8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x41e8b8]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
mov eax, dword [0x41e8b8]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x98]
push 0x41
lea eax, [esp + 0x44]
push 0
push eax
mov esi, ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0
call fcn.0040b8e0
xor eax, eax
add esp, 0xc
push eax
push 0x418850
mov ecx, ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], ax
call fcn.00403fb0
test esi, esi
je 0x4054ae
mov ebx, dword [esi + 8]
mov esi, dword [esi + 4]
push 0xf0000000
push 1
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
call dword [0x418028]
test eax, eax
je 0x4054ae
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x8004
push eax
call dword [section..rdata]
test eax, eax
je 0x4054ae
mov ecx, dword [esp + 0x10]
push 0
push ebx
push esi
push ecx
call dword [0x418030]
test eax, eax
je 0x4054ae
mov ecx, dword [esp + 0x10]
xor eax, eax
push eax
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov byte [esp + 0x44], al
lea eax, [esp + 0x30]
push eax
push 2
push ecx
mov dword [esp + 0x28], 0x14
call dword [0x418034]
test eax, eax
je 0x4054ae
xor esi, esi
mov edi, edi
movzx edx, byte [esp + esi + 0x28]
xor eax, eax
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov word [esp + 0x28], ax
lea eax, [esp + 0x20]
push str._02x
push eax
call fcn.00401e40
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x50]
push 0x41
push edx
call fcn.0040b31f
inc esi
add esp, 0x18
cmp esi, 0x14
jb 0x405470
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x18]
call fcn.00405200
push eax
mov ecx, ebp
mov dword [esp + 0x94], 0
call fcn.004047d0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x90], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4054fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x405509
push eax
call dword [0x418038]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x405522
push 0
push eax
call dword [0x418020]
mov ecx, dword [ebp]
mov eax, dword [ecx - 0xc]
jmp 0x405528
mov edx, dword [ebp]
mov eax, dword [edx - 0xc]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0040ac0c
add esp, 0x84
ret
Function at 0x405ec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x416bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41e8b8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
xor edi, edi
sub eax, 0x10
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
cmp dword [eax + 0xc], 1
mov byte [esp + 0x17], 0
jle 0x405f0c
mov eax, dword [eax + 4]
push eax
call fcn.00402280
mov esi, dword [esi]
push edi
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x40]
push edx
push edi
push 2
push 0x400
push esi
push 1
call dword [0x418058]
cmp eax, edi
je 0x406035
mov ebx, dword [0x418048]
mov ebp, 0x1e
xor esi, esi
mov edi, edi
mov eax, dword [esp + 0x1c]
push esi
push eax
call dword [0x41805c]
mov edi, eax
test edi, edi
je 0x406035
mov eax, dword [edi + 0xc]
test eax, eax
je 0x406032
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 0x30]
mov esi, dword [eax + 0x1c]
mov eax, dword [eax + 0x34]
cmp edx, ecx
jne 0x405fbe
cmp ecx, 4
jb 0x405f9a
mov edx, dword [esi]
cmp edx, dword [eax]
jne 0x405fbe
sub ecx, 4
add eax, 4
add esi, 4
cmp ecx, 4
jae 0x405f86
test ecx, ecx
je 0x405fca
mov dl, byte [eax]
cmp dl, byte [esi]
jne 0x405fbe
cmp ecx, 1
jbe 0x405fca
mov dl, byte [eax + 1]
cmp dl, byte [esi + 1]
jne 0x405fbe
cmp ecx, 2
jbe 0x405fca
mov al, byte [eax + 2]
cmp al, byte [esi + 2]
je 0x405fca
push edi
dec ebp
mov esi, edi
call ebx
test ebp, ebp
jg 0x405f50
jmp 0x406035
mov edx, dword [0x41f8e8]
mov eax, dword [edx + 0xc]
mov ecx, 0x41f8e8
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esp + 0x3c], 0
call fcn.00405350
add esp, 4
lea esi, [esp + 0x18]
call fcn.00405d20
test al, al
je 0x40600a
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406032
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call ebx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x406046
push 0
push eax
call dword [0x418044]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x406055
push eax
call dword [0x418040]
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x4067f0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x416cf8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41e8b8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x30]
push ebp
xor bl, bl
call fcn.00403bf0
mov edi, eax
cmp edi, 0xffffffff
je 0x4069b0
test edi, edi
jl 0x40699f
cmp edi, dword [esi + 8]
jge 0x40699f
mov eax, dword [esi + 4]
lea ecx, [eax + edi*8]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x18], eax
test eax, eax
je 0x406983
cmp ecx, 2
jge 0x406983
push eax
call dword [0x4180dc]
push edi
mov ecx, esi
mov ebx, 1
call fcn.00403a90
push str..new
lea ecx, [esp + 0x34]
push ebp
push ecx
call fcn.00404580
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0
call fcn.00404de0
lea eax, [esp + 0x24]
push eax
mov ecx, ebp
mov byte [esp + 0x3c], bl
call fcn.00404de0
add esp, 0x14
lea eax, [esp + 0x30]
mov byte [esp + 0x28], 2
call fcn.004037e0
test al, al
je 0x406910
lea edi, [esp + 0x30]
call fcn.00406370
test al, al
je 0x406905
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00405940
add esp, 8
cmp eax, ebx
jne 0x4068fe
mov ebp, dword [ebp]
mov eax, dword [esp + 0x30]
push ebx
push ebp
push eax
call dword [0x418070]
test eax, eax
je 0x406910
mov ecx, dword [esp + 0x30]
push ecx
jmp 0x40690a
mov edx, dword [esp + 0x30]
push edx
jmp 0x40690a
mov eax, dword [esp + 0x30]
push eax
call dword [0x41806c]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406934
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406959
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4069b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4069b2
dec ecx
mov dword [esp + 0x1c], ecx
push edi
mov ecx, esi
call fcn.00403a90
lea ecx, [esp + 0x18]
push ecx
push ebp
mov ecx, esi
call fcn.00404670
jmp 0x4069b2
push 0
push 0
push 1
push 0xc000008c
call dword [0x418184]
mov bl, 1
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x4082b0
Capabilities:
Get session user name

Disassembly:
sub esp, 0x80c
mov eax, dword [0x41e8b8]
xor eax, esp
mov dword [esp + 0x808], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0xc], 0x800
call dword [0x418024]
lea edx, [esp]
push edx
push 1
lea eax, [esp + 0x10]
push eax
push 0
call fcn.0040a45a
test eax, eax
je 0x408309
xor al, al
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.0040ac0c
add esp, 0x80c
ret
mov eax, dword [esp]
cmp dword [eax + 0xc], 2
push ebx
push eax
sete bl
call fcn.0040a454
mov ecx, dword [esp + 0x80c]
mov al, bl
pop ebx
xor ecx, esp
call fcn.0040ac0c
add esp, 0x80c
ret

Function at 0x408e60
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push 0xffffffffffffffff
push 0x416f33
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x41e8b8]
xor eax, esp
mov dword [esp + 0x234], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41e8b8]
xor eax, esp
push eax
lea eax, [esp + 0x24c]
mov dword fs:[0], eax
push 0
push 2
mov dword [esp + 0x25c], 0
call fcn.0040a0c2
mov esi, eax
or edi, 0xffffffff
mov dword [esp + 0x14], esi
cmp esi, edi
je 0x408ede
test esi, esi
je 0x408ede
lea eax, [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x24], 0x22c
call fcn.0040a0ce
test eax, eax
jne 0x408f2d
push esi
call dword [0x4180ec]
mov eax, dword [esp + 0x25c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov dword [esp + 0x254], edi
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x408f05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.0040ac0c
add esp, 0x244
ret
mov eax, dword [esp + 0x25c]
add eax, 0xfffffff0
push eax
call fcn.00401c70
lea ebx, [eax + 0x10]
add esp, 4
mov dword [esp + 0x18], ebx
mov edi, dword [0x4180ec]
mov ebp, dword [0x418088]
mov byte [esp + 0x254], 1
jmp 0x408f60
cmp dword [ebx - 4], 1
jle 0x408f77
mov ecx, dword [ebx - 0xc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402280
mov ebx, dword [esp + 0x18]
push ebx
lea edx, [esp + 0x44]
push edx
call dword [0x418220]
test eax, eax
jne 0x408fb0
mov eax, dword [esp + 0x24]
push eax
push 0
push 1
call dword [0x418098]
mov esi, eax
test esi, esi
je 0x408fac
push 0
push esi
call dword [0x418094]
push esi
call edi
push 5
call ebp
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push esi
call fcn.0040a0c8
test eax, eax
jne 0x408f60
push esi
call edi
push 5
call ebp
lea eax, [ebx - 0x10]
mov byte [esp + 0x254], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408fea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x25c]
add eax, 0xfffffff0
mov dword [esp + 0x254], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x408ef9
Function at 0x409020
Capabilities:
Log keystrokes

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push eax
push 0
call dword [0x418230]
mov esi, eax
test esi, esi
je 0x4090f5
mov ebx, dword [0x41822c]
lea ecx, [esp + 0xc]
push ecx
push esi
call ebx
mov ebp, eax
call dword [0x4180a0]
cmp dword [esp + 0xc], eax
jne 0x4090f5
push edi
mov edi, dword [0x418228]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call edi
push 1
call dword [0x418088]
call dword [0x418260]
push 0
push eax
call ebx
push 1
mov ebx, eax
push ebp
push ebx
call dword [0x418244]
push esi
call dword [0x41825c]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call edi
push esi
call dword [0x418258]
push esi
call dword [0x418254]
push 0
push ebp
push ebx
call dword [0x418244]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call edi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
pop edi
test ecx, ecx
jg 0x4090ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409115
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret