joyce8/EMBER2024-capa huggingface dataset:
Function at 0xe5ca84
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe5ca8e
pushal
call 0xe5ca94
pop ebp
sub ebp, 0x10
sub ebp, 0xa5ca84
jmp 0xe5caaa
mov eax, 0xa5ca84
add eax, ebp
add eax, 0x4c
mov ecx, 0x5bb
mov edx, 0x89a7397d
xor byte [eax], dl
inc eax
dec ecx
jne 0xe5cac1
jmp 0xe5cad4
div byte [eax + 0x7d41f4f6]
jge 0xe5cb59
cld
mov esp, 0x7d7d7d85
jle 0xe5ca94
lds edi, [ebx + 0x7d]
jge 0xe5cb66
invalid
jge 0xe5cb70
push ebx
sub eax, edi
jge 0xe5cbdc
push ecx
pop ecx
lock sbb dword [ecx - 0x7f], ebx
hlt
cmp bh, byte [edi + 0x7d]
jg 0xe5cbef
jge 0xe5cb9c
lock adc dword [ecx + 0x7d], ebx
or byte [eax], 0x71
or byte [eax], 0x75
xchg ebp, eax
add eax, 0xf67d7d7d
sal byte [ebp + 0x7d], 0x7d
jge 0xe5cbd8
mov ah, 0xfc
invalid
scasd eax, dword es:[edi]
invalid
xchg ebp, eax
js 0xe5cbd2
xor eax, 0x7d33f972
jge 0xe5cc20
jb 0xe5cb98
xor edi, dword [ebp + 0x7d]
jge 0xe5cc16
jb 0xe5cb9a
cmc
xor eax, 0x1b7d7d7d
mul byte [ecx + 0x44]
std
xchg byte [ebp + 0x7d67f972], dl
jge 0xe5cc33
std
xchg byte [edx + esi*2 + 0x7d7d6cf9], dl
xchg esp, eax
jb 0xe5cbb4
insb byte es:[edi], dx
jge 0xe5cc3b
jge 0xe5cbdb
cld
xchg byte [edx + 0x68f97258], al
jge 0xe5cc46
jge 0xe5cc07
xchg esp, eax
mov cl, 0x82
add byte [edx + 0x7c443154], 0xfe
push esp
xor dword [esp + edi*2 - 2], eax
inc esp
jl 0xe5cbd3
mov esp, 0x7995fe78
xchg esp, eax
xchg ebp, eax
jns 0xe5cb6f
rol byte [edx + 0x29548282], 0x44
add byte [edx + 0x44295482], 0x7f
invalid
jg 0xe5cbe2
mov esp, 0x7997fe7b
invalid
add byte [edx - 0xfa6ae0a], 0x19
pop ecx
jns 0xe5cbb8
jno 0xe5cc78
sub dh, dh
xchg ecx, eax
sub ebp, dword [edx]
sub dh, dh
or byte [ecx - 0xa], dh
add byte [ebp - 0x7f], dh
or edi, 0xfc7bf7fd
mov ebx, 0x7d7d7d7c
cmc
iretd
jge 0xe5cc08
jp 0xe5cc11
mov edx, 0x7d7d7d7c
jl 0xe5cc95
jge 0xe5cc97
invalid
jg 0xe5cc9a
jge 0xe5cc9c
jg 0xe5cbd0
scasd eax, dword es:[edi]
jb 0xe5cc1b
js 0xe5cca2
jge 0xe5cca4
imul dword [ebx + 0x3b]
outsd dx, dword [esi]
scasd eax, dword es:[edi]
cmp ebp, dword [edi - 0x51]
jb 0xe5cc2c
movsd dword es:[edi], dword [esi]
add byte [edx + 0x72af7f82], 0xf8
scasd eax, dword es:[edi]
jb 0xe5cc2e
js 0xe5ccb5
jge 0xe5ccb7
imul dword [ebx + 0x3b]
outsd dx, dword [esi]
imul edi, dword [ebx], 0x6f
scasd eax, dword es:[edi]
jb 0xe5cc3f
pop ss
jge 0xe5ccc1
jge 0xe5cc94
mov ebp, 0xf872af7f
js 0xe5ccca
jge 0xe5cccc
imul dword [ebx + 0x3b]
outsd dx, dword [esi]
scasd eax, dword es:[edi]
jb 0xe5cc54
push edi
jl 0xe5ccd6
jge 0xe5ccda
scasd eax, dword es:[edi]
jb 0xe5cc56
js 0xe5ccdd
jge 0xe5ccdf
imul dword [ebx + 0x3b]
jg 0xe5cc29
jb 0xe5cc74
cmp al, dh
jg 0xe5cd25
scasd eax, dword es:[edi]
clc
jg 0xe5cc74
jb 0xe5ccbf
jge 0xe5ccc3
imul edi, dword [ebx], 0x6f
jge 0xe5cd59
jb 0xe5ccd7
Function at 0x41d2b0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.0041e5d0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41d2e4
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x4a343c]
call dword [ebp - 8]
jmp 0x41d2ea
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esp, ebp
pop ebp
ret 4

Function at 0x41d340
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.0041e610
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41d374
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x4a343c]
call dword [ebp - 8]
jmp 0x41d37e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret 4

Function at 0x41d390
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.0041e630
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41d3c8
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
call dword [0x4a343c]
call dword [ebp - 8]
jmp 0x41d3d6
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esp, ebp
pop ebp
ret 8

Function at 0x41d4f0
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.0041e2f0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41d530
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x4a343c]
call dword [ebp - 8]
jmp 0x41d54e
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0041d860
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x430c80
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push eax
lea ecx, [ebp - 4]
call fcn.00430f60
lea ecx, [ebp - 4]
call fcn.00431000
movzx eax, al
test eax, eax
jne 0x430cbd
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 4]
call fcn.00430f80
mov eax, dword [ebp - 0x18]
jmp 0x430de5
lea ecx, [ebp - 4]
call fcn.00430fa0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00430f20
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x10]
sar edx, 1
mov dword [ebp - 0x14], edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
call fcn.00430fa0
push eax
push 0
push 0
call fcn.00430ac0
add esp, 0x20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x430d23
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 4]
call fcn.00430f80
mov eax, dword [ebp - 0x20]
jmp 0x430de5
push 0x66
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
push 2
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040e1b0
add esp, 0x10
push eax
lea ecx, [ebp - 8]
call fcn.00402fe0
lea ecx, [ebp - 8]
call fcn.00403080
movzx edx, al
test edx, edx
jne 0x430d6c
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 8]
call fcn.00403000
lea ecx, [ebp - 4]
call fcn.00430f80
mov eax, dword [ebp - 0x24]
jmp 0x430de5
lea ecx, [ebp - 8]
call fcn.004030a0
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 4]
call fcn.00430fa0
mov dword [ebp - 0x2c], eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
call fcn.00430ac0
add esp, 0x20
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x430dc7
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 8]
call fcn.00403000
lea ecx, [ebp - 4]
call fcn.00430f80
mov eax, dword [ebp - 0x34]
jmp 0x430de5
lea ecx, [ebp - 8]
call fcn.0040a700
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 8]
call fcn.00403000
lea ecx, [ebp - 4]
call fcn.00430f80
mov eax, dword [ebp - 0x38]
mov esp, ebp
pop ebp
ret
Function at 0x430df0
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push eax
lea ecx, [ebp - 4]
call fcn.00430f60
lea ecx, [ebp - 4]
call fcn.00431030
movzx eax, al
test eax, eax
jne 0x430e2d
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 4]
call fcn.00430f80
mov eax, dword [ebp - 0x14]
jmp 0x430ee7
lea ecx, [ebp - 4]
call fcn.00430fa0
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00430f20
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0xc]
sar edx, 1
mov dword [ebp - 0x10], edx
push 0x40
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
push 2
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
call fcn.0040e1b0
add esp, 0x10
push eax
lea ecx, [ebp - 8]
call fcn.0040a920
lea ecx, [ebp - 8]
call fcn.0040a9f0
movzx ecx, al
test ecx, ecx
jne 0x430e9d
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 8]
call fcn.0040a940
lea ecx, [ebp - 4]
call fcn.00430f80
mov eax, dword [ebp - 0x1c]
jmp 0x430ee7
lea ecx, [ebp - 4]
call fcn.00430fa0
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 8]
call fcn.0040aa10
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x10]
shl edx, 1
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00433bd0
add esp, 0xc
lea ecx, [ebp - 8]
call fcn.0040a960
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 8]
call fcn.0040a940
lea ecx, [ebp - 4]
call fcn.00430f80
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret

Function at 0x433620
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.00433a50
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x433652
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x4a343c]
call dword [ebp - 8]
jmp 0x43365c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret
Function at 0x46fdf0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
lea ecx, [ebp - 0x4c]
call fcn.0042d6c0
lea ecx, [ebp - 0x34]
call fcn.0042d6c0
call fcn.0042d5c0
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042d8d0
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x46fe43
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x34]
call fcn.0042d710
lea ecx, [ebp - 0x4c]
call fcn.0042d710
mov eax, dword [ebp - 8]
jmp 0x46feb8
call fcn.0042d5c0
push eax
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042d8d0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x46fe7e
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x34]
call fcn.0042d710
lea ecx, [ebp - 0x4c]
call fcn.0042d710
mov eax, dword [ebp - 0x10]
jmp 0x46feb8
lea ecx, [ebp - 0x34]
call fcn.0042d760
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x4c]
call fcn.0042d760
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x34]
call fcn.0042d710
lea ecx, [ebp - 0x4c]
call fcn.0042d710
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x474c70
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.0046c410
mov eax, dword [0x4a6040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x4a7a80]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x474e48
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x474d97
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x474d97
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x474d75
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x474cf9
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x474e01
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x474e68
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x474e43
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x474e68
jmp 0x474cd2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402850
mov esp, ebp
pop ebp
ret
Function at 0x474e80
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.0046c410
mov eax, dword [0x4a6040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x4a7a80]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x47506b
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x474fb6
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x474fb6
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x474f92
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x474f09
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x475024
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x47508b
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x475066
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x47508b
jmp 0x474ee2
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402850
mov esp, ebp
pop ebp
ret
Function at 0x454cc0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x53393b
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.0052467e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x454d42
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0052110e
mov eax, dword [eax]
push 0x8e1da4
push eax
call fcn.00500ba4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00524909
test bl, bl
je 0x454d42
push 0x8e1da4
lea ecx, [esp + 0xc]
call fcn.00524c99
push 0x8e1db0
lea ecx, [esp + 0xc]
call fcn.00524c99
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 0x454d7e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00524909
jmp 0x454e49
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 0x454e02
lea edx, [esp + 0x7c]
push 0x8e1dac
push edx
call fcn.00500ba4
add esp, 8
test eax, eax
je 0x454e02
lea eax, [esp + 0x7c]
push 0x8e1da8
push eax
call fcn.00500ba4
add esp, 8
test eax, eax
je 0x454e02
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 0x454d92
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.00524909
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 0x456550
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 0x4565b2
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 0x4565c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x533adb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x8ee6d0]
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 0x4566f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x456626
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00524909
xor eax, eax
jmp 0x45676f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00524a46
push esi
lea ecx, [esp + 0xc]
call fcn.00524cd5
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x8e1dfc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x45674d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00456550
test eax, eax
jne 0x45674d
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.00456550
test eax, eax
jne 0x45674d
lea eax, [esp + 0x14]
push 0x8e1dd8
push eax
call fcn.00501d20
mov esi, eax
add esp, 8
test esi, esi
jne 0x45672c
lea ecx, [esp + 0x14]
push 0x8e1dd4
push ecx
call fcn.00501ca0
mov esi, eax
add esp, 8
test esi, esi
jne 0x45672c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x45672f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.005249f6
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x45663e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00524909
xor eax, eax
jmp 0x45676f
mov byte [esi], 0
push 0x8e1dd0
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.00524909
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 0x46cba0
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 0x46cc0e
cmp si, 0x69
ja 0x46cc0e
add esi, 0xffd0
cmp si, 0x11
je 0x46cbde
push 0x11
call edi
test ax, ax
jge 0x46cbde
or esi, 0x2000
cmp si, 0x10
je 0x46cbf3
push 0x10
call edi
test ax, ax
jge 0x46cbf3
or esi, 0x4000
cmp si, 0x12
je 0x46cc08
push 0x12
call edi
test ax, ax
jge 0x46cc08
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x46cc1b
mov esi, 0xbd
jmp 0x46cbcf
cmp si, 0x6e
jne 0x46cc28
mov esi, 0xbe
jmp 0x46cbcf
cmp si, 0x6f
jne 0x46cbc9
mov esi, 0xbf
jmp 0x46cbcf

Function at 0x46e640
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x9002d0]
xor edx, edx
cmp eax, edx
jne 0x46e666
xor eax, eax
mov byte [eax + 0x9001d0], al
inc eax
cmp eax, 0x100
jl 0x46e64e
mov dword [0x9002d0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x9001d0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x46e6f7
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 0x46e6ca
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 0x46e698
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x46e770
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 0x46e7c3
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 0x46e7aa
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