joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100912b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x474
call fcn.101637b0
mov eax, dword [0x101f9e50]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x44], ebx
test edi, edi
jne 0x100912f5
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.101604df
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x48]
push eax
push edi
call fcn.101660dc
add esp, 8
test eax, eax
js 0x100912de
mov eax, 8
call fcn.101637b0
xorps xmm0, xmm0
movsd qword [esp], xmm0
lea eax, [esp + 0x50]
push 0x30
push eax
call fcn.10090ff0
mov esi, dword [ebp + 0xc]
add esp, 0x10
test esi, esi
je 0x100912de
push 0x1018def4
push edi
call fcn.101613b4
add esp, 8
mov dword [esp + 0x40], eax
test eax, eax
je 0x100913f2
test dword [esp + 0x4e], 0x2000
je 0x10091371
push 0
push 4
mov ecx, 0x800
push 0
cmp esi, 0xffffffff
push eax
cmove esi, ecx
call fcn.10164f38
mov eax, dword [esp + 0x50]
add esp, 0x10
mov edi, 0x400
test esi, esi
jle 0x1009137f
cmp esi, edi
cmovl edi, esi
push eax
push edi
lea eax, [esp + 0x80]
push 1
push eax
call fcn.101622d9
mov ebx, eax
add esp, 0x10
test ebx, ebx
jle 0x100913d3
movd xmm0, ebx
mov eax, 8
cvtdq2pd xmm0, xmm0
call fcn.101637b0
lea eax, [esp + 0x80]
movsd qword [esp], xmm0
push edi
push eax
call fcn.10090ff0
add dword [esp + 0x54], ebx
mov eax, dword [esp + 0x50]
add esp, 0x10
test esi, esi
jle 0x10091371
sub esi, edi
test esi, esi
jg 0x10091371
push dword [esp + 0x40]
call fcn.10161435
lea eax, [esp + 0x7c]
push 0x400
push eax
call fcn.1009c0a0
mov ebx, dword [esp + 0x50]
add esp, 0xc
mov ecx, dword [esp + 0x47c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.101604df
mov esp, ebp
pop ebp
ret
Function at 0x100992f0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.10161f10
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret
Function at 0x10099b40
Capabilities:
Hash data using sha224

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x70
push 0
push esi
call fcn.10161f10
add esp, 0xc
mov dword [esi], 0xc1059ed8
mov dword [esi + 4], 0x367cd507
mov dword [esi + 8], 0x3070dd17
mov dword [esi + 0xc], 0xf70e5939
mov dword [esi + 0x10], 0xffc00b31
mov dword [esi + 0x14], 0x68581511
mov dword [esi + 0x18], 0x64f98fa7
mov dword [esi + 0x1c], 0xbefa4fa4
mov dword [esi + 0x6c], 0x1c
mov eax, 1
pop esi
ret

Function at 0x10099e80
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x70
push 0
push esi
call fcn.10161f10
add esp, 0xc
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x6c], 0x20
mov eax, 1
pop esi
ret
Function at 0x1009d1b0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x1009d1d4
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
xor cl, byte [eax]
lea eax, [eax + 1]
or dl, cl
dec esi
jne 0x1009d1c6
pop edi
movzx eax, dl
pop esi
ret

Function at 0x1009d320
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, pe_nt_image_headers32
call fcn.101637b0
mov eax, dword [0x101f9e50]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x1009d3a7
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x1009d3a7
lea eax, [esp + 0x114]
push eax
push dword [esp + 0x114]
lea eax, [esp + 0x10]
push 0x100
push eax
call fcn.10160ecb
add esp, 0x10
lea ecx, [esp + 4]
push 0
push ecx
test eax, eax
mov ecx, 0x100
cmovs eax, ecx
push eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.101604df
add esp, 0x108
ret
lea eax, [esp + 0x114]
push eax
push dword [esp + 0x114]
lea eax, [esp + 0x10]
push 0xff
push eax
call fcn.10160ecb
add esp, 0x10
mov byte [esp + 0x107], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x1009d438
call fcn.1009d1e0
test eax, eax
jle 0x1009d438
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x1009d44c
push 0
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.101604df
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.101604df
add esp, 0x108
ret

Function at 0x100a2530
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x60
push 0
push esi
call fcn.10161f10
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov eax, 1
pop esi
ret
Function at 0x100b74b0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
xor edx, edx
test esi, esi
je 0x100b74f6
mov al, byte [esi]
test al, al
je 0x100b74f6
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
imul eax, eax
and ecx, 0xf
rol edx, cl
lea esi, [esi + 1]
add edi, 0x100
xor edx, eax
mov al, byte [esi]
test al, al
jne 0x100b74c7
mov eax, edx
shr eax, 0x10
pop edi
xor eax, edx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x100e0b80
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x100e0c49
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x100e0ba1
cmp al, 0x6b
jne 0x100e0c49
inc ecx
cmp al, 0x6b
jne 0x100e0c0b
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x100e0bc2
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x100e0bc2
cmp dl, 0xbb
jne 0x100e0beb
inc eax
cmp eax, esi
jl 0x100e0bb0
sub esi, eax
test eax, eax
jne 0x100e0c0e
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.10093e80
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x7b
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.10093e80
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x100e0c37
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.10093e80
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.10162560
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x70
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.10093e80
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x100e8b20
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
test esi, esi
jle 0x100e8c0c
push edi
mov edi, dword [esp + 0x14]
inc edi
lea ebx, [ebx]
movzx edx, byte [edi - 1]
cmp esi, 3
jl 0x100e8b9e
movzx ecx, byte [edi]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], cl
mov ecx, edx
shr ecx, 6
and ecx, 0x3f
and edx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 2], cl
movzx ecx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 3], cl
jmp 0x100e8bef
shl edx, 0x10
cmp esi, 2
jne 0x100e8bae
movzx ecx, byte [edi]
shl ecx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], cl
cmp esi, 1
jne 0x100e8bdb
lea ecx, [esi + 0x3c]
jmp 0x100e8be8
shr edx, 6
and edx, 0x3f
movzx ecx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 2], cl
mov byte [eax + 3], 0x3d
sub esi, 3
add eax, 4
add ebx, 4
add edi, 3
test esi, esi
jg 0x100e8b40
pop edi
mov byte [eax], 0
pop esi
mov eax, ebx
pop ebx
ret
mov byte [eax], bl
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x100ec1d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.101637b0
mov eax, dword [0x101f9e50]
xor eax, esp
mov dword [esp + 0x88], eax
mov edx, dword [esp + 0xa0]
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x9c]
push edi
mov edi, dword [esp + 0xac]
xor eax, eax
mov dword [esp + 0x10], edx
test edi, edi
je 0x100ec236
cmp edi, dword [esi]
je 0x100ec22d
test ebp, ebp
je 0x100ec2b0
test ebx, ebx
js 0x100ec2b0
mov eax, 1
mov dword [esi], edi
jmp 0x100ec23c
mov edi, dword [esi]
test edi, edi
je 0x100ec2b0
test ebp, ebp
je 0x100ec3cb
push edi
call fcn.100a1450
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x100ec270
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.1009d470
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jge 0x100ec2cb
push dword [esp + 0x10]
lea eax, [esi + 4]
push edi
push eax
call fcn.1008d090
add esp, 0xc
test eax, eax
je 0x100ec2b0
push ebx
push ebp
lea ebx, [esi + 4]
push ebx
call fcn.1008d240
add esp, 0xc
test eax, eax
je 0x100ec2b0
lea ebp, [esi + 0x4c]
push ebp
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.1008cfe0
add esp, 0xc
test eax, eax
jne 0x100ec2e7
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101604df
add esp, 0x8c
ret
cmp ebx, 0x80
ja 0x100ec2b0
push ebx
lea eax, [esi + 0x50]
push ebp
push eax
call fcn.10162560
lea ebp, [esi + 0x4c]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x80
je 0x100ec30a
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.10161f10
add esp, 0xc
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov al, byte [esi + ecx + 0x50]
xor al, 0x36
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x100ec310
push edx
lea ebx, [esi + 0x1c]
push edi
push ebx
call fcn.1008d090
add esp, 0xc
test eax, eax
je 0x100ec2b0
push edi
call fcn.100a1450
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.1008d240
add esp, 0x10
test eax, eax
je 0x100ec2b0
xor ecx, ecx
jmp 0x100ec360
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x100ec360
push dword [esp + 0x10]
lea ebx, [esi + 0x34]
push edi
push ebx
call fcn.1008d090
add esp, 0xc
test eax, eax
je 0x100ec2b0
push edi
call fcn.100a1450
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.1008d240
add esp, 0x10
test eax, eax
je 0x100ec2b0
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.1008d310
add esp, 8
test eax, eax
je 0x100ec2b0
mov eax, 1
jmp 0x100ec2b2
test eax, eax
je 0x100ec3a9
jmp 0x100ec30e
Function at 0x100ed720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.101637b0
mov eax, dword [0x101f9e50]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push ebx
push ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x80]
push esi
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [eax], ebx
push edi
mov edi, dword [esp + 0x8c]
lea eax, [esp + 0x20]
push eax
xor esi, esi
call fcn.1008d4b0
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.1008d310
add esp, 0xc
test eax, eax
je 0x100ed825
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.1008cfe0
add esp, 0xc
test eax, eax
je 0x100ed825
lea eax, [esp + 0x20]
push eax
call fcn.1008d250
mov esi, dword [ebp]
add esp, 4
test byte [esi + 0xc], 4
je 0x100ed843
push edi
call fcn.1008dd10
push ebx
push edi
mov dword [esp + 0x28], eax
call fcn.100a16e0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100ed825
push esi
call fcn.100f38a0
add esp, 4
test eax, eax
jle 0x100ed825
push dword [ebp]
push ebx
push 1
push 0xf8
push 0xffffffffffffffff
push esi
call fcn.100a1490
add esp, 0x18
test eax, eax
jle 0x100ed825
push dword [esp + 0x14]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x1c]
push esi
call fcn.100f37b0
add esp, 0x14
test eax, eax
jle 0x100ed825
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
mov ebx, 1
push esi
call fcn.100a1680
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.101604df
add esp, 0x6c
ret
xor eax, eax
lea ecx, [esi + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x100ed85b
cmp dword [edi], edx
je 0x100ed885
inc eax
add ecx, 4
cmp eax, 4
jl 0x100ed848
push 0x7b
push str..cryptoevpp_sign.c
push 0x6e
push 0x6b
push 6
call fcn.10093e80
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.101604df
add esp, 0x6c
ret
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x100ed8b9
push 0x80
push str..cryptoevpp_sign.c
push 0x68
push 0x6b
push 6
call fcn.10093e80
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.101604df
add esp, 0x6c
ret
push dword [edi + 0x14]
mov ecx, dword [esp + 0x1c]
push ecx
push dword [esp + 0x18]
lea ecx, [esp + 0x44]
push dword [esp + 0x20]
push ecx
push dword [esi]
call eax
mov ecx, dword [esp + 0x90]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101604df
add esp, 0x6c
ret
Function at 0x100eeeb0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x10100b00
push ebp
mov ebp, dword [esp + 0x10]
push ebp
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.10100cf0
add esp, 0xc
test eax, eax
js 0x10100cec
push ebx
push esi
push edi
mov edi, dword [ebp + 0xf0]
shl edi, 2
xor ebx, ebx
test edi, edi
jle 0x10100b7c
lea esi, [ebp + 8]
lea eax, [ebp + 8]
lea esi, [esi + edi*4]
lea esp, [esp]
mov ecx, dword [esi - 8]
mov edx, dword [eax - 8]
mov dword [eax - 8], ecx
mov ecx, dword [esi - 4]
mov dword [esi - 8], edx
mov edx, dword [eax - 4]
mov dword [eax - 4], ecx
mov ecx, dword [esi]
mov dword [esi - 4], edx
mov edx, dword [eax]
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov dword [esi], edx
mov edx, dword [eax + 4]
mov dword [eax + 4], ecx
add ebx, 4
sub edi, 4
mov dword [esi + 4], edx
lea eax, [eax + 0x10]
lea esi, [esi - 0x10]
cmp ebx, edi
jl 0x10100b40
mov edi, 1
cmp dword [ebp + 0xf0], edi
jle 0x10100ce7
lea esi, [ebp + 2]
mov edx, dword [esi + 0xe]
lea esi, [esi + 0x10]
mov eax, edx
shr eax, 0x18
inc edi
movzx ecx, byte [eax*4 + 0x101c1080]
movzx eax, byte [esi - 1]
mov ecx, dword [ecx*4 + 0x101c1c80]
movzx eax, byte [eax*4 + 0x101c1080]
xor ecx, dword [eax*4 + 0x101c2480]
movzx eax, dl
mov edx, dword [esi + 2]
movzx eax, byte [eax*4 + 0x101c1080]
xor ecx, dword [eax*4 + 0x101c2880]
movzx eax, byte [esi]
movzx eax, byte [eax*4 + 0x101c1080]
xor ecx, dword [eax*4 + 0x101c2080]
mov eax, edx
shr eax, 0x18
mov dword [esi - 2], ecx
movzx ecx, byte [eax*4 + 0x101c1080]
movzx eax, byte [esi + 3]
mov ecx, dword [ecx*4 + 0x101c1c80]
movzx eax, byte [eax*4 + 0x101c1080]
xor ecx, dword [eax*4 + 0x101c2480]
movzx eax, byte [esi + 4]
movzx eax, byte [eax*4 + 0x101c1080]
xor ecx, dword [eax*4 + 0x101c2080]
movzx eax, dl
mov edx, dword [esi + 6]
movzx eax, byte [eax*4 + 0x101c1080]
xor ecx, dword [eax*4 + 0x101c2880]
mov eax, edx
shr eax, 0x18
mov dword [esi + 2], ecx
movzx ecx, byte [eax*4 + 0x101c1080]
movzx eax, byte [esi + 7]
mov ecx, dword [ecx*4 + 0x101c1c80]
movzx eax, byte [eax*4 + 0x101c1080]
xor ecx, dword [eax*4 + 0x101c2480]
movzx eax, byte [esi + 8]
movzx eax, byte [eax*4 + 0x101c1080]
xor ecx, dword [eax*4 + 0x101c2080]
movzx eax, dl
mov edx, dword [esi + 0xa]
movzx eax, byte [eax*4 + 0x101c1080]
xor ecx, dword [eax*4 + 0x101c2880]
mov eax, edx
shr eax, 0x18
mov dword [esi + 6], ecx
movzx ecx, byte [eax*4 + 0x101c1080]
movzx eax, byte [esi + 0xb]
mov ecx, dword [ecx*4 + 0x101c1c80]
movzx eax, byte [eax*4 + 0x101c1080]
xor ecx, dword [eax*4 + 0x101c2480]
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax*4 + 0x101c1080]
xor ecx, dword [eax*4 + 0x101c2080]
movzx eax, dl
movzx eax, byte [eax*4 + 0x101c1080]
xor ecx, dword [eax*4 + 0x101c2880]
mov dword [esi + 0xa], ecx
cmp edi, dword [ebp + 0xf0]
jl 0x10100b90
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x100f54e0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x100f54f2
xor eax, eax
pop edi
ret
push ebp
push esi
push edi
call fcn.100a0fe0
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
add esp, 4
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x100f55a5
mov ecx, dword [edi + 0x10c]
push ebx
cmp ecx, esi
jne 0x100f5542
test esi, esi
jle 0x100f5584
mov edx, ebp
lea ecx, [edi + 0x8c]
mov ebx, esi
lea ebx, [ebx]
mov al, byte [ecx + 0x60]
xor al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
dec ebx
jne 0x100f5530
jmp 0x100f5584
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x100f5566
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.10161f10
add esp, 0xc
test esi, esi
jle 0x100f5584
mov edx, ebp
lea ecx, [edi + 0xac]
mov ebx, esi
mov al, byte [ecx + 0x40]
xor al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
dec ebx
jne 0x100f5574
push esi
push ebp
push ebp
push edi
call fcn.100a1410
add esp, 0x10
pop ebx
test eax, eax
jne 0x100f55a5
push esi
push ebp
call fcn.1009c0a0
add esp, 8
xor eax, eax
pop esi
pop ebp
pop edi
ret
pop esi
pop ebp
mov eax, 1
pop edi
ret
Function at 0x100f82f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x70
call fcn.101637b0
mov eax, dword [0x101f9e50]
xor eax, esp
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x88], 0x40000000
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0
ja 0x100f84c7
mov esi, dword [esp + 0x80]
cmp esi, 0x40000000
ja 0x100f84c7
cmp dword [esp + 0x88], 0x40000000
ja 0x100f84c7
push ebx
push edi
push eax
call fcn.100a1460
mov edi, eax
lea eax, [esp + 0x28]
push eax
call fcn.1008d4b0
push 0
push dword [esp + 0x28]
lea eax, [esp + 0x34]
push eax
mov ebx, 1
call fcn.1008d090
push dword [esp + 0xa4]
lea eax, [esp + 0x3c]
push dword [esp + 0x30]
mov dword [esp + 0x2c], 0x1000000
push eax
call fcn.1008d240
add esp, 0x20
test eax, eax
je 0x100f84a3
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1008d240
add esp, 0xc
test eax, eax
je 0x100f84a3
push dword [esp + 0x98]
lea eax, [esp + 0x28]
push dword [esp + 0x24]
push eax
call fcn.1008d240
add esp, 0xc
test eax, eax
je 0x100f84a3
push 0
cmp esi, edi
jb 0x100f846b
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.1008cfb0
add esp, 0xc
test eax, eax
je 0x100f84a3
sub esi, edi
je 0x100f849b
push 0
push dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
add ebp, edi
inc ebx
call fcn.1008d090
push dword [esp + 0x9c]
mov eax, ebx
push dword [esp + 0x28]
shr eax, 8
mov byte [esp + 0x26], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x25], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x24], al
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x2b], bl
call fcn.1008d240
add esp, 0x18
test eax, eax
jne 0x100f83b7
jmp 0x100f84a3
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1008cfb0
add esp, 0xc
test eax, eax
je 0x100f84a3
push esi
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.10162560
lea eax, [esp + 0x48]
push edi
push eax
call fcn.1009c0a0
add esp, 0x14
mov dword [esp + 0x14], 1
lea eax, [esp + 0x24]
push eax
call fcn.1008d250
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.101604df
add esp, 0x70
ret
mov ecx, dword [esp + 0x74]
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.101604df
add esp, 0x70
ret
Function at 0x100f8d80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.101637b0
mov eax, dword [0x101f9e50]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 3]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [esp + 0x2c]
shl ecx, 8
or ecx, eax
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2e], al
shl ecx, 0x10
or edx, ecx
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2f], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x32], al
mov eax, edx
shr eax, 0x18
mov edi, dword [esp + 0x50]
mov byte [esp + 0x33], al
mov eax, dword [esp + 0x44]
mov esi, dword [edi]
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x30], dl
test eax, eax
je 0x100f8f43
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
lea ebx, [ebx]
dec eax
mov dword [esp + 0x44], eax
test esi, esi
jne 0x100f8ed7
push 1
push dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
call fcn.100cccd0
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov eax, ebx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x3b], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x3d], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x3e], al
mov eax, edx
shr eax, 0x18
add esp, 0xc
mov byte [esp + 0x2c], bl
mov byte [esp + 0x30], dl
mov byte [esp + 0x33], al
inc ebp
mov al, byte [esp + esi + 0x2c]
xor al, byte [edi]
inc esi
mov byte [ecx + edi], al
mov eax, dword [esp + 0x44]
inc edi
and esi, 7
test eax, eax
jne 0x100f8e70
test ebp, ebp
mov ebp, dword [esp + 0x28]
je 0x100f8f2a
mov eax, dword [esp + 0x24]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [ebp], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp + 1], al
shr ebx, 0x18
mov byte [ebp + 2], bl
mov eax, edx
shr eax, 8
mov byte [ebp + 3], dl
mov byte [ebp + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [ebp + 5], al
mov byte [ebp + 6], dl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.101604df
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101604df
add esp, 0x28
ret