joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10089d10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100bf2e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x100c1700]
push 0
lea ecx, [esp + 0x20]
call fcn.100b41b2
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.100162a0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.100b40e0
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.100aefbe
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.100aefbe
push 1
push 0
push 0
mov ecx, esi
call fcn.100aef66
push 1
push 0
push 1
mov ecx, esi
call fcn.100aef66
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.100b4224
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x10089e90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100bf308
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.100b41b2
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.100162a0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.100b40e0
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x100c1700]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x10089f54
cmp dword [esp + 0x40], 1
jne 0x10089f52
cmp ecx, eax
jge 0x10089f54
mov eax, ecx
cmp eax, 0xc8
jge 0x10089f60
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.10089d10
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x100c16e4]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.100b4224
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4010b0
Capabilities:
Resolve dns

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
test eax, eax
jge 0x4010d4
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x4010cd
pop esi
ret
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
pop esi
ret
Function at 0x403010
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
mov al, 0x45
mov cl, 0x61
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov al, 0x6c
push ebp
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
mov al, 0x65
push esi
mov byte [esp + 0xa], al
mov byte [esp + 0xd], al
mov byte [esp + 0x11], al
mov byte [esp + 0xb], cl
mov byte [esp + 0x12], cl
lea eax, [esp + 8]
push edi
lea ecx, [esp + 0x1c]
mov dl, 0x72
push eax
push ecx
mov byte [esp + 0x24], 0x4b
mov byte [esp + 0x26], 0x52
mov byte [esp + 0x27], 0x4e
mov byte [esp + 0x29], 0x4c
mov byte [esp + 0x2a], 0x33
mov byte [esp + 0x2b], 0x32
mov byte [esp + 0x2c], 0x2e
mov byte [esp + 0x2d], 0x64
mov byte [esp + 0x30], 0
mov byte [esp + 0x14], 0x43
mov byte [esp + 0x15], dl
mov byte [esp + 0x18], 0x74
mov byte [esp + 0x1a], 0x54
mov byte [esp + 0x1b], 0x68
mov byte [esp + 0x1c], dl
mov byte [esp + 0x1f], 0x64
mov byte [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov eax, dword [0x4070d8]
cmp eax, 1
jne 0x4030c4
mov dword [0x4070d8], 0
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x84]
dec eax
cmp eax, 6
ja case.0x4030d4.4
jmp dword [eax*4 + 0x403220]
mov eax, dword [esi + 0x88]
xor ebp, ebp
test eax, eax
jle 0x403102
push 0
push 0
push esi
push 0x402260
push 0
push 0
call edi
mov eax, dword [esi + 0x88]
inc ebp
cmp ebp, eax
jl 0x4030e7
push 0
push 0
push esi
push 0x403240
push 0
push 0
call edi
mov ecx, dword [0x487d20]
mov dword [ecx*4 + 0x407ce4], eax
inc ecx
mov dword [0x487d20], ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret
mov eax, dword [esi + 0x88]
xor ebp, ebp
test eax, eax
jle 0x403154
push 0
push 0
push esi
push 0x401bb0
push 0
push 0
call edi
mov eax, dword [esi + 0x88]
inc ebp
cmp ebp, eax
jl 0x403139
push 0
push 0
push esi
push 0x403240
push 0
push 0
call edi
mov ecx, dword [0x487d20]
mov dword [ecx*4 + 0x407ce4], eax
inc ecx
mov dword [0x487d20], ecx
mov eax, case.0x4030d4.4
ret
mov eax, dword [esi + 0x88]
xor ebp, ebp
test eax, eax
jle 0x4031a5
push 0
push 0
push esi
push 0x402160
push 0
push 0
call edi
mov eax, dword [esi + 0x88]
inc ebp
cmp ebp, eax
jl 0x40318a
push 0
push 0
push esi
push 0x403240
push 0
push 0
call edi
mov ecx, dword [0x487d20]
mov dword [ecx*4 + 0x407ce4], eax
inc ecx
mov dword [0x487d20], ecx
mov eax, case.0x4030d4.4
ret
mov eax, dword [esi + 0x88]
xor ebp, ebp
test eax, eax
jle 0x4031f6
push 0
push 0
push esi
push 0x402300
push 0
push 0
call edi
mov eax, dword [esi + 0x88]
inc ebp
cmp ebp, eax
jl 0x4031db
push 0
push 0
push esi
push 0x403240
push 0
push 0
call edi
mov ecx, dword [0x487d20]
mov dword [ecx*4 + 0x407ce4], eax
inc ecx
mov dword [0x487d20], ecx
mov eax, case.0x4030d4.4
ret
Function at 0x404070
Capabilities:
Create process on windows
Get comspec environment variable
Query environment variable
Self delete

Disassembly:
sub esp, 0x348
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x49]
mov byte [esp + 0x48], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x251]
mov byte [esp + 0x250], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x14d]
mov byte [esp + 0x14c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x48]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x48]
push 0x104
lea edx, [esp + 0x4c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [esp + 0x250]
push 0x104
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x14c]
push str._c_del
push ecx
call esi
lea edx, [esp + 0x48]
lea eax, [esp + 0x14c]
push edx
push eax
call esi
lea ecx, [esp + 0x14c]
push str.___nul
push ecx
call esi
lea ecx, [esp + 0xc]
lea edx, [esp + 0x250]
lea eax, [esp + 0x14c]
push ecx
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], str.Open
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x4041c8
mov edx, dword [esp + 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0x40
push edx
call esi
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
push 0xf
call dword [0x407b54]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea eax, [esp + 0x48]
push ebx
push eax
push 1
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x348
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x348
ret
Function at 0x4047d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x128
mov al, 0x6c
mov cl, 0x41
mov byte [esp + 0xa], al
mov byte [esp + 0xb], al
mov al, 0x65
push ebp
mov byte [esp + 0x15], al
mov byte [esp + 0x19], al
mov byte [esp + 0x1c], al
push esi
mov byte [esp + 8], cl
mov byte [esp + 0xb], cl
mov byte [esp + 0x24], cl
lea eax, [esp + 0x18]
push edi
lea ecx, [esp + 0xc]
push eax
push ecx
mov byte [esp + 0x15], 0x44
mov byte [esp + 0x16], 0x56
mov byte [esp + 0x18], 0x50
mov byte [esp + 0x19], 0x49
mov byte [esp + 0x1a], 0x33
mov byte [esp + 0x1b], 0x32
mov byte [esp + 0x1c], 0x2e
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x20], 0
mov byte [esp + 0x24], 0x52
mov byte [esp + 0x26], 0x67
mov byte [esp + 0x27], 0x4f
mov byte [esp + 0x28], 0x70
mov byte [esp + 0x2a], 0x6e
mov byte [esp + 0x2b], 0x4b
mov byte [esp + 0x2d], 0x79
mov byte [esp + 0x2e], 0x45
mov byte [esp + 0x2f], 0x78
mov byte [esp + 0x31], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], 0
lea ebp, [esp + 0x30]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, str.SYSTEMCurrentControlSetServices_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
lea ebp, [esp + 0x30]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x407144
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
push ecx
push 0xf003f
push eax
lea eax, [esp + 0x3c]
push eax
push closesocket
call edx
neg eax
sbb eax, eax
pop edi
pop esi
inc eax
pop ebp
add esp, 0x128
ret
Function at 0x404d90
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x368
push ebp
push esi
push edi
lea eax, [esp + 0x10]
xor ebp, ebp
push 1
mov edi, ecx
xor esi, esi
push eax
push ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebp
call sub.iphlpapi.dll_GetIfTable
cmp eax, 0x32
jne 0x404dcb
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x368
ret 4
cmp eax, 0x7a
jne 0x404de3
mov ecx, dword [esp + 0x10]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0xc], eax
mov esi, eax
lea edx, [esp + 0x10]
push 1
push edx
push esi
call sub.iphlpapi.dll_GetIfTable
test eax, eax
je 0x404e02
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x368
ret 4
mov ecx, dword [esi]
push ebx
xor ebx, ebx
xor eax, eax
test ecx, ecx
jbe 0x404e50
lea edx, [esi + 4]
mov ecx, 0xd7
mov esi, edx
lea edi, [esp + 0x1c]
add edx, 0x35c
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x244]
mov esi, dword [esp + 0x25c]
mov dword [eax*4 + 0x487d50], ecx
add ebx, ecx
mov ecx, dword [esp + 0x10]
mov dword [eax*4 + 0x487d64], esi
add ebp, esi
inc eax
cmp eax, dword [ecx]
jb 0x404e10
mov edi, dword [esp + 0x18]
mov ecx, dword [0x487d40]
mov edx, ebx
sub edx, ecx
mov eax, ebp
mov dword [0x487d48], edx
mov edx, dword [0x487d44]
sub eax, edx
test ecx, ecx
mov dword [0x487d4c], eax
ja 0x404e7d
mov dword [0x487d48], 0
test edx, edx
ja 0x404e88
xor eax, eax
mov dword [0x487d4c], eax
mov esi, dword [esp + 0x37c]
mov dword [0x487d40], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x487d44], ebp
mov dword [esi], eax
mov eax, dword [edi + 0x24]
test eax, eax
je 0x404eb3
mov dword [edi + 0x24], 0
jmp 0x404ed0
call ebx
mov ecx, eax
mov eax, dword [esi]
mov ebp, dword [edi + 0x20]
xor edx, edx
lea eax, [eax + eax*4]
sub ecx, ebp
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
div ecx
mov dword [esi], eax
call ebx
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x10]
push eax
call fcn.00404f12
add esp, 4
mov al, 1
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x368
ret 4
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1a04150
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0xf5f
call 0x1a04159
rcr dword [esi + 0x30], 0x4c
push cs
pop es
xor byte [esi + ecx + 7], cl
loop 0x1a0415c
mov eax, 0x5040c4f
out dx, al
clc
div esi
cmc
retf 0x3d52

Function at 0x438cb7
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x438a14
sub edi, ecx
push ecx
pop ecx
add edi, 0x782a75d1
call fcn.00438cf2
sub edi, 0xf2896d7b
sub edi, edi
xor dword [esi], edx
sub edi, ecx
add esi, 1
and edi, edi
cmp esi, eax
jne fcn.00438cb7
sub ecx, 0x6055cb2e
sub ecx, 0x7d297924
ret
Function at 0x410940
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47856b
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.0046cf73
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4109c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046a890
mov eax, dword [eax]
push 0x4dcccc
push eax
call fcn.0045d4d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046d1fe
test bl, bl
je 0x4109c2
push 0x4dcccc
lea ecx, [esp + 0xc]
call fcn.0046d58e
push 0x4dccd8
lea ecx, [esp + 0xc]
call fcn.0046d58e
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 0x4109fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046d1fe
jmp 0x410ac9
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 0x410a82
lea edx, [esp + 0x7c]
push 0x4dccd4
push edx
call fcn.0045d4d4
add esp, 8
test eax, eax
je 0x410a82
lea eax, [esp + 0x7c]
push 0x4dccd0
push eax
call fcn.0045d4d4
add esp, 8
test eax, eax
je 0x410a82
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 0x410a12
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.0046d1fe
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 0x4112c0
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 0x411322
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 0x411330
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4785eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4e39b8]
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 0x411468
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x411396
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046d1fe
xor eax, eax
jmp 0x4114df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046d33b
push esi
lea ecx, [esp + 0xc]
call fcn.0046d5ca
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4dcd0c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4114bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004112c0
test eax, eax
jne 0x4114bd
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.004112c0
test eax, eax
jne 0x4114bd
lea eax, [esp + 0x14]
push 0x4dcce8
push eax
call fcn.0045e510
mov esi, eax
add esp, 8
test esi, esi
jne 0x41149c
lea ecx, [esp + 0x14]
push 0x4dcce4
push ecx
call fcn.0045e490
mov esi, eax
add esp, 8
test esi, esi
jne 0x41149c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41149f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046d2eb
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4113ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046d1fe
xor eax, eax
jmp 0x4114df
mov byte [esi], 0
push 0x4dcce0
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.0046d1fe
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 0x423e80
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 0x423eee
cmp si, 0x69
ja 0x423eee
add esi, 0xffd0
cmp si, 0x11
je 0x423ebe
push 0x11
call edi
test ax, ax
jge 0x423ebe
or esi, 0x2000
cmp si, 0x10
je 0x423ed3
push 0x10
call edi
test ax, ax
jge 0x423ed3
or esi, 0x4000
cmp si, 0x12
je 0x423ee8
push 0x12
call edi
test ax, ax
jge 0x423ee8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x423efb
mov esi, 0xbd
jmp 0x423eaf
cmp si, 0x6e
jne 0x423f08
mov esi, 0xbe
jmp 0x423eaf
cmp si, 0x6f
jne 0x423ea9
mov esi, 0xbf
jmp 0x423eaf

Function at 0x425600
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4f4140]
xor edx, edx
cmp eax, edx
jne 0x425626
xor eax, eax
mov byte [eax + 0x4f4040], al
inc eax
cmp eax, 0x100
jl 0x42560e
mov dword [0x4f4140], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4f4040
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4256b7
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 0x42568a
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 0x425658
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x425730
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 0x425783
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 0x42576a
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
Function at 0x42c3a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x42c538
cmp ebp, ebx
jle 0x42c538
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x42c3fe
dec eax
or eax, 0xfffffff8
inc eax
je 0x42c405
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x42c414
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42c41b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0046cf3f
add esp, 4
cmp eax, ebx
je 0x42c43c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0046cf3f
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x42c52e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x42c515
mov al, byte [edx]
cmp al, 0xc0
jbe 0x42c501
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x42c4f6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x42c504
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x42c504
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x42c4a0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x42c491
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret