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

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
push edi
push 0x418bb0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x418bb0
mov ebx, dword [esp + 0x50]
mov eax, ebx
shl eax, 4
add eax, ebx
lea ebp, [eax + eax*2]
shl ebp, 3
mov eax, dword [ebp + 0x4159a8]
test eax, eax
jne 0x40ac87
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xa0100002
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call sub.MSVCR80.dll_srand
add esp, 4
call sub.MSVCR80.dll_rand
mov edi, dword [esp + 0x50]
lea edx, [esp + 0x16]
xor ecx, ecx
mov byte [esp + 0x11], 0xc
mov byte [esp + 0x12], al
mov byte [esp + 0x13], 0
mov byte [esp + 0x14], 0
mov byte [esp + 0x15], 0
sub edi, edx
lea esi, [esp + ecx + 0x16]
mov dl, byte [edi + esi]
xor dl, al
inc ecx
cmp ecx, 4
mov byte [esi], dl
jl 0x40acd3
sub esp, 0x1c
mov ecx, 6
lea esi, [esp + 0x2c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.0040ab10
lea esi, [ebp + 0x4159b8]
add esp, 0x1c
mov ecx, esi
mov byte [esp + 0x28], al
call fcn.0040bfe0
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push ecx
push ebx
call fcn.0040a550
push 0
mov edi, eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0x10
mov ecx, esi
call fcn.0040c010
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 8
Function at 0x40ad40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
push edi
push 0x418bb0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x418bb0
mov eax, dword [esp + 0x50]
mov ebp, eax
shl ebp, 4
add ebp, eax
lea ebp, [ebp + ebp*2]
shl ebp, 3
mov eax, dword [ebp + 0x4159a8]
test eax, eax
jne 0x40ad88
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xa0100002
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call sub.MSVCR80.dll_srand
call sub.MSVCR80.dll_rand
sub esp, 0x18
mov bl, al
mov ecx, 6
lea esi, [esp + 0x2c]
mov edi, esp
mov byte [esp + 0x2d], 4
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], bl
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.0040ab10
lea esi, [ebp + 0x4159b8]
add esp, 0x1c
mov ecx, esi
mov byte [esp + 0x28], al
call fcn.0040bfe0
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
call fcn.0040a550
push 0
mov ebp, eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0x10
mov ecx, esi
call fcn.0040c010
mov eax, dword [esp + 0x50]
lea esi, [esp + 0x32]
sub esi, eax
mov edi, 8
mov cl, byte [esi + eax]
xor cl, bl
mov byte [eax], cl
inc eax
dec edi
jne 0x40ae24
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 8

Function at 0x40ae40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
push edi
push 0x418bb0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x418bb0
mov ebp, dword [esp + 0x50]
mov eax, ebp
shl eax, 4
add eax, ebp
lea ebx, [eax + eax*2]
shl ebx, 3
mov eax, dword [ebx + 0x4159a8]
test eax, eax
jne 0x40ae87
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xa0100002
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call sub.MSVCR80.dll_srand
add esp, 4
call sub.MSVCR80.dll_rand
mov dl, al
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov byte [esp + 0x11], 0xa
mov byte [esp + 0x12], dl
mov byte [esp + 0x13], dl
mov byte [esp + 0x14], dl
mov byte [esp + 0x15], dl
xor eax, eax
mov cl, byte [esp + eax + 0x16]
xor cl, dl
mov byte [esp + eax + 0x16], cl
inc eax
cmp eax, 0x12
jl 0x40aec8
sub esp, 0x1c
mov ecx, 6
lea esi, [esp + 0x2c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.0040ab10
lea esi, [ebx + 0x4159b8]
add esp, 0x1c
mov ecx, esi
mov byte [esp + 0x28], al
call fcn.0040bfe0
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push ecx
push ebp
call fcn.0040a550
push 0
mov edi, eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0x10
mov ecx, esi
call fcn.0040c010
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 4
Function at 0x40b230
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
push 0x418bb0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x68]
mov eax, ecx
shl eax, 4
add eax, ecx
lea ebp, [eax + eax*2]
shl ebp, 3
mov eax, dword [ebp + 0x4159a8]
test eax, eax
mov dword [esp + 0x68], eax
jne 0x40b27b
push 0x418bb0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xa0100002
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x10
mov ebx, dword [esp + 0x70]
cmp ebx, 0x1f0
jg 0x40b297
mov eax, ebx
and eax, reloc.WSOCK32.dll_ntohs
jns 0x40b295
dec eax
or eax, 0xfffffff0
inc eax
je 0x40b2b1
push 0x418bb0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xa0100004
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x10
test ebx, ebx
push 0x418bb0
jge 0x40b2cf
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xa0100004
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x10
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call sub.MSVCR80.dll_srand
add esp, 4
call sub.MSVCR80.dll_rand
mov dl, byte [esp + 0x6c]
mov cl, al
xor cl, dl
mov edx, ebx
sar edx, 8
mov byte [esp + 0x13], cl
mov ecx, dword [esp + 0x74]
xor dl, al
xor bl, al
mov byte [esp + 0x14], dl
mov edx, dword [ecx]
mov dword [esp + 0x16], edx
mov byte [esp + 0x11], 0x10
mov edx, dword [ecx + 4]
mov byte [esp + 0x12], al
mov dword [esp + 0x1a], edx
mov byte [esp + 0x15], bl
mov edx, dword [ecx + 8]
mov dword [esp + 0x1e], edx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x22], ecx
xor ecx, ecx
mov bl, byte [esp + ecx + 0x16]
xor bl, al
mov byte [esp + ecx + 0x16], bl
inc ecx
cmp ecx, 0x10
jl 0x40b33e
sub esp, 0x1c
mov ecx, 6
lea esi, [esp + 0x2c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.0040ab10
lea ebp, [ebp + 0x4159b8]
add esp, 0x1c
mov ecx, ebp
mov byte [esp + 0x28], al
call fcn.0040bfe0
mov ecx, 6
lea esi, [esp + 0x10]
lea edi, [esp + 0x48]
mov ebx, dword [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x10]
push edx
push eax
push ebx
movsb byte es:[edi], byte [esi]
call fcn.0040a5f0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40b3e0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x2c]
lea esi, [esp + 0x48]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 6
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x10]
push ecx
push edx
push ebx
movsb byte es:[edi], byte [esi]
call fcn.0040a5f0
add esp, 0xc
mov esi, eax
push 0
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, ebp
call fcn.0040c010
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x10
Function at 0x40b400
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
push edi
push 0x418bb0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x6c]
mov eax, ecx
shl eax, 4
add eax, ecx
lea ebp, [eax + eax*2]
shl ebp, 3
mov eax, dword [ebp + 0x4159a8]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x40b44b
push 0x418bb0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xa0100002
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x10
mov eax, dword [esp + 0x74]
cmp eax, 0x1f0
jg 0x40b467
mov ecx, eax
and ecx, reloc.WSOCK32.dll_ntohs
jns 0x40b465
dec ecx
or ecx, 0xfffffff0
inc ecx
je 0x40b481
push 0x418bb0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xa0100004
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x10
test eax, eax
push 0x418bb0
jge 0x40b49f
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xa0100004
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x10
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call sub.MSVCR80.dll_srand
call sub.MSVCR80.dll_rand
mov bl, al
mov al, byte [esp + 0x74]
mov dl, bl
sub esp, 0x18
xor dl, al
mov eax, dword [esp + 0x90]
mov ecx, eax
mov byte [esp + 0x33], dl
xor al, bl
mov dl, bl
mov byte [esp + 0x35], al
mov al, dl
mov ah, al
lea esi, [esp + 0x30]
mov edx, eax
mov edi, esp
shl edx, 0x10
mov dx, ax
mov byte [esp + 0x31], 0xf
mov dword [esp + 0x36], edx
mov byte [esp + 0x32], bl
sar ecx, 8
mov dword [esp + 0x3a], edx
xor cl, bl
mov dword [esp + 0x3e], edx
mov byte [esp + 0x34], cl
mov dword [esp + 0x42], edx
mov ecx, 6
mov word [esp + 0x46], dx
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.0040ab10
lea ebp, [ebp + 0x4159b8]
add esp, 0x1c
mov ecx, ebp
mov byte [esp + 0x2c], al
call fcn.0040bfe0
mov ecx, 6
lea esi, [esp + 0x14]
lea edi, [esp + 0x4c]
mov eax, dword [esp + 0x6c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
movsb byte es:[edi], byte [esi]
call fcn.0040a550
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40b5ac
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x30]
lea esi, [esp + 0x4c]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 6
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
movsb byte es:[edi], byte [esi]
call fcn.0040a5f0
add esp, 0xc
mov edi, eax
push 0
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, ebp
call fcn.0040c010
mov eax, dword [esp + 0x78]
lea esi, [esp + 0x36]
sub esi, eax
mov ebp, 0x10
mov cl, byte [esi + eax]
xor cl, bl
mov byte [eax], cl
inc eax
dec ebp
jne 0x40b5cc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x10
Function at 0x40b8e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
push edi
push 0x418bb0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x418bb0
mov eax, dword [esp + 0x50]
mov ebp, eax
shl ebp, 4
add ebp, eax
lea ebp, [ebp + ebp*2]
shl ebp, 3
mov eax, dword [ebp + 0x4159a8]
test eax, eax
jne 0x40b928
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xa0100002
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call sub.MSVCR80.dll_srand
call sub.MSVCR80.dll_rand
sub esp, 0x18
mov bl, al
mov ecx, 6
lea esi, [esp + 0x2c]
mov edi, esp
mov byte [esp + 0x2d], 0xd
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], bl
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.0040ab10
lea esi, [ebp + 0x4159b8]
add esp, 0x1c
mov ecx, esi
mov byte [esp + 0x28], al
call fcn.0040bfe0
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
call fcn.0040a550
push 0
mov ebp, eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0x10
mov ecx, esi
call fcn.0040c010
mov eax, dword [esp + 0x50]
lea esi, [esp + 0x32]
sub esi, eax
mov edi, 0x10
mov cl, byte [esi + eax]
xor cl, bl
mov byte [eax], cl
inc eax
dec edi
jne 0x40b9c4
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 8
Function at 0x40be20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
push edi
push 0x418bb0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x418bb0
mov ecx, dword [esp + 0x50]
mov eax, ecx
shl eax, 4
add eax, ecx
lea ebp, [eax + eax*2]
shl ebp, 3
mov eax, dword [ebp + 0x4159a8]
test eax, eax
jne 0x40be67
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xa0100002
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0x10
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call sub.MSVCR80.dll_srand
add esp, 4
call sub.MSVCR80.dll_rand
mov cl, byte [esp + 0x50]
mov bl, al
xor al, cl
mov byte [esp + 0x11], 2
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x54]
mov ecx, eax
xor al, bl
sar ecx, 8
xor cl, bl
mov byte [esp + 0x15], al
mov byte [esp + 0x12], bl
mov byte [esp + 0x14], cl
xor eax, eax
mov cl, byte [esp + eax + 0x16]
xor cl, bl
mov byte [esp + eax + 0x16], cl
inc eax
cmp eax, 0x12
jl 0x40bebb
sub esp, 0x1c
mov ecx, 6
lea esi, [esp + 0x2c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.0040ab10
lea esi, [ebp + 0x4159b8]
add esp, 0x1c
mov ecx, esi
mov byte [esp + 0x28], al
call fcn.0040bfe0
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x10]
push edx
push eax
push ecx
call fcn.0040a550
push 0
mov edi, eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0x10
mov ecx, esi
call fcn.0040c010
mov dl, byte [esp + 0x33]
mov cl, byte [esp + 0x32]
xor dl, bl
xor eax, eax
mov ah, dl
mov edx, dword [esp + 0x58]
xor cl, bl
mov al, cl
mov word [edx], ax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0x10

Function at 0x40bfe0
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x40bff8
lea eax, [esi + 4]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi], eax
mov ecx, dword [esi]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete al
pop esi
ret

Function at 0x40c056
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411ce4]
jne 0x40c060
repz ret
jmp fcn.0040c627
Function at 0x411fc0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48868b
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.0047d285
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x412042
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047b15f
mov eax, dword [eax]
push 0x8cccd4
push eax
call fcn.0046dc94
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047d510
test bl, bl
je 0x412042
push 0x8cccd4
lea ecx, [esp + 0xc]
call fcn.0047d8a0
push 0x8ccce0
lea ecx, [esp + 0xc]
call fcn.0047d8a0
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 0x41207e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047d510
jmp 0x412149
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 0x412102
lea edx, [esp + 0x7c]
push 0x8cccdc
push edx
call fcn.0046dc94
add esp, 8
test eax, eax
je 0x412102
lea eax, [esp + 0x7c]
push 0x8cccd8
push eax
call fcn.0046dc94
add esp, 8
test eax, eax
je 0x412102
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 0x412092
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.0047d510
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 0x412950
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 0x4129b2
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 0x4129c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48870b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x8d83f8]
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 0x412af8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x412a26
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047d510
xor eax, eax
jmp 0x412b6f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047d64d
push esi
lea ecx, [esp + 0xc]
call fcn.0047d8dc
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 0x412b4d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00412950
test eax, eax
jne 0x412b4d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00412950
test eax, eax
jne 0x412b4d
lea eax, [esp + 0x14]
push 0x8cccf0
push eax
call fcn.0046ed10
mov esi, eax
add esp, 8
test esi, esi
jne 0x412b2c
lea ecx, [esp + 0x14]
push 0x8cccec
push ecx
call fcn.0046ec90
mov esi, eax
add esp, 8
test esi, esi
jne 0x412b2c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x412b2f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047d5fd
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x412a3e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047d510
xor eax, eax
jmp 0x412b6f
mov byte [esi], 0
push 0x8ccce8
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.0047d510
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 0x423380
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 0x4233ee
cmp si, 0x69
ja 0x4233ee
add esi, 0xffd0
cmp si, 0x11
je 0x4233be
push 0x11
call edi
test ax, ax
jge 0x4233be
or esi, 0x2000
cmp si, 0x10
je 0x4233d3
push 0x10
call edi
test ax, ax
jge 0x4233d3
or esi, 0x4000
cmp si, 0x12
je 0x4233e8
push 0x12
call edi
test ax, ax
jge 0x4233e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4233fb
mov esi, 0xbd
jmp 0x4233af
cmp si, 0x6e
jne 0x423408
mov esi, 0xbe
jmp 0x4233af
cmp si, 0x6f
jne 0x4233a9
mov esi, 0xbf
jmp 0x4233af

Function at 0x424cc0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x8e8b98]
xor edx, edx
cmp eax, edx
jne 0x424ce6
xor eax, eax
mov byte [eax + 0x8e8a98], al
inc eax
cmp eax, 0x100
jl 0x424cce
mov dword [0x8e8b98], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x8e8a98
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x424d77
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 0x424d4a
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 0x424d18
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x424df0
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 0x424e43
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 0x424e2a
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