joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401b80
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404440
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [ebp + 8]
xor ecx, ecx
push ebx
push esi
mov eax, dword [eax]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], 0
mov cx, word [eax + 0x14]
lea edi, [ecx + eax + 0x18]
mov dword [ebp - 0x14], edi
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [edx]
mov cx, word [eax + 6]
mov eax, dword [ebp - 0x20]
cmp eax, ecx
jge 0x401d01
mov eax, dword [edi + 0x24]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x401c27
lea edx, [ebp - 0x24]
push 0x405848
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x4b
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x14]
push 0x4000
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 0x401ce5
ret
lea ecx, [edx + ecx*2]
test eax, 0x4000000
lea edx, [esi + ecx*2]
mov ecx, dword [edx*4 + 0x523020]
mov dword [ebp - 0x1c], ecx
je 0x401c46
mov eax, ecx
or ah, 2
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x10]
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x401ca8
lea edx, [ebp - 0x28]
push 0x405848
push edx
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], 0x10
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
test al, 0x40
je 0x401c87
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x18], eax
mov eax, 0x401c9c
ret
test al, 0x80
je 0x401c96
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x18], eax
mov eax, 0x401c9c
ret
jbe 0x401cec
lea ecx, [ebp - 0x2c]
push 0x405848
push ecx
mov dword [ebp - 4], 4
mov dword [ebp - 0x2c], 0xf
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x401ce5
ret
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x14]
inc ecx
add edi, 0x28
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], edi
jmp 0x401bba
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4023e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov al, 0x4f
lea ecx, [esp + 4]
mov byte [esp + 5], al
mov byte [esp + 0xd], al
lea eax, [esp]
mov byte [esp + 4], 0x53
push eax
push 0xf003f
push 0
push ecx
push CreateStatusWindowA
mov byte [esp + 0x1a], 0x46
mov byte [esp + 0x1b], 0x54
mov byte [esp + 0x1c], 0x57
mov byte [esp + 0x1d], 0x41
mov byte [esp + 0x1e], 0x52
mov byte [esp + 0x1f], 0x45
mov byte [esp + 0x20], 0x5c
mov byte [esp + 0x22], 0x44
mov byte [esp + 0x23], 0x42
mov byte [esp + 0x24], 0x43
mov byte [esp + 0x25], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402453
call fcn.00402350
call fcn.00402370
xor eax, eax
add esp, 0x14
ret 0x10
Function at 0x2023700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0202378f
jae 0x202370e
xor ecx, ecx
call fcn.0202378f
jae 0x202373d
xor eax, eax
call fcn.0202378f
jae 0x202374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0202378f
adc al, al
jae 0x202372f
jne 0x2023779
stosb byte es:[edi], al
jmp 0x2023711
call fcn.0202379b
sub ecx, ebx
jne 0x2023756
call fcn.02023799
jmp 0x2023775
lodsb al, byte [esi]
shr eax, 1
je 0x2023783
adc ecx, ecx
jmp 0x2023772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02023799
cmp eax, 0x7d00
jae 0x2023772
cmp ah, 5
jae 0x2023773
cmp eax, 0x7f
ja 0x2023774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2023711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

Function at 0x2043700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0204378f
jae 0x204370e
xor ecx, ecx
call fcn.0204378f
jae 0x204373d
xor eax, eax
call fcn.0204378f
jae 0x204374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0204378f
adc al, al
jae 0x204372f
jne 0x2043779
stosb byte es:[edi], al
jmp 0x2043711
call fcn.0204379b
sub ecx, ebx
jne 0x2043756
call fcn.02043799
jmp 0x2043775
lodsb al, byte [esi]
shr eax, 1
je 0x2043783
adc ecx, ecx
jmp 0x2043772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02043799
cmp eax, 0x7d00
jae 0x2043772
cmp ah, 5
jae 0x2043773
cmp eax, 0x7f
ja 0x2043774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2043711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
mov dword [esp], 0
mov dword [esp + 4], 0xc1
mov dword [esp + 8], 0x1000
mov dword [esp + 0xc], 0x40
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
sub esp, 0x10
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 8], 0xc1
mov dword [eax + 4], 0x404000
call sub.VCRUNTIME140D.dll_memmove
call dword [ebp - 4]
xor eax, eax
add esp, 0x14
pop ebp
ret
Function at 0x10007a4c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10028540]
jne 0x10007a56
repz ret
jmp fcn.10007cfd

Function at 0x10008b70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [fcn.10008b70]
mov dword [ebp - 8], eax
mov dword [0x10028514], 0x20ba
jmp 0x10008bb3
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
jmp 0x10008bca
jmp 0x10008b8b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
je 0x10008bc2
jmp 0x10008b9d
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10008b9f
jmp 0x10008b8b
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x10008bdb
mov al, 1
test al, 1
jne 0x10008bb3
jmp 0x10008bd2
mov dword [ebp - 4], 0
jmp 0x10008bdb
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add esp, 0xc
pop ebp
ret

Function at 0x10009410
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x10], 0
mov dword [0x10028518], 0x1ce
mov eax, dword fs:[0x30]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
mov eax, dword [0x10028514]
sub eax, 0x2590
mov dword [0x10028514], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
jmp 0x100094e7
mov dword [0x10028514], 0x853
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
je 0x1000955e
jmp 0x10009567
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x100094e7
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
movzx eax, word [ecx + eax*2 - 0x14]
cmp eax, 0x64
je 0x10009546
jmp 0x1000956d
mov dword [0x10028514], 0x1031
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
je 0x1000945a
jmp 0x10009569
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
cmp eax, 0
je 0x100094f9
jmp 0x100094fb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0x104
jl 0x100094ce
jmp 0x100094fd
jmp 0x100094fd
jmp 0x1000947f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
sete dl
mov byte [ebp - 0x1d], dl
mov al, byte [ebp - 0x1d]
test al, 1
jne 0x1000951c
jmp 0x10009573
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + ecx*2 - 0x18]
cmp eax, 0x6f
jne 0x10009571
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
je 0x1000948c
jmp 0x1000956f
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
movzx eax, word [ecx + eax*2 - 0x12]
cmp eax, 0x64
je 0x100094ad
jmp 0x1000956b
mov dword [ebp - 4], 1
jmp 0x1000957c
jmp 0x10009569
jmp 0x1000956b
jmp 0x1000956d
jmp 0x1000956f
jmp 0x10009571
jmp 0x10009573
mov dword [ebp - 4], 0
jmp 0x1000957c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x54d3700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.054d378f
jae 0x54d370e
xor ecx, ecx
call fcn.054d378f
jae 0x54d373d
xor eax, eax
call fcn.054d378f
jae 0x54d374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.054d378f
adc al, al
jae 0x54d372f
jne 0x54d3779
stosb byte es:[edi], al
jmp 0x54d3711
call fcn.054d379b
sub ecx, ebx
jne 0x54d3756
call fcn.054d3799
jmp 0x54d3775
lodsb al, byte [esi]
shr eax, 1
je 0x54d3783
adc ecx, ecx
jmp 0x54d3772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.054d3799
cmp eax, 0x7d00
jae 0x54d3772
cmp ah, 5
jae 0x54d3773
cmp eax, 0x7f
ja 0x54d3774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x54d3711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x401b61
Capabilities:
Access peb ldr_data

Disassembly:
xor eax, eax
pushal
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov edi, ebx
mov esi, dword [ebx + 0x28]
xor eax, eax
xor edx, edx
mov ecx, dword [esi]
test cx, cx
je 0x401bae
mov al, cl
cmp al, 0x61
jb 0x401b89
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x401bae
mov al, cl
cmp al, 0x61
jb 0x401ba1
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x401b7a
cmp edx, dword [esp + 0x18]
je 0x401bbe
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x401b73
xor eax, eax
jmp 0x401bc1
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x401bc9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor eax, eax
pushal
mov ebx, ecx
mov eax, dword [ebx + 0x3c]
mov eax, dword [ebx + eax + 0x78]
test eax, eax
je 0x401cb0
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x401cb6
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
lea edi, [ebx + edi]
mov ebp, dword [edi + ecx*4 - 4]
lea ebp, [ebx + ebp]
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x401c15
cmp al, 0x61
jb 0x401c0d
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x401c00
cmp edx, dword [esp + 0x14]
je 0x401c25
dec ecx
jne 0x401bf5
xor eax, eax
jmp 0x401cb0
mov edx, dword [esi + 0x24]
lea edx, [ebx + edx]
mov edx, dword [edx + ecx*2 - 2]
and edx, 0xffff
mov eax, dword [esi + 0x1c]
lea eax, [ebx + eax]
mov eax, dword [eax + edx*4]
lea eax, [ebx + eax]
cmp eax, esi
jbe 0x401cb0
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x401cb0
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x401c61
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x401c70
jmp 0x401c58
ror edx, 0xd
add edx, 0x44
ror edx, 0x1a
add edx, 0x4c
ror edx, 0x1a
add edx, 0x4c
ror edx, 0xd
mov ecx, edx
call fcn.00401b61
test eax, eax
je 0x401cb0
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x401cab
cmp al, 0x61
jb 0x401ca3
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x401c96
call fcn.00401bc9
mov dword [esp + 0x1c], eax
popal
ret
mov ecx, dword [esi + 0x10]
cmp edx, ecx
jb 0x401cce
mov eax, dword [esi + 0x14]
dec eax
cmp edx, eax
ja 0x401cce
sub edx, ecx
mov ecx, edx
jmp 0x401c25
xor eax, eax
jmp 0x401cb0
Function at 0x41a928
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0041aad8
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x41aa26
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x41a9c9
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x41aa0c
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x41a9e0
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x41a9fb
test al, 0x40
je 0x41a9f2
mov ecx, dword [edi + 0x20]
jmp 0x41a9f9
test al, 0x80
je 0x41aa0c
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x41aa0c
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x41a998
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x42e160
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ab03b
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.0049fc03
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42e1e2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049da49
mov eax, dword [eax]
push 0x1082cd0
push eax
call fcn.0048fbf4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049fe8e
test bl, bl
je 0x42e1e2
push 0x1082cd0
lea ecx, [esp + 0xc]
call fcn.004a021e
push 0x1082cdc
lea ecx, [esp + 0xc]
call fcn.004a021e
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 0x42e21e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049fe8e
jmp 0x42e2e9
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 0x42e2a2
lea edx, [esp + 0x7c]
push 0x1082cd8
push edx
call fcn.0048fbf4
add esp, 8
test eax, eax
je 0x42e2a2
lea eax, [esp + 0x7c]
push 0x1082cd4
push eax
call fcn.0048fbf4
add esp, 8
test eax, eax
je 0x42e2a2
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 0x42e232
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.0049fe8e
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 0x42eae0
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 0x42eb42
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 0x42eb50
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ab0bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x108e718]
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 0x42ec88
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42ebb6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049fe8e
xor eax, eax
jmp 0x42ecff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0049ffcb
push esi
lea ecx, [esp + 0xc]
call fcn.004a025a
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x1082d10
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42ecdd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0042eae0
test eax, eax
jne 0x42ecdd
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.0042eae0
test eax, eax
jne 0x42ecdd
lea eax, [esp + 0x14]
push 0x1082cec
push eax
call fcn.00490c70
mov esi, eax
add esp, 8
test esi, esi
jne 0x42ecbc
lea ecx, [esp + 0x14]
push 0x1082ce8
push ecx
call fcn.00490bf0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42ecbc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42ecbf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049ff7b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42ebce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049fe8e
xor eax, eax
jmp 0x42ecff
mov byte [esi], 0
push 0x1082ce4
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.0049fe8e
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 0x43f640
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 0x43f6ae
cmp si, 0x69
ja 0x43f6ae
add esi, 0xffd0
cmp si, 0x11
je 0x43f67e
push 0x11
call edi
test ax, ax
jge 0x43f67e
or esi, 0x2000
cmp si, 0x10
je 0x43f693
push 0x10
call edi
test ax, ax
jge 0x43f693
or esi, 0x4000
cmp si, 0x12
je 0x43f6a8
push 0x12
call edi
test ax, ax
jge 0x43f6a8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43f6bb
mov esi, 0xbd
jmp 0x43f66f
cmp si, 0x6e
jne 0x43f6c8
mov esi, 0xbe
jmp 0x43f66f
cmp si, 0x6f
jne 0x43f669
mov esi, 0xbf
jmp 0x43f66f

Function at 0x441010
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x109f1b0]
xor edx, edx
cmp eax, edx
jne 0x441036
xor eax, eax
mov byte [eax + 0x109f0b0], al
inc eax
cmp eax, 0x100
jl 0x44101e
mov dword [0x109f1b0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x109f0b0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4410c7
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 0x44109a
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 0x441068
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x441140
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 0x441193
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 0x44117a
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