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

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov ecx, dword [ebp + 4]
push edi
mov edi, dword [esp + 0x1c]
lea ebx, [ebx - 1]
mov eax, dword [edi + 4]
xor eax, ecx
shr ebx, 0x1f
dec ebx
and eax, ebx
xor ecx, eax
mov dword [ebp + 4], ecx
xor dword [edi + 4], eax
mov eax, dword [esp + 0x20]
lea ecx, [eax - 1]
cmp ecx, 9
ja case.default.0x1005af25
jmp dword [ecx*4 + 0x1005b06c]
mov ecx, 0xa
mov dword [esp + 0x14], ecx
cmp eax, ecx
jle case.0x1005af25.10
lea esp, [esp]
mov eax, dword [ebp]
mov esi, dword [esp + 0x14]
lea edx, [eax + ecx*4]
mov eax, dword [edi]
mov ecx, dword [edx]
mov esi, dword [eax + esi*4]
xor esi, ecx
and esi, ebx
xor ecx, esi
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
inc ecx
xor dword [eax + ecx*4 - 4], esi
mov dword [esp + 0x14], ecx
cmp ecx, dword [esp + 0x20]
jl 0x1005af40
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x24]
mov ecx, dword [esi + 0x24]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x24], ecx
mov eax, dword [edi]
xor dword [eax + 0x24], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x20]
mov ecx, dword [esi + 0x20]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x20], ecx
mov eax, dword [edi]
xor dword [eax + 0x20], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x1c]
mov ecx, dword [esi + 0x1c]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x1c], ecx
mov eax, dword [edi]
xor dword [eax + 0x1c], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x18]
mov ecx, dword [esi + 0x18]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x18], ecx
mov eax, dword [edi]
xor dword [eax + 0x18], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x14]
mov ecx, dword [esi + 0x14]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x14], ecx
mov eax, dword [edi]
xor dword [eax + 0x14], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0x10]
mov ecx, dword [esi + 0x10]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x10], ecx
mov eax, dword [edi]
xor dword [eax + 0x10], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 0xc]
mov ecx, dword [esi + 0xc]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0xc], ecx
mov eax, dword [edi]
xor dword [eax + 0xc], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 8]
mov ecx, dword [esi + 8]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 8], ecx
mov eax, dword [edi]
xor dword [eax + 8], edx
mov eax, dword [edi]
mov esi, dword [ebp]
mov edx, dword [eax + 4]
mov ecx, dword [esi + 4]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 4], ecx
mov eax, dword [edi]
xor dword [eax + 4], edx
mov esi, dword [ebp]
mov eax, dword [edi]
mov edx, dword [esi]
mov ecx, dword [eax]
xor ecx, edx
and ecx, ebx
xor edx, ecx
mov dword [esi], edx
mov eax, dword [edi]
pop edi
xor dword [eax], ecx
pop esi
pop ebp
pop ebx
ret
Function at 0x10063120
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x474
call fcn.10123f80
mov eax, dword [0x101c2520]
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 0x10063165
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.1012032b
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x48]
push eax
push edi
call fcn.1012630c
add esp, 8
test eax, eax
js 0x1006314e
mov eax, 8
call fcn.10123f80
xorps xmm0, xmm0
movsd qword [esp], xmm0
lea eax, [esp + 0x50]
push 0x30
push eax
call fcn.10062e60
mov esi, dword [ebp + 0xc]
add esp, 0x10
test esi, esi
je 0x1006314e
push 0x10160ed4
push edi
call fcn.10121148
add esp, 8
mov dword [esp + 0x40], eax
test eax, eax
je 0x10063262
test dword [esp + 0x4e], 0x2000
je 0x100631e1
push 0
push 4
mov ecx, 0x800
push 0
cmp esi, 0xffffffff
push eax
cmove esi, ecx
call fcn.10125168
mov eax, dword [esp + 0x50]
add esp, 0x10
mov edi, 0x400
test esi, esi
jle 0x100631ef
cmp esi, edi
cmovl edi, esi
push eax
push edi
lea eax, [esp + 0x80]
push 1
push eax
call fcn.10122bf9
mov ebx, eax
add esp, 0x10
test ebx, ebx
jle 0x10063243
movd xmm0, ebx
mov eax, 8
cvtdq2pd xmm0, xmm0
call fcn.10123f80
lea eax, [esp + 0x80]
movsd qword [esp], xmm0
push edi
push eax
call fcn.10062e60
add dword [esp + 0x54], ebx
mov eax, dword [esp + 0x50]
add esp, 0x10
test esi, esi
jle 0x100631e1
sub esi, edi
test esi, esi
jg 0x100631e1
push dword [esp + 0x40]
call fcn.10121d31
lea eax, [esp + 0x7c]
push 0x400
push eax
call fcn.1006df10
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.1012032b
mov esp, ebp
pop ebp
ret
Function at 0x1006b160
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.10122830
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 0x1006b9b0
Capabilities:
Hash data using sha224

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x70
push 0
push esi
call fcn.10122830
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 0x1006bcf0
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x70
push 0
push esi
call fcn.10122830
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 0x1006f010
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x1006f034
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 0x1006f026
pop edi
movzx eax, dl
pop esi
ret

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

Disassembly:
mov eax, 0x108
call fcn.10123f80
mov eax, dword [0x101c2520]
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 0x1006f207
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x1006f207
lea eax, [esp + 0x114]
push eax
push dword [esp + 0x114]
lea eax, [esp + 0x10]
push 0x100
push eax
call fcn.1012115d
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.1012032b
add esp, 0x108
ret
lea eax, [esp + 0x114]
push eax
push dword [esp + 0x114]
lea eax, [esp + 0x10]
push 0xff
push eax
call fcn.1012115d
add esp, 0x10
mov byte [esp + 0x107], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x1006f298
call fcn.1006f040
test eax, eax
jle 0x1006f298
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x1006f2ac
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.1012032b
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.1012032b
add esp, 0x108
ret

Function at 0x10074360
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x60
push 0
push esi
call fcn.10122830
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 0x100892f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
xor edx, edx
test esi, esi
je 0x10089336
mov al, byte [esi]
test al, al
je 0x10089336
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 0x10089307
mov eax, edx
shr eax, 0x10
pop edi
xor eax, edx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x100b29c0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x100b2a89
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x100b29e1
cmp al, 0x6b
jne 0x100b2a89
inc ecx
cmp al, 0x6b
jne 0x100b2a4b
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x100b2a02
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x100b2a02
cmp dl, 0xbb
jne 0x100b2a2b
inc eax
cmp eax, esi
jl 0x100b29f0
sub esi, eax
test eax, eax
jne 0x100b2a4e
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.10065cf0
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.10065cf0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x100b2a77
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.10065cf0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.10122e80
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.10065cf0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x100ba990
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 0x100baa7c
push edi
mov edi, dword [esp + 0x14]
inc edi
lea ebx, [ebx]
movzx edx, byte [edi - 1]
cmp esi, 3
jl 0x100baa0e
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 + 0x1018d9c8]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + 0x1018d9c8]
mov byte [eax + 1], cl
mov ecx, edx
shr ecx, 6
and ecx, 0x3f
and edx, 0x3f
movzx ecx, byte [ecx + 0x1018d9c8]
mov byte [eax + 2], cl
movzx ecx, byte [edx + 0x1018d9c8]
mov byte [eax + 3], cl
jmp 0x100baa5f
shl edx, 0x10
cmp esi, 2
jne 0x100baa1e
movzx ecx, byte [edi]
shl ecx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
movzx ecx, byte [ecx + 0x1018d9c8]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + 0x1018d9c8]
mov byte [eax + 1], cl
cmp esi, 1
jne 0x100baa4b
lea ecx, [esi + 0x3c]
jmp 0x100baa58
shr edx, 6
and edx, 0x3f
movzx ecx, byte [edx + 0x1018d9c8]
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 0x100ba9b0
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 0x100be0b0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.10123f80
mov eax, dword [0x101c2520]
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 0x100be116
cmp edi, dword [esi]
je 0x100be10d
test ebp, ebp
je 0x100be190
test ebx, ebx
js 0x100be190
mov eax, 1
mov dword [esi], edi
jmp 0x100be11c
mov edi, dword [esi]
test edi, edi
je 0x100be190
test ebp, ebp
je 0x100be2ab
push edi
call fcn.10073290
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x100be150
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.1006f2d0
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jge 0x100be1ab
push dword [esp + 0x10]
lea eax, [esi + 4]
push edi
push eax
call fcn.1005ef40
add esp, 0xc
test eax, eax
je 0x100be190
push ebx
push ebp
lea ebx, [esi + 4]
push ebx
call fcn.1005f0f0
add esp, 0xc
test eax, eax
je 0x100be190
lea ebp, [esi + 0x4c]
push ebp
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.1005ee90
add esp, 0xc
test eax, eax
jne 0x100be1c7
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1012032b
add esp, 0x8c
ret
cmp ebx, 0x80
ja 0x100be190
push ebx
lea eax, [esi + 0x50]
push ebp
push eax
call fcn.10122e80
lea ebp, [esi + 0x4c]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x80
je 0x100be1ea
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.10122830
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 0x100be1f0
push edx
lea ebx, [esi + 0x1c]
push edi
push ebx
call fcn.1005ef40
add esp, 0xc
test eax, eax
je 0x100be190
push edi
call fcn.10073290
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.1005f0f0
add esp, 0x10
test eax, eax
je 0x100be190
xor ecx, ecx
jmp 0x100be240
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x100be240
push dword [esp + 0x10]
lea ebx, [esi + 0x34]
push edi
push ebx
call fcn.1005ef40
add esp, 0xc
test eax, eax
je 0x100be190
push edi
call fcn.10073290
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.1005f0f0
add esp, 0x10
test eax, eax
je 0x100be190
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.1005f1c0
add esp, 8
test eax, eax
je 0x100be190
mov eax, 1
jmp 0x100be192
test eax, eax
je 0x100be289
jmp 0x100be1ee
Function at 0x100bf600
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.10123f80
mov eax, dword [0x101c2520]
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.1005f360
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.1005f1c0
add esp, 0xc
test eax, eax
je 0x100bf705
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.1005ee90
add esp, 0xc
test eax, eax
je 0x100bf705
lea eax, [esp + 0x20]
push eax
call fcn.1005f100
mov esi, dword [ebp]
add esp, 4
test byte [esi + 0xc], 4
je 0x100bf723
push edi
call fcn.1005fbe0
push ebx
push edi
mov dword [esp + 0x28], eax
call fcn.10073520
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100bf705
push esi
call fcn.100c5740
add esp, 4
test eax, eax
jle 0x100bf705
push dword [ebp]
push ebx
push 1
push 0xf8
push 0xffffffffffffffff
push esi
call fcn.100732d0
add esp, 0x18
test eax, eax
jle 0x100bf705
push dword [esp + 0x14]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x1c]
push esi
call fcn.100c5650
add esp, 0x14
test eax, eax
jle 0x100bf705
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
mov ebx, 1
push esi
call fcn.100734c0
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1012032b
add esp, 0x6c
ret
xor eax, eax
lea ecx, [esi + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x100bf73b
cmp dword [edi], edx
je 0x100bf765
inc eax
add ecx, 4
cmp eax, 4
jl 0x100bf728
push 0x7b
push str..cryptoevpp_sign.c
push 0x6e
push 0x6b
push 6
call fcn.10065cf0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1012032b
add esp, 0x6c
ret
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x100bf799
push 0x80
push str..cryptoevpp_sign.c
push 0x68
push 0x6b
push 6
call fcn.10065cf0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1012032b
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.1012032b
add esp, 0x6c
ret
Function at 0x100c0d90
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x100d29a0
push ebp
mov ebp, dword [esp + 0x10]
push ebp
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.100d2b90
add esp, 0xc
test eax, eax
js 0x100d2b8c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xf0]
shl edi, 2
xor ebx, ebx
test edi, edi
jle 0x100d2a1c
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 0x100d29e0
mov edi, 1
cmp dword [ebp + 0xf0], edi
jle 0x100d2b87
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 + 0x10194080]
movzx eax, byte [esi - 1]
mov ecx, dword [ecx*4 + 0x10194c80]
movzx eax, byte [eax*4 + 0x10194080]
xor ecx, dword [eax*4 + 0x10195480]
movzx eax, dl
mov edx, dword [esi + 2]
movzx eax, byte [eax*4 + 0x10194080]
xor ecx, dword [eax*4 + 0x10195880]
movzx eax, byte [esi]
movzx eax, byte [eax*4 + 0x10194080]
xor ecx, dword [eax*4 + 0x10195080]
mov eax, edx
shr eax, 0x18
mov dword [esi - 2], ecx
movzx ecx, byte [eax*4 + 0x10194080]
movzx eax, byte [esi + 3]
mov ecx, dword [ecx*4 + 0x10194c80]
movzx eax, byte [eax*4 + 0x10194080]
xor ecx, dword [eax*4 + 0x10195480]
movzx eax, byte [esi + 4]
movzx eax, byte [eax*4 + 0x10194080]
xor ecx, dword [eax*4 + 0x10195080]
movzx eax, dl
mov edx, dword [esi + 6]
movzx eax, byte [eax*4 + 0x10194080]
xor ecx, dword [eax*4 + 0x10195880]
mov eax, edx
shr eax, 0x18
mov dword [esi + 2], ecx
movzx ecx, byte [eax*4 + 0x10194080]
movzx eax, byte [esi + 7]
mov ecx, dword [ecx*4 + 0x10194c80]
movzx eax, byte [eax*4 + 0x10194080]
xor ecx, dword [eax*4 + 0x10195480]
movzx eax, byte [esi + 8]
movzx eax, byte [eax*4 + 0x10194080]
xor ecx, dword [eax*4 + 0x10195080]
movzx eax, dl
mov edx, dword [esi + 0xa]
movzx eax, byte [eax*4 + 0x10194080]
xor ecx, dword [eax*4 + 0x10195880]
mov eax, edx
shr eax, 0x18
mov dword [esi + 6], ecx
movzx ecx, byte [eax*4 + 0x10194080]
movzx eax, byte [esi + 0xb]
mov ecx, dword [ecx*4 + 0x10194c80]
movzx eax, byte [eax*4 + 0x10194080]
xor ecx, dword [eax*4 + 0x10195480]
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax*4 + 0x10194080]
xor ecx, dword [eax*4 + 0x10195080]
movzx eax, dl
movzx eax, byte [eax*4 + 0x10194080]
xor ecx, dword [eax*4 + 0x10195880]
mov dword [esi + 0xa], ecx
cmp edi, dword [ebp + 0xf0]
jl 0x100d2a30
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x100c7380
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x100c7392
xor eax, eax
pop edi
ret
push ebp
push esi
push edi
call fcn.10072e30
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
add esp, 4
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x100c7445
mov ecx, dword [edi + 0x10c]
push ebx
cmp ecx, esi
jne 0x100c73e2
test esi, esi
jle 0x100c7424
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 0x100c73d0
jmp 0x100c7424
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x100c7406
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.10122830
add esp, 0xc
test esi, esi
jle 0x100c7424
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 0x100c7414
push esi
push ebp
push ebp
push edi
call fcn.10073250
add esp, 0x10
pop ebx
test eax, eax
jne 0x100c7445
push esi
push ebp
call fcn.1006df10
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 0x100ca190
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x70
call fcn.10123f80
mov eax, dword [0x101c2520]
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 0x100ca367
mov esi, dword [esp + 0x80]
cmp esi, 0x40000000
ja 0x100ca367
cmp dword [esp + 0x88], 0x40000000
ja 0x100ca367
push ebx
push edi
push eax
call fcn.100732a0
mov edi, eax
lea eax, [esp + 0x28]
push eax
call fcn.1005f360
push 0
push dword [esp + 0x28]
lea eax, [esp + 0x34]
push eax
mov ebx, 1
call fcn.1005ef40
push dword [esp + 0xa4]
lea eax, [esp + 0x3c]
push dword [esp + 0x30]
mov dword [esp + 0x2c], 0x1000000
push eax
call fcn.1005f0f0
add esp, 0x20
test eax, eax
je 0x100ca343
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1005f0f0
add esp, 0xc
test eax, eax
je 0x100ca343
push dword [esp + 0x98]
lea eax, [esp + 0x28]
push dword [esp + 0x24]
push eax
call fcn.1005f0f0
add esp, 0xc
test eax, eax
je 0x100ca343
push 0
cmp esi, edi
jb 0x100ca30b
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.1005ee60
add esp, 0xc
test eax, eax
je 0x100ca343
sub esi, edi
je 0x100ca33b
push 0
push dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
add ebp, edi
inc ebx
call fcn.1005ef40
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.1005f0f0
add esp, 0x18
test eax, eax
jne 0x100ca257
jmp 0x100ca343
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1005ee60
add esp, 0xc
test eax, eax
je 0x100ca343
push esi
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.10122e80
lea eax, [esp + 0x48]
push edi
push eax
call fcn.1006df10
add esp, 0x14
mov dword [esp + 0x14], 1
lea eax, [esp + 0x24]
push eax
call fcn.1005f100
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.1012032b
add esp, 0x70
ret
mov ecx, dword [esp + 0x74]
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.1012032b
add esp, 0x70
ret