joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411223
Capabilities:
Write file on windows

Disassembly:
push 0x54
mov eax, 0x43fa46
call fcn.0042e7e5
mov ebx, ecx
cmp dword [ebx + 0x3c], 0
mov dword [ebp - 0x38], ebx
je 0x411338
cmp byte [ebx + 0x41], 0
je 0x411338
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x41125b
xor al, al
jmp 0x41133a
push 0
push 8
pop edi
lea esi, [ebp - 0x30]
call fcn.0040fb3d
and dword [ebp - 4], 0
lea eax, [ebx + 0x44]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
call fcn.00412b15
mov esi, eax
call fcn.00411089
mov edi, eax
add edi, dword [ebp - 0x40]
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x30]
call fcn.00412b15
mov esi, eax
call fcn.00411089
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
lea esi, [ebp - 0x34]
push esi
push edi
push eax
push dword [ebp - 0x3c]
call dword [edx + 0x18]
sub eax, 0
je 0x4112d0
dec eax
je 0x4112d4
dec eax
dec eax
je 0x411334
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00408f39
mov al, bl
jmp 0x41133a
mov byte [ebx + 0x41], 0
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x30]
call fcn.00412b15
mov esi, eax
call fcn.00411089
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x411312
push dword [ebx + 0x4c]
lea eax, [ebp - 0x50]
push edi
push 1
lea ecx, [ebp - 0x30]
call fcn.00412b15
mov esi, eax
call fcn.00411089
push eax
call fcn.0042c6bc
add esp, 0x10
cmp edi, eax
jne 0x4112be
cmp byte [ebx + 0x41], 0
je 0x411334
test edi, edi
jne 0x411272
push edi
push 8
pop ebx
lea edi, [ebp - 0x30]
call fcn.00410d62
mov ebx, dword [ebp - 0x38]
jmp 0x411272
mov bl, 1
jmp 0x4112c0
mov al, 1
call fcn.0042e868
ret
Function at 0x416d50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441016
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [str.GetTempPathA]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [str.GetTempPathA]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
add edi, 0xc
lea esi, [esp + 0x20]
mov dword [esp + 0x3c], eax
mov byte [esp + 0x17], 1
mov dword [esp + 0x38], edi
call fcn.00417a41
lea esi, [esp + 0x40]
call fcn.004182a3
mov edi, eax
lea esi, [esp + 0x20]
call fcn.0040d30d
test al, al
je 0x416f36
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
lea esi, [esp + 0x20]
mov byte [esp + 0x90], 1
call fcn.0041b4d0
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.0041b11d
mov esi, dword [esp + 0x2c]
cmp esi, dword [esp + 0x30]
jbe 0x416e18
call fcn.0042bca4
lea eax, [esp + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x30]
cmp dword [esp + 0x2c], esi
jbe 0x416e33
call fcn.0042bca4
cmp dword [esp + 0x18], ebx
je 0x416e43
lea eax, [esp + 0x28]
cmp dword [esp + 0x18], eax
je 0x416e48
call fcn.0042bca4
cmp dword [esp + 0x1c], esi
je 0x416ef0
lea esi, [esp + 0x18]
call fcn.0041b4d0
cmp dword [eax + 0x18], 0x10
jb 0x416e66
mov edi, dword [eax + 4]
jmp 0x416e69
lea edi, [eax + 4]
lea esi, [esp + 0x20]
call fcn.0041b4d0
mov eax, dword [eax]
push ebx
push ebx
lea ecx, [esp + 0x6c]
push ecx
push edi
push dword [eax + 0xc]
call fcn.00414c7a
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
jae 0x416e93
lea eax, [esp + 0x68]
call fcn.00427821
test al, al
jne 0x416ee2
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
jae 0x416eab
lea eax, [esp + 0x68]
lea ecx, [esp + 0x48]
call fcn.0041795b
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x94], 2
call fcn.00417d70
push ebx
push 1
lea esi, [esp + 0x50]
mov byte [esp + 0x98], 1
call fcn.00409921
mov byte [esp + 0x17], bl
lea esi, [esp + 0x18]
call fcn.00410c77
jmp 0x416e24
push ebx
push 1
lea esi, [esp + 0x6c]
call fcn.00409921
or dword [esp + 0x90], 0xffffffff
lea esi, [esp + 0x28]
call fcn.00416083
lea esi, [esp + 0x20]
call fcn.00417d50
mov edi, dword [esp + 0x38]
lea esi, [esp + 0x40]
call fcn.004182a3
mov edi, eax
lea esi, [esp + 0x20]
call fcn.0040d30d
test al, al
jne 0x416dc6
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0042b8b7
mov esp, ebp
pop ebp
ret 4
Function at 0x416f5d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441925
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [str.GetTempPathA]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [str.GetTempPathA]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x449634]
push eax
push 0x4055c8
mov dword [esp + 0x24], eax
call fcn.004094a8
xor eax, eax
pop ecx
pop ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov edi, dword [ebp + 8]
add edi, 0xc
lea esi, [esp + 0x14]
mov dword [esp + 0xc8], 1
mov dword [esp + 0x20], edi
call fcn.00417a41
jmp 0x4170bc
lea esi, [esp + 0x14]
call fcn.0041b4d0
mov ebx, dword [eax]
lea edi, [esp + 0x6c]
call fcn.004160d1
mov esi, edi
mov eax, ebx
mov byte [esp + 0xc8], 2
call fcn.0041afac
push 0xf
pop esi
push 0
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], esi
call fcn.00408f84
push 0xffffffffffffffff
push 0
add ebx, 0x10
push ebx
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd4], 3
call fcn.00408fa0
lea ebx, [esp + 0x24]
call fcn.0040f828
cmp dword [esp + 0x68], 0x10
mov eax, dword [esp + 0x54]
jae 0x417060
lea eax, [esp + 0x54]
push eax
push 0x40556c
lea ebx, [esp + 0x2c]
call fcn.0040f79a
mov eax, dword [esp + 0x6c]
and eax, esi
cmp al, 3
jne 0x417088
push 0x405610
push 0x405574
call fcn.0040f79a
lea ebx, [esp + 0x24]
call fcn.0040f915
push 0
push 1
lea ecx, [esp + 0x58]
call fcn.00408f39
lea esi, [esp + 0x6c]
mov byte [esp + 0xc8], 1
call fcn.004160f7
lea esi, [esp + 0x14]
call fcn.00417d50
mov edi, dword [esp + 0x20]
lea esi, [esp + 0x48]
call fcn.004182a3
mov edi, eax
lea esi, [esp + 0x14]
call fcn.0040d30d
test al, al
jne 0x416ff8
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
call fcn.0040fa00
lea esi, [esp + 0x38]
call fcn.00416083
lea eax, [esp + 0x24]
call fcn.00419950
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.0042b8b7
mov esp, ebp
pop ebp
ret 8
Function at 0x421e49
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44032c
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [str.GetTempPathA]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [str.GetTempPathA]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
push esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], eax
call dword [0x401304]
xor ebx, ebx
push ebx
push 1
push esi
mov dword [esp + 0x24], eax
call dword [0x4012d4]
lea eax, [esp + 0x20]
push eax
push esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [0x4012d0]
push 2
call dword [0x4012f0]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
sub edi, dword [esp + 0x20]
sub esi, dword [esp + 0x24]
sub edi, eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
push dword [esp + 0x10]
lea ecx, [esp + 0x38]
mov dword [esp + 0x9c], ebx
call fcn.00425078
pop ecx
lea eax, [esp + 0x34]
call fcn.00415b8d
cmp eax, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
jbe 0x421f89
push dword [esp + 0x14]
lea esi, [esp + 0x38]
call fcn.00408d84
mov ecx, dword [eax + 0x14]
cmp ecx, ebx
je 0x421f6c
cmp dword [esp + 0x18], ebx
je 0x421f6c
cmp edi, ebx
jle 0x421f6c
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
jb 0x421f4b
mov eax, dword [eax + 4]
jmp 0x421f4e
add eax, 4
lea edx, [esp + 0x44]
push edx
push ecx
push eax
push dword [esp + 0x24]
call dword [0x401024]
test eax, eax
je 0x421f6c
mov eax, dword [esp + 0x44]
cdq
idiv edi
jmp 0x421f6e
xor eax, eax
add dword [esp + 0x10], eax
inc dword [esp + 0x14]
lea eax, [esp + 0x34]
call fcn.00415b8d
cmp dword [esp + 0x14], eax
jb 0x421f1a
mov esi, dword [esp + 0x30]
push dword [esp + 0x18]
push dword [esp + 0x20]
call dword [0x4012f8]
push ebx
push ebx
push 0x31
push dword [esp + 0x28]
call dword [fcn.004012cc]
cmp eax, ebx
jne 0x421fb5
push 0xd
call dword [0x401010]
cmp eax, ebx
je 0x421fd9
lea ecx, [esp + 0x4c]
push ecx
push 0x3c
push eax
call dword [0x40100c]
mov eax, dword [esp + 0x4c]
cdq
xor eax, edx
sub eax, edx
inc eax
inc eax
je 0x421fd9
imul eax, dword [esp + 0x10]
cmp eax, esi
jle 0x421fe7
push 1
push 1
push dword [esp + 0x24]
call dword [0x4012d4]
lea esi, [esp + 0x34]
call fcn.00416083
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0042b8b7
mov esp, ebp
pop ebp
ret
Function at 0x506f82
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4f14c6
lea esp, [esp + 4]
push edx
lea esp, [esp + 4]
jmp 0x4f14bb

Function at 0x60f489
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg dword [esp + 2], ebx
sub esp, 0x10
btc ecx, ebx
mov ecx, dword [esp + 5]
pop dword [esp + 6]
stc
jmp 0x60f469
inc bl
neg edi
lea edi, [ebp*4]
mov bl, bh
rdtsc
bsr si, bp
jmp 0x60f432
lea edx, [edi + edi]
btc ebp, edi
sub esp, 0x14
pushal
lea esp, [esp + 0x48]
mov edi, 0xee0541b8
jmp 0x60f4a8
inc di
push dword [esp + 2]
jmp 0x60f454
not cx
push edx
setp bh
mov word [esp + 6], sp
lea edi, [ecx + edx]
jmp 0x60f56e
lea ecx, [edi*4]
mov edi, eax
rdtsc
mov eax, 0x96f34c66
push esp
push word [esp + 1]
jmp 0x60f491
sub esp, 0x14
btr ebx, edx
mov eax, 0x57240a3a
add cx, 0x7d1e
mov dx, di
call fcn.0060f507
push word [esp + 2]
pop dx
mov cx, di
lea edi, [ebp*4]
lea ebp, [edx + edx]
jmp 0x60f5d1
mov dl, 0xd4
add esp, 0
not edi
xchg word [esp], ax
mov byte [esp + 1], ah
call fcn.0060f794
aaa
push ds
imul ecx, dword [eax + reloc.RASAPI32.dll_RasHangUpA], 0x8b6629d1
mov ebx, 0x29d1588c
mov dx, sp
push word [esp + 0x15]

Function at 0x60f852
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edx, 0xa2be6e6a
mov dword [esp], ecx
not esi
mov ax, di
mov edi, ebp
mov ebx, 0x825f89c8
jmp 0x60f854
jmp 0x60f836
xchg byte [esp + 2], cl
pop word [esp]
xchg si, ax
mov bx, di
xchg byte [esp], dl
jmp 0x60f9d5
xchg byte [esp], bl
bsf ax, ax
cpuid
xchg ah, bl
mov eax, ebp
mov cx, word [esp]
jmp 0x60f905
lea esp, [esp + 0x11]
add esp, 3
neg dx
shr eax, 9
xchg si, bp
xchg dh, al
jmp 0x60f89c
inc dx
lea esp, [esp]
neg esi
rdtsc
mov edi, ecx
mov di, sp
jmp 0x60f9a1
xor ebp, esi
mov dl, dh
add esp, 0
mov esi, ecx
xchg byte [esp], dl
neg ecx
jmp 0x60f8d3
setl bh
xchg dx, ax
lea eax, [esp + ebp]
lea edi, [edx + edx]
rdtsc
add esp, 0
jmp 0x60f8ec
lea eax, reloc.RASAPI32.dll_RasHangUpA
pushal
pop dword [esp + 0xc]
xchg dh, al
mov bh, byte [esp + 0xd]
inc ebx
jmp 0x60f94f
mov dl, 0x7c
mov dx, word [esp]
mov dl, dh
mov bl, 0x90
xchg byte [esp], cl
xchg ebp, edi
jmp 0x60f917
lea ecx, [ecx + 0x5b]
neg bh
xchg word [esp + 9], bx
mov dl, dh
mov si, word [esp + 0x1c]
add esp, 0xc
jmp 0x60f980
mov byte [esp], dh
mov ecx, dword [esp]
stc
btr eax, edx
lea ebx, [esi*4]
lea esi, [edx + edi]
jmp 0x60f93e
cpuid
lea esi, [edx + edi]
mov byte [esp + 7], ch
lea esp, [esp + 5]
lea ebx, [edi*4]
rdtsc
jmp 0x60f9b4
bsf cx, ax
mov edi, dword [esp]
mov eax, dword [esp]
add esp, 0
xchg ebx, ecx
cpuid
jmp 0x60f96a
add ebx, ebp
pop dword [esp + 2]
xchg bp, si
btr edi, edx
mov ax, 0x2af7
rdtsc
jmp 0x60fa19
sub esp, 0
lea esi, [esp + edi]
mov si, bx
lea esp, [esp + 1]
sub esp, 0x14
mov si, word [esp + 7]
jmp 0x60f8bf
mov dword [esp], eax
xchg dh, al
mov word [esp], bx
pop edx
xchg bp, dx
bsf ax, si
jmp 0x60fab4
add esp, 3
lea esp, [esp + 1]
xchg di, si
mov bx, word [esp + 2]
cpuid
bswap ecx
jmp 0x60f9ef
xchg esi, ebx
cpuid
lea eax, [eax*4]
lea edi, reloc.RASAPI32.dll_RasHangUpA
call int.0060fa87
retf
Function at 0x60fb49
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg byte [esp + 0xa], bl
lea edi, reloc.RASAPI32.dll_RasHangUpA
cpuid
cmc
bswap esi
pop bx
jmp 0x60fc12
xchg word [esp + 0x16], bp
jmp 0x60fb2e
mov word [esp + 0xe], dx
mov cx, dx
lea ebx, [ebx + ebx]
mov esi, 0x4266d8ba
mov edi, dword [esp + 0x16]
mov byte [esp + 3], ah
jmp 0x60fbb5
mov cx, 0xaabb
mov di, word [esp + 0x13]
xchg byte [esp + 2], al
mov cx, word [esp + 5]
push word [esp + 0x1a]
pop ecx
jmp 0x60fb78
mov ch, byte [esp + 5]
mov dword [esp + 0x12], ecx
btr eax, edx
push word [esp + 4]
jmp 0x60fbf8
ror ebx, 0x1b
mov cl, ch
mov bx, sp
lea ebx, [ecx*4]
lea edx, [edx + edi]
xchg dh, al
jmp 0x60fb9b
mov al, 0xce
bsr di, bp
sub esp, 0x1e
mov si, dx
jmp 0x60fc22
lea esp, [esp + 0x15]
push dword [esp]
pop dx
xchg edi, ecx
add esp, 3
xchg si, bp
jmp 0x60fbe2
xchg ebx, eax
xchg ah, bl
bswap eax
xchg word [esp + 0x14], bx
sub ebx, eax
inc ecx
jmp 0x60fbcc
mov ax, 0x90bd
sete bh
not eax
mov ebp, 0x41571a1c
mov ecx, dword [esp + 0xa]
mov di, word [esp + 0x13]
jmp 0x60fc7d
lea esp, [esp + 1]
lea esp, [esp + 2]
bswap ecx
pop dword [esp + 4]
pop dword [esp]
jmp 0x60fca9
xchg dword [esp + 0xa], ebp
cld
neg ch
xchg dh, al
lea esp, [esp + 0xf]
bsf di, si
jmp 0x60fc4a
pop esi
mov dl, 0xac
shl dx, cl
rdtsc
mov ch, byte [esp + 0x1c]
ror ah, 1
jmp 0x60fc62
xchg bh, cl
mov esi, ecx
xchg dword [esp], edx
not ebp
xchg word [esp], dx
lea esi, [esi*4]
jmp 0x60fce5
bsf di, ax
mov dword [esp], eax
setnp dh
ror esi, 0x17
btc edx, edi
mov al, ah
jmp 0x60fc8d
sub esp, 2
mov bp, dx
xchg ebp, eax
xchg dword [esp + 3], ebx
xchg ecx, eax
and edx, ecx
jmp 0x60fd0a
mov dx, word [esp + 0xe]
sete bh
mov byte [esp + 3], ah
add esp, 9
jmp 0x60fcf4
ror ah, 1
sub esp, 0x18
bswap esi
stc
pop ax
rol ax, cl
jmp 0x60fcbd
push word [esp + 7]
cld
mov byte [esp + 9], bh
mov ax, 0x7097
rdtsc
jmp 0x60fd1d
mov cx, bx
pop dword [esp + 8]
mov byte [esp + 0xf], ch
neg ah
lea eax, [eax + edi]
stc
jmp 0x60fcce
xchg dword [esp], edx
lea esp, [esp + 2]
lea esp, [esp + 0x10]
popal
call fcn.0060fe96
mov esi, 0x47b4ad3d
cmpsd dword [esi], dword es:[edi]
mov byte [esi], cl
pushfd
sti
push ss
call [edi]

Function at 0x610005
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
pop word [esp + 7]
mov word [esp], bx
jmp 0x60ffe5
Function at 0x401b56
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401b95
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401b95
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401b95
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401b95
cmp dword [ecx + 0x74], 0xe
jbe 0x401b95
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40ac20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46bb5b
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.00460616
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40aca2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045e52d
mov eax, dword [eax]
push 0x4831c0
push eax
call fcn.00451364
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004608a1
test bl, bl
je 0x40aca2
push 0x4831c0
lea ecx, [esp + 0xc]
call fcn.00460c31
push 0x486d3c
lea ecx, [esp + 0xc]
call fcn.00460c31
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 0x40acde
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004608a1
jmp 0x40ada9
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 0x40ad62
lea edx, [esp + 0x7c]
push 0x486d38
push edx
call fcn.00451364
add esp, 8
test eax, eax
je 0x40ad62
lea eax, [esp + 0x7c]
push 0x486d34
push eax
call fcn.00451364
add esp, 8
test eax, eax
je 0x40ad62
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 0x40acf2
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.004608a1
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 0x40c020
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 0x40c082
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 0x40c090
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46bcbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x48d7c0]
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 0x40c1c8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40c0f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004608a1
xor eax, eax
jmp 0x40c23f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004609de
push esi
lea ecx, [esp + 0xc]
call fcn.00460c6d
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 0x40c21d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040c020
test eax, eax
jne 0x40c21d
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.0040c020
test eax, eax
jne 0x40c21d
lea eax, [esp + 0x14]
push 0x486d50
push eax
call fcn.004523a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c1fc
lea ecx, [esp + 0x14]
push 0x486d4c
push ecx
call fcn.00452320
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c1fc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40c1ff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046098e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40c10e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004608a1
xor eax, eax
jmp 0x40c23f
mov byte [esi], 0
push 0x486d48
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.004608a1
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 0x41c980
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 0x41c9ee
cmp si, 0x69
ja 0x41c9ee
add esi, 0xffd0
cmp si, 0x11
je 0x41c9be
push 0x11
call edi
test ax, ax
jge 0x41c9be
or esi, 0x2000
cmp si, 0x10
je 0x41c9d3
push 0x10
call edi
test ax, ax
jge 0x41c9d3
or esi, 0x4000
cmp si, 0x12
je 0x41c9e8
push 0x12
call edi
test ax, ax
jge 0x41c9e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41c9fb
mov esi, 0xbd
jmp 0x41c9af
cmp si, 0x6e
jne 0x41ca08
mov esi, 0xbe
jmp 0x41c9af
cmp si, 0x6f
jne 0x41c9a9
mov esi, 0xbf
jmp 0x41c9af

Function at 0x41e0a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x49de28]
xor edx, edx
cmp eax, edx
jne 0x41e0c6
xor eax, eax
mov byte [eax + 0x49dd28], al
inc eax
cmp eax, 0x100
jl 0x41e0ae
mov dword [0x49de28], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x49dd28
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41e157
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 0x41e12a
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 0x41e0f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41e1d0
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 0x41e223
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 0x41e20a
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