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

Disassembly:
sub esp, 0x320
mov edx, dword [esp + 0x32c]
mov ecx, dword [esp + 0x328]
mov eax, edx
dec edx
test eax, eax
mov dword [esp + 0x3c], ecx
je 0x1005db43
mov eax, dword [esp + 0x324]
push ebx
push ebp
inc edx
push esi
push edi
mov dword [esp + 0x48], edx
mov edx, dword [eax + 4]
mov ebp, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x2f0], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x2f4], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x2f8], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x2fc], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x300], edx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x304], edx
mov edx, dword [eax + 0x28]
mov dword [esp + 0x310], edx
mov edx, dword [eax + 0x2c]
mov edi, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
mov dword [esp + 0x314], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x318], edx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x31c], edx
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
lea esi, [esp + 0x2e8]
mov dword [esp + 0x324], eax
mov eax, 0x100a27e8
sub ecx, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x320], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], ecx
jmp 0x1005d58e
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x24]
add ecx, eax
call fcn.1005db50
mov ecx, dword [esp + 0x14]
mov dword [esi], ebp
mov dword [esi + 0x20], edi
mov dword [esi + 0x40], eax
mov dword [esi + 4], ecx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x44], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
mov esi, ebx
mov ecx, 0x17
mov eax, edi
mov edx, ebx
xor ebp, ebp
shr esi, 9
call fcn.1007de60
or esi, eax
or ebp, edx
mov dword [esp + 0x28], esi
mov esi, edi
mov dword [esp + 0x18], ebp
mov ecx, 0x12
mov eax, edi
mov edx, ebx
xor ebp, ebp
shl esi, 0xe
call fcn.1007de00
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
or ebp, eax
mov eax, dword [esp + 0x20]
or esi, edx
mov edx, dword [esp + 0x24]
xor ebx, esi
mov esi, eax
xor edi, ebp
mov ecx, 0xe
xor ebp, ebp
shl esi, 0x12
call fcn.1007de00
mov ecx, dword [esp + 0x24]
or ebp, eax
mov eax, dword [esp + 0x1c]
or esi, edx
mov edx, dword [esp + 0x20]
xor edi, ebp
mov ebp, dword [eax + 0x30]
xor ebx, esi
not edx
mov esi, ecx
and ebp, edx
mov edx, dword [eax + 0x34]
not esi
and edx, esi
mov esi, dword [eax + 0x28]
and esi, dword [esp + 0x20]
mov eax, dword [eax + 0x2c]
and eax, ecx
xor ebp, esi
xor edx, eax
mov eax, dword [esp + 0x1c]
add edi, ebp
adc ebx, edx
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
add edi, edx
mov edx, dword [esp + 0x34]
adc ebx, ecx
mov ecx, dword [esp + 0x2c]
mov ebp, dword [ecx]
mov esi, dword [ecx + 4]
mov ecx, dword [esp + 0x30]
add edi, ebp
adc ebx, esi
mov esi, dword [eax + 0x18]
add ecx, edi
adc edx, ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov edi, dword [esp + 0x14]
add esi, ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x10]
adc ecx, edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
mov ebx, esi
mov ecx, 0x1c
mov eax, esi
mov edx, edi
xor ebp, ebp
shl ebx, 4
call fcn.1007de00
or ebx, edx
or ebp, eax
mov dword [esp + 0x28], ebx
mov ebx, edi
shr ebx, 2
mov dword [esp + 0x18], ebx
mov ecx, 0x1e
mov eax, esi
mov edx, edi
xor ebx, ebx
call fcn.1007de60
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
or ecx, eax
mov eax, dword [esp + 0x10]
or ebx, edx
xor ebp, ecx
xor esi, ebx
mov edx, edi
mov ecx, 0x19
xor ebx, ebx
shr edi, 7
call fcn.1007de60
mov ecx, dword [esp + 0x54]
or edi, eax
mov eax, dword [esp + 0x50]
or ebx, edx
mov edx, dword [esp + 0x14]
xor ebp, edi
xor esi, ebx
mov ebx, dword [esp + 0x10]
mov edi, eax
xor edi, ebx
mov ebx, ecx
xor ebx, edx
mov edx, dword [esp + 0x1c]
and edi, dword [edx + 0x10]
and ebx, dword [edx + 0x14]
mov edx, dword [esp + 0x10]
and eax, edx
mov edx, dword [esp + 0x14]
and ecx, edx
xor edi, eax
xor ebx, ecx
add ebp, edi
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
adc esi, ebx
mov ebx, dword [esp + 0x30]
add ebp, ebx
adc esi, edi
add eax, 8
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x1c]
sub esi, 8
cmp eax, 0x100a2868
mov dword [esp + 0x10], ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], esi
jl 0x1005d582
mov dword [esp + 0x2c], 0x100a2868
mov edx, dword [esi + 0xb8]
mov eax, dword [esi + 0xbc]
mov edi, dword [esi + 0x50]
mov esi, dword [esi + 0x54]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov ebx, edi
mov ecx, 0x13
mov eax, edi
mov edx, esi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], esi
xor ebp, ebp
shl ebx, 0xd
call fcn.1007de00
or ebx, edx
or ebp, eax
mov dword [esp + 0x28], ebx
mov ebx, esi
shr ebx, 0x1d
mov dword [esp + 0x18], ebx
mov ecx, 3
mov eax, edi
mov edx, esi
xor ebx, ebx
call fcn.1007de60
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
or ecx, eax
or ebx, edx
mov edx, dword [esp + 0x64]
xor ebp, ecx
mov ecx, 6
mov eax, edi
xor esi, ebx
call fcn.1007de00
mov edi, dword [esp + 0x44]
xor esi, edx
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x40]
xor ebp, eax
mov ebx, esi
mov dword [esp + 0x3c], ebp
mov ecx, 8
mov eax, esi
mov edx, edi
xor ebp, ebp
shl ebx, 0x18
call fcn.1007de00
or ebx, edx
or ebp, eax
mov dword [esp + 0x28], ebx
mov ebx, esi
mov dword [esp + 0x18], ebp
mov ecx, 1
mov eax, esi
mov edx, edi
xor ebp, ebp
shl ebx, 0x1f
call fcn.1007de00
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
or ebp, eax
mov eax, dword [esp + 0x40]
or ebx, edx
mov edx, dword [esp + 0x44]
mov ecx, 7
xor esi, ebp
xor edi, ebx
call fcn.1007de00
mov ecx, dword [esp + 0x3c]
xor esi, eax
mov eax, dword [esp + 0x1c]
xor edi, edx
mov edx, dword [esp + 0x38]
add ecx, esi
mov ebp, dword [eax + 0xc0]
mov ebx, dword [eax + 0xc4]
adc edx, edi
add ecx, ebp
adc edx, ebx
mov edi, dword [eax + 0x78]
mov esi, dword [eax + 0x7c]
add ecx, edi
mov edi, dword [esp + 0x24]
adc edx, esi
mov esi, dword [esp + 0x10]
mov dword [eax], esi
mov esi, dword [esp + 0x14]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x20]
mov dword [eax + 0x20], esi
mov dword [eax + 0x40], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [eax + 0x24], edi
mov dword [eax + 0x44], edx
mov ebx, edi
mov ecx, 0x17
mov eax, esi
mov edx, edi
shr ebx, 9
xor ebp, ebp
call fcn.1007de60
or ebx, eax
or ebp, edx
mov dword [esp + 0x38], ebx
mov ebx, esi
mov dword [esp + 0x18], ebp
mov ecx, 0x12
mov eax, esi
mov edx, edi
xor ebp, ebp
shl ebx, 0xe
call fcn.1007de00
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x38]
or ebp, eax
mov eax, dword [esp + 0x20]
or ebx, edx
mov edx, dword [esp + 0x24]
xor edi, ebx
mov ebx, eax
xor esi, ebp
mov ecx, 0xe
xor ebp, ebp
shl ebx, 0x12
call fcn.1007de00
mov ecx, dword [esp + 0x24]
or ebp, eax
mov eax, dword [esp + 0x1c]
or ebx, edx
mov edx, dword [esp + 0x20]
xor esi, ebp
mov ebp, dword [eax + 0x30]
xor edi, ebx
not edx
mov ebx, ecx
and ebp, edx
mov edx, dword [eax + 0x34]
not ebx
and edx, ebx
mov ebx, dword [eax + 0x28]
and ebx, dword [esp + 0x20]
mov eax, dword [eax + 0x2c]
and eax, ecx
xor ebp, ebx
xor edx, eax
mov eax, dword [esp + 0x1c]
add esi, ebp
adc edi, edx
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
add esi, edx
adc edi, ecx
mov ecx, dword [esp + 0x2c]
mov ebp, dword [ecx]
mov ebx, dword [ecx + 4]
mov ecx, dword [esp + 0x30]
add esi, ebp
adc edi, ebx
add ecx, esi
mov edx, dword [esp + 0x34]
mov esi, dword [eax + 0x18]
adc edx, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
add esi, ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x34], edx
adc ecx, edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
mov ebx, esi
mov ecx, 0x1c
mov eax, esi
mov edx, edi
xor ebp, ebp
shl ebx, 4
call fcn.1007de00
or ebx, edx
or ebp, eax
mov dword [esp + 0x18], ebx
mov ebx, edi
shr ebx, 2
mov dword [esp + 0x38], ebx
mov ecx, 0x1e
mov eax, esi
mov edx, edi
xor ebx, ebx
call fcn.1007de60
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x18]
or ecx, eax
mov eax, dword [esp + 0x10]
or ebx, edx
xor ebp, ecx
xor esi, ebx
mov edx, edi
mov ecx, 0x19
xor ebx, ebx
shr edi, 7
call fcn.1007de60
mov ecx, dword [esp + 0x5c]
or edi, eax
mov eax, dword [esp + 0x58]
or ebx, edx
mov edx, dword [esp + 0x14]
xor ebp, edi
xor esi, ebx
mov ebx, dword [esp + 0x10]
mov edi, eax
xor edi, ebx
mov ebx, ecx
xor ebx, edx
mov edx, dword [esp + 0x1c]
and edi, dword [edx + 0x10]
and ebx, dword [edx + 0x14]
mov edx, dword [esp + 0x10]
and eax, edx
mov edx, dword [esp + 0x14]
and ecx, edx
xor edi, eax
mov eax, dword [esp + 0x34]
xor ebx, ecx
mov ecx, dword [esp + 0x30]
add ebp, edi
adc esi, ebx
add ebp, ecx
adc esi, eax
mov eax, dword [esp + 0x2c]
mov ecx, ebp
mov edx, esi
mov esi, dword [esp + 0x1c]
add eax, 8
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], eax
sub esi, 8
cmp eax, 0x100a2a68
mov dword [esp + 0x1c], esi
jl 0x1005d776
mov eax, dword [esp + 0x334]
mov edi, dword [eax]
mov ebp, dword [eax + 8]
add edi, ecx
mov dword [eax], edi
mov ecx, dword [eax + 4]
mov edi, dword [eax + 0x10]
adc ecx, edx
mov edx, dword [esi + 8]
add ebp, edx
mov edx, dword [esi + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0xc]
mov dword [eax + 8], ebp
mov ebx, dword [eax + 0xc]
adc ebx, ecx
mov ecx, dword [esi + 0x14]
add edi, edx
mov ebp, dword [eax + 0x18]
mov dword [eax + 0x10], edi
mov edx, dword [eax + 0x14]
adc edx, ecx
mov ecx, dword [esi + 0x1c]
mov edi, dword [eax + 0x20]
mov dword [eax + 0x14], edx
mov edx, dword [esi + 0x18]
mov dword [eax + 0xc], ebx
add ebp, edx
mov edx, dword [esp + 0x20]
mov dword [eax + 0x18], ebp
mov ebx, dword [eax + 0x1c]
adc ebx, ecx
mov ecx, dword [esp + 0x24]
add edi, edx
mov ebp, dword [eax + 0x28]
mov dword [eax + 0x20], edi
mov edx, dword [eax + 0x24]
adc edx, ecx
mov ecx, dword [esi + 0x2c]
mov edi, dword [eax + 0x30]
mov dword [eax + 0x24], edx
mov edx, dword [esi + 0x28]
mov dword [eax + 0x1c], ebx
add ebp, edx
mov edx, dword [esi + 0x30]
mov dword [eax + 0x28], ebp
mov ebx, dword [eax + 0x2c]
adc ebx, ecx
mov ecx, dword [esi + 0x34]
add edi, edx
mov edx, dword [esi + 0x38]
mov dword [eax + 0x30], edi
mov ebp, dword [eax + 0x34]
mov dword [eax + 0x2c], ebx
mov ebx, dword [eax + 0x38]
adc ebp, ecx
mov ecx, dword [esi + 0x3c]
add ebx, edx
mov edx, dword [esp + 0x48]
mov dword [eax + 0x38], ebx
mov edi, dword [eax + 0x3c]
adc edi, ecx
mov ecx, dword [esp + 0x4c]
add ecx, 0x80
dec edx
mov dword [eax + 0x34], ebp
mov dword [eax + 0x3c], edi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], edx
jne 0x1005d4d3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x320
ret