joyce8/EMBER2024-capa huggingface dataset:
Function at 0x9671b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00967140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00967140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00967140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00967140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x967bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x967c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x97987c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x967c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x967c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x436f52
Capabilities:
Encode data using xor

Disassembly:
push esp
adc edi, dword cs:[esi + 0x5379e67b]
push cs
dec byte [esi]
enter 0xffffffffffffba80, 0x37
enter 0xffffffffffffba80, 0x37
daa
adc dword [edi], 0x51
xor dword [edx - 0x2d], ebx
add esp, dword [edi - 0x28275ce2]
pushfd
daa
pop ebx
cmpsb byte [esi], byte es:[edi]
and byte [edi - 0x2782f4c2], dl
pop ecx
bound ebp, qword [edx + 0x32]
ja 0x436f5e
push edx
stc
xchg esp, eax
xor ebp, dword [edi]
sbb bl, byte [edx]
xchg esp, eax
scasd eax, dword es:[edi]
invalid

Function at 0x44a8d0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
je 0x44a9c7
push ebx
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0
call edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x44a94a
mov edx, dword [0x652fa4]
push 0x652cd8
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, ebx
or eax, 0x8001
push eax
call edi
push 0
push ebp
call dword [sym.imp.KERNEL32.dll__lcreat]
push ebx
mov esi, eax
call edi
cmp esi, 0xffffffff
je 0x44a975
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
test eax, eax
je 0x44a99b
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0044a880
add esp, 4
mov dword [0xa53204], eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret 4
push 0x22
push ebp
call dword [sym.imp.KERNEL32.dll__lopen]
mov esi, eax
cmp esi, 0xffffffff
je 0x44a975
mov dword [0xa53204], 0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret 4
mov dword [0xa53204], 6
or eax, 0xffffffff
pop ebp
add esp, 8
ret 4
Function at 0x458a80
Capabilities:
Encode data using xor

Disassembly:
jb 0x458af8
xor dword [eax + 0x71], ebp
xor cl, ch
cmp al, 0x28
cmpsb byte [esi], byte es:[edi]
jg 0x458ab2
hlt
sbb al, 0x37
retf 0xb8fc
lodsd eax, dword [esi]
fadd qword [edx]
or byte [ebp + 0x43e0155d], ah
inc ebx
sub dword [ebx - 0x32], esp
jp 0x458b43
bound edi, qword [esi + 0x6c0e7e33]
mov eax, dword [0x4353dd15]
push 0xffffffffffffffe3
ret 0xdc9b
mov ch, 0x82
xchg dword [esi - 0x1d15fe11], eax
mov bl, 0x89
in eax, dx
cmp dword [eax - 0x7a], esp
push 0xffffffffffffff9c
fldenv [eax + 0x1f]
sub eax, 0x871a7402
out 0x4e, al
jno 0x458b68
mov eax, 0x88c2baed
test al, 0xdb
std
or esi, edx
js 0x458b7e
pop ecx
or dword [ecx - 0x23], 0xe33a79f8
jecxz 0x458b10
add esp, esi
push edx
je 0x458abc
mov eax, fs
test al, 0x23
push 0xdf60007d
popfd
xchg edi, eax
mov esp, 0x3d373d2f
loopne 0x458ac4
cmp eax, 0x83e03d37
cmp cl, dl
retf 0x8158
pop eax
and dword [ebx + 0x646638c8], 0x80e5e85d
test al, 0x16
mov dword [0x646638c8], eax
pop ebp
call 0x16ee0c35
or ecx, dword [eax]
xor al, 0x49
mov ds, word [eax - 0x15]
aas
fmul qword [bx + 8]
mov bh, 5
mov dword [0x5ff4499c], eax
or al, 0x72
xor al, 0xe0
mov eax, 0x58d3de1c
aam 0x7d
jecxz 0x458b4a
sbb al, 0xde
rcr dword [eax - 0x2c], cl
jge 0x458b52
fcmovbe st(0), st(3)
invalid
ror dword [edi - 0x3563112a], cl
xchg esi, eax
cmc
salc
invalid
push ebx
fld dword [ebx - 0x7d]
pop edx
sbb ch, byte [ebx + 0x462a1be9]
stosb byte es:[edi], al
and dword [ecx], ebx
or eax, 0x53be2ff9
jo 0x458bb8
or bl, dl
push edi
inc eax
test eax, 0xb979987f
pop ebx
adc al, 3
xor ch, byte [eax + ecx + 0x13de39e8]
inc ebx
jle 0x458b45
stosd dword es:[edi], eax
inc ebx
pop ecx
xor ebp, dword [ecx]
add dh, byte [esi]
loope 0x458b3c
invalid
or ecx, 0x6f
xlatb
jmp 0x458b42

Function at 0x489d4d
Capabilities:
Check for vm using instruction vpcext

Disassembly:
mov dh, ah
sub dword [edi], 0x58
push ecx
pop ecx
push eax
daa
or edi, dword [edx + eax + 0x75]
add eax, 0xd77b0c72
mov al, byte [0xd6a1a9de]
test al, 0xdf
test dl, bh
lea ecx, [ebp + 0x3a]
inc esp
xor ebx, dword [edi - 0x161e6918]
sahf

Function at 0x489d76
Capabilities:
Check for vm using instruction vpcext

Disassembly:
cmpsb byte [esi], byte es:[edi]
clc
mov dh, 0x68
xchg ebx, eax
les eax, [ebx + 0x6e7b83d4]
retf
imul ecx, ebx, 0xffffffb7
adc bl, bl
and bl, byte [eax + 0x7b]
jbe 0x489cb4
int 0x45
fimul word [edx + edx*2 + 0x2c]
pop ebx
test dword [eax - 0x97e7602], 0xa4d3ff88
fisubr dword [ebp + 0x13641a6d]
mov edi, 0xc9c1b6c8
mov esi, 0xec9bb7c0
xchg edx, eax
in eax, 0xb5
ret 0xcbbc
loopne 0x489d0f
mov ebx, 0x95c5b2cc
loop 0x489d1b
jmp 0x489dc8
push cs
xlatb
sbb al, bl
aad 0xc
rcr dword [eax], 0x3d
in al, 0x29
invalid
Function at 0x48afa6
Capabilities:
Encode data using xor

Disassembly:
xor ebx, ebx
mov bl, 0x4f
fmul qword [edi]
fisttp dword [esp]
mov bh, 0x73
or ah, byte [ebp + 0x69]
invalid
invalid
inc eax
retf 0x78b0
imul eax, dword gs:[eax - 0x36], 0x976378b0
or edx, eax
test cl, ch
test dword [eax], eax
js 0x48af9a
adc dword [ecx + 0x37cbb809], edx
pop ss
scasb al, byte es:[edi]
and dword [edi + 0x15], ebp
xor dword [edi + 0x38aec276], 0xfffffffc
test eax, 0x783726ea
fadd qword [edi]
push edi
pinsrw mm1, word [eax - 0x3f1cff20], 0x4a
jae 0x48afc2
fcom dword [edi]
stosd dword es:[edi], eax
jmp dword [esi]

Function at 0x5c9570
Capabilities:
Encode data using xor

Disassembly:
push ds
sub cl, al
or al, 0x6b
or dword [edi + 0x48], ebp
mov al, byte [0xeef7b4c8]
mov ah, 0xf7
out dx, al
mov ah, 0xf7
out dx, al
push ecx
imul edx, edx, 0xd2d4ec74
je 0x5c9564
aam 0xd2
adc al, 0x1c
jno 0x5c95b7
retf 0xb4c0
sub dword [esi], ebx
shr dword [ebx - 0x5220bb68], cl
stc
sub dword [eax + 0x3b], ecx
push edx
popal
sub byte [esp + edi*8], dh
jge 0x5c962f
js 0x5c9601
inc ebp
sbb edx, dword [esp + eax - 0x37]
imul ebp, dword [edi + edx*4], 0x70
lahf
jo 0x5c9576
or al, 0x81
test eax, 0x6841d904
leave
xchg ebp, eax
daa
daa
insd dword es:[edi], dx
push es
inc edi
jns 0x5c95d5
mov bl, 0xfb
xchg dword [0xcd33e283], edi
scasd eax, dword es:[edi]
iretd
out 0x5e, eax
test dword [ecx], 0x6e83fb79
or dword [eax + 0x59], edi
dec esi
mov bh, byte [ebx - 0x5efa1afb]
mov eax, 0x17c883c9
pop ss
fcomp st(5)
pop ds
mov edi, eax
cmp ah, dh
shl dword [ebp + 0x3b], 1
sub eax, 0xc1f3541e
or eax, dword es:[0x2b09a21e]
jo 0x5c9677
xchg edx, eax
mov esi, 0x576c9006
jmp 0x96563f36
mov byte [0x821381be], al
xor esp, dword [ecx + 0x3bd18f7f]
invalid
Function at 0x4019f4
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 0x401a41
mov al, cl
cmp al, 0x61
jb 0x401a1c
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x401a41
mov al, cl
cmp al, 0x61
jb 0x401a34
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x401a0d
cmp edx, dword [esp + 0x18]
je 0x401a51
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x401a06
xor eax, eax
jmp 0x401a54
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x401a5c
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 0x401b43
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x401b49
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 0x401aa8
cmp al, 0x61
jb 0x401aa0
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x401a93
cmp edx, dword [esp + 0x14]
je 0x401ab8
dec ecx
jne 0x401a88
xor eax, eax
jmp 0x401b43
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 0x401b43
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x401b43
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x401af4
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x401b03
jmp 0x401aeb
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.004019f4
test eax, eax
je 0x401b43
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x401b3e
cmp al, 0x61
jb 0x401b36
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x401b29
call fcn.00401a5c
mov dword [esp + 0x1c], eax
popal
ret
mov ecx, dword [esi + 0x10]
cmp edx, ecx
jb 0x401b61
mov eax, dword [esi + 0x14]
dec eax
cmp edx, eax
ja 0x401b61
sub edx, ecx
mov ecx, edx
jmp 0x401ab8
xor eax, eax
jmp 0x401b43

Function at 0x404b1b
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0xd8b814]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x404b56
add dword [esp], 5
retf

Function at 0x404c19
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0xd8b814]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x404c54
add dword [esp], 5
retf
Function at 0x404d8e
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00404e75
mov dword [ebp - 4], 0
mov eax, dword [0xd8b814]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x404dee
add dword [esp], 5
retf

Function at 0x404e75
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0xd8b814]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x404eb0
add dword [esp], 5
retf

Function at 0x407cfc
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0xd8b814]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x407d37
add dword [esp], 5
retf

Function at 0x407e14
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00404e75
mov dword [ebp - 4], 0
mov eax, dword [0xd8b814]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x407e74
add dword [esp], 5
retf

Function at 0x409f02
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0xd8b814]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x409f3d
add dword [esp], 5
retf

Function at 0x40a20b
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x40a237
add dword [esp], 5
retf

Function at 0x40a4f3
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0xd8b814]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x40a52e
add dword [esp], 5
retf

Function at 0x40a7a5
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0xd8b814]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x40a7e0
add dword [esp], 5
retf
Function at 0x4107f3
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x41082b
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x410819
mov al, 1
jmp 0x41088a
cmp dword [ebx + 0x54], ecx
jne 0x410822
mov al, 2
jmp 0x41088a
cmp dword [ebx + 0x7c], ecx
jne 0x41088a
mov al, 3
jmp 0x41088a
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x410840
mov al, 4
jmp 0x41088a
cmp ecx, 5
jne 0x410860
cmp ebx, 0
jne 0x41084e
mov al, 5
jmp 0x41088a
cmp ebx, 1
jne 0x410857
mov al, 6
jmp 0x41088a
cmp ebx, 2
jne 0x410860
mov al, 7
jmp 0x41088a
cmp ecx, 6
jne 0x410888
cmp ebx, 0
jne 0x41086e
mov al, 8
jmp 0x41088a
cmp ebx, 1
jne 0x410875
mov al, 9
cmp ebx, 2
jne 0x41087c
mov al, 0xa
cmp ebx, 3
jne 0x410883
mov al, 0xb
cmp ebx, 4
jne 0x41088a
mov al, 0xc
pop ebx
leave
ret
Function at 0x420755
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0xd8b814]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x420790
add dword [esp], 5
retf

Function at 0x4241f1
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0xd8b814]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x42422c
add dword [esp], 5
retf

Function at 0x4244bd
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0xd8b814]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x4244f8
add dword [esp], 5
retf
Function at 0x438160
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5c904b
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.005bddea
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4381e2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005bbb5b
mov eax, dword [eax]
push 0xa37d50
push eax
call fcn.005aa3c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.005be075
test bl, bl
je 0x4381e2
push 0xa37d50
lea ecx, [esp + 0xc]
call fcn.005be405
push 0xa37d5c
lea ecx, [esp + 0xc]
call fcn.005be405
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA_1]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x43821e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.005be075
jmp 0x4382e9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA_1]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4382a2
lea edx, [esp + 0x7c]
push 0xa37d58
push edx
call fcn.005aa3c4
add esp, 8
test eax, eax
je 0x4382a2
lea eax, [esp + 0x7c]
push 0xa37d54
push eax
call fcn.005aa3c4
add esp, 8
test eax, eax
je 0x4382a2
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_1]
test eax, eax
jne 0x438232
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose_1]
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.005be075
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 0x438af0
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_1]
mov esi, eax
test esi, esi
jne 0x438b52
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_1]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey_1]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x438b60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5c90cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xd873e0]
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 0x438c98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x438bc6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005be075
xor eax, eax
jmp 0x438d0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.005be1b2
push esi
lea ecx, [esp + 0xc]
call fcn.005be441
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 0x438ced
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00438af0
test eax, eax
jne 0x438ced
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA_1]
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.00438af0
test eax, eax
jne 0x438ced
lea eax, [esp + 0x14]
push 0xa37d6c
push eax
call fcn.005ab510
mov esi, eax
add esp, 8
test esi, esi
jne 0x438ccc
lea ecx, [esp + 0x14]
push 0xa37d68
push ecx
call fcn.005ab490
mov esi, eax
add esp, 8
test esi, esi
jne 0x438ccc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA_1]
lea esi, [esp + eax + 0x13]
jmp 0x438ccf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.005be162
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x438bde
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.005be075
xor eax, eax
jmp 0x438d0f
mov byte [esi], 0
push 0xa37d64
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.005be075
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 0x44aab0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState_1]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x44ab1e
cmp si, 0x69
ja 0x44ab1e
add esi, 0xffd0
cmp si, 0x11
je 0x44aaee
push 0x11
call edi
test ax, ax
jge 0x44aaee
or esi, 0x2000
cmp si, 0x10
je 0x44ab03
push 0x10
call edi
test ax, ax
jge 0x44ab03
or esi, 0x4000
cmp si, 0x12
je 0x44ab18
push 0x12
call edi
test ax, ax
jge 0x44ab18
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x44ab2b
mov esi, 0xbd
jmp 0x44aadf
cmp si, 0x6e
jne 0x44ab38
mov esi, 0xbe
jmp 0x44aadf
cmp si, 0x6f
jne 0x44aad9
mov esi, 0xbf
jmp 0x44aadf

Function at 0x44c500
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xd97fc0]
xor edx, edx
cmp eax, edx
jne 0x44c526
xor eax, eax
mov byte [eax + 0xd97ec0], al
inc eax
cmp eax, 0x100
jl 0x44c50e
mov dword [0xd97fc0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xd97ec0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x44c5b7
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 0x44c58a
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 0x44c558
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x44c5c0
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 0x44c613
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 0x44c5fa
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