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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xd0], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, edx
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
mov edx, ecx
push esi
push edi
mov esi, dword [ebx + 0x14]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
test esi, esi
je 0x10081f02
mov ecx, dword [esi + 0x84]
jmp 0x10081f04
xor ecx, ecx
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
test ax, ax
je 0x1008228b
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x84]
mov edi, dword [edx]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
mov dword [esp + 0x18], edx
test ax, ax
je 0x10081f53
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
test eax, eax
je 0x10081f4a
mov eax, dword [ecx + 8]
mov eax, dword [eax]
jmp 0x10081f4c
xor eax, eax
mov eax, dword [eax]
cmp edx, dword [eax + 0xc]
jb 0x10081f75
push 1
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x24]
push eax
push edx
call fcn.10099ab0
test al, al
je 0x1008228b
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
cmp edx, dword [ebx + 4]
jae 0x1008228b
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x84]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
test ax, ax
je 0x10081fb8
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
test eax, eax
je 0x10081faf
mov eax, dword [ecx + 8]
mov eax, dword [eax]
jmp 0x10081fb1
xor eax, eax
mov eax, dword [eax]
cmp edx, dword [eax + 0xc]
jb 0x10081fd2
push 1
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
push eax
push edx
call fcn.10099ab0
test al, al
je 0x1008228b
mov eax, dword [ebx + 0xc]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
movzx edx, word [eax + 0x12]
lea eax, [ebx + 0x4d]
cmp dword [ecx + 4], eax
jb 0x1008228b
movzx ecx, byte [ebx + edi + 0x45]
lea esi, [ebx + edi]
movzx eax, byte [esi + 0x46]
shl ecx, 8
add ecx, eax
mov dword [esp + 0x30], esi
movzx eax, byte [esi + 0x47]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 0x48]
shl ecx, 8
add ecx, eax
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
je 0x10082028
cmp edx, 0x5349
jne 0x1008228b
movzx ecx, byte [esi]
mov eax, 0x100
imul cx, ax
movzx eax, byte [esi + 1]
add cx, ax
movzx eax, cx
mov ecx, 0x8b04
cmp ax, cx
jne 0x1008228b
push 0x45
push esi
call fcn.1001cbb0
add esp, 8
cmp eax, 0xd992eb6b
jne 0x1008228b
mov eax, dword [esp + 0x20]
lea esi, [ebx + 0x20]
push esi
lea ecx, [esp + 0x7c]
push dword [eax + 4]
push dword [eax]
call fcn.1001d150
push esi
lea ecx, [esp + 0x7c]
call fcn.1001d110
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x24], eax
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], ebx
lea eax, [ecx + 0x4d]
cmp esi, eax
jae 0x10082144
lea edx, [esp + 0x10]
lea ecx, [esp + 0x78]
call fcn.100ae1f0
mov edx, eax
mov eax, dword [esp + 0x20]
cmp esi, dword [eax + 4]
ja 0x1008228b
test edx, edx
je 0x1008228b
movzx ecx, byte [esi + edi]
add ecx, 0xffffff7f
cmp ecx, 0x3a
ja case.0x100820dd.130
movzx eax, byte [ecx + 0x100822b8]
jmp dword [eax*4 + 0x100822a4]
cmp byte [esi + edi + 1], 0xbd
jne case.0x100820dd.130
movzx eax, byte [esi + edi + 2]
mov dword [esp + 0x28], eax
jmp case.0x100820dd.130
mov eax, dword [esi + edi + 1]
mov dword [esp + 0x24], eax
jmp case.0x100820dd.130
cmp byte [esi + edi + 1], 0x37
jne case.0x100820dd.130
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + edi + 2]
mov dword [ecx], eax
jmp case.0x100820dd.130
cmp byte [esi + edi + 1], 0xc7
jne case.0x100820dd.130
movzx ebx, byte [esi + edi + 2]
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x18]
add esi, edx
lea eax, [ecx + 0x4d]
cmp esi, eax
jb 0x100820a3
mov edx, dword [esp + 0x28]
test edx, edx
jne 0x10082155
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x10082155
mov eax, dword [esp + 0x14]
cmp dword [eax], 0
jne 0x10082155
test ebx, ebx
je 0x1008228b
lea esi, [edx + ecx]
mov ecx, 0x10
add esi, edi
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
xor eax, eax
mov esi, dword [esp + 0x1c]
mov dl, byte [ecx]
mov bl, byte [ecx + 1]
mov dh, byte [ecx + 2]
mov bh, byte [ecx + 3]
lea ebx, [ebx]
xor byte [esp + eax + 0x78], dl
xor byte [esp + eax + 0x79], bl
xor byte [esp + eax + 0x7a], dh
xor byte [esp + eax + 0x7b], bh
add eax, esi
cmp eax, 0x40
jb 0x10082180
mov dword [esp + 0x38], 0x9e8
xor ecx, ecx
mov dword [esp + 0x3c], 0x24648b00
mov dword [esp + 0x40], 0x28ee908
mov dword [esp + 0x44], 0xdb330000
mov dword [esp + 0x48], 0x6433ff64
mov dword [esp + 0x4c], 0xdc8b2389
mov dword [esp + 0x50], 0xdc2b590e
mov dword [esp + 0x54], 0xd233eb03
mov dword [esp + 0x58], 0x508b6648
mov dword [esp + 0x5c], 0xc2f7663c
mov dword [esp + 0x60], 0xf275f800
mov dword [esp + 0x64], 0x3410443b
mov dword [esp + 0x68], 0x8589ec75
mov dword [esp + 0x6c], 0x40130a
mov dword [esp + 0x70], 0x235cb58d
mov dword [esp + 0x74], 0xbd8d0040
lea esp, [esp]
mov al, byte [esp + ecx + 0x78]
cmp al, byte [esp + ecx + 0x38]
jne 0x1008228b
inc ecx
cmp ecx, 0x40
jb 0x10082220
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x2f5]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x2f9]
mov dword [esp + 0x34], eax
xor eax, eax
lea ebx, [ebx]
xor byte [esp + eax + 0x30], dl
xor byte [esp + eax + 0x31], bl
xor byte [esp + eax + 0x32], dh
xor byte [esp + eax + 0x33], bh
add eax, esi
cmp eax, 8
jb 0x10082250
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x33]
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.100b37df
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xdc]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100b37df
mov esp, ebp
pop ebp
ret