Function at 0x10033ef0
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 0x100699f1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
push esi
push edi
mov eax, dword [0x1007e040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
movzx eax, word [edi + 0x138]
xor ecx, ecx
movzx edx, word [edi + 0x136]
movaps xmm0, xmmword [str.hM_fHe_r]
push eax
mov word [edi + 0x13e], dx
mov word [edi + 0x140], ax
push edx
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x410c4d40
mov byte [ebp - 0x28], 0
nop dword [eax]
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x13
jb 0x10033f70
sub esp, 0x18
mov byte [ebp - 0x28], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033fa0
sub ecx, esi
lea eax, [ebp - 0x3b]
push ecx
push eax
mov ecx, edx
call fcn.10005220
lea eax, [ebp - 0xa4]
push eax
call fcn.10004db0
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0xf
jbe 0x10033fd5
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x4c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x5c], xmm0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033ff0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.10005220
mov byte [ebp - 4], 1
mov esi, dword [edi + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test esi, esi
je 0x10034029
push 4
push esi
call edi
test eax, eax
jne 0x10034029
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
call dword [0x10075274]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x1003405d
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10034053
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100340a2
push ecx
push edx
call fcn.100662c0
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0xf
jbe 0x100340b2
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100340a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100340a8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100662c0
add esp, 8
mov eax, dword [ebp - 0x14]
xor cl, cl
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
mov byte [ebp - 0x15], cl
mov edi, dword [ebp - 0x14]
movzx ecx, cl
mov dword [ebp - 0x1c], ecx
movzx edx, word [eax + ecx*2 + 0x124]
lea esi, [ecx + ecx*2]
shl esi, 3
mov dword [ebp - 0x40], esi
mov dword [eax + esi + 0x44], edx
lea eax, [ecx + 3]
lea eax, [eax + eax*2]
lea edi, [edi + eax*8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], edi
mov ax, word [eax + ecx*2 + 0x12a]
mov ecx, dword [ebp - 0x14]
mov word [edi], ax
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov al, byte [ecx + 0x13b]
mov byte [ecx + esi + 0x4a], al
test edx, edx
je 0x100342fd
push edx
call dword [0x100751cc]
test eax, eax
je 0x100342fd
mov eax, dword [ebp - 0x44]
mov dl, 0x28
mov dword [ebp - 0x38], 0x465d6028
xor ecx, ecx
mov dword [ebp - 0x34], 0x805085c
mov dword [ebp - 0x30], 0x8070818
movzx eax, word [eax]
push eax
mov word [ebp - 0x2c], 0x4c0d
mov byte [ebp - 0x2a], 0
lea eax, [ebp - 0x37]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xd
jae 0x10034172
mov dl, byte [ebp - 0x38]
jmp 0x10034161
sub esp, 0x18
mov byte [ebp - 0x2a], 0
mov edx, esp
lea ecx, [ebp - 0x37]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10034195
sub ecx, esi
lea eax, [ebp - 0x37]
push ecx
push eax
mov ecx, edx
call fcn.10005220
lea eax, [ebp - 0xbc]
push eax
call fcn.10004db0
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 2
cmp dword [edx + 0x14], 0xf
jbe 0x100341ca
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x64], 0
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x74], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100341e4
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.10005220
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 3
mov esi, dword [eax + esi + 0x50]
test esi, esi
je 0x1003421e
push 4
push esi
call edi
test eax, eax
jne 0x1003421e
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
call dword [0x10075274]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x10034256
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003424c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100340a2
push ecx
push edx
call fcn.100662c0
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, 0xf
jbe 0x100342a9
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003429f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100340a2
push ecx
push edx
call fcn.100662c0
add esp, 8
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
mov esi, dword [ecx + eax + 0x50]
test esi, esi
je 0x100342e5
push 4
push esi
call edi
test eax, eax
jne 0x100342e5
push 0xffffffffffffffff
mov ecx, esi
call dword [0x1007527c]
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x14]
movzx eax, word [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x40]
mov esi, dword [esi + eax + 0x54]
jmp 0x100344f0
mov eax, dword [ebp - 0x14]
cmp dword [eax + esi + 0x44], 1
jne 0x10034539
cmp byte [eax + esi + 0x4a], 0
je 0x10034539
mov eax, dword [ebp - 0x44]
mov cl, 0x37
mov byte [ebp - 0x24], 0x17
mov dl, 0x38
mov ch, 0x32
mov byte [ebp - 0x1d], 0
mov dh, 0x73
mov byte [ebp - 0x1d], 0
movzx eax, word [eax]
xorps xmm0, xmm0
push eax
mov al, 0x27
mov ah, cl
xor al, byte [ebp - 0x24]
mov byte [ebp - 0x23], al
mov al, byte [ebp - 0x24]
xor cl, al
xor dl, al
xor ch, al
mov byte [ebp - 0x21], dl
xor dh, al
mov byte [ebp - 0x22], cl
xor ah, al
mov byte [ebp - 0x1e], dh
sub esp, 0x18
mov byte [ebp - 0x1f], ch
mov edx, esp
mov byte [ebp - 0x20], ah
lea ecx, [ebp - 0x23]
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10034376
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10005220
lea eax, [ebp - 0xd4]
push eax
call fcn.10004db0
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 4
cmp dword [edx + 0x14], 0xf
jbe 0x100343ab
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x7c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x8c], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100343c8
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x8c]
call fcn.10005220
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
mov esi, dword [ecx + eax + 0x50]
test esi, esi
je 0x10034408
push 4
push esi
call edi
test eax, eax
jne 0x10034408
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
call dword [0x10075274]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x10034443
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10034439
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100340a2
push ecx
push edx
call fcn.100662c0
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp ecx, 0xf
jbe 0x10034499
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003448f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100340a2
push ecx
push edx
call fcn.100662c0
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
lea eax, [ecx + ecx*2]
mov byte [ebp - 0xd4], 0
mov esi, dword [edx + eax*8 + 0x50]
test esi, esi
je 0x100344db
push 4
push esi
call edi
test eax, eax
jne 0x100344d8
push 0xffffffffffffffff
mov ecx, esi
call dword [0x1007527c]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
lea eax, [ecx + ecx*2]
movzx eax, word [esi + eax*8 + 0x48]
mov dword [ebp - 0x1c], eax
lea eax, [ecx + ecx*2]
mov esi, dword [esi + eax*8 + 0x54]
test esi, esi
je 0x10034536
push 4
push esi
call edi
test eax, eax
jne 0x10034536
push 4
lea eax, [esi + 0x128]
push eax
call edi
test eax, eax
jne 0x10034536
push 4
lea eax, [esi + 0x124]
push eax
call edi
test eax, eax
jne 0x10034536
mov eax, dword [ebp - 0x1c]
mov ecx, esi
mov dword [esi + 0x128], 0
mov dword [esi + 0x124], eax
call dword [0x10075260]
mov eax, dword [ebp - 0x14]
mov cl, byte [ebp - 0x15]
inc cl
mov byte [ebp - 0x15], cl
cmp cl, 3
jb 0x100340d5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret