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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100adb80]
xor eax, ebp
mov dword [ebp - 4], eax
movdqu xmm0, xmmword [0x100832f0]
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
mov dword [ebp - 0x18], ecx
movdqu xmmword [ebp - 0x14], xmm0
test edi, edi
je 0x100634e3
push esi
mov esi, dword [ebp + 8]
dec edi
shr edi, 4
add esi, 8
inc edi
mov eax, dword [esi - 8]
xor dword [ebp - 0x14], eax
mov eax, dword [esi - 4]
xor dword [ebp - 0x10], eax
mov eax, dword [esi]
xor dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
xor dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push eax
push ecx
call fcn.10064670
movdqu xmm0, xmmword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
lea esi, [esi + 0x10]
add esp, 0xc
lea ebx, [ebx + 0x10]
movdqu xmmword [ebx - 0x10], xmm0
dec edi
jne 0x100634a7
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1006bd1f
mov esp, ebp
pop ebp
ret 8

Function at 0x10065150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x100adb80]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x100aef48], 0
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x58], ebx
jne 0x1006517a
jmp 0x10065178
cmp esi, 0x20
ja 0x100652a5
push esi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.1006c980
mov eax, 0x44
sub eax, esi
push eax
lea eax, [ebp - 0x48]
add eax, esi
push 0
push eax
call fcn.1006c120
lea eax, [esi + 7]
mov ecx, 2
sar eax, 3
add esp, 0x18
cmp eax, ecx
cmovl eax, ecx
xor edi, edi
mov dword [ebp - 0x4c], eax
add ebx, 0x1004
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [edi + 1]
push eax
call fcn.100655a0
push dword [ebp - 0x4c]
mov esi, eax
lea eax, [ebp - 0x48]
push eax
push edi
rol esi, 8
call fcn.100655a0
add eax, esi
lea ebx, [ebx + 8]
mov dword [ebx - 0xc], eax
add edi, 2
add eax, esi
add esp, 0x18
rol eax, 9
mov dword [ebx - 8], eax
mov eax, dword [ebp - 0x4c]
cmp edi, 0x28
jl 0x100651c1
lea ecx, [ebp - 0x48]
lea ecx, [ecx + eax*8]
lea edx, [ebp - 0x48]
cmp ecx, edx
jbe 0x10065284
lea edi, [ebp - 0x1d]
mov dword [ebp - 0x50], edi
sub ecx, 8
mov dword [edi - 0xb], 0
lea edx, [edi - 8]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x54], edx
mov eax, dword [ecx]
mov dword [edi - 7], eax
mov eax, dword [ecx + 4]
mov dword [edi - 3], eax
mov eax, edi
cmp edi, edx
jbe 0x10065274
mov edi, edx
mov dh, byte [eax]
xor byte [eax - 4], dh
mov bl, dh
movzx esi, dh
mov dl, dh
mov ecx, esi
shr dl, 1
shr ecx, 7
and esi, 1
add bl, bl
xor bl, byte [ecx*4 + 0x100ac168]
xor dl, byte [esi*4 + 0x100ac170]
xor byte [eax - 2], bl
xor dl, bl
xor byte [eax - 1], dl
xor byte [eax - 3], dl
dec eax
cmp eax, edi
ja 0x10065238
mov edi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x5c]
add edi, 8
lea eax, [ebp - 0x48]
mov dword [ebp - 0x50], edi
cmp ecx, eax
ja 0x10065212
mov eax, dword [ebp - 0x4c]
push dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100652b0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1006bd1f
mov esp, ebp
pop ebp
ret
jmp 0x100652a5
Function at 0x100657d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor eax, eax
push edi
jmp 0x100657e0
movzx edi, byte [eax + 0x100aef50]
mov ecx, edi
movzx ebx, byte [eax + 0x100af050]
and ecx, 1
mov esi, edi
shr esi, 1
xor esi, dword [ecx*4 + 0x100ac160]
mov ecx, esi
mov edx, esi
and ecx, 1
shr edx, 1
xor edx, dword [ecx*4 + 0x100ac160]
mov ecx, edi
shl ecx, 8
xor edx, edi
or ecx, edx
xor esi, edx
shl ecx, 8
or ecx, esi
shl ecx, 8
or ecx, esi
mov dword [eax*4 + 0x100af550], ecx
mov ecx, edx
shl ecx, 8
or ecx, esi
shl ecx, 8
or ecx, edi
mov edi, ebx
shl ecx, 8
or ecx, edx
shr edi, 1
mov dword [eax*4 + 0x100afd50], ecx
mov ecx, ebx
and ecx, 1
xor edi, dword [ecx*4 + 0x100ac160]
mov ecx, edi
mov esi, edi
and ecx, 1
shr esi, 1
xor esi, dword [ecx*4 + 0x100ac160]
xor esi, ebx
xor edi, esi
mov edx, edi
shl edx, 8
mov ecx, edx
or edx, ebx
or ecx, edi
shl edx, 8
shl ecx, 8
or edx, edi
or ecx, esi
shl edx, 8
shl ecx, 8
or edx, esi
or ecx, ebx
mov dword [eax*4 + 0x100af950], edx
mov dword [eax*4 + 0x100af150], ecx
inc eax
cmp eax, 0x100
jl 0x100657e0
pop edi
pop esi
pop ebx
ret

Function at 0x100658b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
jmp 0x100658c0
mov edx, edi
mov esi, edi
and edx, 0xf
sar esi, 4
mov ecx, edx
mov eax, edx
and ecx, 1
sar eax, 1
shl ecx, 3
xor edx, esi
or ecx, eax
mov eax, esi
and eax, 1
shl eax, 3
xor ecx, eax
xor ecx, esi
movzx esi, byte [edx + ebx]
movzx edx, byte [ebx + ecx + 0x10]
mov ecx, edx
mov eax, edx
and ecx, 1
sar eax, 1
shl ecx, 3
xor edx, esi
or ecx, eax
mov eax, esi
and eax, 1
shl eax, 3
xor ecx, eax
xor ecx, esi
mov al, byte [ecx + ebx + 0x30]
mov ecx, dword [ebp + 0xc]
shl al, 4
or al, byte [edx + ebx + 0x20]
mov byte [edi + ecx], al
inc edi
cmp edi, 0x100
jl 0x100658c0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x100670d0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x21c8], 0
je 0x100670e2
pop ebp
jmp fcn.100670f0
pop ebp
jmp fcn.10066680
Function at 0x10068270
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100aa1d8
push 0x1006d0a0
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x100adb80]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x1f4], ebx
push 0xe0
push 0
lea eax, [ebp - 0xfc]
push eax
call fcn.1006c120
push 0xf0
push 0
lea eax, [ebp - 0x1ec]
push eax
call fcn.1006c120
add esp, 0x18
test esi, esi
je 0x1006849e
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1006849e
test ebx, ebx
je 0x1006849e
lea eax, [esi + edi]
cmp esi, eax
ja 0x1006849e
mov dword [ebp - 4], 0
push 0x40
push 0
push edi
push 0
call fcn.10068230
add esp, 0x10
test eax, eax
je 0x10068497
movdqu xmm1, xmmword [esi]
movdqu xmm0, xmmword [esi + 0x10]
movdqu xmmword [ebp - 0x240], xmm0
movdqu xmm0, xmmword [esi + 0x20]
movdqu xmmword [ebp - 0x230], xmm0
movdqu xmm0, xmmword [esi + 0x30]
movdqu xmmword [ebp - 0x220], xmm0
mov ecx, 0x5a4d
movd eax, xmm1
cmp ax, cx
jne 0x10068497
push 0x18
mov ebx, dword [ebp - 0x214]
push ebx
push edi
push 0
call fcn.10068230
add esp, 0x10
test eax, eax
je 0x10068497
lea eax, [esi + ebx]
mov dword [ebp - 0x1f0], eax
movdqu xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x200], xmm0
movd eax, xmm1
cmp eax, 0x4550
jne 0x10068497
mov eax, dword [ebp - 0x1fc]
shr eax, 0x10
test al, 2
je 0x10068497
add ebx, 0x18
push 2
push ebx
push edi
push 0
call fcn.10068230
add esp, 0x10
test eax, eax
je 0x10068497
mov eax, dword [ebp - 0x1f0]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
je 0x1006842e
cmp eax, 0x20b
jne 0x10068497
cmp word [ebp - 0x1fc], 0x70
jb 0x10068497
push 0x70
push ebx
push edi
push 0
call fcn.10068230
add esp, 0x10
test eax, eax
je 0x10068497
push 0x70
mov eax, dword [ebp - 0x1f0]
add eax, 0x18
push eax
lea eax, [ebp - 0x1ec]
push eax
call fcn.1006c980
mov ecx, dword [ebp - 0x1b4]
jmp 0x10068468
cmp word [ebp - 0x1fc], 0x60
jb 0x10068497
push 0x60
push ebx
push edi
push 0
call fcn.10068230
add esp, 0x10
test eax, eax
je 0x10068497
push 0x60
mov eax, dword [ebp - 0x1f0]
add eax, 0x18
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.1006c980
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x1f8], ecx
add esp, 0xc
mov dword [ebp - 4], 0xfffffffe
lea eax, [esi + ecx]
cmp esi, eax
ja 0x1006849e
mov eax, dword [ebp - 0x1f4]
mov dword [eax], ecx
mov eax, 1
jmp 0x100684a0
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1006bd1f
mov esp, ebp
pop ebp
ret
Function at 0x10068c30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100aa158
push 0x1006d0a0
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x100adb80]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x1f4], ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1f0], eax
push 0xe0
push 0
lea eax, [ebp - 0xfc]
push eax
call fcn.1006c120
push 0xf0
push 0
lea eax, [ebp - 0x1ec]
push eax
call fcn.1006c120
add esp, 0x18
test edi, edi
je 0x10068ebb
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10068ebb
test ebx, ebx
je 0x10068ebb
cmp dword [ebp - 0x1f0], 0
je 0x10068ebb
lea eax, [edi + esi]
cmp edi, eax
ja 0x10068ebb
mov dword [ebp - 4], 0
push 0x40
push 0
push esi
push 0
call fcn.10068230
add esp, 0x10
test eax, eax
je 0x10068eb4
movdqu xmm1, xmmword [edi]
movdqu xmm0, xmmword [edi + 0x10]
movdqu xmmword [ebp - 0x240], xmm0
movdqu xmm0, xmmword [edi + 0x20]
movdqu xmmword [ebp - 0x230], xmm0
movdqu xmm0, xmmword [edi + 0x30]
movdqu xmmword [ebp - 0x220], xmm0
mov ecx, 0x5a4d
movd eax, xmm1
cmp ax, cx
jne 0x10068eb4
push 0x18
mov ebx, dword [ebp - 0x214]
push ebx
push esi
push 0
call fcn.10068230
add esp, 0x10
test eax, eax
je 0x10068eb4
lea eax, [edi + ebx]
mov dword [ebp - 0x1f8], eax
movdqu xmm1, xmmword [eax]
movdqu xmmword [ebp - 0x210], xmm1
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x200], xmm0
movd eax, xmm1
cmp eax, 0x4550
jne 0x10068eb4
mov eax, dword [ebp - 0x20c]
shr eax, 0x10
cmp eax, 0x3e8
ja 0x10068eb4
mov eax, dword [ebp - 0x1fc]
shr eax, 0x10
test al, 2
je 0x10068eb4
lea edi, [ebx + 0x18]
push 2
push edi
push esi
push 0
call fcn.10068230
add esp, 0x10
test eax, eax
je 0x10068eb4
mov ebx, dword [ebp - 0x1f8]
add ebx, 0x18
movzx eax, word [ebx]
cmp eax, 0x10b
je 0x10068e2f
cmp eax, 0x20b
jne 0x10068eb4
mov eax, 0x88
cmp word [ebp - 0x1fc], ax
jb 0x10068eb4
push eax
push edi
push esi
push 0
call fcn.10068230
add esp, 0x10
test eax, eax
je 0x10068eb4
push 0x88
push ebx
lea eax, [ebp - 0x1ec]
push eax
call fcn.1006c980
add esp, 0xc
cmp dword [ebp - 0x180], 3
jb 0x10068eb4
lea edi, [ebp - 0x16c]
jmp 0x10068e6c
cmp word [ebp - 0x1fc], 0x78
jb 0x10068eb4
push 0x78
push edi
push esi
push 0
call fcn.10068230
add esp, 0x10
test eax, eax
je 0x10068eb4
push 0x78
push ebx
lea eax, [ebp - 0xfc]
push eax
call fcn.1006c980
add esp, 0xc
cmp dword [ebp - 0xa0], 3
jb 0x10068eb4
lea edi, [ebp - 0x8c]
mov eax, dword [edi + 4]
test eax, eax
je 0x10068eb4
mov ebx, dword [edi]
test ebx, ebx
je 0x10068eb4
push eax
push ebx
push esi
push 0
call fcn.10068230
add esp, 0x10
test eax, eax
je 0x10068eb4
mov eax, dword [ebp - 0x1f4]
mov dword [eax], ebx
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x1f0]
mov dword [ecx], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
jmp 0x10068ebd
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1006bd1f
mov esp, ebp
pop ebp
ret
Function at 0x1007c83f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100adb80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [0x100ac004]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.100757e6
mov dword [ebp - 0x14], eax
cmp dword [0x100b1aac], esi
jne 0x1007c932
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007c8bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007ca12
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007ca12
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007ca12
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x100b1aac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x100b1ab0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100a6b28
push edi
mov dword [0x100b1ab4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x100b1abc], eax
test eax, eax
je 0x1007c92f
push 0x100a6b44
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x100b1ab8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007c957
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007c94a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007c96c
push 4
pop eax
jmp 0x1007ca14
cmp dword [ebp - 0x14], esi
je 0x1007c96c
push dword [0x100b1aac]
call dword [section..data]
push 3
jmp 0x1007c951
mov eax, dword [0x100b1ab8]
mov ebx, dword [section..data]
cmp eax, edi
je 0x1007c9ca
cmp dword [0x100b1abc], edi
je 0x1007c9ca
push eax
call ebx
push dword [0x100b1abc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007c9ca
test eax, eax
je 0x1007c9ca
call ecx
test eax, eax
je 0x1007c9bf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1007c9bf
test byte [ebp - 8], 1
jne 0x1007c9ca
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007c9fa
mov eax, dword [0x100b1ab0]
cmp eax, edi
je 0x1007c9f7
push eax
call ebx
test eax, eax
je 0x1007c9f7
call eax
mov esi, eax
test esi, esi
je 0x1007c9f7
mov eax, dword [0x100b1ab4]
cmp eax, edi
je 0x1007c9f7
push eax
call ebx
test eax, eax
je 0x1007c9f7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x100b1aac]
call ebx
test eax, eax
je 0x1007ca12
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007ca14
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006bd1f
mov esp, ebp
pop ebp
ret
Function at 0x41e1a4
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 0x41e1dc
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x41e1ca
mov al, 1
jmp 0x41e226
cmp dword [ebx + 0x54], ecx
jne 0x41e1d3
mov al, 2
jmp 0x41e226
cmp dword [ebx + 0x7c], ecx
jne 0x41e226
mov al, 3
jmp 0x41e226
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x41e1f1
mov al, 4
jmp 0x41e226
cmp ecx, 5
jne 0x41e211
cmp ebx, 0
jne 0x41e1ff
mov al, 5
jmp 0x41e226
cmp ebx, 1
jne 0x41e208
mov al, 6
jmp 0x41e226
cmp ebx, 2
jne 0x41e211
mov al, 7
jmp 0x41e226
cmp ecx, 6
jne 0x41e21d
cmp ebx, 0
jne 0x41e21f
mov al, 8
jmp 0x41e226
cmp ebx, 1
jne 0x41e226
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ea60
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x50c36b
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.004fe2c2
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x45eae2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004fb8a3
mov eax, dword [eax]
push 0x6e2264
push eax
call fcn.004ec124
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004fe54d
test bl, bl
je 0x45eae2
push 0x6e2264
lea ecx, [esp + 0xc]
call fcn.004fe929
push 0x6e5df8
lea ecx, [esp + 0xc]
call fcn.004fe929
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 0x45eb1e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004fe54d
jmp 0x45ebe9
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 0x45eba2
lea edx, [esp + 0x7c]
push 0x6e5df4
push edx
call fcn.004ec124
add esp, 8
test eax, eax
je 0x45eba2
lea eax, [esp + 0x7c]
push 0x6e5df0
push eax
call fcn.004ec124
add esp, 8
test eax, eax
je 0x45eba2
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 0x45eb32
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.004fe54d
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 0x45f3e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x50c3eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6f3f4c]
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 0x45f518
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x45f446
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004fe54d
xor eax, eax
jmp 0x45f58f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004fe6d6
push esi
lea ecx, [esp + 0xc]
call fcn.004fe965
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x6e5e30
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x45f56d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x6e5e28
push bind
call fcn.004b6b40
test eax, eax
jne 0x45f56d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x6e5e14
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push bind
mov ecx, edi
call fcn.004b6b40
test eax, eax
jne 0x45f56d
lea eax, [esp + 0x14]
push 0x6e5e0c
push eax
call fcn.004ed300
mov esi, eax
add esp, 8
test esi, esi
jne 0x45f54c
lea ecx, [esp + 0x14]
push 0x6e5e08
push ecx
call fcn.004ed280
mov esi, eax
add esp, 8
test esi, esi
jne 0x45f54c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x45f54f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004fe686
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x45f45e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004fe54d
xor eax, eax
jmp 0x45f58f
mov byte [esi], 0
push 0x6e5e04
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.004fe54d
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 0x474f30
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 0x474f9e
cmp si, 0x69
ja 0x474f9e
add esi, 0xffd0
cmp si, 0x11
je 0x474f6e
push 0x11
call edi
test ax, ax
jge 0x474f6e
or esi, 0x2000
cmp si, 0x10
je 0x474f83
push 0x10
call edi
test ax, ax
jge 0x474f83
or esi, 0x4000
cmp si, 0x12
je 0x474f98
push 0x12
call edi
test ax, ax
jge 0x474f98
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x474fab
mov esi, 0xbd
jmp 0x474f5f
cmp si, 0x6e
jne 0x474fb8
mov esi, 0xbe
jmp 0x474f5f
cmp si, 0x6f
jne 0x474f59
mov esi, 0xbf
jmp 0x474f5f

Function at 0x476760
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x705208]
xor edx, edx
cmp eax, edx
jne 0x476786
xor eax, eax
mov byte [eax + 0x705108], al
inc eax
cmp eax, 0x100
jl 0x47676e
mov dword [0x705208], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x705108
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x476817
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 0x4767ea
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 0x4767b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x476890
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 0x4768e3
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 0x4768ca
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