Function at 0x10036c70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d310
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x10080040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x2b]
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x4a
mov byte [ebp - 0x2b], 0
lea edx, [ecx + 1]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036cd0
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10002130
mov dword [ebp - 4], 0
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x10036d0d
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036d0d
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call dword [0x10077c88]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10036d48
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036d3e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037dbb
push ecx
push edx
call fcn.1004a076
add esp, 8
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x22
lea ecx, [ebp - 0x2b]
mov byte [ebp - 0x2b], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036d70
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10002130
mov dword [ebp - 4], 1
mov edi, dword [esi + 0x40]
test edi, edi
je 0x10036dad
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036dad
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call dword [0x10077c88]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10036de8
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036dde
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037dc0
push ecx
push edx
call fcn.1004a076
add esp, 8
xorps xmm0, xmm0
mov word [ebp - 0x2c], 8
lea ecx, [ebp - 0x2b]
mov byte [ebp - 0x2b], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x50], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036e10
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.10002130
mov dword [ebp - 4], 2
mov edi, dword [esi + 0x44]
test edi, edi
je 0x10036e4d
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036e4d
lea eax, [ebp - 0x64]
mov ecx, edi
push eax
call dword [0x10077c58]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x10036e88
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036e7e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037dc5
push ecx
push edx
call fcn.1004a076
add esp, 8
mov edi, dword [esi + 0x34]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
test edi, edi
je 0x10036ebb
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036ebb
lea ecx, [edi + 0xb8]
mov dl, 2
call fcn.1000f2f0
mov eax, dword [0x10085030]
test eax, eax
je 0x10036eff
mov ecx, dword [esi + 0x30]
cmp ecx, 1
jne 0x10036ed1
mov eax, dword [eax + 0x4c]
jmp 0x10036ed9
cmp ecx, 2
jne 0x10036eff
mov eax, dword [eax + 0x50]
cmp eax, dword [esi + 0x2c]
jae 0x10036eff
mov edi, dword [esi + 0x34]
test edi, edi
je 0x10036eff
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10036eff
mov dl, 7
lea ecx, [edi + 0xb8]
call fcn.1000f2f0
mov edx, dword [esi + 0x24]
test edx, edx
jne 0x10036f0a
xor eax, eax
jmp 0x10036f23
mov ecx, dword [0x10077bec]
mov eax, 0x10624dd3
mul edx
shr edx, 6
imul eax, edx, 0x3e8
push eax
call ecx
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
test eax, eax
je 0x1003765d
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
cmp dword [eax], 0
je 0x1003703d
test ecx, ecx
je 0x1003703d
mov eax, 0x12e0be83
mov edi, ecx
mul ecx
sub edi, edx
shr edi, 1
add edi, edx
shr edi, 0x1d
cmp edi, 4
jae 0x1003703d
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 4], 0x2d
jae 0x1003703d
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003703d
mov eax, 0x10624dd3
mov esi, dword [0x10077bf0]
mul dword [ebp - 0x30]
shr edx, 6
sub edi, edx
imul eax, edi, 0x3e8
add eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 4]
mov ecx, dword [ecx*4 + 0x10b8050]
call esi
mov esi, dword [ebp - 0x34]
mov edi, eax
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1003703f
cmp dword [eax + 0x3c], 0
je 0x1003703f
push dword [esi + 0x24]
xor edx, edx
lea ecx, [ebp - 0x98]
push eax
call fcn.1000a860
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10007400
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x10037038
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003702e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037dca
push ecx
push edx
call fcn.1004a076
add esp, 8
mov edi, dword [ebp - 0x30]
jmp 0x10037098
xor edi, edi
push dword [esi + 0x24]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x98]
push 0
call fcn.1000a860
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10007400
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x10037098
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003708e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037dcf
push ecx
push edx
call fcn.1004a076
add esp, 8
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x100370bc
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100370bc
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
call dword [0x10077c58]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x98]
push edi
call fcn.1000ac10
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 4
mov edi, dword [esi + 0x38]
test edi, edi
je 0x100370f4
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100370f4
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x10077c88]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x10037132
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037128
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037dd4
push ecx
push edx
call fcn.1004a076
add esp, 8
mov eax, dword [esi + 0x30]
cmp eax, 1
jne 0x100372f3
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
mov edx, dword [esi + 0x2c]
call fcn.1000efc0
mov edx, dword [ebp - 0x3c]
mov eax, 3
mov edi, edx
mov dword [ebp - 0x68], 2
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x100371ce
mov ecx, edi
sub ecx, eax
cmp edx, ecx
jb 0x10037dde
mov esi, dword [ebp - 0x38]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x100371a6
lea eax, [edx + 1]
cmp esi, 0xf
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
sub edx, ecx
inc edx
push edx
lea esi, [eax + ecx]
lea eax, [esi + 1]
push esi
push eax
call fcn.1004bc10
add esp, 0xc
mov byte [esi], 0x2e
jmp 0x100371b8
push 0x2e
push 1
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
push 1
call fcn.10008340
mov eax, dword [ebp - 0x2c]
inc edi
add eax, 4
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x100371cb
mov edx, dword [ebp - 0x3c]
jmp 0x10037165
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
movaps xmm0, xmmword [0x10079150]
cmova eax, dword [ebp - 0x4c]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x60], xmm0
mov byte [ebp - 0x50], 0
nop dword [eax + eax]
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0xf
jb 0x100371f0
sub esp, 0x18
mov byte [ebp - 0x50], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea edi, [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 0x10037220
sub ecx, edi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea eax, [ebp - 0x80]
push eax
call fcn.1000b3c0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 6
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x10037267
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10037267
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x10077c88]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x1003729f
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037295
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037dd9
push ecx
push edx
call fcn.1004a076
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x68], 0
cmp ecx, 0xf
jbe 0x1003746c
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037462
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037dd9
jmp 0x10037462
cmp eax, 2
jne 0x1003746c
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4c]
mov edx, dword [esi + 0x2c]
call fcn.1000efc0
mov edx, dword [ebp - 0x3c]
mov eax, 3
mov edi, edx
mov dword [ebp - 0x68], 4
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x1003738c
mov ecx, edi
sub ecx, eax
cmp edx, ecx
jb 0x10037dde
mov esi, dword [ebp - 0x38]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x10037364
lea eax, [edx + 1]
cmp esi, 0xf
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
sub edx, ecx
inc edx
push edx
lea esi, [eax + ecx]
lea eax, [esi + 1]
push esi
push eax
call fcn.1004bc10
add esp, 0xc
mov byte [esi], 0x2e
jmp 0x10037376
push 0x2e
push 1
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
push 1
call fcn.10008340
mov eax, dword [ebp - 0x2c]
inc edi
add eax, 4
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x10037389
mov edx, dword [ebp - 0x3c]
jmp 0x10037323
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
movaps xmm0, xmmword [0x100793f0]
cmova eax, dword [ebp - 0x4c]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x60], xmm0
mov byte [ebp - 0x50], 0
nop dword [eax]
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0xf
jb 0x100373b0
sub esp, 0x18
mov byte [ebp - 0x50], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea edi, [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 0x100373e0
sub ecx, edi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea eax, [ebp - 0x80]
push eax
call fcn.1000b3c0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 8
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x10037427
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10037427
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x10077c88]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x1003729f
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037295
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037dd9
jmp 0x10037295
push ecx
push edx
call fcn.1004a076
add esp, 8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4c]
mov edx, dword [esi + 0x28]
call fcn.1000efc0
mov edx, dword [ebp - 0x3c]
mov eax, 3
mov edi, edx
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x100374fc
mov ecx, edi
sub ecx, eax
cmp edx, ecx
jb 0x10037dde
mov esi, dword [ebp - 0x38]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x100374d4
lea eax, [edx + 1]
cmp esi, 0xf
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
sub edx, ecx
inc edx
push edx
lea esi, [eax + ecx]
lea eax, [esi + 1]
push esi
push eax
call fcn.1004bc10
add esp, 0xc
mov byte [esi], 0x2e
jmp 0x100374e6
push 0x2e
push 1
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
push 1
call fcn.10008340
mov eax, dword [ebp - 0x2c]
inc edi
add eax, 4
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x100374f9
mov edx, dword [ebp - 0x3c]
jmp 0x10037493
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
movaps xmm0, xmmword [str._a_n_avRFISNSN]
cmova eax, dword [ebp - 0x4c]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x50], 0x54
nop dword [eax + eax]
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x10
jb 0x10037520
sub esp, 0x18
mov byte [ebp - 0x4f], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea edi, [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 0x10037550
sub ecx, edi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea eax, [ebp - 0x80]
push eax
call fcn.1000b3c0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xa
mov edi, dword [esi + 0x40]
test edi, edi
je 0x10037597
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10037597
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x10077c88]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x100375cf
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100375c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037dd9
push ecx
push edx
call fcn.1004a076
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp ecx, 0xf
jbe 0x10037619
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003760f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037dd9
push ecx
push edx
call fcn.1004a076
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10037d38
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003764e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037dd9
push ecx
push edx
call fcn.1004a076
add esp, 8
jmp 0x10037d38
lea eax, [ecx - 1]
cmp eax, 0x5f5e0fe
ja 0x10037d38
mov edx, dword [esi + 0x54]
sub edx, dword [esi + 0x50]
sar edx, 2
call fcn.1000e5c0
mov ecx, dword [esi + 0x50]
mov edi, dword [ecx + eax*4 - 4]
test edi, edi
je 0x100377fd
mov ecx, dword [0x10077bec]
mov eax, 0x10624dd3
mul edi
mov eax, edx
shr eax, 6
mov dword [ebp - 0x30], eax
imul eax, eax, 0x3e8
push eax
call ecx
mov ecx, eax
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x100377fd
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xb
cmp dword [ecx], 0
je 0x10037945
mov eax, 0x12e0be83
mov esi, edi
mul edi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 0x1d
cmp esi, 4
jae 0x10037942
cmp byte [ecx + 4], 0x2d
jae 0x10037942
push 4
push 0x10b8050
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003793f
sub esi, dword [ebp - 0x30]
mov edx, dword [0x10077bf0]
imul eax, esi, 0x3e8
add eax, edi
push eax
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 4]
mov ecx, dword [ecx*4 + 0x10b8050]
call edx
test eax, eax
je 0x1003793f
cmp dword [eax + 0x3c], 0
je 0x1003793f
push edi
push eax
xor edx, edx
lea ecx, [ebp - 0x98]
call fcn.1000a860
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10007400
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x1003779f
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037795
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037dd9
push ecx
push edx
call fcn.1004a076
add esp, 8
mov esi, dword [ebp - 0x34]
mov edi, dword [esi + 0x44]
test edi, edi
je 0x100377c2
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100377c2
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call dword [0x10077c58]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x100377fd
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100377f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037dd9
push ecx
push edx
call fcn.1004a076
add esp, 8
mov eax, dword [esi + 0x30]
cmp eax, 1
jne 0x100379a4
mov edx, dword [esi + 0x2c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.1000eae0
add esp, 4
mov dword [ebp - 4], 0xc
cmp dword [eax + 0x14], 0xf
jbe 0x10037827
mov eax, dword [eax]
movaps xmm0, xmmword [0x10079160]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x60], xmm0
mov byte [ebp - 0x50], 0
nop dword [eax]
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0xf
jb 0x10037840
sub esp, 0x18
mov byte [ebp - 0x50], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea edi, [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 0x10037870
sub ecx, edi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea eax, [ebp - 0x80]
push eax
call fcn.1000b3c0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xd
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x100378b7
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100378b7
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x10077c88]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x100378ef
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100378e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037dd9
push ecx
push edx
call fcn.1004a076
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp ecx, 0xf
jbe 0x10037b63
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037b59
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10037b59
jmp 0x10037dd9
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
push edi
mov edx, ecx
lea ecx, [ebp - 0x98]
push 0
call fcn.1000a860
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10007400
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x100377a2
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037995
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037dd9
push ecx
push edx
call fcn.1004a076
add esp, 8
jmp 0x100377a2
cmp eax, 2
jne 0x10037b63
mov dword [ebp - 4], 0xe
lea ecx, [ebp - 0x4c]
mov edx, dword [esi + 0x2c]
call fcn.1000efc0
mov edx, dword [ebp - 0x3c]
mov eax, 3
mov edi, edx
mov dword [ebp - 0x68], 0x10
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x10037a40
mov ecx, edi
sub ecx, eax
cmp edx, ecx
jb 0x10037dde
mov esi, dword [ebp - 0x38]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x10037a18
lea eax, [edx + 1]
cmp esi, 0xf
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
sub edx, ecx
inc edx
push edx
lea esi, [eax + ecx]
lea eax, [esi + 1]
push esi
push eax
call fcn.1004bc10
add esp, 0xc
mov byte [esi], 0x2e
jmp 0x10037a2a
push 0x2e
push 1
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
push 1
call fcn.10008340
mov eax, dword [ebp - 0x2c]
inc edi
add eax, 4
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x10037a3d
mov edx, dword [ebp - 0x3c]
jmp 0x100379d7
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
movaps xmm0, xmmword [str.__M__3_0]
cmova eax, dword [ebp - 0x4c]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x60], xmm0
mov byte [ebp - 0x50], 0
nop dword [eax]
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0xf
jb 0x10037a60
sub esp, 0x18
mov byte [ebp - 0x50], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea edi, [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 0x10037a90
sub ecx, edi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea eax, [ebp - 0x80]
push eax
call fcn.1000b3c0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xf
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x10037ad7
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10037ad7
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x10077c88]
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x10037b0f
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037b05
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037dd9
push ecx
push edx
call fcn.1004a076
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x68], 0
cmp ecx, 0xf
jbe 0x10037b63
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037b59
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037dd9
push ecx
push edx
call fcn.1004a076
add esp, 8
mov dword [ebp - 4], 0x10
lea ecx, [ebp - 0x4c]
mov edx, dword [esi + 0x28]
call fcn.1000efc0
mov edx, dword [ebp - 0x3c]
mov eax, 3
mov edi, edx
mov dword [ebp - 0x68], 8
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x10037bf9
nop dword [eax]
mov ecx, edi
sub ecx, eax
cmp edx, ecx
jb 0x10037dde
mov esi, dword [ebp - 0x38]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x10037bd1
lea eax, [edx + 1]
cmp esi, 0xf
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
sub edx, ecx
inc edx
push edx
lea esi, [eax + ecx]
lea eax, [esi + 1]
push esi
push eax
call fcn.1004bc10
add esp, 0xc
mov byte [esi], 0x2e
jmp 0x10037be3
push 0x2e
push 1
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x4c]
push 1
call fcn.10008340
mov eax, dword [ebp - 0x2c]
inc edi
add eax, 4
mov dword [ebp - 0x2c], eax
cmp edi, eax
jle 0x10037bf6
mov edx, dword [ebp - 0x3c]
jmp 0x10037b90
mov esi, dword [ebp - 0x34]
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
movaps xmm0, xmmword [0x10079560]
cmova eax, dword [ebp - 0x4c]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x50], 0x3a
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x10
jb 0x10037c18
sub esp, 0x18
mov byte [ebp - 0x4f], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea edi, [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 0x10037c48
sub ecx, edi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea eax, [ebp - 0x98]
push eax
call fcn.1000b3c0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x11
mov edi, dword [esi + 0x40]
test edi, edi
je 0x10037c92
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10037c92
push dword [ebp - 0x30]
mov ecx, edi
call dword [0x10077c88]
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x10037cd0
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037cc6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037dd9
push ecx
push edx
call fcn.1004a076
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp ecx, 0xf
jbe 0x10037d26
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037d1c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037dd9
push ecx
push edx
call fcn.1004a076
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov edi, dword [esi + 0xfc]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10037d82
push 4
add edi, 0xe5
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10037d82
cmp byte [edi], al
je 0x10037d82
mov edi, dword [esi + 0xfc]
test edi, edi
je 0x10037d82
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10037d82
push eax
mov ecx, edi
call dword [0x10077c24]
mov esi, dword [esi + 0x34]
test esi, esi
je 0x10037da0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10037da0
push 1
mov ecx, esi
call dword [0x10077c24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004a015
mov esp, ebp
pop ebp
ret
call fcn.1004f344
call fcn.1004f344
call fcn.1004f344
call fcn.1004f344
call fcn.1004f344
call fcn.1004f344
call fcn.1004f344
call fcn.10007480
int3