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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe8
cmp dword [ecx + 0x20], 0
je 0x15d9c31
mov esi, ecx
movzx eax, byte [ecx]
mov byte [esp + 0xb], 0
test eax, eax
je 0x15d9c38
cmp al, 0x64
jb 0x15d9c47
lea ecx, [eax + eax*4]
lea ecx, [eax + ecx*8]
movzx edx, cx
shr edx, 0xc
imul ecx, edx, 0x64
sub al, cl
movzx eax, al
movzx eax, word [eax + eax + 0x43f528]
mov word [esp + 9], ax
mov ecx, 1
mov eax, edx
jmp 0x15d9c50
mov bl, 1
jmp 0x15da26d
lea eax, [esp + 0xa]
mov dword [esp + 0xc], eax
mov byte [esp + 0xa], 0x30
jmp 0x15d9c7c
mov ecx, 3
cmp al, 9
ja 0x15d9c67
movzx eax, byte [eax + 0x44069c]
lea edx, [esp + ecx]
add edx, 7
mov dword [esp + 0xc], edx
mov byte [esp + ecx + 7], al
jmp 0x15d9c7c
movzx eax, word [eax + eax + 0x43f528]
lea ecx, [esp + 9]
mov dword [esp + 0xc], ecx
mov word [esp + 9], ax
lea eax, [esi + 0x10]
push eax
call fcn.015d6b60
add esp, 4
mov edi, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0xb8], eax
lea ebx, [esp + 0xc3]
push ebx
call fcn.01604480
add esp, 4
mov dword [esp + 0xbc], edi
lea eax, [edi + 0x400]
push eax
call fcn.015d8bd0
add esp, 4
mov edi, eax
mov dword [esp + 0x28], 0x27233624
mov byte [esp + 0x2c], 0x48
mov dword [esp + 0x2d], 0
mov dword [esp + 0x31], 0
mov word [esp + 0x35], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xe
ja 0x15d9d3a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x28]
lea edx, [eax + 0xca]
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add eax, 0xe117e5ca
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x7a
mov ecx, dword [esp]
mov byte [esp + ecx + 0x28], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xf
jb 0x15d9d00
lea eax, [esp + 0x28]
mov ecx, esi
push ebx
mov ebx, eax
push eax
push edi
call fcn.015d9520
mov dword [esp + 0x28], 0x7bdcc2d6
mov dword [esp + 0x2c], 0
mov byte [esp + 0x30], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x15d9db0
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x28]
mov edx, eax
and edx, 0xef0fcb8f
xor eax, 0xef0fcb8f
lea eax, [eax + edx*2]
lea edx, [eax + ecx]
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0x17
mov ecx, dword [esp]
mov byte [esp + ecx + 0x28], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x15d9d70
mov ecx, esi
push dword [esp + 0xc]
push ebx
mov dword [esp + 0x14], edi
push edi
call fcn.015d9520
mov eax, dword [0x441d20]
mov dword [esp + 0x28], 0x23465450
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x33], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0xe
ja 0x15d9e59
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, dword [esp]
mov ecx, dword [esp]
movzx edi, byte [esp + ecx + 0x28]
lea ecx, [ebx + 0x3e81aea6]
lea edx, [ebx + edi]
add edx, 0x3e81aea6
add ebx, 0xa6
and ebx, edi
and ecx, edi
add ecx, ebx
mov edi, edx
not edi
and edi, ecx
not ecx
and ecx, edx
sub ecx, edi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov edx, ecx
xor edx, 0x75
and ecx, 0x75
lea ecx, [edx + ecx*2]
inc cl
mov edx, dword [esp]
mov byte [esp + edx + 0x28], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0xf
jb 0x15d9e00
mov ecx, esi
push eax
lea ebx, [esp + 0x2c]
push ebx
mov edi, dword [esp + 0x14]
push edi
call fcn.015d9520
mov dword [esp + 0x28], 0x37cc34cb
mov dword [esp + 0x2c], 0xd42bd023
mov dword [esp + 0x30], 0x2e2d20d3
mov byte [esp + 0x34], 0x4c
mov dword [esp + 0x35], 0
mov dword [esp + 0x39], 0
mov byte [esp + 0x3d], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x15
ja 0x15d9ef0
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x28]
mov edx, eax
and edx, 0xd0e31a4c
xor eax, 0xd0e31a4c
lea eax, [eax + edx*2]
lea edx, [eax + ecx]
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0xec
mov ecx, dword [esp]
mov byte [esp + ecx + 0x28], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x16
jb 0x15d9eb0
mov dword [esp + 0x10], 0x33b8a8a9
mov dword [esp + 0x14], 0
mov word [esp + 0x18], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 9
ja 0x15d9f59
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + 0x12a71829]
add eax, 0x29
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp], edx
mov eax, dword [esp]
add al, 0xe1
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xa
jb 0x15d9f20
lea eax, [esp + 0x10]
mov ecx, esi
push ebx
push eax
push edi
call fcn.015d9520
mov dword [esp + 0x28], 0x3c343a38
mov byte [esp + 0x2c], 0x82
mov dword [esp + 0x2d], 0
mov dword [esp + 0x31], 0
mov word [esp + 0x35], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xe
ja 0x15d9fea
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x28]
lea edx, [eax + ecx]
add edx, 0x21707deb
add eax, 0x21707deb
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov ecx, eax
or ecx, 0x92
and eax, 0x92
add eax, ecx
inc al
mov ecx, dword [esp]
mov byte [esp + ecx + 0x28], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xf
jb 0x15d9fa0
mov ecx, esi
push dword [esp + 0xbc]
push dword [esp + 0xbc]
push ebx
push edi
call fcn.015d97c0
mov eax, dword [esi + 0x60]
mov dword [esp + 0x28], 0xd341d11b
mov dword [esp + 0x2c], 0xdf40dd44
mov dword [esp + 0x30], 0xdb4ed971
mov dword [esp + 0x34], 0xc713c546
mov dword [esp + 0x38], 0xc35bc17a
mov dword [esp + 0x3c], 0xcf63cd52
mov dword [esp + 0x40], 0xcb28c914
mov dword [esp + 0x44], 0xb72bb55d
mov dword [esp + 0x48], 0xb32cb122
mov dword [esp + 0x4c], 0xbf2cbd19
mov dword [esp + 0x50], 0xbb2ab91d
mov dword [esp + 0x54], 0xa775a526
mov dword [esp + 0x58], 0xa331a108
mov dword [esp + 0x5c], 0xaf3bad30
mov dword [esp + 0x60], 0xab04a979
mov dword [esp + 0x64], 0x97089509
mov dword [esp + 0x68], 0x93559135
mov dword [esp + 0x6c], 0x9f3e9d72
mov dword [esp + 0x70], 0x9b07990f
mov dword [esp + 0x74], 0x8728850c
mov dword [esp + 0x78], 0x83128125
mov dword [esp + 0x7c], 0x8f4b8d19
mov dword [esp + 0x80], 0x8b27892c
mov dword [esp + 0x84], 0x77ab7552
mov dword [esp + 0x88], 0x73df71da
mov dword [esp + 0x8c], 0x7fd77dad
mov dword [esp + 0x90], 0x7bd479ee
mov dword [esp + 0x94], 0x67c965eb
mov dword [esp + 0x98], 0x63cf61cd
mov dword [esp + 0x9c], 0x6ffe6df0
mov dword [esp + 0xa0], 0x6bbb69c1
mov dword [esp + 0xa4], 0x575e559d
mov word [esp + 0xa8], 0x5156
mov dword [esp + 0xae], 0
mov dword [esp + 0xaa], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x89
ja 0x15da1aa
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x28]
lea edi, [ecx + edx]
add edi, 0xce81c2a3
add ecx, 0xce81c2a3
and ecx, edx
add ecx, ecx
mov edx, ecx
xor edx, edi
not ecx
and ecx, edi
add ecx, ecx
sub ecx, edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
add cl, 0x8b
mov edx, dword [esp]
mov byte [esp + edx + 0x28], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x8a
jb 0x15da160
mov dword [esp + 0x10], 0xab03a557
mov dword [esp + 0x14], 0xaf07a91a
mov word [esp + 0x18], 0xadae
mov dword [esp + 0x1a], 0
mov dword [esp + 0x1e], 0
mov dword [esp + 0x22], 0
mov byte [esp + 0x26], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0x16
ja 0x15da22c
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x10]
lea edi, [ecx + 0x45]
add ecx, edx
and edi, edx
add edi, edi
sub ecx, edi
add ecx, 0x665df45
mov dword [esp], ecx
mov ecx, dword [esp]
add cl, 0x1d
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x17
jb 0x15da1f0
push 0x493e0
push eax
mov edi, dword [esp + 0x14]
push edi
push 0
push 0
push ebx
lea eax, [esp + 0x28]
push eax
call fcn.015ddaa0
add esp, 0x1c
mov ebx, eax
push edi
call fcn.015d8be0
add esp, 4
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x60]
mov edx, eax
and edx, ecx
xor eax, ecx
lea eax, [eax + edx*2]
mov dword [esi + 4], eax
mov dword [esi + 0x60], 0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret