Function at 0x1004b210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063918
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x10075604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov bh, 0x56
mov byte [ebp - 0xd], 0x51
mov byte [ebp - 0xe], bh
mov al, 0x47
mov bh, byte [ebp - 0xd]
mov dl, 0x5d
mov byte [ebp - 0x28], 0x33
mov bl, 0x6c
xor bh, byte [ebp - 0x28]
mov ah, 0x50
xor al, byte [ebp - 0x28]
mov dh, 0x5f
mov byte [ebp - 0xd], bh
mov cl, 0x5c
mov byte [ebp - 0x27], bh
mov ch, 0x40
mov bh, byte [ebp - 0xe]
mov byte [ebp - 0x26], al
mov al, byte [ebp - 0x28]
xor dl, al
mov byte [ebp - 0x1e], 0
xor bl, al
mov byte [ebp - 0x25], dl
xor ah, al
mov byte [ebp - 0x24], bl
xor dh, al
mov byte [ebp - 0x23], ah
xor cl, al
mov byte [ebp - 0x22], dh
xor ch, al
mov byte [ebp - 0x21], cl
xor bh, al
mov byte [ebp - 0x20], ch
cmp byte [ebp - 0xd], 0
mov byte [ebp - 0x1f], bh
mov byte [ebp - 0x1e], 0
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
jne 0x1004b2b4
xor ecx, ecx
jmp 0x1004b2c9
lea ecx, [ebp - 0x27]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b2c0
sub ecx, edx
push ecx
lea eax, [ebp - 0x27]
push eax
lea ecx, [ebp - 0x50]
call fcn.10002800
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
push eax
push dword [esi]
call fcn.10012430
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1004b30c
inc eax
push 1
push eax
push dword [ebp - 0x50]
call fcn.10002610
add esp, 0xc
mov cl, 0x4b
mov dword [ebp - 0x28], 0x222f2e4b
mov dword [ebp - 0x24], 0x2e38143f
xor eax, eax
mov dword [ebp - 0x20], 0x2328392a
mov byte [ebp - 0x1c], 0
nop dword [eax]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0xb
jae 0x1004b33f
mov cl, byte [ebp - 0x28]
jmp 0x1004b330
cmp byte [ebp - 0x27], 0
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
jne 0x1004b35f
xor ecx, ecx
jmp 0x1004b36e
lea ecx, [ebp - 0x27]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b365
sub ecx, edx
push ecx
lea eax, [ebp - 0x27]
push eax
lea ecx, [ebp - 0x50]
call fcn.10002800
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 1
push eax
push dword [esi]
call fcn.10012430
mov dword [esi + 0x10], eax
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1004b3b1
inc eax
push 1
push eax
push dword [ebp - 0x50]
call fcn.10002610
add esp, 0xc
mov bh, 0x4b
mov byte [ebp - 0x28], 0x28
mov byte [ebp - 0xe], bh
mov al, 0x5c
xor al, byte [ebp - 0x28]
mov cl, 0x46
mov byte [ebp - 0xd], 0x4a
mov dl, 0x77
mov bh, byte [ebp - 0xd]
mov bl, 0x5b
xor bh, byte [ebp - 0x28]
mov ah, 0x4d
mov byte [ebp - 0xd], bh
mov ch, 0x49
mov byte [ebp - 0x26], al
mov dh, 0x5a
mov al, byte [ebp - 0x28]
mov byte [ebp - 0x27], bh
xor cl, al
mov bh, byte [ebp - 0xe]
xor dl, al
xor bl, al
mov byte [ebp - 0xf], 0x40
xor ah, al
mov byte [ebp - 0x1d], 0
xor ch, al
mov byte [ebp - 0x25], cl
xor dh, al
mov byte [ebp - 0x24], dl
xor bh, al
mov byte [ebp - 0x23], bl
mov al, byte [ebp - 0xf]
xor al, byte [ebp - 0x28]
cmp byte [ebp - 0xd], 0
mov byte [ebp - 0x22], ah
mov byte [ebp - 0x21], ch
mov byte [ebp - 0x20], dh
mov byte [ebp - 0x1f], bh
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
jne 0x1004b438
xor ecx, ecx
jmp 0x1004b449
lea ecx, [ebp - 0x27]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b440
sub ecx, edx
push ecx
lea eax, [ebp - 0x27]
push eax
lea ecx, [ebp - 0x50]
call fcn.10002800
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 2
push eax
push dword [esi]
call fcn.10012430
mov dword [esi + 8], eax
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1004b48c
inc eax
push 1
push eax
push dword [ebp - 0x50]
call fcn.10002610
add esp, 0xc
movaps xmm0, xmmword [str.S_0_____f___6_]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
nop dword [eax]
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0xe
jb 0x1004b4a0
cmp byte [ebp - 0x2b], 0
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
jne 0x1004b4cd
xor ecx, ecx
jmp 0x1004b4dc
lea ecx, [ebp - 0x2b]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b4d3
sub ecx, edx
push ecx
lea eax, [ebp - 0x2b]
push eax
lea ecx, [ebp - 0x50]
call fcn.10002800
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 3
push eax
push dword [esi]
call fcn.10012430
mov dword [esi + 0x14], eax
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1004b51f
inc eax
push 1
push eax
push dword [ebp - 0x50]
call fcn.10002610
add esp, 0xc
xor al, al
mov byte [ebp - 0xd], al
movzx eax, al
mov cl, 0x27
push eax
mov dword [ebp - 0x14], eax
mov dl, 0x26
mov byte [ebp - 0x28], 0x48
mov al, 5
xor al, byte [ebp - 0x28]
mov dh, 0x3a
xor cl, byte [ebp - 0x28]
sub esp, 0x18
mov byte [ebp - 0x27], al
mov bl, 0x3b
mov byte [ebp - 0x26], cl
mov ah, 0x3c
mov cl, byte [ebp - 0x28]
mov ch, 0x2d
mov byte [ebp - 0xf], 0x6d
xor dl, cl
mov al, byte [ebp - 0xf]
xor dh, cl
mov byte [ebp - 0x25], dl
xor al, cl
mov byte [ebp - 0x1f], al
mov bh, 0x17
mov byte [ebp - 0x21], dh
xor bl, cl
mov edx, esp
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0xe], 0x2c
xor ah, cl
mov al, byte [ebp - 0xe]
xor ch, cl
mov byte [ebp - 0x24], bl
xor bh, cl
mov byte [ebp - 0x23], ah
xor al, cl
mov byte [ebp - 0x22], ch
mov byte [ebp - 0x20], bh
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1d], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1004b5b7
mov eax, dword [edx]
jmp 0x1004b5b9
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x27], 0
jne 0x1004b5c6
xor ecx, ecx
jmp 0x1004b5d9
lea ecx, [ebp - 0x27]
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b5d0
sub ecx, edi
push ecx
lea eax, [ebp - 0x27]
mov ecx, edx
push eax
call fcn.10002800
lea eax, [ebp - 0x50]
push eax
call fcn.10031980
push eax
push dword [esi]
mov dword [ebp - 4], 4
call fcn.10012430
mov ecx, dword [ebp - 0x14]
add esp, 0x28
mov dword [ebp - 4], 0xffffffff
mov dword [esi + ecx*4 + 0x18], eax
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x1004b654
mov ecx, dword [ebp - 0x50]
inc eax
cmp eax, 0x1000
jb 0x1004b64b
test cl, 0x1f
jne 0x1004b71d
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x1004b71d
sub ecx, eax
cmp ecx, 4
jb 0x1004b71d
cmp ecx, 0x23
ja 0x1004b71d
mov ecx, eax
push ecx
call fcn.1005e746
add esp, 4
mov al, byte [ebp - 0xd]
add al, 1
mov byte [ebp - 0xd], al
cmp al, 5
jb 0x1004b524
mov byte [ebp - 0x24], 0x4b
mov al, 0x3f
xor al, byte [ebp - 0x24]
mov bh, 0x29
xor bh, byte [ebp - 0x24]
mov cl, 0x25
mov byte [ebp - 0x22], al
mov dl, 0x14
mov al, byte [ebp - 0x24]
mov bl, 0x2f
mov ah, 0x39
mov byte [ebp - 0x1b], 0
mov ch, 0x24
mov byte [ebp - 0x23], bh
mov dh, 0x3b
mov byte [ebp - 0x1b], 0
xor cl, al
mov dword [ebp - 0x3c], 0xf
xor dl, al
mov byte [ebp - 0x21], cl
xor bl, al
mov byte [ebp - 0x20], dl
xor ah, al
mov byte [ebp - 0x1f], bl
xor ch, al
mov byte [ebp - 0x1e], ah
xor dh, al
mov byte [ebp - 0x1d], ch
mov byte [ebp - 0x1c], dh
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
test bh, bh
jne 0x1004b6c7
xor ecx, ecx
jmp 0x1004b6d9
lea ecx, [ebp - 0x23]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b6d0
sub ecx, edx
push ecx
lea eax, [ebp - 0x23]
push eax
lea ecx, [ebp - 0x50]
call fcn.10002800
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 5
push eax
push dword [esi]
call fcn.10012430
mov dword [esi + 0xc], eax
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1004b753
mov ecx, dword [ebp - 0x50]
inc eax
cmp eax, 0x1000
jb 0x1004b74a
test cl, 0x1f
je 0x1004b723
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1004b730
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sub ecx, eax
cmp ecx, 4
jae 0x1004b73d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp ecx, 0x23
jbe 0x1004b748
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, eax
push ecx
call fcn.1005e746
add esp, 4
movaps xmm0, xmmword [str.H_0_]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x1c], 0x2d
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x10
jb 0x1004b766
cmp byte [ebp - 0x2b], 0
mov byte [ebp - 0x1b], 0
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
jne 0x1004b793
xor ecx, ecx
jmp 0x1004b7a9
lea ecx, [ebp - 0x2b]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b7a0
sub ecx, edx
push ecx
lea eax, [ebp - 0x2b]
push eax
lea ecx, [ebp - 0x50]
call fcn.10002800
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 6
push eax
push dword [esi]
call fcn.10012430
mov dword [esi + 0x2c], eax
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1004b7ec
inc eax
push 1
push eax
push dword [ebp - 0x50]
call fcn.10002610
add esp, 0xc
mov bl, 0x46
mov byte [ebp - 0xd], 0x5e
mov bh, bl
mov byte [ebp - 0x28], 0x2a
mov byte [ebp - 0xf], bh
mov al, 0x52
mov bh, byte [ebp - 0xd]
mov ah, 0x4f
xor bh, byte [ebp - 0x28]
mov dh, ah
xor al, byte [ebp - 0x28]
mov cl, 0x5e
mov byte [ebp - 0xd], bh
mov dl, 0x75
mov byte [ebp - 0x27], bh
mov ch, 0x5c
mov bh, byte [ebp - 0xf]
mov byte [ebp - 0x26], al
mov al, byte [ebp - 0x28]
xor cl, al
mov byte [ebp - 0x1e], 0
xor dl, al
mov byte [ebp - 0x25], cl
xor bl, al
mov byte [ebp - 0x24], dl
xor ah, al
mov byte [ebp - 0x23], bl
xor ch, al
mov byte [ebp - 0x22], ah
xor dh, al
mov byte [ebp - 0x21], ch
xor bh, al
mov byte [ebp - 0x20], dh
cmp byte [ebp - 0xd], 0
mov byte [ebp - 0x1f], bh
mov byte [ebp - 0x1e], 0
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
jne 0x1004b866
xor ecx, ecx
jmp 0x1004b879
lea ecx, [ebp - 0x27]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b870
sub ecx, edx
push ecx
lea eax, [ebp - 0x27]
push eax
lea ecx, [ebp - 0x50]
call fcn.10002800
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 7
push eax
push dword [esi]
call fcn.10012430
mov dword [esi + 0x30], eax
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1004b8bc
inc eax
push 1
push eax
push dword [ebp - 0x50]
call fcn.10002610
add esp, 0xc
mov al, 0x5e
mov byte [ebp - 0x28], 0x2a
mov dl, al
mov byte [ebp - 0xf], 0x4d
xor al, byte [ebp - 0x28]
mov cl, 0x52
xor cl, byte [ebp - 0x28]
mov ah, 0x4e
mov byte [ebp - 0x27], al
mov ch, 0x4b
mov al, byte [ebp - 0xf]
mov bh, ch
mov byte [ebp - 0x26], cl
mov dh, 0x47
mov cl, byte [ebp - 0x28]
mov bl, 0x75
xor al, cl
mov byte [ebp - 0xe], 0x4f
mov byte [ebp - 0x1f], al
xor ah, cl
mov al, byte [ebp - 0xe]
xor ch, cl
xor al, cl
mov byte [ebp - 0x23], ah
mov byte [ebp - 0x1e], al
xor dl, cl
xor bl, cl
mov byte [ebp - 0x22], ch
xor dh, cl
mov byte [ebp - 0x1d], 0
xor bh, cl
mov byte [ebp - 0x25], dl
lea eax, [ebp - 0x27]
mov byte [ebp - 0x24], bl
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 0x21], dh
mov byte [ebp - 0x20], bh
mov byte [ebp - 0x1d], 0
call fcn.100017e0
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 8
push eax
push dword [esi]
call fcn.10012430
mov dword [esi + 0x34], eax
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1004b95f
inc eax
push 1
push eax
push dword [ebp - 0x50]
call fcn.10002610
add esp, 0xc
mov cl, 0x40
mov dword [ebp - 0x28], 0x34383440
mov dword [ebp - 0x24], 0x2625241f
xor eax, eax
mov dword [ebp - 0x20], 0x25332e25
mov byte [ebp - 0x1c], 0
nop dword [eax]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0xb
jae 0x1004b98f
mov cl, byte [ebp - 0x28]
jmp 0x1004b980
lea eax, [ebp - 0x27]
mov byte [ebp - 0x1c], 0
push eax
lea ecx, [ebp - 0x50]
call fcn.100017e0
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 9
push eax
push dword [esi]
call fcn.10012430
mov dword [esi + 0x38], eax
add esp, 8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1004b9d5
inc eax
push 1
push eax
push dword [ebp - 0x50]
call fcn.10002610
add esp, 0xc
mov al, 0x16
mov byte [ebp - 0x38], 0x62
mov dl, al
mov byte [ebp - 0xf], al
xor al, byte [ebp - 0x38]
mov cl, 0x1a
xor cl, byte [ebp - 0x38]
mov ah, 0xa
mov byte [ebp - 0x37], al
mov ch, 7
mov al, byte [ebp - 0xf]
mov dh, 3
mov byte [ebp - 0x36], cl
mov bl, 0x3d
mov cl, byte [ebp - 0x38]
mov bh, 0xe
xor al, cl
mov byte [ebp - 0xe], ah
mov byte [ebp - 0x2f], al
xor ah, cl
mov al, byte [ebp - 0xe]
xor ch, cl
xor al, cl
mov byte [ebp - 0x33], ah
mov byte [ebp - 0x2e], al
xor dl, cl
xor bl, cl
mov byte [ebp - 0x32], ch
xor dh, cl
mov byte [ebp - 0x2d], 0
xor bh, cl
mov byte [ebp - 0x35], dl
lea eax, [ebp - 0x37]
mov byte [ebp - 0x34], bl
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 0x31], dh
mov byte [ebp - 0x30], bh
mov byte [ebp - 0x2d], 0
call fcn.100017e0
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0xa
push eax
push dword [esi]
call fcn.10012430
mov dword [esi + 0x3c], eax
add esp, 8
mov eax, dword [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x1004ba76
push 1
inc eax
push eax
push dword [ebp - 0x68]
call fcn.10002610
add esp, 0xc
push dword [esi]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
call fcn.10012630
or eax, 0x28
push eax
push dword [esi]
call fcn.10012aa0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret