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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov ecx, dword [ebp + 8]
push ebx
sar eax, 1
push esi
xor esi, esi
cmp edx, 4
lea ebx, [ecx + eax*4]
push edi
mov dword [esp + 0x10], ecx
mov dword [ebp + 8], ebx
jl 0x63139f
mov eax, edx
sar eax, 1
lea edi, [eax*4 + 0x79d3b0]
jmp 0x6313a4
mov edi, 0x79e3b8
add edx, edx
lea ecx, [edi + 0x1000]
add edx, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x20], edx
mov eax, esi
sar eax, 4
and eax, 0xf
movzx eax, byte [eax + 0x868e88]
mov ecx, esi
and ecx, 0xf
movzx edx, byte [ecx + 0x868e88]
shl edx, 4
or eax, edx
shl eax, 4
mov ecx, esi
sar ecx, 8
movzx edx, byte [ecx + 0x868e88]
mov ecx, dword [ebp + 0xc]
or eax, edx
mov edx, eax
xor edx, 0xfff
sar edx, cl
mov ecx, dword [ebp + 8]
inc esi
lea edx, [ecx + edx*4 - 4]
mov ecx, dword [ebp + 0xc]
sar eax, cl
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*4]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
add ecx, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
sub eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x34], edx
cdq
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
mov eax, ecx
mov ecx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
cdq
push ecx
push edx
push eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
call fcn.00650240
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], edx
cdq
mov ecx, eax
mov eax, dword [edi]
mov dword [esp + 0x4c], edx
cdq
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x4c]
push edx
push ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x4c]
push ecx
push eax
mov dword [esp + 0x50], eax
call fcn.00650240
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
add edx, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x58]
push ecx
push edx
push eax
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00650240
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x54]
push eax
push ecx
push edx
call fcn.00650240
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
sub eax, edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
add eax, ecx
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x28]
sar eax, 1
add edx, eax
sub eax, dword [esp + 0xc]
sar ecx, 1
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov dword [ecx], edx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add edx, ecx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], edx
mov dword [ebx - 8], eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x14]
sub ebx, 0x10
mov dword [ebx + 0xc], eax
mov edx, esi
sar edx, 4
and edx, 0xf
movzx eax, byte [edx + 0x868e88]
mov ecx, esi
and ecx, 0xf
movzx edx, byte [ecx + 0x868e88]
shl edx, 4
or eax, edx
shl eax, 4
mov ecx, esi
sar ecx, 8
movzx edx, byte [ecx + 0x868e88]
mov ecx, dword [ebp + 0xc]
or eax, edx
mov edx, eax
add edi, dword [esp + 0x20]
xor edx, 0xfff
sar edx, cl
mov ecx, dword [ebp + 8]
inc esi
lea edx, [ecx + edx*4 - 4]
mov ecx, dword [ebp + 0xc]
sar eax, cl
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*4]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
add ecx, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
sub eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x38], edx
cdq
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov eax, ecx
mov ecx, dword [esp + 0x64]
cdq
push edx
push eax
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x68]
push ecx
push edx
mov dword [esp + 0x60], eax
call fcn.00650240
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x7c], edx
cdq
mov ecx, eax
mov eax, dword [edi]
mov dword [esp + 0x4c], edx
cdq
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x4c]
push edx
push ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x4c]
push ecx
push eax
mov dword [esp + 0x50], eax
call fcn.00650240
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x7c]
add edx, eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x4c]
push edx
push eax
push ecx
call fcn.00650240
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x54]
push eax
push ecx
push edx
call fcn.00650240
mov ecx, dword [esp + 0x34]
add edi, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x84]
sub eax, edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
add eax, ecx
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x28]
sar eax, 1
sar ecx, 1
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
add edx, eax
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add edx, ecx
sub eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xc], edx
mov dword [ebx], eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x14]
add ecx, 0x10
mov dword [ebx + 4], eax
mov dword [esp + 0x10], ecx
cmp edi, dword [esp + 0x3c]
jb 0x6313b6
mov edx, esi
sar edx, 4
and edx, 0xf
movzx eax, byte [edx + 0x868e88]
mov ecx, esi
and ecx, 0xf
movzx edx, byte [ecx + 0x868e88]
shl edx, 4
or eax, edx
shl eax, 4
mov ecx, esi
sar ecx, 8
movzx edx, byte [ecx + 0x868e88]
mov ecx, dword [ebp + 0xc]
or eax, edx
mov edx, eax
xor edx, 0xfff
sar edx, cl
mov ecx, dword [ebp + 8]
sub edi, dword [esp + 0x20]
inc esi
lea edx, [ecx + edx*4 - 4]
mov ecx, dword [ebp + 0xc]
sar eax, cl
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*4]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [eax]
mov dword [esp + 0x34], eax
add eax, ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x38], ecx
sub ecx, edx
mov dword [esp + 0x3c], edx
cdq
mov dword [esp + 0x14], ecx
mov ecx, eax
mov eax, dword [edi]
mov dword [esp + 0x4c], edx
cdq
push edx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x50]
push eax
push edx
push ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], eax
call fcn.00650240
mov dword [esp + 0x80], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x84], edx
cdq
mov ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], edx
cdq
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x64]
push edx
push ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x5c]
push ecx
push eax
mov dword [esp + 0x60], eax
call fcn.00650240
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x84]
add edx, eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x40]
push ecx
push edx
push eax
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00650240
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x4c]
push eax
push ecx
push edx
call fcn.00650240
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x7c]
sub eax, edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
add eax, ecx
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x34]
sar eax, 1
sar ecx, 1
mov dword [esp + 0x14], ecx
lea ecx, [eax + edx]
sub eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add ecx, edx
mov edx, dword [esp + 0x10]
mov dword [edx + 4], ecx
mov dword [ebx - 8], eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x14]
sub ebx, 0x10
mov dword [ebx + 0xc], eax
mov eax, esi
sar eax, 4
and eax, 0xf
movzx eax, byte [eax + 0x868e88]
mov ecx, esi
and ecx, 0xf
movzx edx, byte [ecx + 0x868e88]
shl edx, 4
or eax, edx
mov ecx, esi
sar ecx, 8
movzx edx, byte [ecx + 0x868e88]
mov ecx, dword [ebp + 0xc]
shl eax, 4
or eax, edx
mov edx, eax
xor edx, 0xfff
sar edx, cl
mov ecx, dword [ebp + 8]
inc esi
lea edx, [ecx + edx*4 - 4]
mov ecx, dword [ebp + 0xc]
sar eax, cl
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*4]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [eax]
mov dword [esp + 0x34], eax
add eax, ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x38], ecx
sub ecx, edx
sub edi, dword [esp + 0x20]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x14], ecx
cdq
mov ecx, eax
mov eax, dword [edi]
mov dword [esp + 0x4c], edx
cdq
push edx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x50]
push eax
push edx
push ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], eax
call fcn.00650240
mov dword [esp + 0x70], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x74], edx
cdq
mov ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], edx
cdq
push edx
push eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], edx
call fcn.00650240
mov ecx, dword [esp + 0x74]
add edx, ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
push eax
push ecx
push edx
call fcn.00650240
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x60]
push ecx
push edx
push eax
call fcn.00650240
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x6c]
sub eax, edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x18], eax
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x34]
sar eax, 1
sar ecx, 1
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xc]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x10]
sub eax, dword [esp + 0xc]
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add edx, ecx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xc], edx
mov dword [ebx], eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x14]
add ecx, 0x10
mov dword [ebx + 4], eax
mov dword [esp + 0x10], ecx
cmp ecx, ebx
jb 0x6316c5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret