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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x64
mov eax, dword [esp + 0x84]
lea edx, [eax - 1]
mov dword [esp + 0x1c], edx
xor esi, esi
xor edi, edi
test eax, eax
jle 0x70a46029
mov dword [esp], esi
mov dword [esp + 4], edi
mov esi, dword [esp + 0x80]
test esi, esi
je 0x70a46031
mov ebx, dword [esp + 0x80]
mov eax, dword [ebx]
rol ax, 8
rol eax, 0x10
rol ax, 8
mov edx, dword [ebx + 4]
rol dx, 8
rol edx, 0x10
rol dx, 8
mov ecx, edx
mov ebx, eax
mov esi, dword [esp]
xor esi, ecx
mov dword [esp + 8], esi
mov edi, dword [esp + 4]
xor edi, ebx
mov dword [esp + 0xc], edi
xor eax, eax
xor edx, edx
mov ebx, 0x70a620c0
mov ebp, ebx
nop
add eax, eax
adc edx, edx
movzx ecx, byte [ebp]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
shrd esi, edi, cl
shr edi, cl
test cl, 0x20
je 0x70a45ab2
mov esi, edi
xor edi, edi
and esi, 1
xor edi, edi
add eax, esi
adc edx, edi
inc ebp
cmp ebp, 0x70a62100
jne 0x70a45a94
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
mov ebp, edi
mov dword [esp], eax
mov dword [esp + 4], edx
mov edx, dword [esp]
mov edi, dword [esp + 0x78]
mov ecx, dword [edi + ebp*8]
mov ebx, dword [edi + ebp*8 + 4]
ror edx, 0x1f
mov eax, edx
ror eax, 4
mov esi, ecx
mov edi, ebx
shrd esi, edi, 6
shr edi, 6
xor esi, eax
and esi, 0x3f
xor edx, ecx
mov edi, 0x3f
and edi, edx
mov edx, dword [esi*4 + 0x70a62700]
or edx, dword [edi*4 + 0x70a62800]
ror eax, 4
mov esi, ecx
mov edi, ebx
shrd esi, edi, 0xc
shr edi, 0xc
xor esi, eax
and esi, 0x3f
or edx, dword [esi*4 + 0x70a62600]
ror eax, 4
mov esi, ecx
mov edi, ebx
shrd esi, edi, 0x12
shr edi, 0x12
xor esi, eax
and esi, 0x3f
or edx, dword [esi*4 + 0x70a62500]
ror eax, 4
mov esi, ecx
mov edi, ebx
shrd esi, edi, 0x18
shr edi, 0x18
xor esi, eax
and esi, 0x3f
or edx, dword [esi*4 + 0x70a62400]
ror eax, 4
mov esi, ecx
mov edi, ebx
shrd esi, edi, 0x1e
shr edi, 0x1e
xor esi, eax
and esi, 0x3f
or edx, dword [esi*4 + 0x70a62300]
mov ecx, eax
ror ecx, 4
mov esi, ebx
shr esi, 4
xor esi, ecx
and esi, 0x3f
or edx, dword [esi*4 + 0x70a62200]
mov esi, dword [esp]
mov edi, dword [esp + 4]
shr ebx, 0xa
ror ecx, 4
xor ecx, ebx
and ecx, 0x3f
or edx, dword [ecx*4 + 0x70a62100]
xor edx, edi
mov dword [esp], edx
mov dword [esp + 4], esi
inc ebp
cmp ebp, 0x10
jne 0x70a45ad8
mov eax, dword [esp]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp], 0
mov dword [esp + 4], 0
mov ebx, 0x70a620ff
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebp, ebx
lea esi, [esi]
mov ecx, eax
and ecx, 1
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], 0
movzx ebx, byte [ebp]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov cl, bl
shld edi, esi, cl
shl esi, cl
test cl, 0x20
je 0x70a45c15
mov edi, esi
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov esi, dword [esp]
or esi, dword [esp + 0x10]
mov ecx, dword [esp + 4]
or ecx, edi
mov dword [esp], esi
mov dword [esp + 4], ecx
dec ebp
shrd eax, edx, 1
shr edx, 1
cmp ebp, 0x70a620bf
jne 0x70a45be8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov edi, dword [esp + 0x78]
mov ebx, dword [edi + 0x180]
test ebx, ebx
je 0x70a45fec
sub edi, 0xffffff80
mov dword [esp + 0x18], edi
xor eax, eax
xor edx, edx
mov ebx, 0x70a620c0
mov ebp, ebx
add eax, eax
adc edx, edx
movzx ecx, byte [ebp]
mov esi, dword [esp]
mov edi, dword [esp + 4]
shrd esi, edi, cl
shr edi, cl
test cl, 0x20
je 0x70a45c89
mov esi, edi
xor edi, edi
and esi, 1
xor edi, edi
add eax, esi
adc edx, edi
inc ebp
cmp ebp, 0x70a62100
jne 0x70a45c6c
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
mov dword [esp], eax
mov dword [esp + 4], edx
mov ebp, edi
mov edx, dword [esp]
nop
mov eax, ebp
xor eax, 0xf
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + eax*8]
mov ebx, dword [edi + eax*8 + 4]
ror edx, 0x1f
mov eax, edx
ror eax, 4
mov esi, ecx
mov edi, ebx
shrd esi, edi, 6
shr edi, 6
xor esi, eax
and esi, 0x3f
xor edx, ecx
mov edi, 0x3f
and edi, edx
mov edx, dword [esi*4 + 0x70a62700]
or edx, dword [edi*4 + 0x70a62800]
ror eax, 4
mov esi, ecx
mov edi, ebx
shrd esi, edi, 0xc
shr edi, 0xc
xor esi, eax
and esi, 0x3f
or edx, dword [esi*4 + 0x70a62600]
ror eax, 4
mov esi, ecx
mov edi, ebx
shrd esi, edi, 0x12
shr edi, 0x12
xor esi, eax
and esi, 0x3f
or edx, dword [esi*4 + 0x70a62500]
ror eax, 4
mov esi, ecx
mov edi, ebx
shrd esi, edi, 0x18
shr edi, 0x18
xor esi, eax
and esi, 0x3f
or edx, dword [esi*4 + 0x70a62400]
ror eax, 4
mov esi, ecx
mov edi, ebx
shrd esi, edi, 0x1e
shr edi, 0x1e
xor esi, eax
and esi, 0x3f
or edx, dword [esi*4 + 0x70a62300]
mov ecx, eax
ror ecx, 4
mov esi, ebx
shr esi, 4
xor esi, ecx
and esi, 0x3f
or edx, dword [esi*4 + 0x70a62200]
mov esi, dword [esp]
mov edi, dword [esp + 4]
shr ebx, 0xa
ror ecx, 4
xor ecx, ebx
and ecx, 0x3f
or edx, dword [ecx*4 + 0x70a62100]
xor edx, edi
mov dword [esp], edx
mov dword [esp + 4], esi
inc ebp
cmp ebp, 0x10
jne 0x70a45cb0
mov eax, dword [esp]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
xor esi, esi
xor edi, edi
mov ebx, 0x70a620ff
mov dword [esp], esi
mov dword [esp + 4], edi
mov ebp, ebx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
nop
mov ecx, eax
and ecx, 1
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], 0
movzx ebx, byte [ebp]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov cl, bl
shld edi, esi, cl
shl esi, cl
test cl, 0x20
je 0x70a45ded
mov edi, esi
xor esi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
mov esi, dword [esp]
or esi, dword [esp + 0x20]
mov ecx, dword [esp + 4]
or ecx, edi
mov dword [esp], esi
mov dword [esp + 4], ecx
dec ebp
shrd eax, edx, 1
shr edx, 1
cmp ebp, 0x70a620bf
jne 0x70a45dc0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x78]
add eax, 0x100
mov dword [esp + 0x18], eax
xor eax, eax
xor edx, edx
mov ebx, 0x70a620c0
mov ebp, ebx
add eax, eax
adc edx, edx
movzx ecx, byte [ebp]
mov esi, dword [esp]
mov edi, dword [esp + 4]
shrd esi, edi, cl
shr edi, cl
test cl, 0x20
je 0x70a45e55
mov esi, edi
xor edi, edi
and esi, 1
xor edi, edi
add eax, esi
adc edx, edi
inc ebp
cmp ebp, 0x70a62100
jne 0x70a45e38
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edi
mov dword [esp], eax
mov dword [esp + 4], edx
mov ebp, edi
mov edx, dword [esp]
nop
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + ebp*8]
mov ebx, dword [edi + ebp*8 + 4]
ror edx, 0x1f
mov eax, edx
ror eax, 4
mov esi, ecx
mov edi, ebx
shrd esi, edi, 6
shr edi, 6
xor esi, eax
and esi, 0x3f
xor edx, ecx
mov edi, 0x3f
and edi, edx
mov edx, dword [esi*4 + 0x70a62700]
or edx, dword [edi*4 + 0x70a62800]
ror eax, 4
mov esi, ecx
mov edi, ebx
shrd esi, edi, 0xc
shr edi, 0xc
xor esi, eax
and esi, 0x3f
or edx, dword [esi*4 + 0x70a62600]
ror eax, 4
mov esi, ecx
mov edi, ebx
shrd esi, edi, 0x12
shr edi, 0x12
xor esi, eax
and esi, 0x3f
or edx, dword [esi*4 + 0x70a62500]
ror eax, 4
mov esi, ecx
mov edi, ebx
shrd esi, edi, 0x18
shr edi, 0x18
xor esi, eax
and esi, 0x3f
or edx, dword [esi*4 + 0x70a62400]
ror eax, 4
mov esi, ecx
mov edi, ebx
shrd esi, edi, 0x1e
shr edi, 0x1e
xor esi, eax
and esi, 0x3f
or edx, dword [esi*4 + 0x70a62300]
mov ecx, eax
ror ecx, 4
mov esi, ebx
shr esi, 4
xor esi, ecx
and esi, 0x3f
or edx, dword [esi*4 + 0x70a62200]
mov esi, dword [esp]
mov edi, dword [esp + 4]
shr ebx, 0xa
ror ecx, 4
xor ecx, ebx
and ecx, 0x3f
or edx, dword [ecx*4 + 0x70a62100]
xor edx, edi
mov dword [esp], edx
mov dword [esp + 4], esi
inc ebp
cmp ebp, 0x10
jne 0x70a45e7c
mov eax, dword [esp]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], esi
mov dword [esp], 0
mov dword [esp + 4], 0
mov ebx, 0x70a620ff
mov ebp, ebx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
lea esi, [esi]
mov ecx, eax
and ecx, 1
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], 0
movzx ebx, byte [ebp]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
mov cl, bl
shld edi, esi, cl
shl esi, cl
test cl, 0x20
je 0x70a45fb9
mov edi, esi
xor esi, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
mov esi, dword [esp]
or esi, dword [esp + 0x28]
mov ecx, dword [esp + 4]
or ecx, edi
mov dword [esp], esi
mov dword [esp + 4], ecx
dec ebp
shrd eax, edx, 1
shr edx, 1
cmp ebp, 0x70a620bf
jne 0x70a45f8c
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov eax, dword [esp]
rol ax, 8
rol eax, 0x10
rol ax, 8
mov edx, dword [esp + 4]
rol dx, 8
rol edx, 0x10
rol dx, 8
mov edi, dword [esp + 0x7c]
mov dword [edi], edx
mov dword [edi + 4], eax
add dword [esp + 0x80], 8
dec dword [esp + 0x1c]
cmp dword [esp + 0x1c], 0xffffffff
jne 0x70a45a40
add esp, 0x64
pop ebx
pop esi
pop edi
pop ebp
ret
xor ecx, ecx
xor ebx, ebx
jmp 0x70a45a75