joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440ca6
Capabilities:
Execute anti-debugging instructions

Disassembly:
push dword [esp + 4]
lea esp, [esp + 2]
xchg dword [esp + 0xc], edx
jmp 0x440da4
lea edx, [edx - 0x1b]
push esp
mov byte [esp], bh
pop word [esp]
lea esp, [esp + 2]
xchg dword [esp + 0xc], edx
call fcn.00440d4f
mov edi, dword [esp + 0x34]
mov ebp, 0x1fd0c9
xchg si, bp
and dl, 0xbf
jns 0x440e04
xchg ah, bl
call fcn.00440e8c
jmp 0x440e53
xchg ah, bl
jmp 0x440fb3
jmp 0x440dee
xchg ah, cl
lea edi, reloc.mscoree.dll__CorExeMain
mov eax, dword [esp]
setge al
jmp 0x440e5c
xchg dword [esp], edi
cpuid
rdtsc
mov ch, dl
mov esi, dword [esp]
jmp 0x440e06
ror dl, 5
jl 0x440e6e
jge 0x440e6e
jle 0x440e20
jns 0x440e51
jmp 0x440e6a
xchg si, cx
push dword [esp]
ret 4
push esi
jmp 0x16b7f19c
inc ebp
jecxz 0x440ec9
push ss
in eax, 0x27
cmpsb byte [esi], byte es:[edi]
rcl dword [eax - 0x75]
sbb al, 0x24
mov ebx, dword [esp]
neg ax
xchg dword [esp], edi
rdtsc
setb bl
mov dl, bh
jmp 0x440e44
sub esp, 0xb8
mov esi, esp
jmp 0x440eb1
mov ebx, esi
mov ecx, 0x743af70d
rdtsc
mov bh, byte [esp]
mov eax, 0x1c8bdafa
and al, 0x66
push edi
lea ebp, [esp + 8]
lea edx, [ebx + edi]
mov cx, 0xb67c
cpuid
jmp 0x440e2e

Function at 0x440f4b
Capabilities:
Execute anti-debugging instructions

Disassembly:
sbb eax, 0xe7a16241
bswap edx
xchg bx, dx
call fcn.00440f90
arpl ax, sp
jbe 0x440f6f
loopne 0x440f85
popfd
sub esp, 0xe
rdtsc
jmp 0x440fd9
lea esp, [esp + 0xc]
xor edi, 0x5dd63912
cmp esi, edx
pop ebp
pushfd
inc edx
jge 0x441028
mov al, byte [esp + 2]
jmp 0x44102a
cli
cmc
sub esp, 0xe
jmp 0x440fd7
rdtsc
xchg word [esp + 9], bx
not ax
lea esp, [esp + 2]
jmp 0x440f68
mov al, byte [esp + 2]
push word [esp + 2]
mov ax, 0xeb8c
call fcn.0044105b
dec edi
salc
inc ecx
ret
jmp 0x441012
push word [esp + 2]
mov ax, 0xeb8c
lea esp, [esp + 2]
jmp 0x4410d6
lea esp, [esp + 4]
xor edi, 0x17a0aa06
mov dh, byte [esp]
bt bx, bx
jnp 0x44113e
ror ax, 8
jmp 0x44111f
jmp 0x441162
ror ax, 8
add edi, dword [ebp]
bsr dx, ax
jns 0x441105
xchg bh, al
setl bh
bsr dx, cx
jmp fcn.00441140
jmp 0x44111b
xchg bh, al
setl bh
bsr dx, cx
jmp fcn.00441140

Function at 0x448f70
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
jmp 0x42d967
xor ecx, ecx
cmp dword [esp + 4], ecx
jbe 0x42d981
push esi
movzx esi, byte [ecx + edx]
rol eax, 7
xor eax, esi
inc ecx
cmp ecx, dword [esp + 8]
jb 0x42d970
pop esi
jmp 0x42d98c
ret 4
pushal
push word [esp + 0x18]
jmp 0x448f7c
lea esp, [esp + 2]
lea esp, [esp + 0x20]
jmp 0x42d95a

Function at 0x44a16d
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov al, dl
xchg bl, dl
lea esp, [esp + 2]
mov ebx, dword [esp + 8]
mov edx, dword [esp]
jmp 0x44a14a

Function at 0x479b28
Capabilities:
Hash data with md5

Disassembly:
lea esp, [esp + 1]
jmp 0x479b87
lea esp, [esp + 4]
mov dword [eax + 0xc], 0xefcdab89
pushal
jmp 0x479baa
mov dword [eax + 8], reloc.mscoree.dll__CorExeMain
push esp
jmp 0x479b59
lea esp, [esp + 3]
and dword [eax + 4], 0
and dword [eax], 0
jmp 0x479b6f
mov dword [eax + 0x14], reloc.mscoree.dll__CorExeMain
ret
lea esp, [esp + 0x20]
mov dword [eax + 0x10], 0x98badcfe
push di
lea esp, [esp + 2]
jmp 0x479b94
Function at 0x4d77b8
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg word [esp + 5], di
mov ebx, esi
push dword [esp + 0xa]
mov dword [esp + 0xc], edi
jmp 0x4d77f9
cmc
setl dl
mov bh, byte [esp + 4]
jmp 0x4d77a2
not bl
lea esp, [esp + 7]
pop dword [esp]
mov dword [esp], esp
rdtsc
jmp 0x4d7810
mov byte [esp + 1], bl
xchg word [esp], dx
xchg dword [esp + 1], eax
lea eax, [edi*4]
xchg cx, dx
push dword [esp + 2]
jmp 0x4d77c2
xchg byte [esp + 0xd], dl
pop dword [esp + 5]
lea esp, [esp + 5]
not ecx
mov bh, 0xe2
push word [esp + 8]
jmp 0x4d77d8
mov eax, 0x3023a409
shl esi, 0x1e
bswap ebx
rcl di, 2
mov ah, byte [esp + 2]
not edi
jmp 0x4d7866
stc
xchg byte [esp], dl
bswap ebx
bswap ecx
not ecx
xchg si, bx
jmp 0x4d7876
out 0x77, eax
adc ah, cl
setp byte [ebx - 0x3d01fc3c]
add esp, 3
inc dl
xchg di, bp
mov ax, 0x97bd
cmc
clc
jmp 0x4d7844
mov ax, 0x9d7e
xchg byte [esp], dh
mov edi, 0xb7eeb1d4
mov byte [esp], bh
cpuid
lea eax, reloc.mscoree.dll__CorExeMain
jmp 0x4d78c2
mov bl, byte [esp + 8]
bt si, cx
call fcn.004d78ea
out dx, al
push 0xfffffffffffffff8
lahf
push 0xffffffffffffff84
or al, 0x8f
pop ds
jp 0x4d7845
jle 0x4d7860
invalid
sub esi, esp
rdtsc
sub esp, 0x15
push dword [esp + 0xb]
cmc
pop dword [esp + 8]
jmp 0x4d78a4

Function at 0x4d7e78
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esi, [eax + 0x89]
not dx
cpuid
jmp 0x4d7e89
mov si, word [esp]
mov eax, 0xb630d06a
bts ebx, ebx
jmp 0x4d7eb0
Function at 0x4d8775
Capabilities:
Access peb ldr_data

Disassembly:
call fcn.004d801a
push dx
lea esp, [esp + 2]
mov dword [esp + 0x3c], ebp
pushal
mov dword [esp + 3], eax
jmp 0x4d87aa
pushfd
mov dword [esp + 0x64], edi
lea esp, [esp + 0x64]
jmp 0x4d883c
push dword [esp + 6]
push dword [esp + 0x1a]
push word [esp + 0x19]
pushfd
lea esp, [esp + 2]
mov dword [esp + 0x64], esi
jmp 0x4d8794
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x4d8015
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x4d87ec
Function at 0x6a7420
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x186000]
push edi
jmp 0x6a743a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6a7441
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6a7430
mov eax, 1
add ebx, ebx
jne 0x6a7453
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6a7464
jne 0x6a7483
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6a7483
dec eax
add ebx, ebx
jne 0x6a7470
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6a7448
add ebx, ebx
jne 0x6a747f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6a74d5
xor ecx, ecx
sub eax, 3
jb 0x6a749b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6a750a
sar eax, 1
mov ebp, eax
jmp 0x6a74a6
add ebx, ebx
jne 0x6a74a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6a7474
inc ecx
add ebx, ebx
jne 0x6a74b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6a7474
add ebx, ebx
jne 0x6a74c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6a74b6
jne 0x6a74d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6a74b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6a74f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6a74e6
jmp 0x6a7436
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6a74f4
add edi, ecx
jmp 0x6a7436
pop esi
mov edi, esi
mov ecx, 0x426b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6a7512
cmp byte [edi], 0x13
jne 0x6a7512
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x6a7517
lea edi, [esi + 0x2a4000]
mov eax, dword [edi]
or eax, eax
je 0x6a758f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2cf510]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2cf63c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6a7544
mov ecx, edi
jns 0x6a7573
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2cf640]
or eax, eax
je 0x6a7589
mov dword [ebx], eax
add ebx, 4
jmp 0x6a7561
call dword [esi + 0x2cf650]
mov ebp, dword [esi + 0x2cf644]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x6a75c3
sub esp, 0xffffff80
jmp 0x4a40ac
Function at 0x401320
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1b8], eax
cmp dword [ebp + 8], 5
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
jne 0x4013eb
lea eax, [esp + 0x30]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push dword [edi + 4]
mov ebx, dword [sym.imp.MSVCR120.dll_atoi]
call ebx
add esp, 4
test eax, eax
je 0x401395
push dword [edi + 0x10]
call ebx
add esp, 4
push eax
push dword [edi + 0xc]
call ebx
add esp, 4
mov esi, eax
push dword [edi + 8]
call ebx
add esp, 4
mov edx, esi
mov ecx, eax
call fcn.004012a0
add esp, 4
jmp 0x4013e5
push dword [edi + 8]
mov byte [esp + 0x10], 0
mov dword [esp + 0x22], 0x504455
call ebx
add esp, 4
mov word [esp + 0x1c], ax
test ax, ax
je 0x4013bd
lea ecx, [esp + 0xc]
call fcn.004036f0
push dword [edi + 0xc]
mov byte [esp + 0x10], 0
mov dword [esp + 0x22], 0x504354
call ebx
add esp, 4
mov word [esp + 0x1c], ax
test ax, ax
je 0x4013e5
lea ecx, [esp + 0xc]
call fcn.004036f0
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x1c4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040374c
mov esp, ebp
pop ebp
ret

Function at 0x401ad0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2818
call fcn.00404070
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, eax
push edi
mov edi, ecx
lea edx, [esi + 1]
mov cl, byte [esi]
inc esi
test cl, cl
jne 0x401af3
sub esi, edx
lea edx, [ebp - 0x2808]
sub edx, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x401b04
xor eax, eax
mov dword [ebp - 0x2818], eax
mov dword [ebp - 0x2814], eax
mov dword [ebp - 0x2810], eax
mov dword [ebp - 0x280c], eax
mov eax, 2
push 0x76c
mov word [ebp - 0x2818], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
mov word [ebp - 0x2816], ax
lea eax, [ebp - 0x2818]
push eax
push 0
push esi
lea eax, [ebp - 0x2808]
mov dword [ebp - 0x2814], 0xfaffffef
push eax
push edi
call dword [sym.imp.WS2_32.dll_sendto]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040374c
mov esp, ebp
pop ebp
ret
Function at 0x401f70
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x488c
call fcn.00404070
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ebx, edx
mov dword [ebp - 0x4884], eax
mov edx, ecx
lea ecx, [ebp - 0x2870]
push edi
mov edi, dword [ebp + 8]
mov esi, edi
sub ecx, edi
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x401fa4
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x401fb4
push edx
sub edi, ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x4880], eax
mov dword [ebp - 0x487c], eax
mov dword [ebp - 0x4878], eax
mov dword [ebp - 0x4874], eax
mov eax, 2
push ebx
mov word [ebp - 0x4880], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0
push 1
push 2
mov word [ebp - 0x487e], ax
mov dword [ebp - 0x487c], esi
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
mov dword [ebp - 0x4888], ebx
cmp ebx, 0xffffffff
jne 0x40202f
mov eax, 0x80040209
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040374c
mov esp, ebp
pop ebp
ret
push 0x10
lea eax, [ebp - 0x4880]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_connect]
lea eax, [ebp - 0x488c]
mov dword [ebp - 0x488c], 1
push eax
push 0x8004667e
push ebx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
push 0
push edi
lea eax, [ebp - 0x2870]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_send]
xor esi, esi
lea ebx, [ebp - 0x2870]
xor edi, edi
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov eax, 0x2800
sub eax, esi
push eax
push ebx
push dword [ebp - 0x4888]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x4020ba
jle 0x4020a0
add ebx, eax
add esi, eax
mov edx, esi
lea ecx, [ebp - 0x2870]
call fcn.00401e80
test al, al
jne 0x4020ba
inc edi
cmp edi, 0x2328
jl 0x402077
mov ebx, dword [ebp - 0x4888]
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
push ebx
call edi
test esi, esi
jg 0x4020e3
mov eax, 0x80040203
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040374c
mov esp, ebp
pop ebp
ret
push ebx
call edi
mov ebx, dword [ebp - 0x4884]
lea eax, [ebp - 0x2870]
push esi
push eax
push ebx
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov byte [ebx + esi], 0
lea edx, [ebp - 0x4870]
mov ecx, ebx
call fcn.004019d0
test al, al
jne 0x402166
lea eax, [ebp - 0x70]
mov edx, str.errorCode
push eax
mov ecx, ebx
or esi, 0xffffffff
call fcn.00401d60
lea ecx, [ebp - 0x70]
add esp, 4
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402130
sub ecx, edx
je 0x40214a
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.MSVCR120.dll_atoi]
add esp, 4
mov esi, eax
mov dword [0x40a390], esi
mov eax, 0x80040211
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040374c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040374c
mov esp, ebp
pop ebp
ret
Function at 0x409b40
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46a68b
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.0045ee20
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409bc2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045cbcd
mov eax, dword [eax]
push 0x4bb1d0
push eax
call fcn.0044f054
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045f0ab
test bl, bl
je 0x409bc2
push 0x4bb1d0
lea ecx, [esp + 0xc]
call fcn.0045f43b
push 0x4bed4c
lea ecx, [esp + 0xc]
call fcn.0045f43b
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 0x409bfe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045f0ab
jmp 0x409cc9
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 0x409c82
lea edx, [esp + 0x7c]
push 0x4bed48
push edx
call fcn.0044f054
add esp, 8
test eax, eax
je 0x409c82
lea eax, [esp + 0x7c]
push 0x4bed44
push eax
call fcn.0044f054
add esp, 8
test eax, eax
je 0x409c82
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 0x409c12
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.0045f0ab
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 0x40a4c0
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 0x40a522
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 0x40a530
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46a70b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4c56d0]
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 0x40a668
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40a596
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045f0ab
xor eax, eax
jmp 0x40a6df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045f1e8
push esi
lea ecx, [esp + 0xc]
call fcn.0045f477
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 0x40a6bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040a4c0
test eax, eax
jne 0x40a6bd
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.0040a4c0
test eax, eax
jne 0x40a6bd
lea eax, [esp + 0x14]
push 0x4bed60
push eax
call fcn.00450090
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a69c
lea ecx, [esp + 0x14]
push 0x4bed5c
push ecx
call fcn.00450010
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a69c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40a69f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045f198
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40a5ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045f0ab
xor eax, eax
jmp 0x40a6df
mov byte [esi], 0
push 0x4bed58
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.0045f0ab
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 0x41bbc0
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 0x41bc2e
cmp si, 0x69
ja 0x41bc2e
add esi, 0xffd0
cmp si, 0x11
je 0x41bbfe
push 0x11
call edi
test ax, ax
jge 0x41bbfe
or esi, 0x2000
cmp si, 0x10
je 0x41bc13
push 0x10
call edi
test ax, ax
jge 0x41bc13
or esi, 0x4000
cmp si, 0x12
je 0x41bc28
push 0x12
call edi
test ax, ax
jge 0x41bc28
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41bc3b
mov esi, 0xbd
jmp 0x41bbef
cmp si, 0x6e
jne 0x41bc48
mov esi, 0xbe
jmp 0x41bbef
cmp si, 0x6f
jne 0x41bbe9
mov esi, 0xbf
jmp 0x41bbef

Function at 0x41d2e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4d5dc8]
xor edx, edx
cmp eax, edx
jne 0x41d306
xor eax, eax
mov byte [eax + 0x4d5cc8], al
inc eax
cmp eax, 0x100
jl 0x41d2ee
mov dword [0x4d5dc8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4d5cc8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41d397
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 0x41d36a
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 0x41d338
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41d410
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 0x41d463
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 0x41d44a
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 0x42f010
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46c738
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.00429910
test eax, eax
je 0x42f118
lea ecx, [esp + 0xc]
call fcn.00401750
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00429910
mov ecx, eax
call fcn.00426fb0
test eax, eax
je 0x42f0ff
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x42f0ff
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x42f0ff
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00401950
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x42f0e1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x42f0ff
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x4d6218]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x4aae00
call fcn.00401950
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x42f160
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00429910
test eax, eax
je 0x42f24f
mov ecx, edi
call fcn.00429910
mov ecx, eax
call fcn.00426e60
test eax, eax
jne 0x42f24f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42f24f
mov eax, dword [0x4d6218]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x42f1c2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00429910
mov ecx, eax
call fcn.00427090
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x42f24f
cmp ebx, eax
jne 0x42f24f
cmp dword [esp + 0x10], eax
jne 0x42f235
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc