Function at 0x10012510
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov byte [ebp - 0x18], 0x67
mov al, 5
xor al, byte [ebp - 0x18]
mov dl, 0x13
push ebx
mov byte [ebp - 0x17], al
mov dh, 4
mov al, byte [ebp - 0x18]
mov bl, 9
push esi
xor dl, al
mov byte [ebp - 0xe], 0
xor dh, al
mov byte [ebp - 0x16], dl
push edi
mov edi, ecx
mov byte [ebp - 0x13], dh
xor bl, al
mov byte [ebp - 1], 2
mov ah, 0x38
mov byte [ebp - 0x15], bl
xor ah, al
mov byte [ebp - 0xe], 0
mov bh, 0xb
mov byte [ebp - 0x14], ah
xor bh, al
mov cl, 8
xor cl, al
mov byte [ebp - 0x12], bh
mov ch, 0x14
mov byte [ebp - 0x11], cl
xor ch, al
sub esp, 0x18
mov al, byte [ebp - 1]
mov edx, esp
xor al, byte [ebp - 0x18]
mov byte [ebp - 0x10], ch
mov byte [ebp - 0xf], al
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 0x1001259b
mov eax, dword [edx]
jmp 0x1001259d
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x17], 0
jne 0x100125aa
xor ecx, ecx
jmp 0x100125b9
lea ecx, [ebp - 0x17]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100125b0
sub ecx, esi
push ecx
lea eax, [ebp - 0x17]
mov ecx, edx
push eax
call fcn.10004e40
mov ecx, dword [edi + 0x20]
call fcn.1000db70
mov dword [edi], eax
xor dl, dl
mov byte [ebp - 0x18], 0x6e
mov al, 0xc
xor al, byte [ebp - 0x18]
mov cl, 0x1a
mov byte [ebp - 0x17], al
mov ch, cl
mov al, byte [ebp - 0x18]
mov dh, 0xf
mov byte [ebp - 0xe], dl
xor dh, al
xor dl, al
mov byte [ebp - 0x11], dh
mov byte [ebp - 0x15], dl
xor cl, al
mov edx, esp
mov byte [ebp - 1], ch
xor ch, al
mov byte [ebp - 0x16], cl
mov bl, 0x31
mov byte [ebp - 0x12], ch
xor bl, al
mov byte [ebp - 0xe], 0
mov ah, 0x1d
mov byte [ebp - 0x14], bl
xor ah, al
mov bh, 0x1c
xor bh, al
mov byte [ebp - 0x13], ah
mov al, byte [ebp - 1]
xor al, byte [ebp - 0x18]
mov byte [ebp - 0x10], bh
mov byte [ebp - 0xf], al
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 0x1001264a
mov eax, dword [edx]
jmp 0x1001264c
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x17], 0
jne 0x10012659
xor ecx, ecx
jmp 0x10012669
lea ecx, [ebp - 0x17]
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10012660
sub ecx, esi
push ecx
lea eax, [ebp - 0x17]
mov ecx, edx
push eax
call fcn.10004e40
mov ecx, dword [edi + 0x20]
call fcn.1000db70
mov dword [edi + 4], eax
mov dl, 0x3b
mov byte [ebp - 0x18], 0x55
mov al, 0x37
xor al, byte [ebp - 0x18]
mov dh, 0x3a
mov byte [ebp - 0x17], al
mov cl, 0x21
mov al, byte [ebp - 0x18]
mov ch, cl
xor dl, al
mov byte [ebp - 0xf], 0
mov byte [ebp - 0x15], dl
xor dh, al
mov byte [ebp - 0x11], dh
mov bl, 0xa
mov edx, esp
mov byte [ebp - 0xf], 0
mov ah, 0x26
mov bh, 0x25
xor cl, al
xor bl, al
mov byte [ebp - 0x16], cl
xor ah, al
mov byte [ebp - 0x14], bl
xor ch, al
mov byte [ebp - 0x13], ah
xor bh, al
mov byte [ebp - 0x12], ch
mov byte [ebp - 0x10], bh
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 0x100126f0
mov eax, dword [edx]
jmp 0x100126f2
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x17], 0
jne 0x100126ff
xor ecx, ecx
jmp 0x1001270e
lea ecx, [ebp - 0x17]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10012705
sub ecx, esi
push ecx
lea eax, [ebp - 0x17]
mov ecx, edx
push eax
call fcn.10004e40
mov ecx, dword [edi + 0x20]
call fcn.1000db70
movaps xmm0, xmmword [0x10042720]
add esp, 0x18
mov dword [edi + 8], eax
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x10], 0x5153
mov byte [ebp - 0xe], 0
nop
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x11
jb 0x10012740
sub esp, 0x18
mov byte [ebp - 0xe], 0
mov edx, esp
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 0x1001277c
mov eax, dword [edx]
jmp 0x1001277e
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x1f], 0
jne 0x1001278b
xor ecx, ecx
jmp 0x1001279a
lea ecx, [ebp - 0x1f]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10012791
sub ecx, esi
push ecx
lea eax, [ebp - 0x1f]
mov ecx, edx
push eax
call fcn.10004e40
mov ecx, dword [edi + 0x20]
call fcn.1000db70
add esp, 0x18
mov dword [edi + 0xc], eax
mov cl, 5
mov dword [ebp - 0x1c], 0x6b716705
mov dword [ebp - 0x18], 0x6a71765a
xor eax, eax
mov dword [ebp - 0x14], 0x6c5a6e66
mov word [ebp - 0x10], 0x6b6b
mov byte [ebp - 0xe], 0
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xd
jae 0x100127e6
mov cl, byte [ebp - 0x1c]
jmp 0x100127d7
sub esp, 0x18
mov byte [ebp - 0xe], 0
mov edx, esp
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 0x10012815
mov eax, dword [edx]
jmp 0x10012817
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x1b], 0
jne 0x10012824
xor ecx, ecx
jmp 0x10012839
lea ecx, [ebp - 0x1b]
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10012830
sub ecx, esi
push ecx
lea eax, [ebp - 0x1b]
mov ecx, edx
push eax
call fcn.10004e40
mov ecx, dword [edi + 0x20]
call fcn.1000db70
mov dword [edi + 0x10], eax
mov dh, 0x35
mov byte [ebp - 0x18], 0x59
mov al, 0x3b
xor al, byte [ebp - 0x18]
mov dl, 0x37
mov byte [ebp - 0x17], al
mov bh, dh
mov al, byte [ebp - 0x18]
mov cl, 0x2d
xor dl, al
mov byte [ebp - 0xf], 0
mov byte [ebp - 0x15], dl
xor dh, al
mov byte [ebp - 0x11], dh
mov bl, 6
mov edx, esp
mov byte [ebp - 0xf], 0
mov ah, 0x2a
mov ch, 0x3c
xor cl, al
xor bl, al
mov byte [ebp - 0x16], cl
xor ah, al
mov byte [ebp - 0x14], bl
xor ch, al
mov byte [ebp - 0x13], ah
xor bh, al
mov byte [ebp - 0x12], ch
mov byte [ebp - 0x10], bh
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 0x100128c0
mov eax, dword [edx]
jmp 0x100128c2
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x17], 0
jne 0x100128cf
xor ecx, ecx
jmp 0x100128de
lea ecx, [ebp - 0x17]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100128d5
sub ecx, esi
push ecx
lea eax, [ebp - 0x17]
mov ecx, edx
push eax
call fcn.10004e40
mov ecx, dword [edi + 0x20]
call fcn.1000db70
movaps xmm0, xmmword [0x100422e0]
add esp, 0x18
mov dword [edi + 0x14], eax
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x3f253e24
mov byte [ebp - 0xc], 0
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x13
jb 0x10012910
sub esp, 0x18
mov byte [ebp - 0xc], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x1f], 0
jne 0x10012941
xor ecx, ecx
jmp 0x10012950
lea ecx, [ebp - 0x1f]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10012947
sub ecx, esi
push ecx
lea eax, [ebp - 0x1f]
mov ecx, edx
push eax
call fcn.10004e40
mov ecx, dword [edi + 0x20]
call fcn.1000db70
mov esi, eax
add esp, 0x18
mov dword [edi + 0x18], esi
test esi, esi
je 0x10012994
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call edi
test eax, eax
jne 0x10012994
push 4
add esi, 0x128
push esi
call edi
test eax, eax
jne 0x10012994
mov dword [esi], 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret