Function at 0x10057210
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008bcb1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xa8
push esi
push edi
mov edi, dword [ebx + 8]
xor esi, esi
mov dword [ebp - 0x40], ecx
nop dword [eax]
push 0
xor edx, edx
mov ecx, edi
call fcn.100585e0
add esp, 4
mov ecx, 1
test eax, eax
cmove eax, ecx
add esi, eax
add edi, eax
cmp esi, 5
jb 0x10057250
mov edi, dword [ebx + 8]
push ecx
mov ecx, dword [ebp - 0x40]
push edi
mov dword [ebp - 0x70], esi
call fcn.10058e70
push esi
push edi
mov esi, eax
mov dword [ebp - 0x40], eax
push esi
call fcn.10058db0
add esi, eax
mov ecx, esi
mov dword [ebp - 0x40], esi
call fcn.100559c0
mov byte [ebp - 0x51], 0x7c
xor ecx, ecx
mov byte [ebp - 0x50], 0x81
mov byte [ebp - 0x4f], 0x7f
mov byte [ebp - 0x4e], 0x74
lea edi, [esi + eax]
mov byte [ebp - 0x4d], 0x2c
mov byte [ebp - 0x4c], 0x71
mov byte [ebp - 0x4b], 0x7f
mov byte [ebp - 0x4a], 0x7c
mov byte [ebp - 0x49], 0
mov al, byte [ebp - 0x51]
mov al, byte [ebp + ecx - 0x51]
sub al, 0xc
mov byte [ebp + ecx - 0x51], al
inc ecx
cmp ecx, 8
jb 0x100572c6
lea eax, [ebp - 0x51]
push eax
push edi
call fcn.10058350
add esp, 8
add edi, eax
push edi
push dword [ebx + 0xc]
call fcn.10055950
add edi, eax
mov dword [ebp - 0x3c], 5
mov eax, dword [ebp - 0x3c]
xor al, 0x74
mov byte [ebp - 0x38], al
mov eax, dword [ebp - 0x3c]
inc al
xor al, 0x65
mov byte [ebp - 0x37], al
mov eax, dword [ebp - 0x3c]
add al, 2
xor al, 0x73
mov byte [ebp - 0x36], al
mov eax, dword [ebp - 0x3c]
add al, 3
xor al, 0x74
mov byte [ebp - 0x35], al
mov eax, dword [ebp - 0x3c]
add al, 4
xor al, 0x20
mov byte [ebp - 0x34], al
mov eax, dword [ebp - 0x3c]
add al, 5
xor al, 0x65
mov byte [ebp - 0x33], al
mov eax, dword [ebp - 0x3c]
add al, 6
xor al, 0x61
mov byte [ebp - 0x32], al
mov eax, dword [ebp - 0x3c]
add al, 7
xor al, 0x78
mov byte [ebp - 0x31], al
mov eax, dword [ebp - 0x3c]
add al, 8
xor al, 0x2c
mov byte [ebp - 0x30], al
mov eax, dword [ebp - 0x3c]
add al, 9
xor al, 0x20
mov byte [ebp - 0x2f], al
mov eax, dword [ebp - 0x3c]
add al, 0xa
xor al, 0x65
mov byte [ebp - 0x2e], al
mov eax, dword [ebp - 0x3c]
add al, 0xb
xor al, 0x61
mov byte [ebp - 0x2d], al
mov eax, dword [ebp - 0x3c]
add al, 0xc
xor al, 0x78
mov byte [ebp - 0x2c], al
mov eax, dword [ebp - 0x3c]
add al, 0xd
xor al, 0x3b
mov byte [ebp - 0x2b], al
mov eax, dword [ebp - 0x3c]
add al, 0xe
xor al, 0x6a
mov byte [ebp - 0x2a], al
mov eax, dword [ebp - 0x3c]
add al, 0xf
xor al, 0x65
mov byte [ebp - 0x29], al
mov eax, dword [ebp - 0x3c]
add al, 0x10
xor al, 0x20
mov byte [ebp - 0x28], al
mov eax, dword [ebp - 0x3c]
add al, 0x11
xor al, 0x30
mov byte [ebp - 0x27], al
mov eax, dword [ebp - 0x3c]
add al, 0x12
xor al, 0x78
mov byte [ebp - 0x26], al
mov eax, dword [ebp - 0x3c]
add al, 0x13
xor al, 0x25
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0x3c]
add al, 0x14
mov byte [ebp - 0x23], 0
xor al, 0x78
xor edx, edx
mov byte [ebp - 0x24], al
mov al, byte [ebp - 0x38]
mov al, byte [ebp + edx - 0x38]
mov ecx, dword [ebp - 0x3c]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x38], cl
inc edx
cmp edx, 0x15
jb 0x100573d0
lea eax, [edi + 0x3e]
mov byte [ebp - 0x23], 0
push eax
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.10058350
add esp, 0xc
add edi, eax
mov ecx, edi
call fcn.10056580
mov esi, dword [ebx + 0x10]
add edi, eax
test esi, esi
je 0x10057473
mov dword [ebp - 0x64], 0x36
xor edx, edx
mov byte [ebp - 0x60], 0x44
mov byte [ebp - 0x5f], 0x53
mov byte [ebp - 0x5e], 0x42
mov byte [ebp - 0x5d], 0x16
mov byte [ebp - 0x5c], 6
mov byte [ebp - 0x5b], 0x4e
mov byte [ebp - 0x5a], 0x13
mov byte [ebp - 0x59], 0x4e
mov al, byte [ebp - 0x60]
mov byte [ebp - 0x58], 0
nop dword [eax]
mov al, byte [ebp + edx - 0x60]
mov ecx, dword [ebp - 0x64]
xor cl, al
mov byte [ebp + edx - 0x60], cl
inc edx
cmp edx, 8
jb 0x10057440
lea eax, [esi*4]
mov byte [ebp - 0x58], 0
push eax
lea eax, [ebp - 0x60]
push eax
push edi
call fcn.10058350
add esp, 0xc
mov esi, eax
jmp 0x10057666
mov dword [ebp - 0x18], 0x71
mov eax, dword [ebp - 0x18]
xor al, 0x72
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x18]
inc al
xor al, 0x65
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x18]
add al, 2
mov byte [ebp - 0x11], 0
xor al, 0x74
xor edx, edx
mov byte [ebp - 0x12], al
mov al, byte [ebp - 0x14]
nop
mov al, byte [ebp + edx - 0x14]
mov ecx, dword [ebp - 0x18]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x14], cl
inc edx
cmp edx, 3
jb 0x100574a0
mov esi, dword [sym.imp.msvcrt.dll_strlen]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
mov byte [ebp - 0x11], 0
push eax
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
call esi
add esp, 4
lea ecx, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10007ada
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0xc
mov eax, dword [ebp - 0x20]
xor al, 0x6e
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x20]
inc al
xor al, 0x6f
mov byte [ebp - 0x1b], al
mov eax, dword [ebp - 0x20]
add al, 2
mov byte [ebp - 0x19], 0
xor al, 0x70
xor edx, edx
mov byte [ebp - 0x1a], al
mov al, byte [ebp - 0x1c]
nop dword [eax]
mov al, byte [ebp + edx - 0x1c]
mov ecx, dword [ebp - 0x20]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x1c], cl
inc edx
cmp edx, 3
jb 0x10057530
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x19], 0
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0
push eax
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x8c], 0
call esi
add esp, 4
lea ecx, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10007ada
mov byte [ebp - 4], 1
xor edx, edx
mov dword [ebp - 0x48], 0x74
mov byte [ebp - 0x44], 0x1a
mov byte [ebp - 0x43], 0x1b
mov byte [ebp - 0x42], 4
mov al, byte [ebp - 0x44]
mov byte [ebp - 0x41], 0
mov al, byte [ebp + edx - 0x44]
mov ecx, dword [ebp - 0x48]
xor cl, al
mov byte [ebp + edx - 0x44], cl
inc edx
cmp edx, 3
jb 0x100575a0
lea eax, [ebp - 0x44]
mov byte [ebp - 0x41], 0
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
push eax
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0
call esi
add esp, 4
lea ecx, [ebp - 0x88]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10007ada
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x70]
mov eax, ecx
lea edx, [ebp - 0xb8]
mov dword [ebp - 0x6c], eax
sub ecx, edx
mov eax, edx
sub esp, 0xc
mov dword [ebp - 0x68], eax
mov esi, esp
mov eax, 0x2aaaaaab
imul ecx
lea ecx, [ebp - 0x6c]
mov dword [esi], 0
sar edx, 2
push ecx
mov eax, edx
mov dword [esi + 4], 0
shr eax, 0x1f
lea ecx, [ebp - 0x68]
push ecx
add eax, edx
mov dword [esi + 8], 0
push eax
mov ecx, esi
call fcn.100576c0
mov ecx, edi
call fcn.10058420
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov esi, eax
lea eax, [ebp - 0xb8]
push 0x10004f8b
push 3
push 0x18
push eax
call fcn.1007b07b
add esi, edi
mov ecx, esi
call fcn.10056580
lea edi, [esi + eax]
mov esi, dword [ebp - 0x70]
push esi
push dword [ebx + 8]
push edi
call fcn.10055880
add edi, eax
push edi
mov edi, dword [ebx + 8]
lea eax, [esi + edi]
push eax
call fcn.100558e0
mov eax, dword [ebp - 0x40]
push edi
push eax
call fcn.100558e0
sub esi, eax
mov edx, esi
lea ecx, [eax + edi]
call fcn.10058200
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10