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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x88]
mov ebp, dword [esp + 0x78]
mov ebx, 8
lea eax, [ecx*4 + 0x24]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x24], eax
sub ebx, ecx
mov esi, dword [esp + 0x80]
mov eax, 9
sub eax, ecx
shl ebx, 2
shl eax, 2
mov dword [esp + 0x20], eax
lea eax, [ecx + 8]
lea eax, [esi + eax*4]
add eax, eax
mov dword [esp + 0x28], eax
mov eax, ecx
shl eax, 4
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x70]
add eax, 0x98
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
lea edi, [ecx*4 + 0x20]
add eax, 0xfffffff8
add eax, dword [esp + 0x84]
lea ecx, [ecx*8 + 8]
add edi, ebp
mov dword [esp + 0x2c], eax
add edi, edi
mov eax, edi
sub eax, ecx
lea ecx, [esi*2 + 0x40]
mov esi, dword [esp + 0x24]
sub ecx, edi
mov dword [esp + 0x40], ecx
lea ecx, [ebx + ebp]
add ecx, ecx
add ebx, dword [esp + 0x80]
sub ecx, edi
add eax, dword [esp + 0x84]
mov dword [esp + 0x44], ecx
add ebx, ebx
lea ecx, [edx*2 + 0x48]
mov dword [esp + 0x38], eax
sub ecx, edi
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x74]
add esi, ecx
add esi, esi
sub esi, edi
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x20]
add esi, ecx
lea ecx, [ecx*2 + 0x48]
add esi, esi
sub esi, edi
mov dword [esp + 0x50], esi
lea esi, [ebp*2 + 0x40]
mov ebp, dword [esp + 0x28]
sub ecx, ebp
mov dword [esp + 0x5c], ecx
sub esi, ebp
mov ecx, dword [esp + 0x24]
sub ebx, ebp
add ecx, edx
mov dword [esp + 0x54], esi
add ecx, ecx
mov dword [esp + 0x58], ebx
sub ecx, ebp
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x20]
add ecx, edx
add ecx, ecx
sub ecx, ebp
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], 5
nop
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
add ebx, eax
mov dword [esp + 0x34], ecx
add edi, eax
mov ecx, dword [esp + 0x40]
add ecx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x44]
add ecx, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x50]
add ecx, eax
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], 5
movzx esi, word [ecx - 0x10]
lea ebp, [ecx - 0x10]
movzx ecx, word [edi]
add ebx, 0xfffffff0
sub esi, ecx
add edi, 0xfffffff0
mov edx, esi
sar edx, 0x1f
mov ecx, edx
xor ecx, esi
sub ecx, edx
mov dword [eax - 0x18], ecx
movzx esi, word [ebx]
mov ecx, dword [esp + 0x28]
movzx ecx, word [ecx]
sub esi, ecx
mov edx, esi
sar edx, 0x1f
mov ecx, edx
xor ecx, esi
sub ecx, edx
mov dword [eax - 0x14], ecx
movzx esi, word [edi]
mov ecx, dword [esp + 0x20]
movzx ecx, word [ecx]
sub esi, ecx
mov edx, esi
sar edx, 0x1f
mov ecx, edx
xor ecx, esi
sub ecx, edx
mov edx, dword [esp + 0x14]
mov dword [eax - 0x10], ecx
movzx ecx, word [edx]
mov edx, dword [esp + 0x10]
movzx esi, word [edx]
sub esi, ecx
mov edx, esi
sar edx, 0x1f
mov ecx, edx
xor ecx, esi
sub ecx, edx
mov edx, dword [esp + 0x10]
mov dword [eax - 0xc], ecx
mov ecx, dword [esp + 0x14]
movzx esi, word [edx]
movzx ecx, word [ecx + 0x10]
sub esi, ecx
mov edx, esi
sar edx, 0x1f
mov ecx, edx
xor ecx, esi
sub ecx, edx
mov edx, dword [esp + 0x18]
mov dword [eax - 8], ecx
movzx ecx, word [edx + 0x10]
movzx esi, word [edx]
sub esi, ecx
mov edx, esi
sar edx, 0x1f
mov ecx, edx
xor ecx, esi
sub ecx, edx
mov edx, dword [esp + 0x14]
mov dword [eax - 4], ecx
mov ecx, dword [esp + 0x10]
movzx esi, word [edx]
movzx ecx, word [ecx + 0x10]
sub esi, ecx
mov edx, esi
sar edx, 0x1f
mov ecx, edx
xor ecx, esi
sub ecx, edx
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
movzx esi, word [ecx]
mov ecx, dword [esp + 0x24]
movzx ecx, word [ecx]
sub esi, ecx
mov edx, esi
sub dword [esp + 0x18], 0x10
lea eax, [eax - 0x20]
sub dword [esp + 0x10], 0x10
sub dword [esp + 0x14], 0x10
sar edx, 0x1f
mov ecx, edx
mov dword [esp + 0x28], ebx
xor ecx, esi
mov dword [esp + 0x24], edi
sub ecx, edx
dec dword [esp + 0x30]
mov dword [eax + 0x24], ecx
mov ecx, ebp
mov dword [esp + 0x20], ecx
jne 0x10031346
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x1c]
add eax, ecx
mov ebx, dword [esp + 0x5c]
add edi, 0xa0
mov edx, dword [esp + 0x60]
add ebx, ecx
mov dword [esp + 0x20], eax
add edx, ecx
mov eax, dword [esp + 0x58]
add eax, ecx
mov dword [esp + 0x18], ecx
add ecx, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], 5
lea ebx, [ebx]
movzx esi, word [ecx - 0x10]
lea ebp, [ecx - 0x10]
movzx ecx, word [edx]
add ebx, 0xfffffff0
sub esi, ecx
mov edx, esi
sar edx, 0x1f
mov ecx, edx
xor ecx, esi
sub ecx, edx
mov dword [edi - 0x18], ecx
movzx esi, word [ebx]
mov ecx, dword [esp + 0x30]
movzx ecx, word [ecx]
sub esi, ecx
mov edx, esi
sar edx, 0x1f
mov ecx, edx
xor ecx, esi
sub ecx, edx
mov dword [edi - 0x14], ecx
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
movzx esi, word [edi - 0x10]
movzx ecx, word [ecx]
sub esi, ecx
mov edx, esi
sar edx, 0x1f
mov ecx, edx
xor ecx, esi
sub ecx, edx
mov edx, dword [esp + 0x10]
mov dword [edx - 0x10], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
movzx esi, word [ecx]
movzx ecx, word [edx]
sub esi, ecx
mov edx, esi
sar edx, 0x1f
mov ecx, edx
xor ecx, esi
sub ecx, edx
mov edx, dword [esp + 0x10]
mov dword [edx - 0xc], ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx esi, word [edx]
movzx ecx, word [ecx + 0x10]
sub esi, ecx
mov edx, esi
sar edx, 0x1f
mov ecx, edx
xor ecx, esi
sub ecx, edx
mov edx, dword [esp + 0x10]
mov dword [edx - 8], ecx
mov edx, dword [esp + 0x20]
movzx ecx, word [edx + 0x10]
movzx esi, word [edx]
sub esi, ecx
mov edx, esi
sar edx, 0x1f
mov ecx, edx
xor ecx, esi
sub ecx, edx
mov edx, dword [esp + 0x10]
mov dword [edx - 4], ecx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
movzx esi, word [edx]
movzx ecx, word [ecx + 0x10]
sub esi, ecx
mov edx, esi
sar edx, 0x1f
mov ecx, edx
xor ecx, esi
sub ecx, edx
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
mov ecx, edi
mov edx, dword [esp + 0x24]
movzx ecx, word [ecx]
sub dword [esp + 0x20], 0x10
sub dword [esp + 0x14], 0x10
movzx esi, word [edx]
sub dword [esp + 0x18], 0x10
sub esi, ecx
mov edx, esi
mov dword [esp + 0x30], ebx
sar edx, 0x1f
mov ecx, edx
xor ecx, esi
sub ecx, edx
mov edx, dword [esp + 0x10]
mov dword [edx + 4], ecx
sub edx, 0x20
dec dword [esp + 0x34]
mov ecx, ebp
mov dword [esp + 0x10], edx
lea edx, [edi - 0x10]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
jne 0x100314b0
mov ecx, dword [esp + 0x68]
add eax, ecx
add dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0x140
mov dword [esp + 0x38], eax
dec dword [esp + 0x3c]
mov dword [esp + 0x1c], ecx
jne 0x10031300
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret