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

Disassembly:
sub esp, 0x5c
push ebp
mov ebp, ecx
mov eax, dword [ebp + 4]
test eax, eax
mov dword [esp + 0xc], ebp
jne 0x457b6d
mov eax, 2
pop ebp
add esp, 0x5c
ret 0x20
push ebx
mov ebx, dword [esp + 0x78]
mov eax, dword [ebx + 4]
test eax, eax
jne 0x457b86
pop ebx
mov eax, 3
pop ebp
add esp, 0x5c
ret 0x20
mov edx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov dword [esp + 8], edx
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x20], edx
mov edx, dword [ebx + 0x14]
mov dword [esp + 0xc], edx
mov dword [esp + 0x24], edx
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
call fcn.00457860
test eax, eax
jne 0x457c07
pop ebx
mov eax, 4
pop ebp
add esp, 0x5c
ret 0x20
mov eax, dword [esp + 0x84]
sub eax, 0
push esi
push edi
je 0x457de8
dec eax
je 0x457c2b
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
add esp, 0x5c
ret 0x20
mov ecx, dword [esp + 0x44]
mov eax, ecx
cdq
and edx, 3
add eax, edx
mov edi, eax
sar edi, 2
lea edx, [edi*4]
sub ecx, edx
test edi, edi
mov eax, ecx
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], edx
mov dword [esp + 0x70], eax
je 0x457d32
mov eax, dword [esp + 0x38]
push eax
mov ecx, ebp
call fcn.00446dd0
mov ecx, dword [esp + 0x40]
mov esi, eax
add esi, dword [esp + 0x34]
push ecx
mov ecx, ebx
mov dword [esp + 0x78], esi
call fcn.00446dd0
add eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
test ecx, ecx
mov dword [esp + 0x78], eax
jle 0x457d27
mov dword [esp + 0x7c], ecx
jmp 0x457ca0
test edi, edi
jle 0x457d04
mov ebx, eax
sub ebx, esi
mov eax, edi
lea ebx, [ebx]
mov edx, dword [ebx + esi]
mov edi, dword [esi]
mov ecx, edx
xor ecx, edi
shr ecx, 1
and ecx, 0x7f7f7f7f
mov ebp, edx
and ebp, edi
add ecx, ebp
shr ecx, 7
and ecx, 0x1010101
add ecx, 0x7f7f7f7f
xor ecx, 0x7f7f7f7f
sub edx, ecx
add edx, edi
or edx, ecx
mov dword [esi], edx
add esi, 4
dec eax
jne 0x457cb0
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x88]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add esi, ecx
mov ecx, dword [esp + 0x7c]
add eax, edx
dec ecx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
jne 0x457ca0
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x70]
test eax, eax
jle 0x457e46
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x457d4a
mov esi, dword [esp + 0x38]
mov ecx, dword [ecx + esi*4]
jmp 0x457d4c
xor ecx, ecx
lea edi, [edx + ecx]
add edi, dword [esp + 0x34]
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x457d63
mov esi, dword [esp + 0x40]
mov ecx, dword [ecx + esi*4]
jmp 0x457d65
xor ecx, ecx
add edx, ecx
add edx, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x74], ecx
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x48]
test ecx, ecx
jle 0x457e46
mov dword [esp + 0x80], ecx
lea esp, [esp]
test eax, eax
jle 0x457dbf
mov esi, edx
mov ecx, edi
sub esi, edi
mov ebx, eax
lea esp, [esp]
movzx eax, byte [ecx + esi]
movzx ebp, byte [ecx]
add eax, ebp
cmp eax, 0x100
jle 0x457db5
mov eax, 0xff
mov byte [ecx], al
inc ecx
dec ebx
jne 0x457da0
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x80]
add edi, ebx
add edx, esi
dec ecx
mov dword [esp + 0x80], ecx
jne 0x457d90
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 0x5c
ret 0x20
mov ebp, dword [ebp + 8]
test ebp, ebp
je 0x457df9
mov edx, dword [esp + 0x38]
mov edx, dword [ebp + edx*4]
jmp 0x457dfb
xor edx, edx
mov eax, dword [esp + 0x34]
mov ebx, dword [ebx + 8]
add edx, eax
test ebx, ebx
je 0x457e11
mov ecx, dword [esp + 0x40]
mov eax, dword [ebx + ecx*4]
jmp 0x457e13
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
add eax, ecx
test ebx, ebx
jle 0x457e46
mov ecx, dword [esp + 0x44]
mov ebp, ecx
shr ecx, 2
mov esi, eax
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add edx, edi
add eax, esi
dec ebx
jne 0x457e21
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
add esp, 0x5c
ret 0x20