Function at 0x10057bf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
mov bh, 0x22
mov byte [esp + 5], 0x25
mov byte [esp + 6], bh
mov al, 0x33
mov bh, byte [esp + 5]
mov dl, 0x29
mov byte [esp + 0x14], 0x47
mov bl, 0x18
xor bh, byte [esp + 0x14]
mov ah, 0x24
xor al, byte [esp + 0x14]
mov dh, 0x2b
push esi
mov esi, ecx
mov byte [esp + 9], bh
mov byte [esp + 0x19], bh
mov cl, 0x28
mov bh, byte [esp + 0xa]
mov ch, 0x34
mov byte [esp + 0x1a], al
mov al, byte [esp + 0x18]
xor dl, al
mov byte [esp + 0x22], 0
xor bl, al
mov byte [esp + 0x1b], dl
xor ah, al
mov byte [esp + 0x1c], bl
xor dh, al
mov byte [esp + 0x1d], ah
xor cl, al
mov byte [esp + 0x1e], dh
xor ch, al
mov byte [esp + 0x1f], cl
xor bh, al
mov byte [esp + 0x20], ch
cmp byte [esp + 9], 0
push edi
mov byte [esp + 0x25], bh
mov byte [esp + 0x26], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jne 0x10057c90
xor ecx, ecx
jmp 0x10057ca0
lea ecx, [esp + 0x1d]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10057c97
sub ecx, edx
push ecx
lea eax, [esp + 0x21]
push eax
lea ecx, [esp + 0x38]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x30]
call fcn.1001b710
mov dword [esi + 4], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x10057cd5
inc eax
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x34]
call fcn.10002720
mov cl, 0x5b
mov dword [esp + 0x1c], 0x323f3e5b
mov dword [esp + 0x20], 0x3e28042f
xor eax, eax
mov dword [esp + 0x24], 0x3338293a
mov byte [esp + 0x28], 0
xor byte [esp + eax + 0x1d], cl
inc eax
cmp eax, 0xb
jae 0x10057d06
mov cl, byte [esp + 0x1c]
jmp 0x10057cf6
cmp byte [esp + 0x1d], 0
mov byte [esp + 0x28], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jne 0x10057d2b
xor ecx, ecx
jmp 0x10057d3b
lea ecx, [esp + 0x1d]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10057d32
sub ecx, edx
push ecx
lea eax, [esp + 0x21]
push eax
lea ecx, [esp + 0x38]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x30]
call fcn.1001b710
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x10057d70
inc eax
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x34]
call fcn.10002720
mov bh, 0xa
mov byte [esp + 0x1c], 0x69
mov byte [esp + 0xe], bh
mov al, 0x1d
xor al, byte [esp + 0x1c]
mov cl, 7
mov byte [esp + 0xd], 0xb
mov dl, 0x36
mov bh, byte [esp + 0xd]
mov bl, 0x1a
xor bh, byte [esp + 0x1c]
mov ah, 0xc
mov byte [esp + 0xd], bh
mov ch, 8
mov byte [esp + 0x1e], al
mov dh, 0x1b
mov al, byte [esp + 0x1c]
mov byte [esp + 0x1d], bh
xor cl, al
mov bh, byte [esp + 0xe]
xor dl, al
xor bl, al
mov byte [esp + 0xf], 1
xor ah, al
mov byte [esp + 0x27], 0
xor ch, al
mov byte [esp + 0x1f], cl
xor dh, al
mov byte [esp + 0x20], dl
xor bh, al
mov byte [esp + 0x21], bl
mov al, byte [esp + 0xf]
xor al, byte [esp + 0x1c]
cmp byte [esp + 0xd], 0
mov byte [esp + 0x22], ah
mov byte [esp + 0x23], ch
mov byte [esp + 0x24], dh
mov byte [esp + 0x25], bh
mov byte [esp + 0x26], al
mov byte [esp + 0x27], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jne 0x10057e13
xor ecx, ecx
jmp 0x10057e29
lea ecx, [esp + 0x1d]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10057e20
sub ecx, edx
push ecx
lea eax, [esp + 0x21]
push eax
lea ecx, [esp + 0x38]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x30]
call fcn.1001b710
mov dword [esi + 8], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x10057e5e
inc eax
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x34]
call fcn.10002720
movaps xmm0, xmmword [str._O_NSPPcQSROHYN]
xor ecx, ecx
movups xmmword [esp + 0x1c], xmm0
nop dword [eax]
mov al, byte [esp + 0x1c]
xor byte [esp + ecx + 0x1d], al
inc ecx
cmp ecx, 0xe
jb 0x10057e70
cmp byte [esp + 0x1d], 0
mov byte [esp + 0x2b], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jne 0x10057ea3
xor ecx, ecx
jmp 0x10057eb9
lea ecx, [esp + 0x1d]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10057eb0
sub ecx, edx
push ecx
lea eax, [esp + 0x21]
push eax
lea ecx, [esp + 0x38]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x30]
call fcn.1001b710
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x10057eee
inc eax
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x34]
call fcn.10002720
xor eax, eax
mov dword [esp + 0x14], 5
mov dword [esp + 0x10], eax
lea edi, [esi + 0x18]
nop
push eax
mov byte [esp + 0x20], 0x3e
mov al, 0x73
xor al, byte [esp + 0x20]
mov cl, 0x51
xor cl, byte [esp + 0x20]
mov bl, 0x4d
mov byte [esp + 0x21], al
mov bh, 0x61
mov byte [esp + 0x22], cl
sub esp, 0x18
mov cl, byte [esp + 0x38]
mov dl, 0x50
mov byte [esp + 0x2b], 0x1b
xor bl, cl
mov al, byte [esp + 0x2b]
xor bh, cl
xor al, cl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x41], al
mov ah, 0x4a
mov byte [esp + 0x40], bh
mov ch, 0x5b
mov ebx, esp
mov byte [esp + 0x2a], 0x5a
mov al, byte [esp + 0x2a]
mov dh, 0x4c
mov byte [esp + 0x43], 0
xor dl, cl
xor ah, cl
mov byte [esp + 0x3b], dl
xor ch, cl
mov byte [esp + 0x3d], ah
xor dh, cl
mov byte [esp + 0x3e], ch
xor al, cl
mov byte [esp + 0x3f], dh
mov byte [esp + 0x42], al
mov byte [esp + 0x43], 0
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp byte [esp + 0x39], 0
jne 0x10057f97
xor ecx, ecx
jmp 0x10057fa9
lea ecx, [esp + 0x39]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10057fa0
sub ecx, edx
push ecx
lea eax, [esp + 0x3d]
mov ecx, ebx
push eax
call fcn.10002840
lea eax, [esp + 0x4c]
push eax
call fcn.1000f620
mov ecx, dword [esi]
add esp, 0x20
mov edx, eax
call fcn.1001b710
mov dword [edi], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x10057fe6
inc eax
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x34]
call fcn.10002720
mov eax, dword [esp + 0x10]
add edi, 4
inc eax
sub dword [esp + 0x14], 1
mov dword [esp + 0x10], eax
jne 0x10057f00
mov byte [esp + 0x1c], 0x4d
mov al, 0x39
xor al, byte [esp + 0x1c]
mov bh, 0x2f
xor bh, byte [esp + 0x1c]
mov cl, 0x23
mov byte [esp + 0x1e], al
mov dl, 0x12
mov al, byte [esp + 0x1c]
mov bl, 0x29
mov ah, 0x3f
mov byte [esp + 0x25], 0
mov ch, 0x22
mov byte [esp + 0x1d], bh
mov dh, 0x3d
mov byte [esp + 0x25], 0
xor cl, al
mov dword [esp + 0x44], 0xf
xor dl, al
mov byte [esp + 0x1f], cl
xor bl, al
mov byte [esp + 0x20], dl
xor ah, al
mov byte [esp + 0x21], bl
xor ch, al
mov byte [esp + 0x22], ah
xor dh, al
mov byte [esp + 0x23], ch
mov byte [esp + 0x24], dh
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
test bh, bh
jne 0x10058071
xor ecx, ecx
jmp 0x10058081
lea ecx, [esp + 0x1d]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10058078
sub ecx, edx
push ecx
lea eax, [esp + 0x21]
push eax
lea ecx, [esp + 0x38]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x30]
call fcn.1001b710
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x100580b6
inc eax
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x34]
call fcn.10002720
movaps xmm0, xmmword [0x100c9100]
xor ecx, ecx
movups xmmword [esp + 0x1c], xmm0
mov word [esp + 0x2c], 0x55
nop dword [eax + eax]
mov al, byte [esp + 0x1c]
xor byte [esp + ecx + 0x1d], al
inc ecx
cmp ecx, 0x10
jb 0x100580d0
cmp byte [esp + 0x1d], 0
mov byte [esp + 0x2d], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jne 0x10058103
xor ecx, ecx
jmp 0x10058119
lea ecx, [esp + 0x1d]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10058110
sub ecx, edx
push ecx
lea eax, [esp + 0x21]
push eax
lea ecx, [esp + 0x38]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x30]
call fcn.1001b710
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x1005814e
inc eax
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x34]
call fcn.10002720
mov bl, 6
mov byte [esp + 0xd], 0x1e
mov bh, bl
mov byte [esp + 0x1c], 0x6a
mov byte [esp + 0xf], bh
mov al, 0x12
mov bh, byte [esp + 0xd]
mov ah, 0xf
xor bh, byte [esp + 0x1c]
mov dh, ah
xor al, byte [esp + 0x1c]
mov cl, 0x1e
mov byte [esp + 0xd], bh
mov dl, 0x35
mov byte [esp + 0x1d], bh
mov ch, 0x1c
mov bh, byte [esp + 0xf]
mov byte [esp + 0x1e], al
mov al, byte [esp + 0x1c]
xor cl, al
mov byte [esp + 0x26], 0
xor dl, al
mov byte [esp + 0x1f], cl
xor bl, al
mov byte [esp + 0x20], dl
xor ah, al
mov byte [esp + 0x21], bl
xor ch, al
mov byte [esp + 0x22], ah
xor dh, al
mov byte [esp + 0x23], ch
xor bh, al
mov byte [esp + 0x24], dh
cmp byte [esp + 0xd], 0
mov byte [esp + 0x25], bh
mov byte [esp + 0x26], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jne 0x100581e0
xor ecx, ecx
jmp 0x100581f0
lea ecx, [esp + 0x1d]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100581e7
sub ecx, edx
push ecx
lea eax, [esp + 0x21]
push eax
lea ecx, [esp + 0x38]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x30]
call fcn.1001b710
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x10058225
inc eax
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x34]
call fcn.10002720
mov bh, 0x12
mov byte [esp + 0x1c], 0x75
mov byte [esp + 0xf], bh
mov al, 0xd
xor al, byte [esp + 0x1c]
mov ah, 0x14
mov byte [esp + 0xd], 1
mov dh, ah
mov bh, byte [esp + 0xd]
mov cl, 1
xor bh, byte [esp + 0x1c]
mov dl, 0x2a
mov byte [esp + 0xd], bh
mov bl, 0x11
mov byte [esp + 0x1e], al
mov ch, 0x18
mov al, byte [esp + 0x1c]
mov byte [esp + 0x1d], bh
xor cl, al
mov bh, byte [esp + 0xf]
xor dl, al
xor bl, al
mov byte [esp + 0xe], 0x10
xor ah, al
mov byte [esp + 0x27], 0
xor ch, al
mov byte [esp + 0x1f], cl
xor dh, al
mov byte [esp + 0x20], dl
xor bh, al
mov byte [esp + 0x21], bl
mov al, byte [esp + 0xe]
xor al, byte [esp + 0x1c]
cmp byte [esp + 0xd], 0
mov byte [esp + 0x22], ah
mov byte [esp + 0x23], ch
mov byte [esp + 0x24], dh
mov byte [esp + 0x25], bh
mov byte [esp + 0x26], al
mov byte [esp + 0x27], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jne 0x100582c8
xor ecx, ecx
jmp 0x100582d9
lea ecx, [esp + 0x1d]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100582d0
sub ecx, edx
push ecx
lea eax, [esp + 0x21]
push eax
lea ecx, [esp + 0x38]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x30]
call fcn.1001b710
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x1005830e
inc eax
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x34]
call fcn.10002720
mov cl, 0x19
mov dword [esp + 0x1c], 0x6d616d19
mov dword [esp + 0x20], 0x7f7c7d46
xor eax, eax
mov dword [esp + 0x24], 0x7c6a777c
mov byte [esp + 0x28], 0
nop
xor byte [esp + eax + 0x1d], cl
inc eax
cmp eax, 0xb
jae 0x10058340
mov cl, byte [esp + 0x1c]
jmp 0x10058330
cmp byte [esp + 0x1d], 0
mov byte [esp + 0x28], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jne 0x10058365
xor ecx, ecx
jmp 0x10058379
lea ecx, [esp + 0x1d]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10058370
sub ecx, edx
push ecx
lea eax, [esp + 0x21]
push eax
lea ecx, [esp + 0x38]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x30]
call fcn.1001b710
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x100583ae
inc eax
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x34]
call fcn.10002720
mov cl, 0x6d
mov byte [esp + 0x1c], 0x19
mov bh, cl
mov byte [esp + 0xd], 0x6d
mov byte [esp + 0xf], bh
mov al, 0x61
xor al, byte [esp + 0x1c]
mov bl, 0x71
mov bh, byte [esp + 0xd]
mov dl, 0x46
xor bh, byte [esp + 0x1c]
mov ah, 0x7c
mov byte [esp + 0xd], bh
mov ch, 0x78
mov byte [esp + 0x1e], al
mov dh, 0x75
mov al, byte [esp + 0x1c]
mov byte [esp + 0x1d], bh
xor cl, al
mov bh, byte [esp + 0xf]
xor dl, al
xor ah, al
mov byte [esp + 0xe], bl
xor bl, al
mov byte [esp + 0x27], 0
xor ch, al
mov byte [esp + 0x1f], cl
xor dh, al
mov byte [esp + 0x20], dl
xor bh, al
mov byte [esp + 0x21], bl
mov al, byte [esp + 0xe]
xor al, byte [esp + 0x1c]
cmp byte [esp + 0xd], 0
mov byte [esp + 0x22], ah
mov byte [esp + 0x23], ch
mov byte [esp + 0x24], dh
mov byte [esp + 0x25], bh
mov byte [esp + 0x26], al
mov byte [esp + 0x27], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jne 0x10058450
xor ecx, ecx
jmp 0x10058460
lea ecx, [esp + 0x1d]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10058457
sub ecx, edx
push ecx
lea eax, [esp + 0x21]
push eax
lea ecx, [esp + 0x38]
call fcn.10002840
mov ecx, dword [esi]
lea edx, [esp + 0x30]
call fcn.1001b710
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x10058495
inc eax
lea ecx, [esp + 0x30]
push eax
push dword [esp + 0x34]
call fcn.10002720
mov edi, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x100584b9
push 4
push edi
call ebx
test eax, eax
jne 0x100584b9
lea ecx, [edi + 0xd4]
call fcn.1001c490
mov edi, eax
jmp 0x100584bb
xor edi, edi
mov esi, dword [esi]
test esi, esi
je 0x100584d6
push 4
push esi
call ebx
test eax, eax
jne 0x100584d6
or edi, 0x28
mov ecx, esi
push edi
call dword [0x100c682c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret