joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5f0de0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x92707c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5f0ec2
sub esp, 0x14
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x5f0e31
mov edx, dword [esp + 0x18]
movzx ebx, byte [ecx + edx - 1]
movzx ebp, bl
mov esi, ebp
sub ebp, ecx
cmp ecx, 0x100
jge 0x5f0e1b
mov eax, ecx
jmp 0x5f0e22
mov eax, ecx
mov ecx, 0x100
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ecx
sar ebp, 0x1f
xor edi, edi
jmp 0x5f0e74
mov dword [esp + 0x24], 0
mov byte [esp + 0x28], 0
add esp, 0x14
ret
xchg esi, ebx
not ebx
xchg esi, ebx
sar esi, 0x1f
movzx eax, byte [eax + edx - 1]
mov ecx, esi
and esi, ebx
and eax, ecx
xor esi, eax
xchg esi, ebx
not ebx
xchg esi, ebx
inc edi
movzx eax, byte [esp + 0xb]
and eax, esi
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov ebp, eax
mov eax, dword [esp + 0x1c]
cmp ecx, edi
jle 0x5f0e8f
xchg ebp, eax
mov byte [esp + 0xb], al
xchg ebp, eax
sub eax, edi
lea ecx, [eax - 1]
sub esi, edi
mov ebp, dword [esp + 0x1c]
cmp ebp, ecx
ja 0x5f0e42
jmp 0x5f0eb8
mov eax, ebp
shl ebp, 4
and eax, ebp
mov ecx, eax
shl eax, 2
and eax, ecx
mov ecx, eax
shl eax, 1
and eax, ecx
sar al, 7
and ebx, eax
movzx ecx, bl
inc ecx
mov dword [esp + 0x24], ecx
mov byte [esp + 0x28], al
add esp, 0x14
ret
mov eax, ecx
mov ecx, ebp
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls.extractPadding
Function at 0x5f9610
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x92707c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5f97e9
sub esp, 0x6c
lea edi, [esp + 0x74]
xor eax, eax
call fcn.00471f97
lea edi, [esp + 8]
call fcn.00471f97
mov ecx, dword [esp + 0x70]
test byte [ecx], al
lea edx, [ecx + 0x14]
mov dword [esp], edx
call sym.sync_atomic.LoadUint32
mov ecx, dword [esp + 4]
test ecx, ecx
setne cl
mov byte [esp + 0xa], cl
mov ecx, dword [esp + 0x70]
movzx edx, word [ecx + 0x28]
mov word [esp + 8], dx
mov edx, dword [ecx + 0xcc]
mov ebx, dword [ecx + 0xd0]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
movzx edx, byte [ecx + 0x35]
mov byte [esp + 0xb], dl
movzx edx, byte [ecx + 0x36]
mov byte [esp + 0x68], dl
movzx edx, word [ecx + 0x3a]
mov word [esp + 0x6a], dx
mov byte [esp + 0x18], 1
mov edx, dword [ecx + 0x78]
mov ebx, dword [ecx + 0x7c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebx
movzx edx, word [ecx + 0x38]
mov word [esp + 0xc], dx
mov edx, dword [ecx + 0x54]
mov ebx, dword [ecx + 0x58]
mov ebp, dword [ecx + 0x5c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
mov edx, dword [ecx + 0x6c]
mov ebx, dword [ecx + 0x70]
mov ebp, dword [ecx + 0x74]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
mov edx, dword [ecx + 0x48]
mov ebx, dword [ecx + 0x4c]
mov ebp, dword [ecx + 0x50]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
mov edx, dword [ecx + 0x3c]
mov ebx, dword [ecx + 0x40]
mov ebp, dword [ecx + 0x44]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebp
movzx edx, byte [ecx + 0x35]
test dl, dl
je 0x5f9713
movzx eax, byte [ecx + 0x34]
test al, al
je 0x5f975c
cmp word [ecx + 0x28], 0x304
je 0x5f975c
movzx eax, byte [ecx + 0xa4]
test al, al
je 0x5f9742
lea eax, [ecx + 0xb1]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0xc
mov dword [esp + 0x5c], 0xc
jmp 0x5f975c
lea eax, [ecx + 0xbd]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0xc
mov dword [esp + 0x5c], 0xc
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 0xa8]
test eax, eax
je 0x5f9775
lea eax, [0x711414]
mov dword [esp + 0x64], eax
jmp 0x5f97cd
cmp word [ecx + 0x28], 0x304
je 0x5f97c3
movzx eax, byte [ecx + 0x34]
test al, al
jne 0x5f97c3
lea eax, [0x6bd020]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.crypto_tls._Conn_.connectionStateLocked.func1]
mov dword [eax], ecx
mov ecx, dword [0x927358]
test ecx, ecx
jne 0x5f97af
mov ecx, dword [esp + 0x70]
jmp 0x5f97ba
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov dword [esp + 0x64], eax
jmp 0x5f97cd
mov eax, dword [ecx + 0x84]
mov dword [esp + 0x64], eax
movzx eax, byte [ecx + 0x94]
mov byte [esp + 0x60], al
lea edi, [esp + 0x74]
lea esi, [esp + 8]
call fcn.004723c6
add esp, 0x6c
ret
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls._Conn_.connectionStateLocked
Function at 0x61ed60
Capabilities:
Hash data using sha1

Disassembly:
mov ecx, dword [0x92707c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x61ee65
sub esp, 0x84
nop
lea edi, [esp + 0x20]
xor eax, eax
call fcn.00471f98
nop
mov dword [esp + 0x20], 0x67452301
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
mov dword [esp + 0x30], 0xc3d2e1f0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
jmp 0x61ee15
mov dword [esp + 0x1c], eax
mov dword [esp + 0x80], ecx
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
lea ebp, [esp + 0x20]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call sym.crypto_sha1._digest_.Write
mov eax, dword [esp + 0x80]
lea ecx, [eax + 0xc]
mov eax, dword [esp + 0x1c]
dec eax
test eax, eax
jg 0x61eddb
lea eax, [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call sym.crypto_sha1._digest_.Sum
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
add esp, 0x84
ret
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls.sha1Hash
Function at 0x61ee70
Capabilities:
Hash data with md5

Disassembly:
mov ecx, dword [0x92707c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x7c]
cmp eax, dword [ecx + 8]
jbe 0x61f0a8
sub esp, 0xfc
lea eax, [0x6b2120]
mov dword [esp], eax
mov dword [esp + 4], 0x24
mov dword [esp + 8], 0x24
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0xf8], eax
nop
lea edi, [esp + 0x94]
xor eax, eax
call fcn.00471f99
nop
mov dword [esp + 0x94], 0x67452301
mov dword [esp + 0x98], 0xefcdab89
mov dword [esp + 0x9c], 0x98badcfe
mov dword [esp + 0xa0], 0x10325476
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov eax, dword [esp + 0x100]
mov ecx, eax
mov edx, dword [esp + 0x104]
jmp 0x61ef72
mov dword [esp + 0x90], edx
mov dword [esp + 0xf4], eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
lea ebp, [esp + 0x94]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call sym.crypto_md5._digest_.Write
mov eax, dword [esp + 0xf4]
add eax, 0xc
mov ecx, dword [esp + 0x90]
lea edx, [ecx - 1]
mov ecx, dword [esp + 0x100]
test edx, edx
jg 0x61ef26
lea edi, [esp + 0x34]
lea esi, [esp + 0x94]
call fcn.004723da
lea eax, [esp + 0x34]
mov dword [esp], eax
call sym.crypto_md5._digest_.checkSum
lea edi, [esp + 0x20]
lea esi, [esp + 4]
call fcn.00472498
mov dword [esp], 0
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x10
lea eax, [0x6b2120]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov dword [esp + 0xf0], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
mov dword [esp], eax
lea edx, [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x10
call sym.runtime.memmove
mov eax, dword [esp + 0x30]
cmp eax, 0x24
jl 0x61f006
mov eax, 0x24
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xf8]
cmp ecx, edx
je 0x61f028
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.runtime.memmove
mov eax, dword [esp + 0x100]
mov dword [esp], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 8], eax
call sym.crypto_tls.sha1Hash
mov eax, dword [esp + 0x10]
cmp eax, 0x14
jl 0x61f05b
mov eax, 0x14
mov ecx, dword [esp + 0xf8]
lea edx, [ecx + 0x10]
mov ebx, dword [esp + 0xc]
cmp ebx, edx
je 0x61f084
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call sym.runtime.memmove
mov ecx, dword [esp + 0xf8]
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], 0x24
mov dword [esp + 0x114], 0x24
add esp, 0xfc
ret
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls.md5SHA1Hash
Function at 0x623130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x92707c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6232d8
sub esp, 0x48
movzx eax, word [esp + 0x78]
cmp ax, 0x303
jb 0x62315c
movzx ecx, byte [esp + 0x80]
jmp 0x623169
movzx ecx, byte [esp + 0x80]
cmp cl, 0xe4
jne 0x6231a1
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x6232bf
cmp cl, 0xe4
je 0x623180
cmp ax, 0x303
jmp 0x6231a5
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x48
ret
cmp ax, 0x303
jae 0x623233
cmp cl, 0xe3
jne 0x6231fd
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov eax, dword [eax + 0x18]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x48
ret
lea edi, [esp]
lea esi, [esp + 0x4c]
call fcn.0047243e
call sym.crypto_tls.finishedHash.Sum
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x48
ret
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call sym.crypto.Hash.New
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0x1c]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
call edx
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x48
ret
lea eax, [0x6b20a0]
mov dword [esp], eax
lea eax, [0x764b10]
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls.finishedHash.hashForClientCertificate
Function at 0x628770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x92707c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x62895c
sub esp, 0x68
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
xor ecx, ecx
mov ebx, 1
jmp 0x6287ad
mov ebp, dword [esp + 0x5c]
lea ecx, [ebp + 1]
cmp dl, 0x2d
sete bl
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
cmp eax, ecx
jle 0x628950
mov dword [esp + 0x5c], ecx
mov byte [esp + 0x18], bl
movzx ebp, byte [edx + ecx]
xchg ebp, eax
mov byte [esp + 0x19], al
xchg ebp, eax
lea esi, [ebp - 0x20]
mov ecx, esi
mov edx, 1
shl edx, cl
neg ecx
mov byte [esp + 0x1b], cl
mov eax, 1
shr eax, cl
lea edi, [ebp - 0x60]
mov ecx, edi
mov ebx, 1
shl ebx, cl
mov dword [esp + 0x64], ebx
neg ecx
mov byte [esp + 0x1a], cl
mov ebx, 1
shr ebx, cl
mov dword [esp + 0x60], ebx
add ebp, 0xffffffc0
mov ecx, ebp
mov ebx, 1
shl ebx, cl
xchg esi, eax
cmp al, 0x20
xchg esi, eax
sbb esi, esi
and edx, esi
movzx esi, byte [esp + 0x1b]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
sbb esi, esi
and eax, esi
or eax, edx
and eax, 0x3ff6cfa
cmp cl, 0x20
sbb edx, edx
and edx, ebx
xchg edi, eax
cmp al, 0x20
xchg edi, eax
sbb ebx, ebx
mov ebp, dword [esp + 0x64]
and ebp, ebx
movzx ebx, byte [esp + 0x1a]
cmp bl, 0x20
sbb ebx, ebx
mov esi, dword [esp + 0x60]
and esi, ebx
or ebp, esi
and ebp, 0x57ffffff
or ebp, eax
test ebp, ebp
setne al
test edx, 0xc7fffffe
setne dl
or eax, edx
test al, al
je 0x62893c
movzx eax, byte [esp + 0x18]
test al, al
je 0x628891
movzx edx, byte [esp + 0x19]
lea ebx, [edx - 0x61]
cmp bl, 0x19
jbe 0x6288a4
test al, al
jne 0x628798
jmp 0x628896
movzx edx, byte [esp + 0x19]
lea eax, [edx - 0x41]
cmp al, 0x19
ja 0x628798
jmp 0x6288f0
lea eax, [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call sym.runtime.stringtoslicebyte
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.net_textproto.canonicalMIMEHeaderKey
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x68
ret
lea eax, [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call sym.runtime.stringtoslicebyte
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.net_textproto.canonicalMIMEHeaderKey
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
add esp, 0x68
ret
call sym.runtime.morestack_noctxt
jmp sym.net_textproto.CanonicalMIMEHeaderKey
Function at 0x6313c0
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [0x92707c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x63143d
sub esp, 8
lea eax, [0x6b6260]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
xor ecx, ecx
jmp 0x6313ef
mov dword [eax + edx*4], ecx
lea ecx, [edx + 1]
cmp ecx, 0x100
jge 0x6313fd
mov edx, ecx
xor ebx, ebx
jmp 0x631422
mov ecx, dword [0x927358]
test ecx, ecx
je 0x631417
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [0x906e50]
mov dword [edi + 4], ecx
mov dword [0x906e50], eax
add esp, 8
ret
inc ebx
cmp ebx, 8
jge 0x6313e9
test ecx, 1
je 0x631439
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x631421
shr ecx, 1
jmp 0x631421
call sym.runtime.morestack_noctxt
jmp sym.hash_crc32.init
Function at 0x401060
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push esi
mov dword [ebp - 0xc], 0x2a1a
push 0x44
push 0
lea eax, [ebp - 0x88]
push eax
call fcn.004015e0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
je 0x40109c
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x88], 0x44
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x88]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x402058
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
call section..text
and eax, 0xff
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
sub dword [ebp - 0x20], 0x34
add dword [ebp - 0x20], 0x401000
cmp dword [ebp - 0x20], 0
jne 0x4010ed
jmp 0x401130
call fcn.00401320
mov dword [ebp - 0x38], 0x9f8c7
mov ecx, dword [ebp - 0x20]
sub ecx, 0x1000
mov dword [ebp - 0x34], ecx
add dword [ebp - 0xc], 0x5e6
push dword [ebp - 0xc]
push 0x40
push dword [ebp - 0x34]
mov esi, 0x401390
add esi, dword [ebp - 0x1c]
sub esi, 0x34
call esi
mov dword [ebp - 0x3c], 1
xor edx, edx
jne 0x401071
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x401320
Capabilities:
Check for time delay via gettickcount
Inspect load icon resource
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x401347
push 0x14d
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
jne 0x401386
call dword [sym.imp.KERNEL32.dll_GetTickCount]
not eax
imul eax, eax, 0x392fa
mov ecx, 0x167c3
sub ecx, eax
je 0x401386
push 0x20
lea edx, [ebp - 0x198]
push edx
push 0x4020b4
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp eax, 0xffffffff
jne 0x401379
jmp 0x401386
push 0xffffff19
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret
Function at 0x40e366
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
xor ecx, ecx
mov dword [0x4b5eb30], eax
inc ecx
mov eax, 0x4b5eb30
push esi
mov edx, dword [eax]
mov esi, edx
shr esi, 0x1e
xor esi, edx
imul esi, esi, 0x6c078965
add esi, ecx
mov dword [eax + 4], esi
add eax, 4
inc ecx
cmp eax, 0x4b5f4ec
jl 0x40e374
mov dword [0x4b5eb2c], ecx
pop esi
ret

Function at 0x40e39b
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x4b5eb2c]
cmp eax, 0x270
jl 0x40e45b
push esi
push edi
xor edx, edx
mov esi, 0x7fffffff
mov ecx, edx
mov eax, dword [ecx*4 + 0x4b5eb34]
xor eax, dword [ecx*4 + 0x4b5eb30]
and eax, esi
xor eax, dword [ecx*4 + 0x4b5eb30]
mov edi, eax
shr eax, 1
and edi, 1
xor eax, dword [edi*4 + 0x4b5e7b0]
xor eax, dword [ecx*4 + 0x4b5f164]
inc edx
mov dword [ecx*4 + 0x4b5eb30], eax
cmp edx, 0xe3
jl 0x40e3b4
cmp edx, 0x26f
jge 0x40e42d
lea ecx, [edx*4 + 0x4b5eb30]
mov eax, dword [ecx]
xor eax, dword [ecx + 4]
and eax, esi
xor eax, dword [ecx]
mov edi, eax
and edi, 1
mov edi, dword [edi*4 + 0x4b5e7b0]
xor edi, dword [ecx - 0x38c]
shr eax, 1
xor edi, eax
mov dword [ecx], edi
add ecx, 4
cmp ecx, 0x4b5f4ec
jl 0x40e401
mov ecx, dword [0x4b5f4ec]
mov eax, dword [0x4b5eb30]
xor eax, ecx
and eax, esi
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
xor eax, dword [ecx*4 + 0x4b5e7b0]
pop edi
xor eax, dword [0x4b5f160]
pop esi
mov dword [0x4b5f4ec], eax
xor eax, eax
mov ecx, dword [eax*4 + 0x4b5eb30]
inc eax
mov dword [0x4b5eb2c], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

Function at 0x413d6d
Capabilities:
Encode data using xor

Disassembly:
movzx eax, ax
lea eax, [eax*8 + 0x4b25a38]
xor edx, edx
xor ecx, ecx
cmp dx, word [eax + 2]
jae 0x413d9a
push esi
mov edx, dword [eax + 4]
movzx esi, cx
mov dl, byte [edx + esi]
xor dl, byte [eax]
xor dl, cl
inc ecx
mov byte [esi + edi], dl
cmp cx, word [eax + 2]
jb 0x413d82
pop esi
movzx eax, word [eax + 2]
mov byte [eax + edi], 0
ret

Function at 0x413da3
Capabilities:
Encode data using xor

Disassembly:
movzx eax, ax
lea eax, [eax*8 + 0x4b25a38]
xor ecx, ecx
xor edx, edx
cmp cx, word [eax + 2]
jae 0x413de2
push ebx
push edi
mov edi, dword [eax + 4]
movzx ebx, byte [eax]
movzx ecx, dx
movsx di, byte [edi + ecx]
xor di, bx
xor di, dx
mov ebx, 0xff
and di, bx
inc edx
mov word [esi + ecx*2], di
cmp dx, word [eax + 2]
jb 0x413db9
pop edi
pop ebx
movzx eax, word [eax + 2]
xor ecx, ecx
mov word [esi + eax*2], cx
ret

Function at 0x4169f9
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, edx
push 0x14
sub ecx, eax
sub esi, eax
pop edi
mov dl, byte [ecx + eax]
xor dl, byte [eax]
mov byte [esi + eax], dl
inc eax
dec edi
jne 0x416a04
pop edi
pop esi
ret
Function at 0x41ee70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 8]
dec eax
dec eax
push edi
je 0x41eedd
call fcn.0041edd0
test al, al
jne 0x41ee8d
xor al, al
jmp 0x41ef0b
lea edi, [esi + 4]
xor ebx, ebx
cmp dword [edi], ebx
jne 0x41eec6
mov eax, dword [esi + 8]
sub eax, ebx
je 0x41eea9
dec eax
jne 0x41eeb0
mov dword [ebp - 4], 0x8004
jmp 0x41eeb0
mov dword [ebp - 4], 0x8003
push edi
push ebx
push ebx
push dword [ebp - 4]
push dword [esi]
call dword [0x4b21044]
test eax, eax
jne 0x41eec6
mov dword [edi], ebx
jmp 0x41ee89
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi]
call dword [0x4b21048]
dec eax
neg eax
sbb eax, eax
inc eax
jmp 0x41ef0b
mov eax, dword [esi]
xor ebx, ebx
xor ecx, ecx
cmp dword [ebp + 0xc], ebx
jbe 0x41ef07
mov edx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4b5f5b0]
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x41eee8
mov dword [esi], eax
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x42016d
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
mov edi, ecx
mov cl, byte [eax + 0x100]
mov byte [ebp - 1], cl
mov cl, byte [eax + 0x101]
mov byte [ebp - 2], cl
test edx, edx
je 0x4201d4
mov ecx, dword [ebp + 8]
sub ecx, edi
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp + 8], edx
push esi
inc byte [ebp - 1]
movzx esi, byte [ebp - 1]
mov dl, byte [esi + eax]
add byte [ebp - 2], dl
movzx ecx, byte [ebp - 2]
mov bl, byte [ecx + eax]
mov byte [esi + eax], bl
mov byte [ecx + eax], dl
movzx ecx, byte [esi + eax]
movzx edx, dl
add ecx, edx
mov edx, dword [ebp - 8]
and ecx, 0xff
mov cl, byte [ecx + eax]
xor cl, byte [edx + edi]
mov byte [edi], cl
inc edi
dec dword [ebp + 8]
jne 0x420198
pop esi
pop ebx
mov cl, byte [ebp - 1]
mov byte [eax + 0x100], cl
mov cl, byte [ebp - 2]
mov byte [eax + 0x101], cl
pop edi
leave
ret 4
Function at 0x420219
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xc
cmp dword [ebp + 0xc], 0
jbe 0x420301
push ebx
lea edx, [ebp - 8]
push esi
sub ecx, edx
push edi
mov edi, ecx
push 3
mov byte [ebp - 1], 0
lea ecx, [ebp - 8]
pop esi
cmp dword [ebp + 0xc], 0
jbe 0x420253
mov dl, byte [edi + ecx]
dec dword [ebp + 0xc]
inc byte [ebp - 1]
mov byte [ecx], dl
jmp 0x420256
mov byte [ecx], 0
inc ecx
dec esi
jne 0x420240
movzx ecx, byte [ebp - 8]
mov edx, ecx
shr edx, 2
mov bl, byte [edx + 0x4b28b80]
movzx edx, byte [ebp - 7]
and ecx, 3
mov esi, edx
shl ecx, 4
shr esi, 4
or esi, ecx
mov cl, byte [esi + 0x4b28b80]
add edi, 3
cmp byte [ebp - 1], 1
mov byte [ebp - 0xb], cl
jbe 0x4202a3
movzx ecx, byte [ebp - 6]
and edx, 0xf
shl edx, 2
shr ecx, 6
or ecx, edx
mov dl, byte [ecx + 0x4b28b80]
jmp 0x4202a5
mov dl, 0x3d
cmp byte [ebp - 1], 2
jbe 0x4202ba
movzx ecx, byte [ebp - 6]
and ecx, 0x3f
mov cl, byte [ecx + 0x4b28b80]
jmp 0x4202bc
mov cl, 0x3d
cmp byte [ebp + 0x10], 0
je 0x4202e3
movzx esi, bl
mov word [eax], si
movzx esi, byte [ebp - 0xb]
movzx edx, dl
movzx ecx, cl
mov word [eax + 2], si
mov word [eax + 4], dx
mov word [eax + 6], cx
add eax, 8
jmp 0x4202f4
mov byte [eax], bl
mov bl, byte [ebp - 0xb]
mov byte [eax + 1], bl
mov byte [eax + 2], dl
mov byte [eax + 3], cl
add eax, 4
cmp dword [ebp + 0xc], 0
ja 0x420236
pop edi
pop esi
pop ebx
sub eax, dword [ebp + 8]
leave
ret 0xc

Function at 0x4203de
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, eax
mov al, byte [esi]
mov byte [ecx], al
cmp edx, 1
jbe 0x4203fe
lea eax, [ecx + 1]
sub esi, ecx
lea ecx, [edx - 1]
mov dl, byte [esi + eax]
xor dl, byte [eax - 1]
mov byte [eax], dl
inc eax
dec ecx
jne 0x4203f2
pop esi
ret

Function at 0x420400
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 4], esi
je 0x420415
push edi
push dword [esp + 8]
push esi
call dword [0x4b2166c]
add esp, 0xc
lea eax, [edi - 1]
test eax, eax
je 0x420426
mov cl, byte [eax + esi - 1]
xor byte [eax + esi], cl
dec eax
jne 0x42041c
ret 4