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

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
mov ebx, ecx
mov esi, edx
push edi
mov ecx, 0x101080ea
mov dword [esp + 0x28], ebx
call fcn.100de193
mov eax, dword [ebx]
xor edx, edx
mov ebp, dword [esi + 0x10]
xor ebx, ebx
mov edi, dword [esi + 4]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x14]
mov esi, dword [esi]
mov dword [esp + 0x18], eax
inc esi
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x28]
push esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x38], edx
push dword [eax + 0xc]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x70], ebp
call fcn.10065800
mov ecx, dword [esp + 0x30]
add esp, 8
mov dword [esp + 0x14], eax
mov ecx, dword [ecx + 0xc]
push esi
push ecx
test eax, eax
jne 0x100d3cfa
call fcn.100659c0
sub eax, 5
add esp, 8
neg eax
sbb eax, eax
and eax, 7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
call fcn.100654e0
mov ecx, dword [esp + 0x40]
mov edx, eax
mov dword [esp + 0x54], edx
mov ecx, dword [ecx + 0x24]
mov eax, dword [ecx]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x34]
push edx
push dword [esp + 0x24]
mov edx, dword [eax + 0x14]
call fcn.100c8230
add esp, 0x14
test eax, eax
jne 0x100d40a3
lea eax, [esp + 0x1c]
mov dword [esp + 0x48], 0xffffffff
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x24], 0
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x38], 0
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0x58]
push dword [esp + 0x54]
mov eax, dword [eax + 0x14]
call eax
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x100d4071
cmp dword [esp + 0x1c], edi
jl 0x100d3d33
test ebx, ebx
jne 0x100d3f77
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x20]
mov dword [esp + 0x54], eax
mov eax, ebp
or eax, ebx
je 0x100d3f1b
mov eax, ebp
mov dword [esp + 0x2c], esi
and eax, 1
or eax, esi
jne 0x100d3de4
nop
inc esi
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, ebp
and ecx, ebx
or edx, ecx
je 0x100d3dc0
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x7c]
xor edx, edx
dec edi
xor ecx, ecx
mov eax, edi
xor ebx, ebx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, ebp
and ecx, dword [esp + 0x18]
or edx, ecx
jne 0x100d3e35
mov esi, dword [esp + 0x18]
dec edi
xor edx, edx
xor ecx, ecx
mov eax, edi
bts edx, eax
inc ebx
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, ebp
and ecx, esi
or edx, ecx
je 0x100d3e10
mov esi, dword [esp + 0x2c]
sub esi, ebx
mov eax, esi
cdq
sub eax, edx
mov edi, eax
sar edi, 1
test edi, edi
jle 0x100d3f1b
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], 0
mov ecx, dword [eax + 0x24]
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x2c]
push dword [esp + 0x54]
mov ebp, dword [ecx]
push dword [esp + 0x5c]
mov edx, dword [eax + 0x14]
call fcn.100c8230
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100d3f1d
add edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x58]
cmp dword [esp + 0x2c], edi
jge 0x100d3ecd
lea eax, [esp + 0x2c]
mov dword [esp + 0x5c], 0
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x54], 0
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x5c], 0
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x74]
push eax
mov eax, dword [ebp + 0x14]
push ebx
call eax
mov esi, eax
add esp, 0x18
test esi, esi
je 0x100d3e87
mov eax, dword [ebp + 0x10]
push ebx
call eax
add esp, 4
test esi, esi
je 0x100d3edf
cmp esi, 0x65
jne 0x100d3f1d
xor eax, eax
cmp esi, 0x65
sete al
sub eax, dword [esp + 0x7c]
add eax, dword [esp + 0x2c]
test eax, eax
jle 0x100d3f1b
movq xmm1, qword [esp + 0x68]
add dword [esp + 0x24], eax
movd xmm0, eax
psrlq xmm1, xmm0
movq qword [esp + 0x68], xmm1
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
xor esi, esi
mov ebx, 1
test esi, esi
jne 0x100d4091
mov edi, dword [esp + 0x24]
test edi, edi
jg 0x100d3f47
cmp dword [esp + 0x74], esi
jg 0x100d3f47
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x100d3f69
mov edx, dword [esp + 0x14]
push ecx
jmp 0x100d3f50
mov edx, dword [esp + 0x88]
push 0xffffffffffffffff
mov ecx, dword [esp + 0x90]
call fcn.100d3bb0
mov esi, eax
add esp, 4
test esi, esi
jne 0x100d4091
mov ebp, dword [esp + 0x3c]
cmp dword [esp + 0x1c], edi
jl 0x100d3d33
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x1c]
add eax, edi
cmp edx, eax
jge 0x100d4061
xor ecx, ecx
sub edx, edi
xor eax, eax
bts ecx, edx
cmp edx, 0x20
cmovae eax, ecx
xor ecx, eax
cmp edx, 0x40
cmovae eax, ecx
and ecx, ebp
and eax, dword [esp + 0x18]
or ecx, eax
je 0x100d3fb1
mov edi, 1
jmp 0x100d3fb3
xor edi, edi
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x1c], eax
jle 0x100d3fe4
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
sub eax, ecx
push eax
lea edx, [edx + ecx]
mov ecx, dword [esp + 0x90]
call fcn.100d3bb0
mov esi, eax
add esp, 4
test esi, esi
jne 0x100d404b
test edi, edi
je 0x100d4006
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x8c]
push 0xffffffffffffffff
call fcn.100d3bb0
mov esi, eax
add esp, 4
test esi, esi
jne 0x100d404b
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
sub eax, ecx
push eax
lea edx, [ecx + edx]
mov ecx, dword [esp + 0x90]
call fcn.100d3bb0
mov esi, eax
add esp, 4
test esi, esi
jne 0x100d404b
test edi, edi
je 0x100d404b
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x8c]
push 0xffffffffffffffff
call fcn.100d3bb0
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x34], eax
test esi, esi
je 0x100d3d33
jmp 0x100d4091
cmp dword [esp + 0x78], 0
je 0x100d4091
mov edx, dword [esp + 0x88]
jmp 0x100d407e
cmp esi, 0x65
jne 0x100d4091
mov edx, dword [esp + 0x34]
add edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x8c]
push 0xffffffffffffffff
call fcn.100d3bb0
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x44]
push dword [esp + 0x40]
mov eax, dword [eax + 0x10]
call eax
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret