Function at 0x572b63
Capabilities:
Encode data using xor
Hash data using sha256
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
mov ebp, ecx
push esi
push ebx
mov ebx, eax
mov ecx, 0x10
sub esp, 0x32c
mov eax, dword [esp + reloc.MSVCRT.dll_strncpy]
lea edi, reloc.MSVCRT.dll_strncpy
mov dword [esp + 0x80], 0x6a09e667
mov dword [esp + 0x84], 0xbb67ae85
mov dword [esp + 0x88], 0x3c6ef372
mov dword [esp + 0x8c], 0xa54ff53a
mov dword [esp + 0x90], 0x510e527f
mov dword [esp + 0x18], eax
mov eax, dword [esp + reloc.MSVCRT.dll_strncpy]
mov dword [esp + 0x94], 0x9b05688c
mov dword [esp + 0x98], 0x1f83d9ab
mov dword [esp + 0x9c], 0x5be0cd19
mov dword [esp + 0xa0], 0
mov dword [esp + 0x1c], eax
xor eax, eax
cmp edx, 0x40
rep stosd dword es:[edi], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xf0], 0x6a09e667
mov dword [esp + 0xf4], 0xbb67ae85
mov dword [esp + 0xf8], 0x3c6ef372
mov dword [esp + 0xfc], 0xa54ff53a
mov dword [esp + reloc.MSVCRT.dll_strncpy], 0x510e527f
mov dword [esp + reloc.MSVCRT.dll_strncpy], 0x9b05688c
mov dword [esp + reloc.MSVCRT.dll_strncpy], 0x1f83d9ab
mov dword [esp + reloc.MSVCRT.dll_strncpy], 0x5be0cd19
mov dword [esp + reloc.MSVCRT.dll_strncpy], 0
mov dword [esp + reloc.MSVCRT.dll_strncpy], 0
mov dword [esp + reloc.MSVCRT.dll_strncpy], 0
ja 0x572f98
lea eax, reloc.MSVCRT.dll_strncpy
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00582a1b
lea esi, reloc.MSVCRT.dll_strncpy
lea eax, reloc.MSVCRT.dll_strncpy
mov ebx, esi
lea esi, [esi]
lea edi, [edi]
xor byte [ebx], 0x36
add ebx, 1
cmp eax, ebx
jne 0x572cc3
lea edx, reloc.MSVCRT.dll_strncpy
lea eax, [esp + 0x80]
mov ecx, 0x40
call fcn.00572363
xor byte [esi], 0x6a
add esi, 1
cmp esi, ebx
jne 0x572ce5
lea eax, [esp + 0xf0]
lea edx, reloc.MSVCRT.dll_strncpy
mov ecx, 0x40
lea edi, reloc.MSVCRT.dll_strncpy
call fcn.00572363
mov ecx, 0x40
xor eax, eax
push edi
push ecx
rep stosb byte es:[edi], al
pop ecx
pop edi
mov ecx, 0x38
lea esi, [esp + 0x80]
lea eax, reloc.MSVCRT.dll_strncpy
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + reloc.MSVCRT.dll_strncpy]
mov edx, ebp
call fcn.00572363
mov eax, dword [esp + reloc.MSVCRT.dll_strncpy]
add eax, 0x1f
shr eax, 5
test eax, eax
mov dword [esp + 0x2c], eax
je 0x57304c
lea eax, reloc.MSVCRT.dll_strncpy
lea ebx, [esp + 0x40]
lea ebp, [esp + 0x60]
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
xor eax, 1
or eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov edi, dword [esp + 0x20]
lea edx, [esp + 0x3c]
mov ecx, 0x38
lea esi, reloc.MSVCRT.dll_strncpy
mov eax, edi
shr eax, 0x18
mov byte [esp + 0x3c], al
mov eax, edi
shr eax, 0x10
mov byte [esp + 0x3d], al
mov eax, edi
shr eax, 8
mov byte [esp + 0x3e], al
mov eax, edi
mov edi, dword [esp + 0x24]
mov byte [esp + 0x3f], al
lea eax, reloc.MSVCRT.dll_strncpy
rep movsd dword es:[edi], dword [esi]
mov ecx, 4
mov dword [esp + 0x24], eax
call fcn.00572363
lea eax, reloc.MSVCRT.dll_strncpy
mov edx, ebx
call fcn.00572b23
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x572eae
mov ecx, 0x38
lea edi, reloc.MSVCRT.dll_strncpy
lea esi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
lea esi, reloc.MSVCRT.dll_strncpy
mov ecx, 0x20
mov edx, ebp
mov eax, esi
call fcn.00572363
lea eax, reloc.MSVCRT.dll_strncpy
mov edx, ebp
call fcn.00572b23
xor eax, eax
nop
movzx edx, byte [ebx + eax]
xor dl, byte [ebp + eax]
mov byte [ebx + eax], dl
add eax, 1
cmp eax, 0x20
jne 0x572e73
add dword [esp + 0x10], 1
mov edi, dword [esp + 0x1c]
adc dword [esp + 0x14], 0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
xor edi, ecx
xor eax, edx
mov edx, edi
or edx, eax
jne 0x572e37
mov dword [esp + 0x24], esi
cmp dword [esp + reloc.MSVCRT.dll_strncpy], 0x20
mov eax, 0x20
cmovbe eax, dword [esp + reloc.MSVCRT.dll_strncpy]
cmp eax, 4
jae 0x572f44
test eax, eax
je 0x572ee0
movzx edx, byte [ebx]
mov edi, dword [esp + reloc.MSVCRT.dll_strncpy]
test al, 2
mov byte [edi], dl
jne 0x573036
add dword [esp + 0x20], 1
add dword [esp + reloc.MSVCRT.dll_strncpy], 0x20
mov eax, dword [esp + 0x20]
sub dword [esp + reloc.MSVCRT.dll_strncpy], 0x20
cmp dword [esp + 0x2c], eax
jae 0x572d81
xor eax, eax
mov ecx, 0x20
mov edi, ebx
push edi
push ecx
rep stosb byte es:[edi], al
pop ecx
pop edi
mov edi, ebp
push edi
push ecx
rep stosb byte es:[edi], al
pop ecx
pop edi
mov ecx, 0xe0
lea edi, [esp + 0x80]
push edi
push ecx
rep stosb byte es:[edi], al
pop ecx
pop edi
lea edi, reloc.MSVCRT.dll_strncpy
push edi
push ecx
rep stosb byte es:[edi], al
pop ecx
pop edi
add esp, 0x32c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebx]
mov edi, dword [esp + reloc.MSVCRT.dll_strncpy]
mov dword [edi], edx
mov edx, dword [ebx + eax - 4]
mov ecx, dword [esp + reloc.MSVCRT.dll_strncpy]
mov dword [ecx + eax - 4], edx
mov edi, dword [esp + reloc.MSVCRT.dll_strncpy]
mov ecx, ebx
lea edx, [edi + 4]
mov esi, edi
and edx, 0xfffffffc
sub esi, edx
add eax, esi
sub ecx, esi
and eax, 0xfffffffc
cmp eax, 4
jb 0x572ee0
and eax, 0xfffffffc
xor esi, esi
mov edi, dword [ecx + esi]
mov dword [edx + esi], edi
add esi, 4
cmp esi, eax
jb 0x572f86
jmp 0x572ee0
lea eax, reloc.MSVCRT.dll_strncpy
mov ecx, edx
mov edx, ebx
mov dword [esp + reloc.MSVCRT.dll_strncpy], 0x6a09e667
mov dword [esp + reloc.MSVCRT.dll_strncpy], 0xbb67ae85
mov edi, eax
mov dword [esp + reloc.MSVCRT.dll_strncpy], 0x3c6ef372
mov dword [esp + reloc.MSVCRT.dll_strncpy], 0xa54ff53a
mov dword [esp + reloc.MSVCRT.dll_strncpy], 0x510e527f
mov dword [esp + reloc.MSVCRT.dll_strncpy], 0x9b05688c
mov dword [esp + reloc.MSVCRT.dll_strncpy], 0x1f83d9ab
mov dword [esp + reloc.MSVCRT.dll_strncpy], 0x5be0cd19
mov dword [esp + reloc.MSVCRT.dll_strncpy], 0
mov dword [esp + reloc.MSVCRT.dll_strncpy], 0
mov dword [esp + reloc.MSVCRT.dll_strncpy], 0
call fcn.00572363
lea edx, reloc.MSVCRT.dll_strncpy
mov eax, edi
call fcn.00572903
jmp 0x572ca9
movzx edx, word [ebx + eax - 2]
mov edi, dword [esp + reloc.MSVCRT.dll_strncpy]
mov word [edi + eax - 2], dx
jmp 0x572ee0
lea ebx, [esp + 0x40]
lea ebp, [esp + 0x60]
jmp 0x572f03