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

Disassembly:
sub esp, 0x22c
mov eax, dword [0x1005d3b0]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [esp + 0x230]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x234]
push ebx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x244]
push ebp
mov ebp, dword [esp + 0x254]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x250]
push esi
mov esi, dword [esp + 0x248]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x25c]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 4]
push edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x3c], ebp
call eax
mov ebx, dword [esi + 0x1c]
xor edx, edx
mov ecx, dword [esi]
cmp ebx, 0x40
mov dword [esp + 0x18], eax
setne dl
mov dword [esp + 0x30], ecx
xor eax, eax
mov dword [esp + 0x64], ebx
cmp dword [esi + 0x20], 2
mov esi, ebp
sete al
lea edx, [edx*8 + 8]
mov dword [esp + 0x40], edx
lea eax, [eax*8 + 0x28]
mov dword [esp + 0x58], eax
xor eax, eax
cmp byte [esp + 0x26c], al
sete al
sub esi, ecx
mov ecx, dword [esp + 0x268]
xor edi, edi
dec ecx
mov dword [esp + 0x20], edi
lea eax, [eax*4 + 2]
mov dword [esp + 0x28], eax
lea eax, [esi + edx]
add eax, ebx
add esi, dword [esp + 0x264]
add eax, ecx
xor edx, edx
div ebx
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov eax, esi
div ebx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x40]
add eax, esi
mov dword [esp + 0x4c], edx
xor edx, edx
div ebx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x44], eax
xor eax, eax
cmp byte [esp + 0x26c], al
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
setne cl
add ecx, edx
cmp eax, ecx
jbe 0x1000e71c
sub eax, edx
mov edi, eax
mov dword [esp + 0x38], eax
imul edi, ebx
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x14]
push dword [esp + 0x18]
shl esi, 3
mov eax, dword [eax + 0x10]
call eax
add esp, 4
cmp byte [esp + 0x26c], 0
jne 0x1000e790
push ebx
lea eax, [esp + 0x7c]
push 0
push eax
lea esi, [esi + ebx*8]
call fcn.1003d590
push dword [esp + 0x260]
lea eax, [esp + 0x88]
push dword [esp + 0x60]
push eax
call fcn.1003cf40
add esp, 0x18
xor eax, eax
test ebx, ebx
je 0x1000e77a
lea ebx, [ebx]
xor byte [esp + eax + 0x78], 0x36
inc eax
cmp eax, ebx
jb 0x1000e770
push ebx
lea eax, [esp + 0x7c]
push eax
mov eax, dword [esp + 0x1c]
push dword [esp + 0x20]
mov eax, dword [eax + 0x14]
call eax
add esp, 0xc
xor ecx, ecx
xor eax, eax
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
jne 0x1000e7ae
lea eax, [ecx + 8]
mov ecx, dword [esp + 0x14]
xor edx, edx
cmp dword [ecx + 0x20], 2
jne 0x1000e7d7
lea ebp, [esp + 0x68]
xor ecx, ecx
add ebp, eax
mov eax, esi
lea edx, [edx + 1]
shr eax, cl
add ecx, 8
mov byte [edx + ebp - 1], al
cmp ecx, 0x20
jb 0x1000e7c2
jmp 0x1000e7fa
lea ebp, [esp + 0x6c]
add eax, ebp
mov dword [esp + 0x2c], eax
mov ebp, eax
mov ecx, 3
mov eax, esi
sub ecx, edx
shl ecx, 3
shr eax, cl
mov byte [edx + ebp], al
inc edx
cmp edx, 4
jb 0x1000e7e3
mov ebp, dword [esp + 0x3c]
test edi, edi
je 0x1000e937
cmp byte [esp + 0x26c], 0
je 0x1000e8a8
mov esi, dword [esp + 0x14]
sub ebp, ebx
push ebx
push dword [esp + 0x38]
push dword [esp + 0x20]
mov eax, dword [esi + 0x14]
call eax
mov eax, dword [esp + 0x40]
add eax, ebx
push ebp
push eax
lea eax, [esp + 0x14c]
push eax
call fcn.1003cf40
mov eax, ebx
sub eax, ebp
push eax
push dword [esp + 0x40]
lea eax, [esp + 0x158]
add eax, ebp
push eax
call fcn.1003cf40
push ebx
lea eax, [esp + 0x160]
push eax
push dword [esp + 0x44]
mov eax, dword [esi + 0x14]
call eax
xor edx, edx
mov eax, edi
div ebx
add esp, 0x30
dec eax
cmp eax, 1
jbe 0x1000e93b
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
sub esi, ebp
add esi, ebx
lea ebp, [eax - 1]
lea esp, [esp]
mov eax, dword [edi + 0x14]
push ebx
push esi
push dword [esp + 0x20]
call eax
add esp, 0xc
add esi, ebx
dec ebp
jne 0x1000e890
jmp 0x1000e933
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov dword [esp + 0x138], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x13c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x140], eax
mov al, byte [ecx + 0xc]
mov byte [esp + 0x144], al
lea eax, [ebx - 0xd]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x14d]
push eax
call fcn.1003cf40
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x144]
mov ebp, dword [esp + 0x24]
push ebx
push eax
mov eax, dword [esi + 0x14]
push ebp
call eax
xor edx, edx
mov eax, edi
div ebx
add esp, 0x18
cmp eax, 1
jbe 0x1000e93f
mov esi, dword [esp + 0x24]
lea ebp, [eax - 1]
mov edi, dword [esp + 0x14]
add esi, 0xfffffff3
add esi, ebx
lea ecx, [ecx]
mov eax, dword [edi + 0x14]
push ebx
push esi
push dword [esp + 0x20]
call eax
add esp, 0xc
add esi, ebx
dec ebp
jne 0x1000e920
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
push 0x40
lea eax, [esp + 0xfc]
push 0
push eax
call fcn.1003d590
mov eax, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esp + 0x38]
add eax, ecx
mov dword [esp + 0x2c], eax
cmp ecx, eax
ja 0x1000eae0
mov eax, dword [esp + 0x48]
movzx edx, al
mov eax, dword [esp + 0x44]
movzx eax, al
mov dword [esp + 0x60], edx
mov dword [esp + 0x44], eax
nop
movzx eax, cl
mov ecx, dword [esp + 0x44]
xor edx, eax
xor ecx, eax
dec edx
dec ecx
sar edx, 0x1f
sar ecx, 0x1f
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], ecx
test ebx, ebx
je 0x1000ea6d
mov esi, dword [esp + 0x4c]
lea ebp, [esp + 0x68]
mov al, cl
neg esi
not al
mov byte [esp + 0x1e], al
or al, dl
mov byte [esp + 0x1f], al
mov eax, ebx
sub eax, dword [esp + 0x40]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x40]
sub eax, ebx
add ebp, eax
lea ecx, [ecx]
mov eax, dword [esp + 0x3c]
mov ecx, esi
not ecx
mov byte [esp + 0x13], 0
sar ecx, 0x1f
and cl, dl
lea edx, [esi - 1]
not edx
sar edx, 0x1f
and dl, byte [esp + 0x28]
cmp edi, eax
jae 0x1000e9f8
mov eax, dword [esp + 0x34]
jmp 0x1000ea0f
add eax, dword [esp + 0x268]
mov ebx, dword [esp + 0x64]
cmp edi, eax
jae 0x1000ea16
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x3c]
mov al, byte [eax + edi]
mov byte [esp + 0x13], al
mov al, cl
not dl
not al
and cl, 0x80
and al, byte [esp + 0x13]
inc edi
or al, cl
and al, dl
mov edx, dword [esp + 0x4c]
and al, byte [esp + 0x1f]
lea ecx, [esi + edx]
cmp ecx, dword [esp + 0x48]
jb 0x1000ea48
mov cl, byte [esp + 0x1e]
and cl, al
mov al, byte [ebp]
and al, byte [esp + 0x20]
or al, cl
lea ecx, [esp + 0x1b8]
inc ebp
add ecx, edx
mov byte [esi + ecx], al
inc esi
lea eax, [esi + edx]
mov edx, dword [esp + 0x28]
cmp eax, ebx
jb 0x1000e9d0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
push ebx
lea eax, [esp + 0x1bc]
push eax
mov eax, dword [esi + 0x14]
push ebp
call eax
push dword [esp + 0x3c]
lea eax, [esp + 0x1c8]
push 0
push eax
mov eax, dword [esi + 0x24]
push ebp
call eax
xor ecx, ecx
add esp, 0x1c
cmp dword [esp + 0x30], ecx
jbe 0x1000eac9
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x30]
jmp 0x1000eab0
mov al, byte [esp + ecx + 0x1b8]
and al, dl
or byte [esp + ecx + 0xf8], al
inc ecx
cmp ecx, esi
jb 0x1000eab0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x60]
inc ecx
mov dword [esp + 0x38], ecx
cmp ecx, dword [esp + 0x2c]
jbe 0x1000e980
mov eax, dword [esi + 0x10]
push ebp
call eax
add esp, 4
cmp byte [esp + 0x26c], 0
je 0x1000eb4b
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x1000eb14
mov ecx, ebx
lea edi, [esp + 0x78]
mov edx, ecx
mov eax, 0x5c5c5c5c
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push dword [esp + 0x254]
mov eax, dword [esi + 0x14]
push dword [esp + 0x54]
push ebp
call eax
push ebx
lea eax, [esp + 0x88]
push eax
mov eax, dword [esi + 0x14]
push ebp
call eax
push dword [esp + 0x48]
lea eax, [esp + 0x114]
push eax
mov eax, dword [esi + 0x14]
push ebp
call eax
add esp, 0x24
jmp 0x1000eb7c
xor eax, eax
test ebx, ebx
je 0x1000eb5b
xor byte [esp + eax + 0x78], 0x6a
inc eax
cmp eax, ebx
jb 0x1000eb51
push ebx
lea eax, [esp + 0x7c]
push eax
mov eax, dword [esi + 0x14]
push ebp
call eax
push dword [esp + 0x3c]
lea eax, [esp + 0x108]
push eax
mov eax, dword [esi + 0x14]
push ebp
call eax
add esp, 0x18
push dword [esp + 0x248]
mov eax, dword [esi + 0x18]
push dword [esp + 0x60]
push dword [esp + 0x5c]
push ebp
call eax
mov eax, dword [esi + 0xc]
push 1
push ebp
call eax
mov ecx, dword [esp + 0x250]
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003cf2f
add esp, 0x22c
ret