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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x260
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [ebp]
mov dword [esp + 0x58], ebp
cmp eax, dword [ebp + 4]
je 0x64277c01
lea ecx, [esp + 0x104]
call fcn.6427892c
xor ebx, ebx
mov dword [esp + 0x32], 0x3b93aabc
xor eax, eax
mov dword [esp + 0x36], 0x315802f6
lea edi, [esp + 0x6e]
mov word [esp + 0x3a], 0x8e16
stosd dword es:[edi], eax
mov edx, 0x5ee5efc7
push 8
mov dword [esp + 0x60], ebx
pop esi
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x32]
mov dword [esp + 0x20], eax
mov edi, ebx
lea eax, [esp + 0x6e]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + edi]
mov eax, dword [esp + 0x14]
xor ecx, edx
mov dword [eax + edi], ecx
mov ecx, edx
shl ecx, 0xd
add edi, 4
xor ecx, edx
mov eax, ecx
shr eax, 0x11
xor ecx, eax
mov edx, ecx
shl edx, 5
xor edx, ecx
rol edx, 4
cmp edi, esi
jb 0x6427751f
lea eax, [esp + 0x32]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x6e]
push 0xa
mov dword [esp + 0x24], eax
pop edi
mov eax, dword [esp + 0x14]
mov cl, byte [eax + esi]
mov eax, dword [esp + 0x20]
xor cl, dl
shr edx, 8
mov byte [eax + esi], cl
inc esi
cmp esi, edi
jb 0x64277561
lea eax, [esp + 0x6e]
push eax
lea ecx, [esp + 0x7c]
call fcn.64273ffe
lea eax, [esp + 0x6e]
mov byte [eax], bl
inc eax
sub edi, 1
jne 0x6427758b
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ecx
cmp eax, ecx
je 0x64277adb
lea ebp, [eax + 0x1c]
cmp dword [ebp - 0xc], ebx
je 0x64277be8
mov eax, dword [ebp - 4]
cmp eax, dword [ebp]
je 0x64277be8
lea eax, [esp + 0x21b]
push eax
call fcn.64277c0b
push 0x55
mov edi, eax
lea eax, [esp + 0x1ca]
push ebx
push eax
call fcn.642922b1
lea eax, [esp + 0x1d2]
mov dword [esp + 0x20], edi
add esp, 0xc
mov dword [esp + 0x18], eax
mov edx, 0x19abd3c2
mov esi, ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + esi]
mov eax, dword [esp + 0x18]
xor ecx, edx
imul edx, edx, 0x41c64e6d
mov dword [eax + esi], ecx
add esi, 4
add edx, 0x3039
ror edx, 2
cmp esi, 0x54
jb 0x642775f9
mov dword [esp + 0x18], edi
lea eax, [esp + 0x1c6]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov cl, byte [eax + 0x54]
mov eax, dword [esp + 0x14]
xor cl, dl
mov byte [eax + 0x54], cl
lea eax, [esp + 0x1c6]
push eax
lea ecx, [esp + 0xac]
call fcn.64273ffe
push 0x55
pop ecx
lea eax, [esp + 0x1c6]
mov byte [eax], bl
inc eax
sub ecx, 1
jne 0x6427765d
xor eax, eax
mov dword [esp + 0x3c], 0x77315f10
lea edi, [esp + 0xc0]
mov dword [esp + 0x40], 0xaf7247fc
stosd dword es:[edi], eax
mov edx, 0x154246b
mov dword [esp + 0x44], 0xee97c
mov esi, ebx
mov word [esp + 0x48], 0x804a
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x3c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + esi]
mov eax, dword [esp + 0x14]
xor ecx, edx
mov dword [eax + esi], ecx
mov ecx, edx
shl ecx, 0xd
add esi, 4
xor ecx, edx
mov eax, ecx
shr eax, 0x11
xor ecx, eax
mov edx, ecx
shl edx, 5
xor edx, ecx
neg edx
cmp esi, 0xc
jb 0x642776ac
lea eax, [esp + 0x3c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc0]
push 0xc
mov dword [esp + 0x18], eax
pop esi
mov eax, dword [esp + 0x18]
mov cl, byte [eax + esi]
mov eax, dword [esp + 0x14]
xor cl, dl
shr edx, 8
mov byte [eax + esi], cl
inc esi
cmp esi, 0xe
jb 0x642776f1
push dword [esp + 0x20]
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x124]
call fcn.64273ffe
mov edx, eax
lea ecx, [esp + 0xac]
call fcn.6427e7f4
pop ecx
lea ecx, [esp + 0x11c]
call fcn.64273636
push 0xe
pop ecx
lea eax, [esp + 0xc0]
mov byte [eax], bl
inc eax
sub ecx, 1
jne 0x64277747
lea ecx, [esp + 0x14c]
call fcn.6427ef9f
mov dword [esp + 0x28], eax
lea edi, [esp + 0xce]
xor eax, eax
mov dword [esp + 0x4a], 0x31ca9f4b
stosd dword es:[edi], eax
mov edx, 0x44a8e430
mov dword [esp + 0x4e], 0xdb23903d
mov esi, ebx
mov dword [esp + 0x52], 0xfba57697
mov word [esp + 0x56], 0xbfd2
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x4a]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xce]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + esi]
mov eax, dword [esp + 0x14]
xor ecx, edx
imul edx, edx, 0x41c64e6d
mov dword [eax + esi], ecx
add esi, 4
add edx, 0x3039
ror edx, 1
cmp esi, 0xc
jb 0x642777a6
lea eax, [esp + 0x4a]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xce]
push 0xc
mov dword [esp + 0x18], eax
pop esi
mov eax, dword [esp + 0x18]
mov cl, byte [eax + esi]
mov eax, dword [esp + 0x14]
xor cl, dl
shr edx, 8
mov byte [eax + esi], cl
inc esi
cmp esi, 0xe
jb 0x642777e2
lea eax, [esp + 0xce]
push eax
lea ecx, [esp + 0x138]
call fcn.64273ffe
push dword [esp + 0x28]
mov edx, eax
lea ecx, [esp + 0xac]
call fcn.6427e7f4
pop ecx
lea ecx, [esp + 0x134]
call fcn.64273636
push 0xe
pop ecx
lea eax, [esp + 0xce]
mov byte [eax], bl
inc eax
sub ecx, 1
jne 0x64277838
lea ecx, [esp + 0x14c]
call fcn.64273636
movaps xmm0, xmmword [0x648aea90]
lea edi, [esp + 0xf0]
xor eax, eax
mov dword [esp + 0xec], 0x896c6483
stosd dword es:[edi], eax
mov edx, 0x7d5ef95f
movups xmmword [esp + 0xdc], xmm0
mov esi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0xdc]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xf0]
mov dword [esp + 0x18], eax
mov ecx, edx
shl ecx, 0xd
xor ecx, edx
mov eax, ecx
shr eax, 0x11
xor ecx, eax
mov eax, dword [esp + 0x28]
mov edx, ecx
shl edx, 5
xor edx, ecx
mov ecx, dword [eax + esi]
not edx
mov eax, dword [esp + 0x18]
xor ecx, edx
mov dword [eax + esi], ecx
add esi, 4
cmp esi, 0x14
jb 0x64277891
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x16c]
call fcn.64273ffe
mov edx, eax
lea ecx, [esp + 0xac]
call fcn.6427e7f4
pop ecx
lea ecx, [esp + 0x164]
call fcn.64273636
push 0x14
pop ecx
lea eax, [esp + 0xf0]
mov byte [eax], bl
inc eax
sub ecx, 1
jne 0x64277901
mov eax, dword [ebp]
mov edi, ebx
mov esi, dword [ebp - 4]
mov dword [esp + 0x18], eax
cmp esi, eax
je 0x64277a4c
push 0x648ac8a0
lea ecx, [esp + 0x94]
call fcn.64273ffe
mov edx, esi
lea ecx, [esp + 0x17c]
call fcn.642737a8
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x64277947
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x98]
call fcn.64273923
lea ecx, [esp + 0x17c]
call fcn.64273636
cmp dword [esi + 0x30], ebx
mov eax, 0x648ac8a4
mov edx, 0x648ac8a8
cmovne edx, eax
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6427797a
sub ecx, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x98]
call fcn.64273923
lea edx, [esi + 0x18]
lea ecx, [esp + 0x194]
call fcn.642737a8
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x642779ad
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x98]
call fcn.64273923
lea ecx, [esp + 0x194]
call fcn.64273636
cmp dword [esi + 0x30], ebx
jne 0x642779df
push 1
push 0x648ac8a0
lea ecx, [esp + 0x98]
call fcn.64273923
mov eax, dword [ebp]
sub eax, dword [ebp - 4]
push 0x34
cdq
pop ecx
idiv ecx
mov ecx, edi
dec eax
inc edi
cmp ecx, eax
jae 0x64277a06
push 1
push 0x648ac8b0
lea ecx, [esp + 0x98]
call fcn.64273923
cmp dword [esp + 0xa4], 0x10
lea eax, [esp + 0x90]
push dword [esp + 0xa0]
cmovae eax, dword [esp + 0x94]
lea ecx, [esp + 0xac]
push eax
call fcn.64273923
lea ecx, [esp + 0x90]
call fcn.64273636
push 0x34
pop eax
add esi, eax
cmp esi, dword [esp + 0x18]
jne 0x6427791d
push 1
push 0x648ac8ac
lea ecx, [esp + 0xb0]
call fcn.64273923
cmp dword [esp + 0xbc], 0x10
lea eax, [esp + 0xa8]
push dword [esp + 0xb8]
cmovae eax, dword [esp + 0xac]
lea ecx, [esp + 0x7c]
push eax
call fcn.64273923
mov ecx, dword [esp + 0x58]
push 0x24
pop esi
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
cdq
idiv esi
mov edx, dword [esp + 0x5c]
mov ecx, edx
dec eax
inc edx
mov dword [esp + 0x5c], edx
cmp ecx, eax
jae 0x64277ab9
push 1
push 0x648ac8b0
lea ecx, [esp + 0x80]
call fcn.64273923
lea ecx, [esp + 0xa8]
call fcn.64273636
mov eax, dword [esp + 0x20]
add ebp, esi
add eax, esi
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x2c]
jne 0x642775ac
mov word [esp + 0x1d], bx
lea eax, [esp + 0x25]
mov byte [esp + 0x1f], bl
mov edx, ebx
mov word [esp + 0x25], 0x767
mov ebx, 0x60d57a3a
mov byte [esp + 0x27], 0xd5
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x1d]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x25]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x1d]
push 3
mov dword [esp + 0x5c], eax
pop esi
mov eax, dword [esp + 0x2c]
mov cl, byte [eax + edx]
mov eax, dword [esp + 0x58]
xor cl, bl
shr ebx, 8
mov byte [eax + edx], cl
inc edx
cmp edx, esi
jb 0x64277b1a
lea eax, [esp + 0x1d]
push eax
lea ecx, [esp + 0x1b0]
call fcn.64273ffe
push 0
pop ebx
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x64277b51
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x80]
call fcn.64273923
lea ecx, [esp + 0x1ac]
call fcn.64273636
lea eax, [esp + 0x1d]
mov byte [eax], bl
inc eax
sub esi, 1
jne 0x64277b6f
cmp dword [esp + 0x8c], 0x10
lea ecx, [esp + 0x78]
mov edi, dword [esp + 0x88]
lea esi, [esp + 0x78]
cmovae ecx, dword [esp + 0x78]
add edi, ecx
mov dword [esp + 0x60], ebx
cmp dword [esp + 0x8c], 0x10
lea ecx, [esp + 0x60]
mov dword [esp + 0x64], ebx
cmovae esi, dword [esp + 0x78]
sub edi, esi
mov dword [esp + 0x68], ebx
push edi
call fcn.64274791
test al, al
je 0x64277bd4
push edi
push esi
mov esi, dword [esp + 0x68]
push esi
call fcn.64292211
lea eax, [esi + edi]
add esp, 0xc
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x60]
call fcn.642789a1
lea ecx, [esp + 0x60]
mov bl, al
call fcn.64274770
lea ecx, [esp + 0x78]
call fcn.64273636
lea ecx, [esp + 0x104]
call fcn.64273636
mov al, bl
jmp 0x64277c03
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret