Function at 0x1010a6f0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x34
call fcn.101aa130
push ebx
mov ebx, dword [esp + 0x4c]
mov eax, ebx
push ebp
shl eax, 4
push esi
add eax, 6
mov dword [esp + 0x30], 0
xor esi, esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], ebx
push edi
cmp eax, 0x1555555
ja 0x1010aeac
imul edi, ebx, 0x600
push 0x27c
push str.cryptoececp_nistz256.c
lea eax, [edi + 0x220]
push eax
call fcn.1007e760
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x10], ebp
test ebp, ebp
je 0x1010aeaa
mov eax, ebx
push 0x27e
shl eax, 5
add eax, ebx
push str.cryptoececp_nistz256.c
push eax
call fcn.1007e760
mov esi, eax
add esp, 0xc
mov dword [esp + 0x18], esi
test esi, esi
je 0x1010aea6
push 0x27f
lea eax, [ebx*4]
push str.cryptoececp_nistz256.c
push eax
call fcn.1007e760
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x1010aea6
mov eax, ebp
mov dword [esp + 0x28], 0
and eax, 0xffffffc0
add eax, 0x40
add edi, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edi
test ebx, ebx
je 0x1010aad6
mov ebp, dword [esp + 0x50]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x58], eax
lea eax, [esi + 2]
mov dword [esp + 0x38], eax
mov eax, ecx
sub eax, ebp
mov dword [esp + 0x24], 0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x54]
sub eax, ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x40], eax
push dword [ebp]
call fcn.10090ee0
add esp, 4
cmp eax, 0x100
jg 0x1010a829
push dword [ebp]
call fcn.10090c20
add esp, 4
test eax, eax
jne 0x1010a829
mov esi, dword [ebp]
jmp 0x1010a858
push ebx
call fcn.100e7150
mov esi, eax
add esp, 4
test esi, esi
je 0x1010ae3b
mov eax, dword [esp + 0x48]
push ebx
push dword [eax + 8]
push dword [ebp]
push esi
call fcn.101745d0
add esp, 0x10
test eax, eax
je 0x1010ae84
mov eax, dword [esp + 0x28]
xor ebx, ebx
mov ecx, dword [esp + 0x2c]
push esi
mov dword [ecx + eax*4], esi
call fcn.100904e0
shl eax, 2
add esp, 4
test eax, eax
jle 0x1010a8d2
mov esi, dword [esp + 0x38]
add esi, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
push dword [edi + ebp]
call fcn.1007a530
mov ecx, ebx
test ecx, ecx
jns 0x1010a892
add ecx, 3
sar ecx, 2
mov ecx, dword [eax + ecx*4]
lea esi, [esi + 4]
mov eax, ecx
mov byte [esi - 6], cl
shr eax, 8
add ebx, 4
mov byte [esi - 5], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [esi - 4], al
mov byte [esi - 3], cl
push dword [edi + ebp]
call fcn.100904e0
shl eax, 2
add esp, 8
cmp ebx, eax
jl 0x1010a881
mov edi, dword [esp + 0x14]
cmp ebx, 0x21
jge 0x1010a8ef
mov ecx, dword [esp + 0x24]
mov eax, 0x21
sub eax, ebx
add ecx, ebx
add ecx, dword [esp + 0x18]
push eax
push 0
push ecx
call fcn.101ab280
add esp, 0xc
mov ebx, dword [esp + 0x40]
push 8
mov eax, dword [ebx + ebp]
push dword [eax + 8]
push edi
call fcn.1010f980
add esp, 0xc
test eax, eax
je 0x1010ae11
mov eax, dword [ebx + ebp]
lea ecx, [edi + 0x20]
push 8
push dword [eax + 0xc]
push ecx
call fcn.1010f980
add esp, 0xc
test eax, eax
je 0x1010ae11
mov eax, dword [ebx + ebp]
push 8
push dword [eax + 0x10]
lea eax, [edi + 0x40]
push eax
call fcn.1010f980
add esp, 0xc
test eax, eax
je 0x1010ae11
mov esi, dword [esp + 0x58]
push 1
push edi
push esi
call fcn.10043080
lea ebp, [edi + 0x60]
push edi
push ebp
call fcn.10043560
push 2
push ebp
push esi
call fcn.10043080
push edi
lea ebx, [edi + 0xc0]
push ebp
push ebx
call fcn.10043760
push 3
push ebx
push esi
call fcn.10043080
push ebp
push ebp
call fcn.10043560
add esp, 0x40
push 4
push ebp
push esi
call fcn.10043080
push ebx
push ebx
call fcn.10043560
push 6
push ebx
push esi
call fcn.10043080
push dword [esp + 0x34]
add edi, 0x120
push ebp
push edi
call fcn.10043760
push 5
push edi
push esi
call fcn.10043080
mov eax, dword [esp + 0x4c]
push eax
push ebx
lea esi, [eax + 0x180]
push esi
call fcn.10043760
add esp, 0x44
push 7
push esi
push dword [esp + 0x60]
call fcn.10043080
push ebp
push ebp
call fcn.10043560
push 8
push ebp
push dword [esp + 0x74]
call fcn.10043080
push ebx
push ebx
call fcn.10043560
push 0xc
push ebx
push dword [esp + 0x88]
call fcn.10043080
push edi
push edi
call fcn.10043560
push 0xa
push edi
push dword [esp + 0x9c]
call fcn.10043080
add esp, 0x48
push esi
push esi
call fcn.10043560
push 0xe
push esi
push dword [esp + 0x68]
call fcn.10043080
push dword [esp + 0x28]
push ebx
push ebx
call fcn.10043760
push 0xd
push ebx
push dword [esp + 0x80]
call fcn.10043080
push dword [esp + 0x40]
push edi
push edi
call fcn.10043760
push 0xb
push edi
push dword [esp + 0x98]
call fcn.10043080
mov edi, dword [esp + 0x58]
add esp, 0x44
push edi
push esi
push esi
call fcn.10043760
push 0xf
push esi
mov esi, dword [esp + 0x6c]
push esi
call fcn.10043080
push edi
push ebp
push ebx
call fcn.10043760
push 9
push ebx
push esi
call fcn.10043080
push ebp
push ebp
call fcn.10043560
push 0x10
push ebp
push esi
call fcn.10043080
mov eax, dword [esp + 0x6c]
add esi, 0x600
mov ebp, dword [esp + 0x74]
inc eax
add dword [esp + 0x68], 0x21
add ebp, 4
mov ebx, dword [esp + 0xa0]
add esp, 0x44
mov dword [esp + 0x28], eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x30], ebp
cmp eax, dword [esp + 0x20]
jb 0x1010a803
mov eax, dword [esp + 0x18]
lea ebp, [edi + 0x20]
mov esi, 0xff
mov dword [esp + 0x24], esi
movzx ecx, byte [eax + 0x1f]
shr ecx, 6
mov eax, ecx
and ecx, 1
shr eax, 1
add eax, ecx
push eax
push dword [esp + 0x20]
push edi
call fcn.100430d0
movups xmm0, xmmword [edi]
mov ebx, dword [esp + 0x58]
add esp, 0xc
movups xmmword [ebx], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [ebx + 0x10], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [ebx + 0x20], xmm0
movups xmm0, xmmword [edi + 0x30]
movups xmmword [ebx + 0x30], xmm0
movups xmm0, xmmword [edi + 0x40]
movups xmmword [ebx + 0x40], xmm0
movups xmm0, xmmword [edi + 0x50]
movups xmmword [ebx + 0x50], xmm0
nop word [eax + eax]
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp esi, 0xff
sete al
cmp eax, ecx
jae 0x1010acb0
lea edx, [esi - 1]
mov esi, edx
shr edx, 3
and esi, 7
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], esi
mov edx, eax
imul esi, eax, 0x600
shl edx, 5
add edx, eax
mov dword [esp + 0x30], edx
add esi, dword [esp + 0x1c]
sub ecx, eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x28], ecx
nop dword [eax]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
add eax, edx
movzx edx, byte [eax + ecx + 1]
movzx eax, byte [eax + ecx]
mov ecx, dword [esp + 0x3c]
shl edx, 8
or edx, eax
shr edx, cl
mov ecx, 0x3f
and edx, 0x3f
mov eax, edx
sub ecx, edx
shr eax, 5
dec eax
mov esi, eax
and eax, edx
not esi
and ecx, esi
or ecx, eax
mov eax, ecx
and ecx, 1
shr eax, 1
add eax, ecx
and eax, 0x7fffffff
push eax
push dword [esp + 0x5c]
push edi
call fcn.100430d0
lea eax, [edi + 0x80]
push ebp
push eax
call fcn.100423a0
mov ecx, dword [ebp]
and esi, 1
mov eax, dword [edi + 0x80]
neg esi
and eax, esi
mov edx, esi
not edx
and ecx, edx
xor ecx, eax
mov dword [ebp], ecx
mov ecx, dword [edi + 0x84]
mov eax, dword [ebp + 4]
and ecx, esi
and eax, edx
xor ecx, eax
mov dword [ebp + 4], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x88]
and ecx, edx
and eax, esi
xor ecx, eax
mov eax, esi
mov dword [ebp + 8], ecx
mov ecx, edx
and ecx, dword [ebp + 0xc]
and eax, dword [edi + 0x8c]
xor ecx, eax
mov eax, esi
mov dword [ebp + 0xc], ecx
mov ecx, edx
and ecx, dword [ebp + 0x10]
and eax, dword [edi + 0x90]
xor ecx, eax
mov dword [ebp + 0x10], ecx
mov ecx, esi
and ecx, dword [edi + 0x94]
mov eax, dword [ebp + 0x14]
and eax, edx
xor ecx, eax
mov dword [ebp + 0x14], ecx
mov ecx, dword [ebp + 0x18]
mov eax, dword [edi + 0x98]
and ecx, edx
and eax, esi
xor ecx, eax
mov dword [ebp + 0x18], ecx
and edx, dword [ebp + 0x1c]
and esi, dword [edi + 0x9c]
push edi
xor edx, esi
push ebx
push ebx
mov dword [ebp + 0x1c], edx
call fcn.10043760
mov edx, dword [esp + 0x50]
add esp, 0x20
add dword [esp + 0x58], 0x600
add edx, 0x21
sub dword [esp + 0x28], 1
mov dword [esp + 0x30], edx
jne 0x1010ab90
mov esi, dword [esp + 0x24]
push ebx
sub esi, 5
push ebx
mov dword [esp + 0x2c], esi
call fcn.10043560
push ebx
push ebx
call fcn.10043560
push ebx
push ebx
call fcn.10043560
push ebx
push ebx
call fcn.10043560
push ebx
push ebx
call fcn.10043560
add esp, 0x28
cmp esi, 5
jae 0x1010ab40
cmp dword [esp + 0x20], 0
jbe 0x1010ae07
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], eax
nop dword [eax]
movzx edx, byte [eax]
mov ecx, 0x3f
and edx, 0x1f
add edx, edx
mov eax, edx
sub ecx, edx
shr eax, 5
dec eax
mov esi, eax
and eax, edx
not esi
and ecx, esi
or ecx, eax
mov eax, ecx
and ecx, 1
shr eax, 1
add eax, ecx
and eax, 0x7fffffff
push eax
push dword [esp + 0x20]
push edi
call fcn.100430d0
lea eax, [edi + 0x80]
push ebp
push eax
call fcn.100423a0
mov ecx, dword [ebp]
and esi, 1
mov eax, dword [edi + 0x80]
neg esi
and eax, esi
mov edx, esi
not edx
and ecx, edx
xor ecx, eax
mov dword [ebp], ecx
mov ecx, edx
and ecx, dword [ebp + 4]
mov eax, dword [edi + 0x84]
and eax, esi
xor ecx, eax
mov eax, esi
mov dword [ebp + 4], ecx
mov ecx, edx
and ecx, dword [ebp + 8]
and eax, dword [edi + 0x88]
xor ecx, eax
mov dword [ebp + 8], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi + 0x8c]
and ecx, edx
and eax, esi
xor ecx, eax
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [edi + 0x90]
and ecx, edx
and eax, esi
xor ecx, eax
mov eax, esi
mov dword [ebp + 0x10], ecx
mov ecx, edx
and ecx, dword [ebp + 0x14]
and eax, dword [edi + 0x94]
xor ecx, eax
mov eax, esi
mov dword [ebp + 0x14], ecx
mov ecx, edx
and ecx, dword [ebp + 0x18]
and eax, dword [edi + 0x98]
xor ecx, eax
mov dword [ebp + 0x18], ecx
mov ecx, dword [ebp + 0x1c]
mov eax, dword [edi + 0x9c]
and ecx, edx
push edi
and eax, esi
xor ecx, eax
push ebx
mov dword [ebp + 0x1c], ecx
push ebx
call fcn.10043760
mov eax, dword [esp + 0x78]
add esp, 0x20
add dword [esp + 0x1c], 0x600
add eax, 0x21
sub dword [esp + 0x20], 1
mov dword [esp + 0x58], eax
jne 0x1010ad00
mov dword [esp + 0x34], 1
jmp 0x1010ae3b
call fcn.10086800
push str.ecp_nistz256_windowed_mul
push 0x2ad
push str.cryptoececp_nistz256.c
call fcn.10086900
push 0
push 0x92
push 0x10
call fcn.100869b0
add esp, 0x18
mov esi, dword [esp + 0x10]
push 0x30f
push str.cryptoececp_nistz256.c
push esi
call fcn.1007e7a0
push 0x310
push str.cryptoececp_nistz256.c
push dword [esp + 0x2c]
call fcn.1007e7a0
push 0x311
push str.cryptoececp_nistz256.c
push dword [esp + 0x4c]
call fcn.1007e7a0
mov eax, dword [esp + 0x58]
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
call fcn.10086800
push str.ecp_nistz256_windowed_mul
push 0x291
push str.cryptoececp_nistz256.c
call fcn.10086900
push 0
push 0x80003
jmp 0x1010ae31
mov esi, ebp
jmp 0x1010aeac
mov esi, eax
call fcn.10086800
push str.ecp_nistz256_windowed_mul
push 0x280
push str.cryptoececp_nistz256.c
call fcn.10086900
push 0
push 0xc0100
push 0x10
call fcn.100869b0
add esp, 0x18
jmp 0x1010ae3f