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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
and dword [esp], edi
push esi
push edx
push ecx
sub esp, 4
xor dword [esp], ebx
xor ebx, dword [esp]
xor dword [esp], ebx
mov ebx, dword [esp]
push ebp
push 0xffffffffffffffff
push 0x7fe3cf6f
sub esp, 0x3f
mov dword [esp + 0x3b], 0x7fe32e77
add esp, 0x3b
push 0xffffffffffffffff
call fcn.10074c7e
or esi, 0xffffffff
inc esi
xor esi, dword [ebp + 8]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
and edx, 0x5e7d6a0b
push dword [ebp + 0xc]
lea esp, [esp - 0x44]
mov edx, dword [esp + 0x44]
lea esp, [esp + 0x48]
mov dword [edx + 4], 0
lea ebx, [edx + 8]
cld
mov edi, 0x7fe43562
sub esp, 4
mov dword [esp], 0x7fe4355f
call fcn.1007390f
lea ecx, [eax]
mov ah, byte [esi]
inc esi
inc edi
push edi
call fcn.10073406
cmp al, ah
jne 0x1007e6b5
mov byte [ebx], al
inc ebx
inc dword [edx + 4]
cmp dword [edx + 4], 0xe
jae 0x1007edc8
cmp al, 0xf
jne 0x1007e658
cmp al, byte [esi]
jne 0x1007e6bd
mov byte [ebx], al
inc dword [edx + 4]
cmp dword [edx + 4], 0xe
jae 0x1007edc8
inc esi
jmp 0x1007e6bd
dec ecx
jne 0x1007e671
dec esi
mov eax, 0
mov ecx, dword [edx + 4]
dec ecx
js 0x1007e71e
cmp byte [ecx + edx + 8], 0xf
jne 0x1007e71e
inc eax
dec ecx
js 0x1007e71e
cmp byte [ecx + edx + 8], 0xf
jne 0x1007e716
mov dword [ebp - 4], 1
mov eax, 0xa40
lea edi, [ebp + 0x10]
mov edi, dword [edi]
mov ebx, dword [edi + eax]
push edi
push dword [ebp + 0xc]
sub esp, 4
mov dword [esp], ebx
call fcn.1007d138
jmp 0x1007e951
movzx ecx, byte [ecx + edx + 8]
mov dword [ebp - 8], ecx
shl eax, 0xa
movzx ebx, byte [esi]
shl ebx, 2
add eax, ebx
mov edi, dword [ebp + 0x10]
mov ebx, dword [edi + eax]
sub esp, 4
mov dword [esp], edi
push dword [ebp + 0xc]
lea esp, [esp - 4]
xchg dword [esp], ebx
xor ebx, esi
and ebx, 0
or ebx, dword [esp]
add esp, 4
lea esp, [esp - 4]
call fcn.1007d138
cmp eax, 3
jne 0x1007e79f
add ebx, 4
mov cl, byte [esi + 1]
shr cl, 3
and cl, 7
and ecx, 7
je 0x1007e7eb
sub esp, 4
xor dword [esp], ebx
xor ebx, dword [esp]
xor dword [esp], ebx
mov ebx, dword [esp]
call fcn.1007d06f
shl eax, 2
add ebx, eax
dec ecx
jne 0x1007e774
jmp 0x1007e7eb
cmp eax, 4
jne 0x1007e7eb
add ebx, 4
mov cl, byte [esi + 1]
shr cl, 6
and cl, 3
cmp cl, 3
jne 0x1007e7d3
movzx ecx, byte [esi + 1]
and ecx, 0x3f
add ecx, 8
shl ecx, 2
add ebx, ecx
jmp 0x1007e7eb
mov cl, byte [esi + 1]
shr cl, 3
and cl, 7
and ecx, 7
shl ecx, 2
add ebx, ecx
jmp 0x1007e7eb
add esp, 0xfffffffc
mov dword [esp], ebx
call fcn.1007d06f
mov ecx, eax
mov edx, dword [ebp + 0xc]
xor edi, edi
push dword [ebp + 0x10]
push edx
lea esp, [esp - 0x1e]
mov dword [esp + 0x1a], ebx
lea esp, [esp + 0x1a]
call fcn.1007d138
cmp eax, 0xffffffff
jne 0x1007e91d
xor eax, eax
not eax
and eax, 0xf3
cmp dword [edx + 0x54], 1
je 0x1007e869
push 0
and eax, 0xa5b8cf96
or eax, 0xffffffff
not eax
xor eax, dword [esp]
add esp, 4
not eax
and eax, 0xf2
cmp dword [edx + 0x54], 2
je 0x1007e869
xor eax, eax
or eax, 0x66
cmp dword [edx + 0x54], 3
jne 0x1007e872
cmp dword [ebp - 8], eax
jne 0x1007e91d
cmp dword [edx + 0x64], 1
jne 0x1007e8fe
mov al, byte [esi + 1]
shr al, 6
and al, 3
and eax, 3
push 0
or dword [esp], eax
call fcn.1007e5b0
test dword [edx + 0x68], eax
je 0x1007e91d
test dword [edx + 0x70], 0x100
jne 0x1007e8c1
mov al, byte [esi + 1]
shr al, 3
and al, 7
and eax, 7
push eax
call fcn.1007e5b0
test dword [edx + 0x70], eax
je 0x1007e91d
test dword [edx + 0x6c], 0x100
jne 0x1007e8fe
mov al, byte [esi + 1]
and al, 7
and eax, 7
lea esp, [esp - 4]
xchg dword [esp], eax
sub eax, 0x77a15bc5
and eax, dword [esp]
or eax, dword [esp]
add esp, 4
lea esp, [esp - 4]
call fcn.1007e5b0
test dword [edx + 0x6c], eax
je 0x1007e91d
cmp edi, 0
je 0x1007e91b
cmp dword [edx + 0x54], 0
je 0x1007e91d
cmp dword [edx + 0x54], 4
jae 0x1007e91d
mov edi, ebx
lea ebx, [ebx + 4]
dec ecx
jne 0x1007e7fd
mov eax, 6
cmp edi, 0
je 0x1007ed90
and ebx, 0
add ebx, edi
push dword [ebp + 0x10]
push edx
push ebx
call fcn.1007d138
cmp eax, 0xffffffff
jne 0x1007ed90
inc esi
xor eax, eax
xor edi, edi
mov ecx, dword [edx + 4]
cmp ecx, 0
je 0x1007e983
cmp byte [edi + edx + 8], 0x66
jne 0x1007e96e
inc al
cmp byte [edi + edx + 8], 0x67
jne 0x1007e97b
inc ah
inc edi
dec ecx
jne 0x1007e961
mov cl, ah
and eax, 1
and ecx, 1
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], ecx
mov dword [edx + 0x30], 0xffffffff
mov dword [edx + 0x3c], 0xffffffff
cmp dword [edx + 0x64], 1
jne 0x1007eb99
mov al, byte [esi]
mov byte [edx + 0x2d], al
mov al, byte [esi]
shr al, 6
and al, 3
and eax, 3
mov dword [edx + 0x30], eax
mov al, byte [esi]
shr al, 3
and al, 7
mov dword [edx + 0x34], eax
mov al, byte [esi]
and al, 7
mov dword [edx + 0x38], eax
inc esi
cmp dword [edx + 0x30], 3
je 0x1007eb99
cmp dword [edx], 0x10
je 0x1007eb32
cmp dword [edx + 0x20], 1
je 0x1007eb3c
cmp dword [edx + 0x38], 4
jne 0x1007ea80
mov al, byte [esi]
mov byte [edx + 0x2e], al
mov al, byte [esi]
shr al, 6
and al, 3
and eax, 3
mov dword [edx + 0x3c], eax
mov al, byte [esi]
shr al, 3
and al, 7
push edi
xchg edi, edx
or edx, 0xaecf51d5
mov edx, edi
push esi
sub esi, esi
add esi, esp
sub esi, 0x44
mov esi, dword [esi + 0x32]
push 0xf8f2edaa
xchg dword [esp], esi
mov dword [esp], esi
lea esp, [esp + 4]
xor esi, 0xf8f2edea
add edi, esi
xchg dword [esp], esi
mov dword [esp], esi
lea esp, [esp + 4]
mov dword [edi], eax
pop edi
mov al, byte [esi]
and al, 7
mov dword [edx + 0x44], eax
inc esi
cmp dword [edx + 0x44], 5
jne 0x1007ea80
cmp dword [edx + 0x30], 0
jne 0x1007ea80
xor ecx, ecx
sub ecx, 4
neg ecx
mov eax, dword [esi]
jmp 0x1007eabd
mov dword [edx + 0x4c], 0
cmp dword [edx + 0x30], 0
je 0x1007eb18
cmp dword [edx + 0x30], 1
je 0x1007eaf6
mov eax, dword [esi]
push 0
shr ecx, 0xd
shr ecx, 0x13
sub ecx, 0xffffffff
neg ecx
sub esp, 0x40
and ecx, dword [esp + 0x40]
add esp, 0x44
add ecx, 4
and dword [edx + 0x4c], ecx
or dword [edx + 0x4c], ecx
push esi
shr esi, 0x11
shr esi, 0xf
not esi
and esi, 0x5d4f9054
xor esi, 0x5d4f9004
add esi, edx
mov dword [esi], eax
pop esi
lea eax, [esi]
sub eax, dword [ebp + 8]
mov dword [edx + 0x48], eax
add esi, ecx
jmp 0x1007eb99
movzx eax, byte [esi]
or ecx, 0xffffffff
not ecx
or ecx, 1
jmp 0x1007eabd
cmp dword [edx + 0x38], 5
je 0x1007ea9b
jmp 0x1007eb99
cmp dword [edx + 0x20], 1
je 0x1007e9ea
cmp dword [edx + 0x30], 0
je 0x1007eb83
cmp dword [edx + 0x30], 1
je 0x1007eb65
movzx eax, word [esi]
or ecx, 0xffffffff
inc ecx
or ecx, 2
jmp 0x1007eabd
movzx eax, byte [esi]
and ecx, 0
add ecx, 1
jmp 0x1007eabd
cmp dword [edx + 0x38], 6
je 0x1007eb50
jmp 0x1007eb99
mov ecx, dword [edx + 0x80]
or ecx, ecx
je 0x1007ec6a
xor ebx, ebx
push ecx
mov dword [edx + ebx + 0xa4], 0
test dword [edx + ebx + 0x88], 4
je 0x1007ec59
test dword [edx + ebx + 0x8c], 8
jne 0x1007ec59
test dword [edx + ebx + 0x8c], 1
jne 0x1007ec11
mov ecx, dword [edx + ebx + 0x98]
cmp dword [edx + 0x1c], 0
je 0x1007ec2a
mov ecx, dword [edx + ebx + 0x9c]
jmp 0x1007ec2a
push edx
lea edx, [edx + 0x78]
add edx, 0
mov ecx, dword [edx]
pop edx
cmp dword [edx + 0x20], 0
je 0x1007ec2a
lea ecx, [edx + 0x7c]
mov ecx, dword [ecx]
lea edi, [edx + ebx + 0xa8]
shr ecx, 3
mov dword [edx + ebx + 0xa4], ecx
cmp ecx, 0
je 0x1007ec59
shl eax, 5
shl eax, 0x1b
or eax, esi
sub eax, dword [ebp + 8]
mov dword [edx + ebx + 0xa0], eax
cld
rep movsb byte es:[edi], byte [esi]
add ebx, 0x3c
mov ecx, dword [esp]
lea esp, [esp + 4]
dec ecx
jne 0x1007eba9
cmp dword [ebp - 4], 1
jne 0x1007ecbc
movzx eax, byte [esi]
shl eax, 2
add eax, 0x800
mov edi, dword [ebp + 0x10]
mov ebx, dword [edi + eax]
push edi
push dword [ebp + 0xc]
lea esp, [esp - 0x17]
mov dword [esp + 0x13], ebx
lea esp, [esp + 0x13]
call fcn.1007d138
inc esi
sub esi, dword [ebp + 8]
push eax
or eax, 0xffffffff
inc eax
add eax, 0xd96b41ad
xor eax, 0xd96b4189
add eax, edx
mov dword [eax], esi
pop eax
jmp 0x1007ed90
sub esi, dword [ebp + 8]
mov dword [edx + 0x24], esi
mov dword [edx + 0x18], 0xffffffff
mov ecx, dword [edx + 4]
cmp ecx, 0
je 0x1007ecfa
xor eax, eax
lea esi, [edx + 8]
mov al, byte [esi]
cmp al, 0x26
jb 0x1007ecf2
cmp al, 0x65
ja 0x1007ecf2
and dword [edx + 0x18], eax
or dword [edx + 0x18], eax
inc esi
dec ecx
jne 0x1007ecda
mov ecx, dword [edx + 0x80]
or ecx, ecx
je 0x1007ed8b
xor ebx, ebx
push 0
add dword [esp], ecx
test dword [edx + ebx + 0x8c], 1
jne 0x1007ed47
mov ecx, dword [edx + ebx + 0x98]
cmp dword [edx + 0x1c], 0
je 0x1007ed74
mov ecx, dword [edx + ebx + 0x9c]
jmp 0x1007ed74
mov ecx, dword [edx + 0x78]
cmp dword [edx + 0x20], 0
je 0x1007ed74
push edx
push esi
lea esi, [edx]
mov esi, 0xd99dc177
xor esi, 0xd99dc10b
add edx, esi
lea esp, [esp - 0x30]
mov esi, dword [esp + 0x30]
lea esp, [esp + 0x34]
mov ecx, dword [edx]
pop edx
mov dword [edx + ebx + 0x94], ecx
mov ecx, dword [esp]
add esp, 4
add ebx, 0x3c
dec ecx
jne 0x1007ed0a
mov eax, 0xffffffff
call fcn.10074d3a
mov ebx, dword [esp]
lea esp, [esp + 4]
mov ecx, dword [esp]
add esp, 4
pop edx
sub esp, 0x52
xor dword [esp + 0x52], esi
xor esi, dword [esp + 0x52]
xor dword [esp + 0x52], esi
mov dword [esp + 0x52], esi
add esp, 0x56
pop edi
leave
ret 0xc
mov eax, 7
jmp 0x1007ed90