joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b8da0
Capabilities:
Encode data using base64
Terminate process

Disassembly:
sub esp, 0x118
mov ecx, 0x3f
mov eax, 0x80808080
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, 0x41
mov cl, al
sub cl, 0x41
mov byte [esp + eax + 0x28], cl
inc eax
cmp eax, 0x5a
jle 0x4b8dc2
mov eax, 0x61
mov dl, al
sub dl, 0x47
mov byte [esp + eax + 0x28], dl
inc eax
cmp eax, 0x7a
jle 0x4b8dd6
mov eax, 0x30
mov cl, al
add cl, 4
mov byte [esp + eax + 0x28], cl
inc eax
cmp eax, 0x39
jle 0x4b8dea
mov edi, dword [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x53], 0x3e
mov byte [esp + 0x57], 0x3f
mov byte [esp + 0x65], 0
mov dword [esp + 0x18], ebp
je 0x4b8f7d
mov ebx, dword [esp + 0x130]
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 4
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x12c]
xor eax, eax
lea esi, [edx + ecx]
movsx ecx, byte [esi + eax]
mov dl, byte [esp + ecx + 0x28]
test dl, 0x80
jne 0x4b8f4e
mov byte [esp + eax + 0x20], cl
mov byte [esp + eax + 0x1c], dl
inc eax
cmp eax, 4
jl 0x4b8e4c
mov esi, dword [esp + 0x138]
mov edx, dword [esp + 0x10]
cmp edx, dword [esi]
jle 0x4b8eb6
mov eax, dword [esp + 0x14]
push eax
call fcn.004c3bd7
mov ecx, dword [esi]
mov esi, ebx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
mov dword [esp + 0x2c], eax
rep movsb byte es:[edi], byte [esi]
call fcn.004c3aee
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
add esp, 8
mov dword [ecx], eax
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov dl, ch
mov al, cl
sar dl, 4
shl al, 2
or dl, al
mov eax, dword [esp + 0x14]
mov byte [ebx + ebp], dl
inc ebp
inc eax
mov cl, ch
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x1e]
mov dl, al
inc edi
sar dl, 2
shl cl, 4
or dl, cl
mov ecx, dword [esp + 0x14]
shl al, 6
or al, byte [esp + 0x1f]
mov byte [ebx + ebp], dl
inc ebp
mov edx, edi
inc ecx
inc edx
mov byte [ebx + ebp], al
mov al, byte [esp + 0x22]
inc ebp
inc ecx
inc edx
mov dword [esp + 0x10], edi
cmp al, 0x3d
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
je 0x4b8f63
mov cl, byte [esp + 0x23]
xor eax, eax
cmp cl, 0x3d
setne al
add eax, 2
cmp eax, 3
jl 0x4b8f63
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
add edx, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], edx
cmp edx, ecx
jae 0x4b8f84
jmp 0x4b8e3c
push ecx
push str.Illegal_character__c_in_input._n
call fcn.004c56e7
add esp, 8
push 1
call fcn.004c5b8a
mov eax, dword [esp + 0x134]
mov byte [ebx + ebp], 0
pop edi
pop esi
mov dword [eax], ebp
mov eax, ebx
pop ebp
pop ebx
add esp, 0x118
ret
mov ebx, dword [esp + 0x130]
mov ecx, dword [esp + 0x134]
mov byte [ebx + ebp], 0
pop edi
pop esi
mov dword [ecx], ebp
mov eax, ebx
pop ebp
pop ebx
add esp, 0x118
ret
Function at 0x4c5728
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4c5748
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004c460a
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4c576b
test byte [esp + 8], 2
je 0x4c576b
call fcn.004c467d
mov dword [eax], 0xd
call fcn.004c4686
mov dword [eax], 5
jmp 0x4c5744
xor eax, eax
ret

Function at 0x4d7733
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4d776b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004d574a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004d5722
jmp 0x4d7777
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4d8e26
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4d8e68
call fcn.004dee13
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4d8e68
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4d8e5f
xor eax, eax
jmp 0x4d8e70
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004d8e76
pop edi
pop esi
pop ebx
ret 4

Function at 0x4df343
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4df371
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4df38f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004df2a9
jmp 0x4df38f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4df38f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004df2a9
test edi, edi
mov eax, edi
jne 0x4df379
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x727190
Capabilities:
Check for vm using instruction vpcext

Disassembly:
mov dword [esp + 0x2c], ebx
setns bl
mov ebx, 0x42e42d
call fcn.007a017f
pop es
jle 0x7271f6
sub al, 0xf
cdq
ret
salc
imul ecx, dword [ebx - 0x52d5e357], 0x13593be
xchg ecx, eax
in eax, dx
add eax, 0xda80d672
mov ebx, ebx
sub ebp, ebx
push es
fld qword [esi]
mov dl, 0x68
mov ecx, dword [edx - 0x49ccc97a]
dec ebp
adc dword [edi + 0x21], edi
adc edx, dword [0x56cd0a2a]
jne 0x7271ba
dec eax
pushfd
xchg dword [edi + 0x40], ebp
sbb eax, 0x4dba24c3
or ebp, dword [ebx + 0x14]
jl 0x727193
invalid
lahf
invalid

Function at 0x74a389
Capabilities:
Encode data using xor

Disassembly:
pushfd
mov eax, 0x423138
lea esp, [esp + 0x34]
jl 0x76bf44
mov eax, dword [eax + 0x9f494]
push edx
pushal
pushfd
call fcn.00665bf6
loopne 0x74a3da
ficomp dword [edi]
aam 0x69
xlatb
je 0x74a3fd
jle fcn.0074a389
xor al, 0xb
dec esp
rol ecx, 1
jp 0x74a3b2
inc esp
mov edi, 0x1c8ab019
mov esp, 0xe2a39d96
loope 0x74a41e
mov eax, dword [0x7741c597]
push ebx
cmp al, 0x9b
cmp eax, 0x5948dfa8
push edx
ret 0xd3f6
mov cl, dl
int3
jb 0x74a3fd
aaa
mov esp, 0xc6a9de06
mov dl, 0x81
cmc
xor eax, dword [ebp - 0x3b02f4db]
fdivp st(0)
scasb al, byte es:[edi]
cli
pop edx
cld
sub dword [eax + 0x57], edi
or al, dh
sub edx, dword [ebx]
out dx, al
js 0x74a48d
popfd
sub ecx, dword [esp + eax]
cli
jbe 0x74a49e
fld xword [edi]
mov byte [eax], ch
mov ss, word [edx + 0xbb06890]
invalid
xor al, 0x5d
xchg ebp, eax
invalid
rcl byte [edi - 0x72], 0xe4
cmp eax, 0x6fbfab77
fisttp word [esi]
mov eax, gs
cmp dh, byte [eax]
jae 0x74a4af
leave
adc bh, byte [eax - 0x114ece0e]
sti
bound esi, qword [edx + 0x10]
aaa
cmp al, byte [eax]
salc
movsb byte es:[edi], byte [esi]
pop ebx
mov dword [0x19e0778a], eax
push ss
or ebx, eax
sar byte [edi], cl
out 0xf6, al
pop ds
cmpsd dword [esi], dword es:[edi]
sbb eax, 0xe61959ec
push edx
push esp
sbb al, 0x41
out 0x8a, al
xchg esi, eax
lodsd eax, dword [esi]
lds eax, [edi - 0x43]
sal dword [esi], 0x5a
sub ebp, dword [di]
das
out dx, eax
out dx, eax
jmp dword [edi]
pushal
call fcn.00798ced
bt di, bx
xor ecx, 0xc4df0525
push ebx
pushfd
push dword [esp + 0x20]
popfd
pushfd
push dword [esp + 0x28]
ret 0x2c

Function at 0x75b0fd
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg dword [esp + 0x40], eax
jmp 0x785a65
pushfd
cwde
lahf
mov eax, dword [esp + 0x48]
call fcn.006eef76
Function at 0x781a58
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x42be03
push dword [esp + 4]
jmp 0x6c6a51
call fcn.007eeab1
push ss
fadd dword [ebx]
pop eax
fsubr qword [ecx + 0xe]
stosd dword es:[edi], eax
add dword [edi + 0x1f081821], ebx
mov dl, 0x80
xchg edx, eax
stc
test al, 0x6a
adc esp, ecx
sub dh, byte [edi]
cmp eax, 0xcd20da66
cmp eax, 0xcd20da66
loop 0x6c6ad8
dec ebx
inc esi
sbb cl, ch
pop ss
mov edx, 0xab1a9293
fsqrt
xchg ebx, eax
inc edx
mov dword [0x1aecf4f4], eax
mov dl, 0x54
sub al, byte [ebx + 0x55644464]
inc edi
push 0x9ab41333
wait
insd dword es:[edi], dx
imul ecx, dword [ebx - 0x14], 0xffffff84
aad 0x16
dec edx
sal dword [esi + 0x6a], 1
invalid
mov ch, 0x72
cmp ebx, dword [esi]
sub esp, ecx
aad 0xa1
neg byte [eax + esi*4 - 0x5e2641dd]
adc dl, byte [edx - 0x30]
jnp 0x6c6a72
xor bh, byte [esi + 0x66d5b3eb]
invalid
push dword [esp]
xchg dword [esp + 8], edi
pushal
xchg dword [esp + 0x24], edi
jmp 0x6a8c34

Function at 0x782fa7
Capabilities:
Encode data using xor

Disassembly:
jmp 0x78c080
pushfd
mov dword [esp + 0x38], ebx
call fcn.00695415
inc ecx
cmp bl, ah
add dl, al
imul ebp, esi, 0x2794d649
or dword [eax], edx
pop es
sub ch, dl
dec ebp
sbb al, 0x9a
salc
lahf
lea esp, [edx - 0x5879c610]
pushfd
invalid

Function at 0x785a71
Capabilities:
Execute anti-debugging instructions

Disassembly:
stc
pushal
jmp 0x7d40cf
jle 0x6ed8a8
cmc
sub ebx, ebx
jmp 0x7a5d53
lea esp, [esp + 0x28]
jle 0x7e089e
setno ch
pushfd
cwde
rdtsc
lea esp, [esp + 4]
setl dh
rdtsc
movzx edx, word [edi + ebx*8 + 4]
not eax
pushfd
movsx ax, cl
jmp 0x7e801e
lea esp, [esp + 0x48]
jl 0x79d098
neg ah
movzx edx, word [edi]
dec ax
aaa
sub ax, 0xdea9
not ah
movzx eax, word [edi + 2]
bt bx, 1
cmp ch, 6
add edx, eax
clc
jmp 0x704ca4
jmp 0x750c16
cmc
sub ebx, ebx
pushfd
pushfd
cmc
cmp esi, 0xefa2e4a8
test edx, edx
jmp 0x719742
mov ecx, dword [ebp + 0x18]
call fcn.007d0adf

Function at 0x786910
Capabilities:
Encode data using xor

Disassembly:
push dword [esp + 8]
jmp 0x7eb4cd
xchg dword [esp + 0x10], ecx
push ebx
push dword [esp]
jmp 0x7a4e47

Function at 0x79adf1
Capabilities:
Encode data using xor

Disassembly:
push edi
push dword [esp]
lea esp, [esp + 0x40]
jle 0x6ca8e6
call fcn.00737f19
bswap si
lea edx, [edx - 0x4e34cdee]
jmp 0x750c45
pop esi
pop esi
mov esi, edx
sets dh
movsx dx, bl
pop edx
pushfd
pushal
push 0x61dda8b0
push dword [esp + 0x28]
ret 0x2c
jmp 0x6e3801

Function at 0x7ba811
Capabilities:
Encode data using xor

Disassembly:
cmp dh, ah
bt cx, cx
sub ebx, ebx
pushfd
cmc
mov byte [esp + 4], 0x33
test dx, 0x7fb2
test ecx, ecx
pushfd
lea esp, [esp + 0x2c]
jle 0x6cf1e1
movsx ax, dl
movzx ecx, word [edi + ebx*8 + 4]
not edx
pushfd
bswap eax
call fcn.006b97bb
mov esp, ebp
pushal
pushfd
pushfd
bswap ebp
mov ebp, dword [esp + 0x28]
pushfd
push dword [esp + 0x30]
ret 0x40
lea esp, [esp + 0x44]
jl 0x78a348
neg ch
bswap cx
cmp dh, bh
sbb ch, dh
movzx ecx, word [edi]
pushal
movzx edx, word [edi + 2]
pushfd
add ecx, edx
cmc
jmp 0x75f011
Function at 0x40a7d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4671bb
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.0045bbe7
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40a852
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045995d
mov eax, dword [eax]
push 0x4941c0
push eax
call fcn.0044c734
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045be72
test bl, bl
je 0x40a852
push 0x4941c0
lea ecx, [esp + 0xc]
call fcn.0045c202
push 0x497d3c
lea ecx, [esp + 0xc]
call fcn.0045c202
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 0x40a88e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045be72
jmp 0x40a959
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 0x40a912
lea edx, [esp + 0x7c]
push 0x497d38
push edx
call fcn.0044c734
add esp, 8
test eax, eax
je 0x40a912
lea eax, [esp + 0x7c]
push 0x497d34
push eax
call fcn.0044c734
add esp, 8
test eax, eax
je 0x40a912
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 0x40a8a2
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.0045be72
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 0x40b150
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 0x40b1b2
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 0x40b1c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46723b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x49e1e0]
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 0x40b2f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40b226
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045be72
xor eax, eax
jmp 0x40b36f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045bfaf
push esi
lea ecx, [esp + 0xc]
call fcn.0045c23e
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 0x40b34d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040b150
test eax, eax
jne 0x40b34d
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.0040b150
test eax, eax
jne 0x40b34d
lea eax, [esp + 0x14]
push 0x497d50
push eax
call fcn.0044d770
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b32c
lea ecx, [esp + 0x14]
push 0x497d4c
push ecx
call fcn.0044d6f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b32c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40b32f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045bf5f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40b23e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045be72
xor eax, eax
jmp 0x40b36f
mov byte [esi], 0
push 0x497d48
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.0045be72
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 0x41cd70
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 0x41cdde
cmp si, 0x69
ja 0x41cdde
add esi, 0xffd0
cmp si, 0x11
je 0x41cdae
push 0x11
call edi
test ax, ax
jge 0x41cdae
or esi, 0x2000
cmp si, 0x10
je 0x41cdc3
push 0x10
call edi
test ax, ax
jge 0x41cdc3
or esi, 0x4000
cmp si, 0x12
je 0x41cdd8
push 0x12
call edi
test ax, ax
jge 0x41cdd8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41cdeb
mov esi, 0xbd
jmp 0x41cd9f
cmp si, 0x6e
jne 0x41cdf8
mov esi, 0xbe
jmp 0x41cd9f
cmp si, 0x6f
jne 0x41cd99
mov esi, 0xbf
jmp 0x41cd9f

Function at 0x41e520
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4ae860]
xor edx, edx
cmp eax, edx
jne 0x41e546
xor eax, eax
mov byte [eax + 0x4ae760], al
inc eax
cmp eax, 0x100
jl 0x41e52e
mov dword [0x4ae860], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4ae760
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41e5d7
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 0x41e5aa
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 0x41e578
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41e650
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 0x41e6a3
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 0x41e68a
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 0x4250e0
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 0x425278
cmp ebp, ebx
jle 0x425278
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 0x42513e
dec eax
or eax, 0xfffffff8
inc eax
je 0x425145
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x425154
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42515b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0045bbb3
add esp, 4
cmp eax, ebx
je 0x42517c
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.0045bbb3
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 0x42526e
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 0x425255
mov al, byte [edx]
cmp al, 0xc0
jbe 0x425241
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x425236
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 0x425244
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x425244
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x4251e0
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 0x4251d1
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 0x4284e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4688a8
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 0x428519
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.00463560
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.004635ac
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.004285a0
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004635e9
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24