joyce8/EMBER2024-capa huggingface dataset:
Function at 0x60ec70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x712a88
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0x77467c
mov eax, dword [esi + 0x20]
mov edi, dword [eax + 8]
sub edi, dword [eax + 0xc]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
xor eax, eax
neg edi
adc eax, eax
push 1
neg eax
push eax
push edi
mov dword [esp + 0x24], 0
call edx
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x60ecd5
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0060e310
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x619330
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
movzx ecx, word [edx]
xor eax, eax
test cx, cx
je 0x61935d
mov edi, edi
movzx ecx, cx
add eax, ecx
imul eax, eax, 0x401
mov ecx, eax
shr ecx, 6
add edx, 2
xor eax, ecx
movzx ecx, word [edx]
test cx, cx
jne 0x619340
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
ret
Function at 0x61f5f0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x61f65a
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x61f65a
mov edx, dword [esp + 0xc]
push edx
push ecx
push eax
call fcn.0056a487
add esp, 0xc
cmp eax, 0xffffffff
jne 0x61f65c
call fcn.00600a10
test eax, eax
je 0x61f642
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 8]
push 0x7776c8
call eax
mov ecx, dword [esi]
push ecx
push eax
call fcn.0060b870
add esp, 8
or eax, 0xffffffff
pop esi
ret 8
mov ecx, dword [esi]
mov eax, 0x7776c8
push ecx
push eax
call fcn.0060b870
add esp, 8
or eax, 0xffffffff
pop esi
ret 8
xor eax, eax
pop esi
ret 8

Function at 0x623110
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x714570
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x829274]
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
push edi
push 0
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x34], 0
call fcn.00621d40
add esp, 0x1c
test esi, esi
je 0x6231b1
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x28]
push eax
mov edx, edi
call fcn.00621ff0
add esp, 8
push eax
mov ecx, esi
mov byte [esp + 0x1c], 1
call fcn.005e00a0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov byte [esp + 0x18], 0
je 0x6231b1
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x6231b1
call fcn.005fb120
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov dword [esp + 0x18], 0xffffffff
je 0x6231d4
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x6231d4
call fcn.005fb120
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x624550
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x714818
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x77144c
mov ecx, dword [esi + 0x30]
test ecx, ecx
mov dword [esp + 0x14], 0
je 0x624595
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x6245a4
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x6245b3
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.005fde20
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x62b260
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x715079
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x77a8ec
push 0
mov dword [esp + 0x18], 3
call fcn.00629720
mov ecx, esi
call fcn.0062b210
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x62b2b4
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
push 1
call edx
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx - 0xc]
sub ecx, 0xc
cmp eax, 0xffffffff
mov byte [esp + 0x14], 2
je 0x62b2d3
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x62b2d3
call fcn.005fb120
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx - 0xc]
sub ecx, 0xc
cmp eax, 0xffffffff
mov byte [esp + 0x14], 1
je 0x62b2f2
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x62b2f2
call fcn.005fb120
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx - 0xc]
sub ecx, 0xc
cmp eax, 0xffffffff
mov byte [esp + 0x14], 0
je 0x62b311
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x62b311
call fcn.005fb120
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.0061fea0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x65acf0
Capabilities:
Create thread

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, ecx
mov eax, dword [edi + 8]
lea ecx, [eax + 0x1c]
push ecx
push 4
push eax
push 0x65ac60
push 0
push 0
call fcn.0054e25d
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x65ad30
lea ecx, [esp + 8]
call fcn.0065a3b0
push 0x7f2f88
lea edx, [esp + 0xc]
push edx
call fcn.0054d859
mov eax, dword [edi + 8]
push esi
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov esi, dword [edi + 8]
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
je 0x65ad59
cmp eax, 0xffffffff
je 0x65ad59
push eax
call dword [0x744214]
mov dword [esi], ebx
mov edx, dword [edi + 8]
mov eax, dword [edx + 8]
push eax
call dword [0x744440]
pop esi
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x65d260
Capabilities:
Hash data using sha256

Disassembly:
mov eax, 0x70
call fcn.0054f130
push esi
mov esi, dword [esp + 0x80]
xor eax, eax
cmp esi, eax
jne 0x65d27d
mov esi, 0x872cbc
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x7c]
push eax
push ecx
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], 0x6a09e667
mov dword [esp + 0x14], 0xbb67ae85
mov dword [esp + 0x18], 0x3c6ef372
mov dword [esp + 0x1c], 0xa54ff53a
mov dword [esp + 0x20], 0x510e527f
mov dword [esp + 0x24], 0x9b05688c
mov dword [esp + 0x28], 0x1f83d9ab
mov dword [esp + 0x2c], 0x5be0cd19
mov dword [esp + 0x7c], 0x20
call fcn.0065ce20
lea eax, [esp + 0x10]
push eax
push esi
call fcn.0065cf00
lea ecx, [esp + 0x18]
push 0x70
push ecx
call fcn.00661670
add esp, 0x1c
mov eax, esi
pop esi
add esp, 0x70
ret

Function at 0x65e0b0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
lea eax, [ecx + 1]
ret

Function at 0x65e350
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
lea eax, [ecx + 1]
ret
Function at 0x6a46b0
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov ecx, 0x9e3779b9
xor esi, esi
push edi
mov dword [ebp + 8], eax
mov edi, ecx
cmp eax, 0xc
jb 0x6a475c
mov eax, 0xaaaaaaab
mul dword [ebp + 0xc]
shr edx, 3
mov edi, edi
add esi, dword [ebx + 8]
add ecx, dword [ebx + 4]
mov eax, dword [ebx]
sub eax, esi
sub eax, ecx
add eax, edi
sub ecx, esi
mov edi, esi
shr edi, 0xd
xor eax, edi
sub ecx, eax
mov edi, eax
shl edi, 8
xor ecx, edi
sub esi, ecx
sub esi, eax
mov edi, ecx
shr edi, 0xd
xor esi, edi
sub eax, esi
sub eax, ecx
mov edi, esi
shr edi, 0xc
xor eax, edi
sub ecx, esi
sub ecx, eax
mov edi, eax
shl edi, 0x10
xor ecx, edi
sub dword [ebp + 8], 0xc
sub esi, ecx
sub esi, eax
mov edi, ecx
shr edi, 5
xor esi, edi
sub eax, esi
sub eax, ecx
mov edi, esi
shr edi, 3
xor eax, edi
sub ecx, esi
mov edi, eax
shl eax, 0xa
sub ecx, edi
xor ecx, eax
sub esi, ecx
mov eax, ecx
sub esi, edi
shr eax, 0xf
xor esi, eax
add ebx, 0xc
sub edx, 1
jne 0x6a46e0
mov eax, dword [ebp + 0xc]
add esi, eax
mov eax, dword [ebp + 8]
dec eax
cmp eax, 0xa
ja 0x6a47ca
jmp dword [eax*4 + 0x32cf5434]
sub edi, esi
sub edi, ecx
sub ecx, esi
mov eax, esi
shr eax, 0xd
xor edi, eax
sub ecx, edi
mov edx, edi
shl edx, 8
xor ecx, edx
sub esi, ecx
sub esi, edi
mov eax, ecx
shr eax, 0xd
xor esi, eax
sub edi, esi
sub edi, ecx
mov edx, esi
shr edx, 0xc
xor edi, edx
sub ecx, esi
sub ecx, edi
mov eax, edi
shl eax, 0x10
xor ecx, eax
sub esi, ecx
sub esi, edi
mov edx, ecx
shr edx, 5
xor esi, edx
mov eax, esi
sub edi, eax
sub edi, ecx
mov edx, eax
shr edx, 3
xor edi, edx
sub ecx, eax
sub ecx, edi
mov edx, edi
shl edx, 0xa
xor ecx, edx
sub eax, ecx
sub eax, edi
pop edi
shr ecx, 0xf
pop esi
xor eax, ecx
pop ebx
pop ebp
ret 8
Function at 0x7000c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x32d088db
mov eax, dword fs:[0]
push eax
sub esp, 0x560
mov eax, dword [0x32d0e008]
xor eax, esp
mov dword [esp + 0x558], eax
push ebx
push esi
push edi
mov eax, dword [0x32d0e008]
xor eax, esp
push eax
lea eax, [esp + 0x570]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [eax + 4]
lea edx, [eax + ecx*4]
lea ecx, [eax + 8]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x30], ecx
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x34], eax
mov edx, dword [eax]
movzx eax, word [eax + 2]
mov ecx, edx
shr edx, 4
push eax
and ecx, 0xf
and edx, 0xf
push esi
call fcn.007036c0
mov eax, dword [esp + 0x30]
mov byte [esp + 0x13], bl
mov dword [esp + 0x18], ebx
cmp eax, dword [esp + 0x3c]
jae 0x700242
mov ecx, dword [eax]
mov edx, ecx
and edx, 0x7ff
cmp edx, 0x35
jne 0x70016c
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
jmp 0x700176
shr ecx, 0x18
and ecx, 0x7f
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x44]
mov edi, eax
call fcn.006e0c60
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x48]
mov dword [esp + 0x57c], 0
call fcn.006d4e00
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
lea ecx, [eax + eax*2]
cmp dword [ecx*4 + 0x32d186a8], 6
je 0x7001e2
cmp eax, 0x35
jne 0x7001d0
cmp dword [esp + 0x548], 3
je 0x7001e2
cmp byte [esp + 0x13], 0
jne 0x7001e9
mov byte [esp + 0x13], 1
mov dword [esp + 0x18], ebx
jmp 0x7001e9
cmp byte [esp + 0x13], 0
je 0x7001f8
or dword [esp + 0x24], 1
mov edx, ebx
sub edx, dword [esp + 0x18]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
push edi
mov edi, dword [esp + 0x18]
mov eax, esi
call fcn.006d5a30
lea edi, [esp + 0x1c]
call fcn.00703760
mov dword [esp + 0x578], 0xffffffff
cmp dword [esp + 0x44], 0x35
jne 0x700233
mov eax, dword [esp + 0x550]
push eax
call 0x7d313a
add esp, 4
mov eax, dword [esp + 0x30]
inc ebx
cmp eax, dword [esp + 0x3c]
jb 0x700154
cmp dword [esi + 0xc], 1
jbe 0x700250
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x570]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x558]
xor ecx, esp
call 0x7d310d
mov esp, ebp
pop ebp
ret 4
Function at 0x706770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea ecx, [esp + 0xfc]
call fcn.006e0c60
mov dword [esp + 0x630], edi
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 0x4f90]
push edx
lea eax, [esp + 0x100]
call fcn.006d4e00
mov eax, dword [esp + 0xfc]
cmp eax, 6
je 0x7067d1
cmp eax, 0x17
je 0x7067bc
cmp eax, 0x4c
jne 0x706888
inc dword [esp + 0x14]
jmp 0x706888
sub dword [esp + 0x14], 1
jne 0x706888
mov byte [esp + 0x13], 0
jmp 0x706888
cmp dword [esp + 0x14], 1
jne 0x706888
mov edx, dword [esp + 0x1a4]
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
push edx
lea edx, [esp + 0xb0]
push edx
call eax
push edi
lea ecx, [esp + 0x60]
push ecx
mov byte [esp + 0x74], 0x1d
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
call 0x76a380
lea edx, [esp + 0x5c]
push edx
mov edx, dword [ebx + 0x58]
lea eax, [esp + 0x74]
lea ecx, [ebx + 0x58]
push eax
push edx
mov al, 0x2e
call 0x773690
push edi
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x78]
mov byte [esp + 0x60], 0x1c
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
call 0x76a380
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x24]
mov al, 0xf
call 0x773690
cmp dword [esp + 0x2c], edi
je 0x706881
push edi
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x34]
call 0x76a380
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x630], esi
cmp eax, 0x35
jne 0x7068a4
mov edx, dword [esp + 0x608]
push edx
call 0x7d313a
add esp, 4
cmp byte [esp + 0x13], 0
jne fcn.00706770
lea esi, [esp + 0xd4]
lea eax, [esp + 0x18]
call 0x76f480
push eax
lea esi, [esp + 0x74]
call 0x771300
mov eax, esi
push eax
mov eax, dword [ebx + 0xc]
lea ecx, [ebx + 0xc]
lea edx, [esp + 0x30]
push edx
push eax
mov al, 0xf
call 0x773690
lea ecx, [esp + 0x2c]
push ecx
lea esi, [esp + 0x1c]
call 0x771300
cmp dword [esp + 0x18], edi
je 0x706905
mov edx, esi
lea eax, [ebx + 0xc]
cmp eax, edx
je 0x706905
push edi
push eax
mov eax, esi
call 0x76a380
mov eax, ebx
mov dword [ebx + 0x3c], 1
call fcn.00705d10
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x4f90]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [eax], ecx
mov dword [eax + 0x10], edx
mov eax, 1
jmp 0x706932
mov ecx, dword [esp + 0x628]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x610]
xor ecx, esp
call 0x7d310d
mov esp, ebp
pop ebp
ret 4
Function at 0x41c780
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49bceb
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.0048de30
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41c802
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048b75d
mov eax, dword [eax]
push 0x596224
push eax
call fcn.0047d344
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048e0bb
test bl, bl
je 0x41c802
push 0x596224
lea ecx, [esp + 0xc]
call fcn.0048e497
push 0x599e20
lea ecx, [esp + 0xc]
call fcn.0048e497
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 0x41c83e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048e0bb
jmp 0x41c909
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 0x41c8c2
lea edx, [esp + 0x7c]
push 0x599e1c
push edx
call fcn.0047d344
add esp, 8
test eax, eax
je 0x41c8c2
lea eax, [esp + 0x7c]
push 0x599e18
push eax
call fcn.0047d344
add esp, 8
test eax, eax
je 0x41c8c2
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 0x41c852
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.0048e0bb
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 0x41d100
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 0x41d162
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 0x41d170
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49bd6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5a14c0]
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 0x41d2a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41d1d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048e0bb
xor eax, eax
jmp 0x41d31f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048e244
push esi
lea ecx, [esp + 0xc]
call fcn.0048e4d3
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x599e58
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41d2fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0041d100
test eax, eax
jne 0x41d2fd
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.0041d100
test eax, eax
jne 0x41d2fd
lea eax, [esp + 0x14]
push 0x599e34
push eax
call fcn.0047e670
mov esi, eax
add esp, 8
test esi, esi
jne 0x41d2dc
lea ecx, [esp + 0x14]
push 0x599e30
push ecx
call fcn.0047e5f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41d2dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41d2df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048e1f4
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41d1ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048e0bb
xor eax, eax
jmp 0x41d31f
mov byte [esi], 0
push 0x599e2c
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.0048e0bb
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
Function at 0x42f6d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x42f73e
cmp si, 0x69
ja 0x42f73e
add esi, 0xffd0
cmp si, 0x11
je 0x42f70e
push 0x11
call edi
test ax, ax
jge 0x42f70e
or esi, 0x2000
cmp si, 0x10
je 0x42f723
push 0x10
call edi
test ax, ax
jge 0x42f723
or esi, 0x4000
cmp si, 0x12
je 0x42f738
push 0x12
call edi
test ax, ax
jge 0x42f738
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42f74b
mov esi, 0xbd
jmp 0x42f6ff
cmp si, 0x6e
jne 0x42f758
mov esi, 0xbe
jmp 0x42f6ff
cmp si, 0x6f
jne 0x42f6f9
mov esi, 0xbf
jmp 0x42f6ff

Function at 0x4311a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5b2420]
xor edx, edx
cmp eax, edx
jne 0x4311c6
xor eax, eax
mov byte [eax + 0x5b2320], al
inc eax
cmp eax, 0x100
jl 0x4311ae
mov dword [0x5b2420], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5b2320
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x431257
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x43122a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4311f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4312d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x431323
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x43130a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret