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

Disassembly:
sub esp, 0x70
push ebx
push ebp
mov ebp, dword [esp + 0x7c]
sar eax, 1
push esi
xor esi, esi
cmp ecx, 4
lea ebx, [ebp + eax*4]
push edi
mov dword [esp + 0x84], ebx
jl 0x45614c
mov eax, ecx
sar eax, 1
lea edi, [eax*4 + 0x52a2a8]
jmp 0x456151
mov edi, 0x52b2b0
lea edx, [edi + 0x1000]
lea eax, [ecx*4]
mov dword [esp + 0x34], edx
mov dword [esp + 0x1c], eax
mov ecx, esi
sar ecx, 4
and ecx, 0xf
movzx eax, byte [ecx + 0x54c074]
mov edx, esi
and edx, 0xf
movzx ecx, byte [edx + 0x54c074]
shl ecx, 4
or eax, ecx
shl eax, 4
mov edx, esi
sar edx, 8
movzx ecx, byte [edx + 0x54c074]
or eax, ecx
mov ecx, dword [esp + 0x88]
mov edx, eax
xor edx, 0xfff
sar edx, cl
mov ecx, dword [esp + 0x84]
inc esi
lea edx, [ecx + edx*4 - 4]
mov ecx, dword [esp + 0x88]
sar eax, cl
mov ecx, dword [esp + 0x84]
lea eax, [ecx + eax*4]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
add ecx, eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
sub eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x2c], edx
cdq
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov eax, ecx
mov ecx, dword [esp + 0x54]
cdq
push edx
push eax
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x58]
push ecx
push edx
mov dword [esp + 0x58], eax
call fcn.004cb470
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], edx
cdq
mov ecx, eax
mov eax, dword [edi]
mov dword [esp + 0x44], edx
cdq
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x44]
push edx
push ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x44]
push ecx
push eax
mov dword [esp + 0x48], eax
call fcn.004cb470
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x64]
add edx, eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x40]
push ecx
push edx
push eax
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004cb470
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x4c]
push eax
push ecx
push edx
call fcn.004cb470
mov ecx, dword [esp + 0x6c]
sub ecx, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
add edi, edx
mov edx, dword [esp + 0x30]
add eax, edx
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x24]
sar eax, 1
sar edx, 1
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
add edx, eax
mov dword [ebp], edx
mov edx, dword [esp + 0x14]
add edx, ecx
mov dword [ebp + 4], edx
sub eax, dword [esp + 0x10]
mov dword [ebx - 8], eax
sub ecx, dword [esp + 0x14]
mov dword [ebx - 4], ecx
sub ebx, 0x10
mov eax, esi
sar eax, 4
and eax, 0xf
movzx eax, byte [eax + 0x54c074]
mov ecx, esi
and ecx, 0xf
movzx edx, byte [ecx + 0x54c074]
shl edx, 4
or eax, edx
shl eax, 4
mov ecx, esi
sar ecx, 8
movzx edx, byte [ecx + 0x54c074]
mov ecx, dword [esp + 0x88]
or eax, edx
mov edx, eax
xor edx, 0xfff
sar edx, cl
mov ecx, dword [esp + 0x84]
inc esi
lea edx, [ecx + edx*4 - 4]
mov ecx, dword [esp + 0x88]
sar eax, cl
mov ecx, dword [esp + 0x84]
lea eax, [ecx + eax*4]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
add ecx, eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
sub eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x30], edx
cdq
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
mov eax, ecx
mov ecx, dword [esp + 0x5c]
cdq
push edx
push eax
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x60]
push ecx
push edx
mov dword [esp + 0x58], eax
call fcn.004cb470
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x74], edx
cdq
mov ecx, eax
mov eax, dword [edi]
mov dword [esp + 0x44], edx
cdq
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x44]
push edx
push ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x44]
push ecx
push eax
mov dword [esp + 0x48], eax
call fcn.004cb470
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x74]
add edx, eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.004cb470
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x4c]
push eax
push ecx
push edx
call fcn.004cb470
mov ecx, dword [esp + 0x7c]
sub ecx, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
add edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
add eax, edx
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x24]
sar eax, 1
sar edx, 1
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
add edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esp + 0x14]
add edx, ecx
mov dword [ebp + 0xc], edx
sub eax, dword [esp + 0x10]
sub ecx, dword [esp + 0x14]
mov dword [ebx], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 4], ecx
add ebp, 0x10
cmp edi, eax
jb 0x456166
mov eax, esi
sar eax, 4
and eax, 0xf
movzx eax, byte [eax + 0x54c074]
mov ecx, esi
and ecx, 0xf
movzx edx, byte [ecx + 0x54c074]
shl edx, 4
or eax, edx
shl eax, 4
mov ecx, esi
sar ecx, 8
movzx edx, byte [ecx + 0x54c074]
mov ecx, dword [esp + 0x88]
or eax, edx
mov edx, eax
xor edx, 0xfff
sar edx, cl
mov ecx, dword [esp + 0x84]
inc esi
lea edx, [ecx + edx*4 - 4]
mov ecx, dword [esp + 0x88]
sar eax, cl
mov ecx, dword [esp + 0x84]
lea eax, [ecx + eax*4]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
add eax, ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x30], ecx
sub ecx, edx
mov dword [esp + 0x34], edx
cdq
mov dword [esp + 0x14], ecx
sub edi, dword [esp + 0x1c]
mov ecx, eax
mov eax, dword [edi]
mov dword [esp + 0x44], edx
cdq
push edx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x48]
push eax
push edx
push ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], eax
call fcn.004cb470
mov dword [esp + 0x78], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x7c], edx
cdq
mov ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], edx
cdq
push edx
push eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x64]
push eax
push ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x5c], edx
call fcn.004cb470
mov ecx, dword [esp + 0x7c]
add edx, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
push edx
push eax
push ecx
mov edx, dword [esp + 0x54]
push edx
call fcn.004cb470
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x60]
push ecx
push edx
push eax
call fcn.004cb470
mov ecx, dword [esp + 0x74]
sub ecx, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
add eax, edx
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x2c]
sar eax, 1
sar edx, 1
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
add edx, eax
mov dword [ebp], edx
mov edx, dword [esp + 0x14]
add edx, ecx
mov dword [ebp + 4], edx
sub eax, dword [esp + 0x10]
mov dword [ebx - 8], eax
sub ecx, dword [esp + 0x14]
mov dword [ebx - 4], ecx
sub ebx, 0x10
mov eax, esi
sar eax, 4
and eax, 0xf
movzx eax, byte [eax + 0x54c074]
mov ecx, esi
and ecx, 0xf
movzx edx, byte [ecx + 0x54c074]
shl edx, 4
or eax, edx
shl eax, 4
mov ecx, esi
sar ecx, 8
movzx edx, byte [ecx + 0x54c074]
mov ecx, dword [esp + 0x88]
or eax, edx
mov edx, eax
xor edx, 0xfff
sar edx, cl
mov ecx, dword [esp + 0x84]
inc esi
lea edx, [ecx + edx*4 - 4]
mov ecx, dword [esp + 0x88]
sar eax, cl
mov ecx, dword [esp + 0x84]
lea eax, [ecx + eax*4]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
add eax, ecx
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x30], ecx
sub ecx, edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x34], edx
cdq
sub edi, ecx
mov ecx, eax
mov dword [esp + 0x40], ecx
mov eax, dword [edi]
mov dword [esp + 0x44], edx
cdq
push edx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x48]
push eax
push edx
push ecx
mov dword [esp + 0x48], eax
call fcn.004cb470
mov dword [esp + 0x68], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x6c], edx
cdq
mov ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], edx
cdq
push edx
push eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
push eax
push ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], edx
call fcn.004cb470
mov ecx, dword [esp + 0x6c]
add edx, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
push edx
call fcn.004cb470
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x58]
push ecx
push edx
push eax
call fcn.004cb470
mov ecx, dword [esp + 0x64]
sub ecx, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
add eax, edx
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x2c]
sar eax, 1
sar edx, 1
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
add edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esp + 0x14]
add edx, ecx
mov dword [ebp + 0xc], edx
sub eax, dword [esp + 0x10]
sub ecx, dword [esp + 0x14]
add ebp, 0x10
cmp ebp, ebx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jb 0x456465
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret