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

Disassembly:
sub esp, 0x28
mov eax, dword [0x10282800]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], edx
push esi
mov esi, ecx
test eax, eax
je 0x100caa9d
mov ecx, dword [esi]
push edi
and ecx, 0x3f
mov edi, 0x40
sub edi, ecx
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x100ca865
cmp eax, edi
jb 0x100ca865
add dword [esi], edi
lea eax, [esi + 0x1c]
push edi
adc dword [esi + 4], 0
add eax, ecx
push edx
push eax
call fcn.101e55c0
add esp, 0xc
lea edx, [esi + 0x1c]
mov ecx, esi
call fcn.100ca5b0
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x34]
add edx, edi
sub eax, edi
mov dword [esp + 8], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], 0
push ebx
push ebp
cmp eax, 0x40
jb 0x100caa7c
lea ebp, [esi + 0x9c]
lea ebx, [esi + 8]
add dword [esi], 0x40
lea ecx, [esi + 0x31c]
push ecx
adc dword [esi + 4], 0
mov ecx, ebx
mov eax, dword [ebx]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0x18]
push ebp
mov dword [esp + 0x1c], 0xffffffff
mov dword [esi + 0x84], eax
call fcn.100c6cb0
add esp, 8
cmp dword [esi + 0x64], 0
je 0x100caa5d
cmp dword [esi + 0x68], 0
je 0x100ca8d8
lea edx, [esp + 0x14]
mov ecx, ebp
call fcn.100cc580
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100caa5d
xor ebx, ebx
mov dword [esp + 0x18], ebx
cmp dword [0x102833f0], ebx
je 0x100caa5a
xor edi, edi
nop dword [eax + eax]
mov ecx, dword [edi + 0x10283404]
mov edx, 1
shl edx, cl
test eax, edx
je 0x100caa3c
lea ebp, [esi + 0x1dc]
mov ebx, 0x10
lea edx, [edi + 0x1028340c]
mov ecx, ebp
nop dword [eax + eax]
mov eax, dword [ecx - 0x140]
lea ecx, [ecx + 0x14]
xor eax, dword [edx - 4]
lea edx, [edx + 0x14]
mov dword [ecx - 0x14], eax
mov eax, dword [ecx - 0x150]
xor eax, dword [edx - 0x14]
mov dword [ecx - 0x10], eax
mov eax, dword [ecx - 0x14c]
xor eax, dword [edx - 0x10]
mov dword [ecx - 0xc], eax
mov eax, dword [ecx - 0x148]
xor eax, dword [edx - 0xc]
mov dword [ecx - 8], eax
mov eax, dword [ecx - 0x144]
xor eax, dword [edx - 8]
mov dword [ecx - 4], eax
sub ebx, 1
jne 0x100ca930
mov ecx, dword [edi + 0x102833fc]
lea eax, [ecx*4 + 0xc7]
add eax, ecx
lea eax, [esi + eax*4]
cmp ecx, 0x3a
je 0x100ca9aa
cmp ecx, 0x41
jne 0x100caad4
push eax
push ebp
lea edx, [esp + 0x28]
lea ecx, [esi + 0x88]
call fcn.100c9480
jmp 0x100ca9bb
push eax
push ebp
lea edx, [esp + 0x28]
lea ecx, [esi + 0x88]
call fcn.100c8380
mov ecx, dword [esi + 0xc]
lea ebx, [esi + 8]
xor ecx, dword [esp + 0x2c]
add esp, 8
mov eax, dword [ebx]
xor eax, dword [esp + 0x20]
or ecx, eax
mov eax, dword [esi + 0x18]
xor eax, dword [esp + 0x30]
or ecx, eax
mov eax, dword [esi + 0x14]
xor eax, dword [esp + 0x2c]
or ecx, eax
mov eax, dword [esi + 0x10]
xor eax, dword [esp + 0x28]
or ecx, eax
je 0x100caaad
cmp dword [esi + 0x6c], 0
je 0x100caa34
mov ecx, dword [esi + 0x98]
xor ecx, dword [esi + 0x84]
mov eax, dword [esi + 0x90]
xor eax, dword [esi + 0x7c]
or ecx, eax
mov eax, dword [esi + 0x94]
xor eax, dword [esi + 0x80]
or ecx, eax
mov eax, dword [esi + 0x8c]
xor eax, dword [esi + 0x78]
or ecx, eax
mov eax, dword [esi + 0x88]
xor eax, dword [esi + 0x74]
or ecx, eax
je 0x100caaad
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
inc ebx
imul edi, ebx, 0x158
mov dword [esp + 0x18], ebx
cmp dword [edi + 0x102833f0], 0
jne 0x100ca900
lea ebp, [esi + 0x9c]
lea ebx, [esi + 8]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
sub eax, 0x40
add edx, 0x40
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], edx
cmp eax, 0x40
jae 0x100ca879
test eax, eax
je 0x100caa9a
add dword [esi], eax
push eax
adc dword [esi + 4], 0
mov eax, dword [esp + 0x20]
add eax, 0x1c
push edx
add eax, esi
push eax
call fcn.101e55c0
add esp, 0xc
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x28]
pop esi
xor ecx, esp
call fcn.101e3b75
add esp, 0x28
ret
cmp dword [esi + 0x60], 0
lea ebp, [esi + 0x9c]
mov dword [esi + 0x5c], 1
je 0x100caa5d
mov edx, ebp
mov ecx, ebx
call fcn.100c5d00
mov edx, ebp
mov ecx, ebx
call fcn.100c5d00
jmp 0x100caa5d
call fcn.101f497a
int3