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

Disassembly:
mov eax, 0x64
call fcn.0045c6a0
mov eax, dword [0x53e01c]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov esi, dword [esp + 0x74]
push edi
mov edi, dword [esp + 0x7c]
push ebp
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x50], 0
call fcn.00464ae0
push ebp
call fcn.00464960
mov ebp, eax
add esp, 8
mov dword [esp + 0x34], ebp
test ebp, ebp
je 0x4a346b
push ebx
mov ebx, dword [esp + 0x48]
push ebx
call fcn.00464960
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
je 0x4a346a
push ebx
call fcn.00464960
mov ebx, eax
add esp, 4
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x4a346a
push dword [esp + 0x48]
call fcn.00464960
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
je 0x4a346a
push 6
lea eax, [esp + 0x5c]
push eax
push edi
call fcn.004a3cb0
add esp, 0xc
test eax, eax
je 0x4a344f
cmp eax, 6
jg 0x4a344f
lea eax, [esp + 0x58]
push eax
push esi
push ebx
call fcn.004a2b10
add esp, 0xc
test eax, eax
je 0x4a346a
cmp dword [ebx + 4], 0
je 0x4a346a
mov esi, dword [esp + 0x34]
push edi
push esi
call fcn.00462630
add esp, 8
test eax, eax
je 0x4a346a
push ebx
call fcn.004629b0
mov ebx, eax
push esi
mov dword [esp + 0x20], ebx
call fcn.004629b0
mov edx, dword [esp + 0x38]
add esp, 8
mov edi, dword [edi + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x10], edi
cmp edi, dword [edx + 8]
jle 0x4a3099
push edi
push edx
call fcn.00462cb0
add esp, 8
test eax, eax
je 0x4a346a
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
mov esi, dword [edx]
mov dword [esp + 0x40], esi
cmp eax, edi
jge 0x4a30b7
mov ecx, dword [esp + 0x10]
lea edi, [esi + eax*4]
sub ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
mov dword [edx + 4], edi
cmp edi, dword [ebp + 8]
jle 0x4a30d1
push edi
push ebp
call fcn.00462cb0
add esp, 8
test eax, eax
je 0x4a346a
mov ebp, dword [ebp]
mov dword [esp + 0x24], ebp
mov dword [ebp], 1
cmp edi, 1
jle 0x4a30f2
lea ecx, [edi - 1]
xor eax, eax
lea edi, [ebp + 4]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
mov dword [eax + 4], edi
mov eax, dword [esp + 0x28]
cmp edi, dword [eax + 8]
jle 0x4a3118
push edi
push eax
call fcn.00462cb0
add esp, 8
test eax, eax
je 0x4a346a
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 0x20], edx
test edi, edi
jle 0x4a3132
mov ecx, edi
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov dword [eax + 4], edi
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
nop
test ebx, ebx
je 0x4a3220
nop dword [eax + eax]
mov ebx, dword [esi]
test bl, 1
jne 0x4a3218
mov ecx, dword [esp + 0x4c]
lea edx, [edi - 1]
mov eax, dword [ebp]
mov ebp, eax
and ebp, 1
neg ebp
mov ecx, dword [ecx]
mov ecx, dword [ecx]
and ecx, ebp
xor eax, ecx
xor ecx, ecx
mov dword [esp + 0x3c], ecx
test edx, edx
jle 0x4a31f6
mov ecx, dword [esp + 0x24]
mov edx, esi
sub edx, ecx
mov dword [esp + 0x1c], edx
lea edi, [ecx + 4]
mov ecx, 0xfffffffc
sub ecx, dword [esp + 0x24]
mov dword [esp + 0x2c], ecx
nop word [eax + eax]
mov edx, dword [edx + edi]
lea edi, [edi + 4]
mov ecx, edx
shr ebx, 1
shl ecx, 0x1f
or ecx, ebx
shr eax, 1
mov ebx, dword [esp + 0x3c]
mov dword [esi + ebx*4], ecx
mov ebx, edx
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x40]
mov ecx, dword [ecx]
add ecx, dword [esp + 0x2c]
mov edx, dword [ecx + edi]
and edx, ebp
xor edx, dword [edi - 4]
mov ecx, edx
shl ecx, 0x1f
or ecx, eax
mov eax, edx
mov edx, dword [esp + 0x10]
mov dword [edi - 8], ecx
dec edx
mov ecx, dword [esp + 0x3c]
inc ecx
cmp ecx, edx
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x1c]
jl 0x4a31a0
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x24]
shr ebx, 1
mov dword [esi + ecx*4], ebx
mov ebx, dword [esp + 0x18]
shr eax, 1
sub ebx, 1
mov dword [ebp + ecx*4], eax
mov dword [esp + 0x18], ebx
jne 0x4a3150
jmp 0x4a321c
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp ebx, 0x20
jg 0x4a3238
mov eax, dword [esi]
test eax, eax
je 0x4a346a
cmp eax, 1
je 0x4a3405
mov edx, dword [esp + 0x44]
cmp ebx, edx
jge 0x4a3288
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x44], ebx
mov ebx, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x30], edx
mov edx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], esi
mov esi, ecx
mov dword [esp + 0x18], ebx
mov ecx, dword [edx]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax]
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ecx
jmp 0x4a328c
mov ecx, dword [esp + 0x20]
xor edx, edx
test edi, edi
jle 0x4a33b6
cmp edi, 4
jb 0x4a3377
lea ebx, [edi - 1]
lea eax, [edi*4 - 4]
lea ebx, [ecx + ebx*4]
add eax, ebp
cmp ebp, ebx
ja 0x4a32ba
cmp eax, ecx
jae 0x4a3377
lea ecx, [edi - 1]
lea ecx, [esi + ecx*4]
cmp ebp, ecx
ja 0x4a32cc
cmp eax, esi
jae 0x4a3377
mov esi, dword [esp + 0x14]
sub esi, 4
lea edi, [esi + edi*4]
mov esi, dword [esp + 0x40]
cmp ebp, edi
ja 0x4a32e8
cmp eax, dword [esp + 0x14]
jae 0x4a3373
cmp esi, ebx
mov ebx, dword [esp + 0x20]
ja 0x4a32f8
cmp ecx, ebx
jae 0x4a3373
cmp esi, edi
ja 0x4a3302
cmp ecx, dword [esp + 0x14]
jae 0x4a3373
mov ecx, dword [esp + 0x10]
mov eax, ecx
and eax, 0x80000003
jns 0x4a3314
dec eax
or eax, 0xfffffffc
inc eax
mov edi, dword [esp + 0x14]
sub ecx, eax
mov dword [esp + 0x1c], ecx
sub edi, esi
mov ecx, ebp
sub ebx, esi
sub ecx, esi
mov eax, esi
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x2c]
movups xmm0, xmmword [eax]
add edx, 4
lea eax, [eax + 0x10]
movups xmm1, xmmword [edi + eax - 0x10]
pxor xmm1, xmm0
movups xmm0, xmmword [eax + ebp - 0x10]
movups xmmword [eax - 0x10], xmm1
movups xmm1, xmmword [ebx + eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax + ebp - 0x10], xmm1
cmp edx, ecx
jl 0x4a3334
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x1c], edx
cmp edx, edi
jge 0x4a33b2
jmp 0x4a3377
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
lea ecx, [esi + edx*4]
mov eax, dword [esp + 0x20]
sub ebp, esi
sub eax, esi
mov dword [esp + 0x2c], ebp
sub ebx, esi
mov dword [esp + 0x1c], eax
sub edi, edx
mov edx, eax
mov eax, dword [ecx + ebx]
lea ecx, [ecx + 4]
xor dword [ecx - 4], eax
mov eax, dword [ecx + edx - 4]
xor dword [ecx + ebp - 4], eax
sub edi, 1
jne 0x4a3394
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp ebx, dword [esp + 0x44]
jne 0x4a3140
lea eax, [ebx - 1]
cdq
and edx, 0x1f
lea edi, [edx + eax]
sar edi, 5
mov eax, dword [esi + edi*4]
test eax, eax
jne 0x4a33e5
test edi, edi
je 0x4a33e5
mov eax, dword [esi + edi*4 - 4]
dec edi
test eax, eax
je 0x4a33d8
push eax
call fcn.00462a20
mov ecx, dword [esp + 0x18]
add esp, 4
shl edi, 5
lea ebx, [edi + eax]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
jmp 0x4a3140
mov ebx, dword [esp + 0x38]
mov ecx, dword [ebx + 4]
test ecx, ecx
jle 0x4a342b
mov eax, dword [ebx]
lea edx, [ecx - 1]
lea edx, [eax + edx*4]
mov eax, dword [edx]
lea edx, [edx - 4]
test eax, eax
jne 0x4a3426
dec ecx
test ecx, ecx
jg 0x4a3418
mov dword [ebx + 4], ecx
test ecx, ecx
jne 0x4a3434
mov dword [ebx + 0xc], 0
push ebx
push dword [esp + 0x58]
call fcn.00462630
add esp, 8
test eax, eax
je 0x4a346a
mov dword [esp + 0x50], 1
jmp 0x4a346a
push 0x1dd
push 0x514b20
push 0x6a
push 0x83
push 3
call fcn.00461f80
add esp, 0x14
pop ebx
push dword [esp + 0x44]
call fcn.00464880
mov ecx, dword [esp + 0x70]
add esp, 4
mov eax, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0045b5b0
add esp, 0x64
ret