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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xac
mov ebx, dword [esp + 0xd4]
mov edi, dword [esp + 0xc0]
mov esi, dword [esp + 0xdc]
mov dword [esp], ebx
call fcn.006fe4d1
mov dword [esp + 0x28], eax
test eax, eax
js 0x7edcb1
call fcn.00706ab1
mov dword [esp + 0x24], eax
test eax, eax
je 0x7edcb1
test edi, edi
je 0x7edd19
cmp dword [esp + 0xc4], 0xffffffff
jne 0x7ed926
mov dword [esp], edi
call fcn.0086e921
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.007064a1
test eax, eax
je 0x7edcfa
call fcn.00706ab1
mov ebp, eax
test eax, eax
je 0x7edc9f
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x7edc84
mov dword [esp + 0x4c], 1
lea edi, [esp + 0x60]
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0xd8]
mov dword [esp], ebp
mov ebx, eax
mov eax, dword [esp + 0x4c]
cmovg ebx, dword [esp + 0xd8]
bswap eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00706b61
test eax, eax
je 0x7edd2e
mov eax, dword [esp + 0xcc]
mov dword [esp], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 4], eax
call fcn.00706821
test eax, eax
je 0x7edcd9
lea eax, [esp + 0x5c]
mov dword [esp + 8], 4
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.00706821
test eax, eax
je 0x7edcd9
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], ebp
call fcn.00706851
test eax, eax
je 0x7edcd9
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0086e9f1
cmp dword [esp + 0xd0], 1
jle 0x7edc70
test esi, 3
lea eax, [ebx - 1]
mov dword [esp + 0x20], 1
sete cl
cmp eax, 2
seta al
and ecx, eax
mov eax, ebx
shr eax, 2
mov byte [esp + 0x2f], cl
mov dword [esp + 0x30], eax
mov eax, ebx
and eax, 0xfffffffc
lea edx, [esi + eax]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
lea edx, [eax + 1]
add eax, 2
mov dword [esp + 0x3c], edx
add edx, esi
mov dword [esp + 0x40], eax
add eax, esi
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
lea esi, [esi]
nop
mov eax, dword [esp + 0x24]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.00706b61
test eax, eax
je 0x7edd2e
mov eax, dword [esp + 0x28]
mov dword [esp + 4], edi
mov dword [esp], ebp
mov dword [esp + 8], eax
call fcn.00706821
test eax, eax
je 0x7edcd9
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], ebp
call fcn.00706851
test eax, eax
je 0x7edcd9
test ebx, ebx
jle 0x7edc5a
cmp byte [esp + 0x2f], 0
je 0x7edcc1
mov ecx, dword [esp + 0x30]
mov eax, dword [esi]
xor eax, dword [esp + 0x60]
mov dword [esi], eax
cmp ecx, 1
jbe 0x7edc21
mov eax, dword [esi + 4]
xor eax, dword [esp + 0x64]
mov dword [esi + 4], eax
cmp ecx, 2
je 0x7edc21
mov eax, dword [esi + 8]
xor eax, dword [esp + 0x68]
mov dword [esi + 8], eax
cmp ecx, 3
je 0x7edc21
mov eax, dword [esi + 0xc]
xor eax, dword [esp + 0x6c]
mov dword [esi + 0xc], eax
cmp ecx, 4
je 0x7edc21
mov eax, dword [esi + 0x10]
xor eax, dword [esp + 0x70]
mov dword [esi + 0x10], eax
cmp ecx, 5
je 0x7edc21
mov eax, dword [esi + 0x14]
xor eax, dword [esp + 0x74]
mov dword [esi + 0x14], eax
cmp ecx, 6
je 0x7edc21
mov eax, dword [esi + 0x18]
xor eax, dword [esp + 0x78]
mov dword [esi + 0x18], eax
cmp ecx, 7
je 0x7edc21
mov eax, dword [esi + 0x1c]
xor eax, dword [esp + 0x7c]
mov dword [esi + 0x1c], eax
cmp ecx, 8
je 0x7edc21
mov eax, dword [esi + 0x20]
xor eax, dword [esp + 0x80]
mov dword [esi + 0x20], eax
cmp ecx, 9
je 0x7edc21
mov eax, dword [esi + 0x24]
xor eax, dword [esp + 0x84]
mov dword [esi + 0x24], eax
cmp ecx, 0xa
je 0x7edc21
mov eax, dword [esi + 0x28]
xor eax, dword [esp + 0x88]
mov dword [esi + 0x28], eax
cmp ecx, 0xb
je 0x7edc21
mov eax, dword [esi + 0x2c]
xor eax, dword [esp + 0x8c]
mov dword [esi + 0x2c], eax
cmp ecx, 0xc
je 0x7edc21
mov eax, dword [esi + 0x30]
xor eax, dword [esp + 0x90]
mov dword [esi + 0x30], eax
cmp ecx, 0xd
je 0x7edc21
mov eax, dword [esi + 0x34]
xor eax, dword [esp + 0x94]
mov dword [esi + 0x34], eax
cmp ecx, 0xe
je 0x7edc21
mov eax, dword [esi + 0x38]
xor eax, dword [esp + 0x98]
mov dword [esi + 0x38], eax
cmp ecx, 0xf
je 0x7edc21
mov eax, dword [esi + 0x3c]
xor eax, dword [esp + 0x9c]
mov dword [esi + 0x3c], eax
lea esi, [esi]
mov eax, dword [esp + 0x34]
cmp ebx, eax
je 0x7edc5a
mov edx, dword [esp + 0x38]
movzx eax, byte [esp + eax + 0x60]
xor byte [edx], al
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jge 0x7edc5a
mov edx, dword [esp + 0x44]
movzx eax, byte [esp + eax + 0x60]
xor byte [edx], al
mov eax, dword [esp + 0x40]
cmp ebx, eax
jle 0x7edc5a
mov edx, dword [esp + 0x48]
movzx eax, byte [esp + eax + 0x60]
xor byte [edx], al
add dword [esp + 0x20], 1
mov eax, dword [esp + 0x20]
cmp dword [esp + 0xd0], eax
jne 0x7eda91
add dword [esp + 0x4c], 1
add esi, ebx
sub dword [esp + 0xd8], ebx
jne 0x7ed97f
mov dword [esp], ebp
call fcn.00706911
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00706911
mov eax, 1
jmp 0x7edcb3
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00706911
lea esi, [esi]
xor eax, eax
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
lea esi, [esi]
movzx edx, byte [edi + eax]
xor byte [esi + eax], dl
add eax, 1
cmp ebx, eax
jne 0x7edcc9
jmp 0x7edc5a
mov dword [esp], ebp
call fcn.00706911
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00706911
add esp, 0xac
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00706911
mov eax, dword [esp + 0x20]
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc4], 0
mov edi, 0x9f8158
jmp 0x7ed926
mov dword [esp], ebp
mov dword [esp + 0x20], eax
call fcn.00706911
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00706911
mov eax, dword [esp + 0x20]
jmp 0x7edcb3