Function at 0x10033900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043c44
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x10051018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 4], 0
call fcn.10033560
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor eax, eax
movq qword [ebp - 0x1c], xmm0
xor esi, esi
mov dword [ebp - 0x64], eax
xor edx, edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 1
mov eax, dword [edi + 0xd4]
sub eax, dword [edi + 0xd0]
sar eax, 6
test eax, eax
je 0x100339fd
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jle 0x10033a9b
cmp dword [ebp + 0x24], 0x10
lea eax, [ebp - 0x5f]
mov edx, dword [ebp + 0x20]
lea ecx, [ebp + 0x10]
cmovae ecx, dword [ebp + 0x10]
push 0
mov word [ebp - 0x60], 0x15
push eax
mov byte [ebp - 0x5f], 0
call fcn.1000cdb0
add esp, 8
test eax, eax
jne 0x10033a99
mov eax, dword [edi + 0xd0]
cmp dword [esi + eax + 0x3c], ebx
jne 0x100339d4
mov eax, dword [edi + 0xd0]
lea ecx, [ebp - 0x1c]
add eax, esi
push eax
call fcn.10037320
mov eax, dword [edi + 0xd4]
add esi, 0x40
mov ecx, dword [ebp - 0x68]
sub eax, dword [edi + 0xd0]
inc ecx
sar eax, 6
mov dword [ebp - 0x68], ecx
cmp ecx, eax
jb 0x10033981
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x64], eax
mov ebx, edx
sub ebx, esi
cmp ebx, 0x40
jae 0x10033dc2
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
lea ebx, [edi + 0x80]
mov edi, 0xc
nop word [eax + eax]
mov esi, dword [ebx]
test esi, esi
je 0x10033a3d
push 4
push esi
call eax
test eax, eax
jne 0x10033a38
push eax
mov ecx, esi
call dword [0x10049fe4]
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
add ebx, 4
sub edi, 1
jne 0x10033a20
mov edi, dword [ebp - 0x50]
mov esi, dword [edi + 0xbc]
mov ebx, dword [edi + 0x14]
test esi, esi
je 0x10033a67
push 4
push esi
call eax
test eax, eax
jne 0x10033a67
push ebx
mov ecx, esi
call dword [0x1004a04c]
mov dword [edi + 0x18], 1
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x100347ed
mov ebx, dword [ebp - 0x18]
mov esi, edi
cmp edi, ebx
je 0x100347de
mov ecx, esi
call fcn.10039690
add esi, 0x40
cmp esi, ebx
jne 0x10033a86
jmp 0x100347de
test ebx, ebx
jne 0x10033c19
cmp dword [ebp + 0x24], 0x10
lea eax, [ebp - 0x57]
mov edx, dword [ebp + 0x20]
lea ecx, [ebp + 0x10]
cmovae ecx, dword [ebp + 0x10]
push 0
mov word [ebp - 0x58], 0x7d
push eax
mov byte [ebp - 0x57], 0
call fcn.1000cdb0
add esp, 8
test eax, eax
je 0x100339c3
mov eax, dword [edi + 0xd0]
mov ecx, dword [eax + esi + 0x1c]
test ecx, ecx
jne 0x10033ae1
xor ebx, ebx
jmp 0x10033afa
mov eax, 0x10624dd3
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
push eax
call dword [0x10049f98]
mov ebx, eax
mov edx, dword [edi + 0xd0]
mov ecx, ebx
mov edx, dword [edx + esi + 0x1c]
call fcn.10008f00
mov ecx, dword [edi + 0xd0]
mov dword [ebp - 0x64], eax
cmp dword [esi + ecx + 0x1c], 0
jbe 0x10033bc8
cmp dword [esi + ecx + 0x1c], 0x5f5e100
jae 0x10033bc8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x6c], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x10033b5b
mov eax, dword [ecx]
jmp 0x10033b5d
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp + 0x10]
push 0
push eax
call fcn.10004f90
sub esp, 0x18
mov byte [ebp - 4], 2
mov eax, dword [edi + 0xd0]
mov ecx, esp
add eax, esi
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x10033bb4
mov edx, dword [ecx]
push 0xffffffffffffffff
push 0
push eax
mov byte [edx], 0
call fcn.10004f90
jmp 0x10033d99
push 0xffffffffffffffff
mov edx, ecx
push 0
push eax
mov byte [edx], 0
call fcn.10004f90
jmp 0x10033d99
test ebx, ebx
je 0x10033dba
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x6c], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x10033bfe
mov eax, dword [ecx]
jmp 0x10033c00
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp + 0x10]
push 0
push eax
call fcn.10004f90
mov byte [ebp - 4], 3
jmp 0x10033d87
test ebx, ebx
jle 0x100339c3
cmp dword [ebp + 0x24], 0x10
lea eax, [ebp - 0x5b]
mov edx, dword [ebp + 0x20]
lea ecx, [ebp + 0x10]
cmovae ecx, dword [ebp + 0x10]
push 0
mov word [ebp - 0x5c], 0x1c
push eax
mov byte [ebp - 0x5b], 0
call fcn.1000cdb0
add esp, 8
test eax, eax
je 0x100339c3
mov eax, dword [edi + 0xd0]
cmp dword [esi + eax + 0x3c], ebx
jne 0x100339d4
mov ecx, dword [eax + esi + 0x1c]
test ecx, ecx
jne 0x10033c6b
xor ebx, ebx
jmp 0x10033c84
mov eax, 0x10624dd3
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
push eax
call dword [0x10049f98]
mov ebx, eax
mov edx, dword [edi + 0xd0]
mov ecx, ebx
mov edx, dword [edx + esi + 0x1c]
call fcn.10008f00
mov ecx, dword [edi + 0xd0]
mov dword [ebp - 0x64], eax
cmp dword [esi + ecx + 0x1c], 0
jbe 0x10033d3f
cmp dword [esi + ecx + 0x1c], 0x5f5e100
jae 0x10033d3f
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x6c], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x10033ce5
mov eax, dword [ecx]
jmp 0x10033ce7
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp + 0x10]
push 0
push eax
call fcn.10004f90
sub esp, 0x18
mov byte [ebp - 4], 4
mov eax, dword [edi + 0xd0]
mov ecx, esp
add eax, esi
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x10033bb4
mov edx, dword [ecx]
push 0xffffffffffffffff
push 0
push eax
mov byte [edx], 0
call fcn.10004f90
jmp 0x10033d99
test ebx, ebx
je 0x10033dba
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x6c], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x10033d71
mov eax, dword [ecx]
jmp 0x10033d73
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp + 0x10]
push 0
push eax
call fcn.10004f90
mov byte [ebp - 4], 5
sub esp, 0x18
mov edx, ebx
mov ecx, esp
push dword [ebp - 0x64]
call fcn.100093a0
add esp, 4
mov byte [ebp - 4], 1
call fcn.1000ca30
add esp, 0x30
test al, al
je 0x10033dba
mov eax, dword [edi + 0xd0]
lea ecx, [ebp - 0x1c]
add eax, esi
push eax
call fcn.10037320
mov ebx, dword [ebp + 0xc]
jmp 0x100339d4
lea eax, [ebp - 0x50]
sar ebx, 6
push eax
push ebx
mov ecx, esi
mov dword [ebp - 0x50], 0x1002da20
mov dword [ebp - 0xa4], ebx
call fcn.10037990
movd xmm0, ebx
mov eax, ebx
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1004aab0]
divsd xmm0, qword [0x1004a1e8]
movsd qword [ebp - 0x70], xmm0
fld qword [ebp - 0x70]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp qword [ebp - 0x70]
movsd xmm0, qword [ebp - 0x70]
call fcn.10024d30
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
or ecx, 0xffffffff
cvttsd2si eax, xmm0
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 8]
lea eax, [eax + eax*2]
shl eax, 2
mov dword [ebp - 0x6c], eax
lea edx, [eax - 0xc]
mov dword [ebp - 0x68], edx
cmp edx, eax
jge 0x10034798
inc ecx
mov dword [ebp - 0x58], ecx
cmp ecx, 0xb
jg 0x10034798
mov eax, dword [ebp - 0xa4]
dec eax
cmp edx, eax
jle 0x10033e80
mov esi, dword [edi + ecx*4 + 0x80]
test esi, esi
je 0x10034783
push 4
push esi
call ebx
test eax, eax
jne 0x10034780
push eax
jmp 0x10034778
shl edx, 6
mov ecx, dword [edx + esi + 0x1c]
lea eax, [edx + esi]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x5c], eax
test ecx, ecx
jne 0x10033e98
xor esi, esi
jmp 0x10033eb7
mov eax, 0x10624dd3
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
push eax
call dword [0x10049f98]
mov edx, dword [ebp - 0x50]
mov esi, eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x100340dd
cmp eax, 0x5f5e100
jae 0x100340dd
mov ecx, dword [edi + 0xc4]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x58]
shl ebx, 6
mov eax, dword [edx + esi + 0x18]
mov dword [ebx + ecx], eax
mov ecx, dword [edi + 0xc4]
mov eax, dword [edx + esi + 0x1c]
mov dword [ebx + ecx + 4], eax
lea eax, [esi + 0x30]
mov ecx, dword [edi + 0xc4]
add eax, edx
add ecx, 8
push eax
add ecx, ebx
call fcn.10039180
mov eax, dword [edi + 0xc4]
mov esi, dword [ebx + eax + 0x20]
test esi, esi
je 0x10033f2d
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10033f2d
push dword [ebp - 0x5c]
mov ecx, esi
call dword [0x1004a048]
mov eax, dword [edi + 0xc4]
mov esi, eax
mov edx, dword [eax + ebx + 0xc]
sub edx, dword [eax + ebx + 8]
sar edx, 2
call fcn.1000c650
mov ecx, dword [esi + ebx + 8]
mov ecx, dword [ecx + eax*4 - 4]
mov dword [ebp - 0x60], ecx
test ecx, ecx
je 0x1003430a
mov eax, 0x10624dd3
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
push eax
call dword [0x10049f98]
mov esi, eax
test esi, esi
je 0x1003430a
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
mov byte [ebp - 4], 6
mov ecx, esi
mov edx, dword [ebp - 0x60]
call fcn.10008f00
mov dword [ebp - 0x54], eax
test eax, eax
je 0x10033fd0
cmp dword [eax + 0x3c], 0
je 0x10033fd0
push dword [ebp - 0x60]
xor edx, edx
lea ecx, [ebp - 0x88]
push eax
call fcn.10009050
add esp, 8
lea ecx, [ebp - 0x34]
push eax
call fcn.10009b60
lea ecx, [ebp - 0x88]
call fcn.100044a0
jmp 0x10034003
push dword [ebp - 0x60]
mov edx, esi
lea ecx, [ebp - 0x88]
push 0
call fcn.10009050
add esp, 8
lea ecx, [ebp - 0x34]
push eax
call fcn.10009b60
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x10034003
inc eax
push eax
push dword [ebp - 0x88]
call fcn.10005600
mov eax, dword [edi + 0xc4]
cmp dword [ebx + eax + 0x38], 0
je 0x1003409c
mov eax, dword [ebx + eax + 0x38]
add eax, 4
mov dword [ebp - 0x50], eax
je 0x1003403a
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003403a
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x34]
push eax
call dword [0x10049fac]
mov eax, dword [edi + 0xc4]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebx + eax + 0x38]
mov dword [eax + 0x60], esi
mov eax, dword [edi + 0xc4]
mov eax, dword [ebx + eax + 0x38]
mov dword [eax + 0x64], ecx
mov eax, dword [edi + 0xc4]
mov eax, dword [ebx + eax + 0x38]
mov dword [eax + 0x68], 0
test ecx, ecx
je 0x10034078
movsx ecx, word [ecx + 0x4e]
movsx eax, word [esi + 0x5e]
add ecx, eax
jmp 0x1003407c
movsx ecx, word [esi + 0x5e]
mov eax, dword [edi + 0xc4]
mov eax, dword [eax + ebx + 0x38]
mov dword [eax + 0x6c], ecx
mov eax, dword [edi + 0xc4]
mov ecx, dword [ebx + eax + 0x38]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x2c]
mov dword [ecx + 0x44], eax
mov eax, dword [edi + 0xc4]
mov esi, dword [ebx + eax + 0x34]
test esi, esi
je 0x100340c3
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100340c3
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call dword [0x1004a018]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x1003430a
inc eax
push eax
push dword [ebp - 0x34]
jmp 0x10034305
test esi, esi
jne 0x10034106
mov ecx, dword [ebp - 0x58]
mov esi, dword [edi + ecx*4 + 0x80]
test esi, esi
je 0x10034783
push 4
push esi
call ebx
test eax, eax
jne 0x10034780
push eax
jmp 0x10034778
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
mov byte [ebp - 4], 7
mov ecx, esi
mov ebx, dword [ebp - 0x5c]
mov edx, dword [ebx + 0x1c]
call fcn.10008f00
mov dword [ebp - 0x60], eax
test eax, eax
je 0x10034155
cmp dword [eax + 0x3c], 0
je 0x10034155
push dword [ebx + 0x1c]
xor edx, edx
lea ecx, [ebp - 0x88]
push eax
call fcn.10009050
add esp, 8
lea ecx, [ebp - 0x4c]
push eax
call fcn.10009b60
jmp 0x100341a4
push dword [ebx + 0x1c]
mov edx, esi
lea ecx, [ebp - 0x88]
push 0
call fcn.10009050
add esp, 8
mov ebx, eax
lea eax, [ebp - 0x4c]
cmp eax, ebx
je 0x100341a0
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x10034185
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.10005600
push ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
call fcn.10005370
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x100341b9
inc eax
push eax
push dword [ebp - 0x88]
call fcn.10005600
mov ebx, dword [ebp - 0x58]
mov ecx, dword [edi + 0xc4]
mov edx, dword [ebp - 0x5c]
shl ebx, 6
mov eax, dword [edx + 0x18]
mov dword [ebx + ecx], eax
mov ecx, dword [edi + 0xc4]
mov eax, dword [edx + 0x1c]
mov dword [ebx + ecx + 4], eax
mov eax, dword [edi + 0xc4]
cmp dword [ebx + eax + 0x38], 0
je 0x10034274
mov eax, dword [ebx + eax + 0x38]
add eax, 4
mov dword [ebp - 0x54], eax
je 0x10034215
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10034212
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x4c]
push eax
call dword [0x10049fac]
mov edx, dword [ebp - 0x5c]
mov eax, dword [edi + 0xc4]
mov ecx, dword [ebp - 0x60]
mov eax, dword [eax + ebx + 0x38]
mov dword [eax + 0x60], esi
mov eax, dword [edi + 0xc4]
mov eax, dword [ebx + eax + 0x38]
mov dword [eax + 0x64], ecx
mov eax, dword [edi + 0xc4]
mov eax, dword [ebx + eax + 0x38]
mov dword [eax + 0x68], 0
test ecx, ecx
je 0x10034253
movsx ecx, word [ecx + 0x4e]
movsx eax, word [esi + 0x5e]
add ecx, eax
jmp 0x10034257
movsx ecx, word [esi + 0x5e]
mov eax, dword [edi + 0xc4]
mov eax, dword [ebx + eax + 0x38]
mov dword [eax + 0x6c], ecx
mov eax, dword [edi + 0xc4]
mov ecx, dword [ebx + eax + 0x38]
mov eax, dword [edx + 0x2c]
mov dword [ecx + 0x44], eax
mov eax, dword [edi + 0xc4]
mov eax, dword [ebx + eax + 0x34]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x1003429f
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003429f
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x4c]
push eax
call dword [0x1004a018]
push dword [ebp - 0x60]
mov edx, esi
lea ecx, [ebp - 0x88]
call fcn.100093a0
add esp, 4
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 9
mov ecx, dword [edi + 0xc4]
mov esi, dword [ebx + ecx + 0x20]
test esi, esi
je 0x100342df
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100342df
push dword [ebp - 0x54]
mov ecx, esi
call dword [0x1004a048]
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x100342f4
inc eax
push eax
push dword [ebp - 0x88]
call fcn.10005600
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x1003430a
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.10005600
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0x28]
cmp eax, 1
jne 0x100343db
mov edx, dword [ecx + 0x24]
push ecx
lea ecx, [ebp - 0x88]
call fcn.1000cb70
add esp, 4
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 0x10
jb 0x10034337
mov eax, dword [eax]
movaps xmm0, xmmword [0x1004ae00]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x20], 0
nop dword [eax]
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0xf
jb 0x10034350
sub esp, 0x18
mov byte [ebp - 0x20], 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 0x1003438c
mov eax, dword [edx]
jmp 0x1003438e
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x2f], 0
jne 0x1003439b
xor ecx, ecx
jmp 0x100343aa
lea ecx, [ebp - 0x2f]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100343a1
sub ecx, esi
push ecx
lea eax, [ebp - 0x2f]
mov ecx, edx
push eax
call fcn.10004e90
lea eax, [ebp - 0xa0]
push eax
call fcn.10009a80
add esp, 0x20
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [edi + 0xc4]
mov esi, dword [ebx + ecx + 0x24]
jmp 0x1003449a
cmp eax, 2
jne 0x10034502
mov edx, dword [ecx + 0x24]
push ecx
lea ecx, [ebp - 0x88]
call fcn.1000cb70
add esp, 4
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 0x10
jb 0x10034402
mov eax, dword [eax]
movaps xmm0, xmmword [0x1004a960]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x20], 0
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0xf
jb 0x10034414
sub esp, 0x18
mov byte [ebp - 0x20], 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 0x10034450
mov eax, dword [edx]
jmp 0x10034452
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x2f], 0
jne 0x1003445f
xor ecx, ecx
jmp 0x1003446e
lea ecx, [ebp - 0x2f]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10034465
sub ecx, esi
push ecx
lea eax, [ebp - 0x2f]
mov ecx, edx
push eax
call fcn.10004e90
lea eax, [ebp - 0xa0]
push eax
call fcn.10009a80
add esp, 0x20
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [edi + 0xc4]
mov esi, dword [ecx + ebx + 0x24]
test esi, esi
je 0x100344b6
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100344b6
push dword [ebp - 0x54]
mov ecx, esi
call dword [0x1004a048]
mov eax, dword [ebp - 0x8c]
cmp eax, 0x10
jb 0x100344ce
inc eax
push eax
push dword [ebp - 0xa0]
call fcn.10005600
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x74]
mov byte [ebp - 0xa0], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
cmp eax, 0x10
jb 0x10034502
inc eax
push eax
push dword [ebp - 0x88]
call fcn.10005600
mov eax, dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x88]
mov edx, dword [eax + 0x20]
call fcn.1000cb70
add esp, 4
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 0x10
jb 0x10034523
mov eax, dword [eax]
movaps xmm0, xmmword [0x1004a8c0]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x30], xmm0
mov word [ebp - 0x20], 0x66
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x10
jb 0x10034537
sub esp, 0x18
mov byte [ebp - 0x1f], 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 0x10034573
mov eax, dword [edx]
jmp 0x10034575
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x2f], 0
jne 0x10034582
xor ecx, ecx
jmp 0x10034591
lea ecx, [ebp - 0x2f]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10034588
sub ecx, esi
push ecx
lea eax, [ebp - 0x2f]
mov ecx, edx
push eax
call fcn.10004e90
lea eax, [ebp - 0xa0]
push eax
call fcn.10009a80
add esp, 0x20
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [edi + 0xc4]
mov esi, dword [ebx + ecx + 0x28]
test esi, esi
je 0x100345d9
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100345d9
push dword [ebp - 0x54]
mov ecx, esi
call dword [0x1004a048]
mov eax, dword [ebp - 0x8c]
cmp eax, 0x10
jb 0x100345f1
inc eax
push eax
push dword [ebp - 0xa0]
call fcn.10005600
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
cmp eax, 0x10
jb 0x10034625
inc eax
push eax
push dword [ebp - 0x88]
call fcn.10005600
mov ecx, dword [0x100532e0]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
test ecx, ecx
je 0x100346e5
mov esi, dword [ebp - 0x5c]
mov edx, dword [esi + 0x28]
cmp edx, 1
jne 0x1003465b
mov eax, dword [ecx + 0x4c]
cmp eax, dword [esi + 0x24]
jb 0x1003466c
cmp edx, 2
jne 0x100346e5
mov eax, dword [ecx + 0x50]
cmp eax, dword [esi + 0x24]
jae 0x100346e5
mov eax, dword [edi + 0xc4]
mov esi, dword [ebx + eax + 0x24]
test esi, esi
je 0x10034694
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10034694
push 0xfff78dad
mov ecx, esi
call dword [0x1004a050]
mov eax, dword [edi + 0xc4]
mov esi, dword [ebx + eax + 0x2c]
test esi, esi
je 0x100346bc
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100346bc
lea ecx, [esi + 0xb8]
mov dl, 7
call fcn.1000efc0
mov eax, dword [edi + 0xc4]
mov esi, dword [ebx + eax + 0x30]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test esi, esi
je 0x1003475f
push 4
push esi
call ebx
test eax, eax
jne 0x1003475f
mov dl, 7
jmp 0x10034754
mov eax, dword [edi + 0xc4]
mov esi, dword [ebx + eax + 0x24]
test esi, esi
je 0x1003470d
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003470d
push 0xff92fcaf
mov ecx, esi
call dword [0x1004a050]
mov eax, dword [edi + 0xc4]
mov esi, dword [ebx + eax + 0x2c]
test esi, esi
je 0x10034735
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10034735
lea ecx, [esi + 0xb8]
mov dl, 2
call fcn.1000efc0
mov eax, dword [edi + 0xc4]
mov esi, dword [ebx + eax + 0x30]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test esi, esi
je 0x1003475f
push 4
push esi
call ebx
test eax, eax
jne 0x1003475f
mov dl, 2
lea ecx, [esi + 0xb8]
call fcn.1000efc0
mov ecx, dword [ebp - 0x58]
mov esi, dword [edi + ecx*4 + 0x80]
test esi, esi
je 0x10034783
push 4
push esi
call ebx
test eax, eax
jne 0x10034780
push 1
mov ecx, esi
call dword [0x10049fe4]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x68]
mov esi, dword [ebp - 0x1c]
inc eax
mov edx, eax
mov dword [ebp - 0x68], eax
cmp eax, dword [ebp - 0x6c]
jl 0x10033e46
mov esi, dword [edi + 0xbc]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x6c], eax
test esi, esi
je 0x100347bc
push 4
push esi
call ebx
test eax, eax
jne 0x100347bc
push dword [ebp - 0x6c]
mov ecx, esi
call dword [0x1004a04c]
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x100347ed
mov ebx, dword [ebp - 0x18]
mov esi, edi
cmp edi, ebx
je 0x100347de
nop dword [eax]
mov ecx, esi
call fcn.10039690
add esi, 0x40
cmp esi, ebx
jne 0x100347d0
mov eax, dword [ebp - 0x64]
sub eax, edi
sar eax, 6
push eax
push edi
call fcn.10039560
mov eax, dword [ebp + 0x24]
cmp eax, 0x10
jb 0x100347ff
inc eax
push eax
push dword [ebp + 0x10]
call fcn.10005600
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100406c0
mov esp, ebp
pop ebp
ret 0x20