joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100890f0
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.0x10089125
jmp dword [ecx*4 + 0x1008926c]
mov ecx, 0xa
mov dword [esp + 0x14], ecx
cmp eax, ecx
jle case.0x10089125.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 0x10089140
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 0x100912d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x474
call fcn.10163610
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 0x10091315
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.1016059f
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x48]
push eax
push edi
call fcn.101661ac
add esp, 8
test eax, eax
js 0x100912fe
mov eax, 8
call fcn.10163610
xorps xmm0, xmm0
movsd qword [esp], xmm0
lea eax, [esp + 0x50]
push 0x30
push eax
call fcn.10091010
mov esi, dword [ebp + 0xc]
add esp, 0x10
test esi, esi
je 0x100912fe
push 0x1018def4
push edi
call fcn.1016146f
add esp, 8
mov dword [esp + 0x40], eax
test eax, eax
je 0x10091412
test dword [esp + 0x4e], 0x2000
je 0x10091391
push 0
push 4
mov ecx, 0x800
push 0
cmp esi, 0xffffffff
push eax
cmove esi, ecx
call fcn.10165008
mov eax, dword [esp + 0x50]
add esp, 0x10
mov edi, 0x400
test esi, esi
jle 0x1009139f
cmp esi, edi
cmovl edi, esi
push eax
push edi
lea eax, [esp + 0x80]
push 1
push eax
call fcn.10162139
mov ebx, eax
add esp, 0x10
test ebx, ebx
jle 0x100913f3
movd xmm0, ebx
mov eax, 8
cvtdq2pd xmm0, xmm0
call fcn.10163610
lea eax, [esp + 0x80]
movsd qword [esp], xmm0
push edi
push eax
call fcn.10091010
add dword [esp + 0x54], ebx
mov eax, dword [esp + 0x50]
add esp, 0x10
test esi, esi
jle 0x10091391
sub esi, edi
test esi, esi
jg 0x10091391
push dword [esp + 0x40]
call fcn.101614f0
lea eax, [esp + 0x7c]
push 0x400
push eax
call fcn.1009c0c0
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.1016059f
mov esp, ebp
pop ebp
ret
Function at 0x10099310
Capabilities:
Hash data with md5

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

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

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

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

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

Disassembly:
mov eax, pe_nt_image_headers32
call fcn.10163610
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 0x1009d3c7
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x1009d3c7
lea eax, [esp + 0x114]
push eax
push dword [esp + 0x114]
lea eax, [esp + 0x10]
push 0x100
push eax
call fcn.101610dd
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.1016059f
add esp, 0x108
ret
lea eax, [esp + 0x114]
push eax
push dword [esp + 0x114]
lea eax, [esp + 0x10]
push 0xff
push eax
call fcn.101610dd
add esp, 0x10
mov byte [esp + 0x107], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x1009d458
call fcn.1009d200
test eax, eax
jle 0x1009d458
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x1009d46c
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.1016059f
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.1016059f
add esp, 0x108
ret
Function at 0x100b74d0
Capabilities:
Encode data using xor

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

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x100e0c69
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x100e0bc1
cmp al, 0x6b
jne 0x100e0c69
inc ecx
cmp al, 0x6b
jne 0x100e0c2b
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x100e0be2
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x100e0be2
cmp dl, 0xbb
jne 0x100e0c0b
inc eax
cmp eax, esi
jl 0x100e0bd0
sub esi, eax
test eax, eax
jne 0x100e0c2e
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.10093ea0
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.10093ea0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x100e0c57
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.10093ea0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.101623c0
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.10093ea0
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 + 0x101ba9c8]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + 0x101ba9c8]
mov byte [eax + 1], cl
mov ecx, edx
shr ecx, 6
and ecx, 0x3f
and edx, 0x3f
movzx ecx, byte [ecx + 0x101ba9c8]
mov byte [eax + 2], cl
movzx ecx, byte [edx + 0x101ba9c8]
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 + 0x101ba9c8]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + 0x101ba9c8]
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 + 0x101ba9c8]
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 0x100ec250
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.10163610
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 0x100ec2b6
cmp edi, dword [esi]
je 0x100ec2ad
test ebp, ebp
je 0x100ec330
test ebx, ebx
js 0x100ec330
mov eax, 1
mov dword [esi], edi
jmp 0x100ec2bc
mov edi, dword [esi]
test edi, edi
je 0x100ec330
test ebp, ebp
je 0x100ec44b
push edi
call fcn.100a14a0
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x100ec2f0
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.1009d490
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jge 0x100ec34b
push dword [esp + 0x10]
lea eax, [esi + 4]
push edi
push eax
call fcn.1008d140
add esp, 0xc
test eax, eax
je 0x100ec330
push ebx
push ebp
lea ebx, [esi + 4]
push ebx
call fcn.1008d2f0
add esp, 0xc
test eax, eax
je 0x100ec330
lea ebp, [esi + 0x4c]
push ebp
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.1008d090
add esp, 0xc
test eax, eax
jne 0x100ec367
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1016059f
add esp, 0x8c
ret
cmp ebx, 0x80
ja 0x100ec330
push ebx
lea eax, [esi + 0x50]
push ebp
push eax
call fcn.101623c0
lea ebp, [esi + 0x4c]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x80
je 0x100ec38a
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.10161d70
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 0x100ec390
push edx
lea ebx, [esi + 0x1c]
push edi
push ebx
call fcn.1008d140
add esp, 0xc
test eax, eax
je 0x100ec330
push edi
call fcn.100a14a0
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.1008d2f0
add esp, 0x10
test eax, eax
je 0x100ec330
xor ecx, ecx
jmp 0x100ec3e0
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x100ec3e0
push dword [esp + 0x10]
lea ebx, [esi + 0x34]
push edi
push ebx
call fcn.1008d140
add esp, 0xc
test eax, eax
je 0x100ec330
push edi
call fcn.100a14a0
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.1008d2f0
add esp, 0x10
test eax, eax
je 0x100ec330
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.1008d3c0
add esp, 8
test eax, eax
je 0x100ec330
mov eax, 1
jmp 0x100ec332
test eax, eax
je 0x100ec429
jmp 0x100ec38e
Function at 0x100ed7a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.10163610
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.1008d560
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.1008d3c0
add esp, 0xc
test eax, eax
je 0x100ed8a5
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.1008d090
add esp, 0xc
test eax, eax
je 0x100ed8a5
lea eax, [esp + 0x20]
push eax
call fcn.1008d300
mov esi, dword [ebp]
add esp, 4
test byte [esi + 0xc], 4
je 0x100ed8c3
push edi
call fcn.1008dda0
push ebx
push edi
mov dword [esp + 0x28], eax
call fcn.100a1750
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100ed8a5
push esi
call fcn.100f3910
add esp, 4
test eax, eax
jle 0x100ed8a5
push dword [ebp]
push ebx
push 1
push 0xf8
push 0xffffffffffffffff
push esi
call fcn.100a14e0
add esp, 0x18
test eax, eax
jle 0x100ed8a5
push dword [esp + 0x14]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x1c]
push esi
call fcn.100f3820
add esp, 0x14
test eax, eax
jle 0x100ed8a5
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
mov ebx, 1
push esi
call fcn.100a16d0
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1016059f
add esp, 0x6c
ret
xor eax, eax
lea ecx, [esi + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x100ed8db
cmp dword [edi], edx
je 0x100ed905
inc eax
add ecx, 4
cmp eax, 4
jl 0x100ed8c8
push 0x7b
push str..cryptoevpp_sign.c
push 0x6e
push 0x6b
push 6
call fcn.10093ea0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1016059f
add esp, 0x6c
ret
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x100ed939
push 0x80
push str..cryptoevpp_sign.c
push 0x68
push 0x6b
push 6
call fcn.10093ea0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1016059f
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.1016059f
add esp, 0x6c
ret
Function at 0x100eef30
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x10100b70
push ebp
mov ebp, dword [esp + 0x10]
push ebp
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.10100d60
add esp, 0xc
test eax, eax
js 0x10100d5c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xf0]
shl edi, 2
xor ebx, ebx
test edi, edi
jle 0x10100bec
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 0x10100bb0
mov edi, 1
cmp dword [ebp + 0xf0], edi
jle 0x10100d57
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 0x10100c00
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x100f5550
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x100f5562
xor eax, eax
pop edi
ret
push ebp
push esi
push edi
call fcn.100a1030
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
add esp, 4
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x100f5615
mov ecx, dword [edi + 0x10c]
push ebx
cmp ecx, esi
jne 0x100f55b2
test esi, esi
jle 0x100f55f4
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 0x100f55a0
jmp 0x100f55f4
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x100f55d6
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.10161d70
add esp, 0xc
test esi, esi
jle 0x100f55f4
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 0x100f55e4
push esi
push ebp
push ebp
push edi
call fcn.100a1460
add esp, 0x10
pop ebx
test eax, eax
jne 0x100f5615
push esi
push ebp
call fcn.1009c0c0
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 0x100f8360
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x70
call fcn.10163610
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 0x100f8537
mov esi, dword [esp + 0x80]
cmp esi, 0x40000000
ja 0x100f8537
cmp dword [esp + 0x88], 0x40000000
ja 0x100f8537
push ebx
push edi
push eax
call fcn.100a14b0
mov edi, eax
lea eax, [esp + 0x28]
push eax
call fcn.1008d560
push 0
push dword [esp + 0x28]
lea eax, [esp + 0x34]
push eax
mov ebx, 1
call fcn.1008d140
push dword [esp + 0xa4]
lea eax, [esp + 0x3c]
push dword [esp + 0x30]
mov dword [esp + 0x2c], 0x1000000
push eax
call fcn.1008d2f0
add esp, 0x20
test eax, eax
je 0x100f8513
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1008d2f0
add esp, 0xc
test eax, eax
je 0x100f8513
push dword [esp + 0x98]
lea eax, [esp + 0x28]
push dword [esp + 0x24]
push eax
call fcn.1008d2f0
add esp, 0xc
test eax, eax
je 0x100f8513
push 0
cmp esi, edi
jb 0x100f84db
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.1008d060
add esp, 0xc
test eax, eax
je 0x100f8513
sub esi, edi
je 0x100f850b
push 0
push dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
add ebp, edi
inc ebx
call fcn.1008d140
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.1008d2f0
add esp, 0x18
test eax, eax
jne 0x100f8427
jmp 0x100f8513
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1008d060
add esp, 0xc
test eax, eax
je 0x100f8513
push esi
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.101623c0
lea eax, [esp + 0x48]
push edi
push eax
call fcn.1009c0c0
add esp, 0x14
mov dword [esp + 0x14], 1
lea eax, [esp + 0x24]
push eax
call fcn.1008d300
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.1016059f
add esp, 0x70
ret
mov ecx, dword [esp + 0x74]
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.1016059f
add esp, 0x70
ret