Function at 0x1003a170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008a20a
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x100a8080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi]
mov dword [0x100ad170], eax
test ecx, ecx
je 0x1003b387
cmp dword [ebp + 0xc], 1
jne 0x1003b387
cmp dword [0x100acf38], 0
je 0x1003b387
mov eax, dword [edi + 4]
test eax, eax
je 0x1003a1e1
cmp ecx, eax
jne 0x1003a1e1
mov ecx, edi
call fcn.1003c020
mov al, 1
jmp 0x1003b389
mov eax, dword [edi + 0x138]
test eax, eax
je 0x1003a210
cmp ecx, eax
jne 0x1003a210
mov eax, dword [edi + 0x144]
cmp eax, 1
jle 0x1003a209
dec eax
push eax
mov ecx, edi
mov dword [edi + 0x144], eax
call fcn.1003dcd0
mov al, 1
jmp 0x1003b389
mov eax, dword [edi + 0x13c]
test eax, eax
je 0x1003a22f
cmp ecx, eax
jne 0x1003a22f
mov eax, dword [edi + 0x144]
cmp eax, dword [edi + 0x148]
jge 0x1003a209
inc eax
jmp 0x1003a1fb
mov ecx, dword [edi + 0x15c]
mov eax, 0x4ec4ec4f
sub ecx, dword [edi + 0x158]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1003a209
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
xor al, al
movaps xmm1, xmmword [0x1009fbd0]
mov byte [ebp - 0x71], al
movzx ecx, al
lea eax, [ecx + ecx*2]
mov eax, dword [edi + eax*8 + 0x30]
test eax, eax
je 0x1003b373
cmp dword [ebp + 8], eax
jne 0x1003b373
lea eax, [ecx + ecx*2]
mov dword [ebp - 0x70], 0
mov eax, dword [edi + eax*8 + 0x1c]
mov ecx, dword [edi + 0x15c]
sub ecx, dword [edi + 0x158]
mov dword [ebp - 0x7c], eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
test ecx, ecx
jle 0x1003b373
mov eax, dword [edi + 0x158]
mov edx, dword [ebp - 0x7c]
add eax, 0x18
nop dword [eax]
cmp dword [eax], edx
je 0x1003a2d4
inc dword [ebp - 0x70]
add eax, 0x68
cmp dword [ebp - 0x70], ecx
jl 0x1003a2c0
jmp 0x1003b373
imul eax, dword [ebp - 0x70], 0x68
mov dword [edi + 0x140], edx
mov ecx, dword [edi + 0x158]
mov dword [ebp - 0x7c], 0xffffffff
cmp byte [eax + ecx + 0x65], 2
jne 0x1003a411
movups xmmword [ebp - 0x28], xmm1
mov dword [ebp - 0x18], 0x282e3326
xor ecx, ecx
mov word [ebp - 0x14], 0x1a29
mov byte [ebp - 0x12], 0
nop dword [eax]
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x15
jb 0x1003a310
xorps xmm0, xmm0
mov byte [ebp - 0x12], 0
lea ecx, [ebp - 0x27]
mov dword [ebp - 0xf8], 0
movups xmmword [ebp - 0x108], xmm0
mov dword [ebp - 0xf4], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a345
sub ecx, edx
lea eax, [ebp - 0x27]
push ecx
push eax
lea ecx, [ebp - 0x108]
call fcn.10005240
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x7c]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x1003a388
push 4
push eax
call esi
test eax, eax
jne 0x1003a388
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x108]
push eax
call dword [0x1009dfc8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xf4]
cmp ecx, 0xf
jbe 0x1003a3c9
mov edx, dword [ebp - 0x108]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a3bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b3a6
push ecx
push edx
call fcn.100675d1
add esp, 8
mov eax, dword [edi + 0x7c]
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x1003a405
push 4
push eax
call esi
test eax, eax
jne 0x1003a405
mov ecx, dword [ebp - 0x7c]
push 0xff5cb9fe
call dword [0x1009dfd0]
mov dword [ebp - 0x7c], 0xff808080
jmp 0x1003a546
mov cl, 0x60
mov dword [ebp - 0xc8], 0xe353b60
mov dword [ebp - 0xc4], 0x40120504
xor eax, eax
mov dword [ebp - 0xc0], 0x3d190117
mov byte [ebp - 0xbc], 0
nop word [eax + eax]
xor byte [ebp + eax - 0xc7], cl
inc eax
cmp eax, 0xb
jae 0x1003a455
mov cl, byte [ebp - 0xc8]
jmp 0x1003a440
xorps xmm0, xmm0
mov byte [ebp - 0xbc], 0
lea ecx, [ebp - 0xc7]
mov dword [ebp - 0x110], 0
movups xmmword [ebp - 0x120], xmm0
mov dword [ebp - 0x10c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a483
sub ecx, edx
lea eax, [ebp - 0xc7]
push ecx
push eax
lea ecx, [ebp - 0x120]
call fcn.10005240
mov dword [ebp - 4], 1
mov eax, dword [edi + 0x7c]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x1003a4c9
push 4
push eax
call esi
test eax, eax
jne 0x1003a4c9
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x120]
push eax
call dword [0x1009dfc8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10c]
cmp ecx, 0xf
jbe 0x1003a50a
mov edx, dword [ebp - 0x120]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a500
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b3a6
push ecx
push edx
call fcn.100675d1
add esp, 8
mov eax, dword [edi + 0x7c]
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0xf
mov byte [ebp - 0x120], 0
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x1003a546
push 4
push eax
call esi
test eax, eax
jne 0x1003a546
mov ecx, dword [ebp - 0x5c]
push 0xffc4fc03
call dword [0x1009dfd0]
xor al, al
imul edx, dword [ebp - 0x70], 0x34
mov byte [ebp - 0x61], al
mov dword [ebp - 0x68], edx
movzx ecx, al
mov eax, dword [edi + 0x158]
add edx, ecx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x78], edx
cmp word [eax + edx*2 + 0x48], 0
je 0x1003ad08
mov byte [ebp - 0xa0], 0x65
mov al, 0x30
xor al, byte [ebp - 0xa0]
mov cl, 0xb
mov ah, cl
mov byte [ebp - 0x9f], al
mov al, byte [ebp - 0xa0]
mov dl, 0xe
mov ch, 0xa
mov byte [ebp - 0x69], ah
mov dh, 0x12
mov byte [ebp - 0x98], 0
xor cl, al
mov byte [ebp - 0x98], 0
xor dl, al
mov byte [ebp - 0x9e], cl
xor ch, al
mov byte [ebp - 0x9d], dl
xor dh, al
mov byte [ebp - 0x9b], ch
xor ah, al
mov byte [ebp - 0x9a], dh
mov al, byte [ebp - 0x69]
lea ecx, [ebp - 0x9f]
xor al, byte [ebp - 0xa0]
lea edx, [ecx + 1]
xorps xmm0, xmm0
mov byte [ebp - 0x9c], ah
mov byte [ebp - 0x99], al
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a600
sub ecx, edx
lea eax, [ebp - 0x9f]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10005240
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x83]
xorps xmm0, xmm0
mov word [ebp - 0x84], 0x7b
mov byte [ebp - 0x83], 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 0x1003a650
sub ecx, edx
lea eax, [ebp - 0x83]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10005240
mov ecx, dword [ebp - 0x78]
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x158]
movzx eax, word [eax + ecx*2 + 0x48]
test eax, eax
je 0x1003a6ed
push eax
call dword [0x1009df20]
test eax, eax
je 0x1003a6ea
add eax, 4
lea ecx, [ebp - 0x40]
cmp ecx, eax
je 0x1003a6aa
cmp dword [eax + 0x14], 0xf
mov ecx, eax
jbe 0x1003a69e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.10004f60
mov eax, dword [ebp - 0x94]
lea eax, [eax + eax*4]
mov eax, dword [edi + eax*4 + 0xa8]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x1003a6d5
push 4
push eax
call esi
test eax, eax
jne 0x1003a6d5
mov ecx, dword [ebp - 0x5c]
push 1
call dword [0x1009df64]
mov ecx, dword [ebp - 0x94]
lea eax, [ecx + ecx*4]
mov eax, dword [edi + eax*4 + 0xac]
jmp 0x1003a884
mov ecx, dword [ebp - 0x78]
mov eax, dword [edi + 0x158]
cmp word [eax + ecx*2 + 0x48], 1
jne 0x1003a89e
cmp byte [0x100acf3f], 0
mov eax, dword [0x100acf38]
mov dword [ebp - 0x60], eax
je 0x1003a750
mov ecx, 0x10b8134
call fcn.100114e0
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x1003a74d
push 4
push eax
call esi
test eax, eax
jne 0x1003a74d
mov eax, dword [ebp - 0x5c]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x5c], eax
call esi
test eax, eax
jne 0x1003a74d
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x1003a750
mov eax, dword [ebp - 0x60]
cmp byte [eax + 0x38], 1
jne 0x1003a7df
mov byte [ebp - 0xb8], 0x13
mov al, 0x56
xor al, byte [ebp - 0xb8]
mov cl, 0x7f
xor cl, byte [ebp - 0xb8]
mov dl, 0x33
mov byte [ebp - 0xb7], al
mov dh, 0x61
mov byte [ebp - 0x69], 0x72
mov ah, 0x5e
mov al, byte [ebp - 0x69]
mov ch, 0x7c
mov byte [ebp - 0xb6], cl
mov cl, byte [ebp - 0xb8]
xor al, cl
mov byte [ebp - 0x6a], 0x77
mov byte [ebp - 0xb1], al
xor dl, cl
mov al, byte [ebp - 0x6a]
xor dh, cl
xor ah, cl
mov byte [ebp - 0xaf], 0
xor ch, cl
mov byte [ebp - 0xb5], dl
xor al, cl
mov byte [ebp - 0xb2], dh
mov byte [ebp - 0xb4], ah
lea edx, [ebp - 0xb7]
mov byte [ebp - 0xb3], ch
mov byte [ebp - 0xb0], al
mov byte [ebp - 0xaf], 0
jmp 0x1003a82d
mov dh, 0x25
mov byte [ebp - 0xca], 0
mov dl, 0x57
mov byte [ebp - 0xd0], dh
mov al, 0x6e
mov byte [ebp - 0xca], 0
mov cl, 0x44
mov ah, 0x50
xor al, dh
xor cl, dh
xor dl, dh
mov byte [ebp - 0xcf], al
xor ah, dh
mov byte [ebp - 0xcd], dl
mov ch, 0x56
mov byte [ebp - 0xce], cl
xor ch, dh
mov byte [ebp - 0xcc], ah
mov byte [ebp - 0xcb], ch
lea edx, [ebp - 0xcf]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x5c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a835
sub ecx, dword [ebp - 0x5c]
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10004f60
mov ecx, dword [ebp - 0x94]
lea eax, [ecx + ecx*4]
mov eax, dword [edi + eax*4 + 0xac]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x1003a87a
push 4
push eax
call esi
test eax, eax
jne 0x1003a874
mov ecx, dword [ebp - 0x5c]
push 1
call dword [0x1009df64]
mov ecx, dword [ebp - 0x94]
lea eax, [ecx + ecx*4]
mov eax, dword [edi + eax*4 + 0xa8]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x1003a89e
push 4
push eax
call esi
test eax, eax
jne 0x1003a89e
mov ecx, dword [ebp - 0x5c]
push eax
call dword [0x1009df64]
cmp dword [ebp - 0x2c], 0xf
lea edx, [ebp - 0x40]
xorps xmm0, xmm0
mov dword [ebp - 0xd8], 0
cmova edx, dword [ebp - 0x40]
mov ecx, edx
mov dword [ebp - 0xd4], 0
movups xmmword [ebp - 0xe8], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x5c], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a8d0
sub ecx, dword [ebp - 0x5c]
push ecx
push edx
lea ecx, [ebp - 0xe8]
call fcn.10005240
mov eax, dword [ebp - 0x94]
mov byte [ebp - 4], 4
lea eax, [eax + eax*4]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + eax*4 + 0xb0]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x1003a91e
push 4
push eax
call esi
test eax, eax
jne 0x1003a91e
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0xe8]
push eax
call dword [0x1009dfc8]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0xf
jbe 0x1003a95c
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a952
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b3a6
push ecx
push edx
call fcn.100675d1
add esp, 8
mov eax, dword [ebp - 0x5c]
mov eax, dword [edi + eax*4 + 0xb0]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x1003a982
push 4
push eax
call esi
test eax, eax
jne 0x1003a982
push dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x60]
call dword [0x1009dfd0]
mov ecx, dword [edi + 0x158]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x78]
mov byte [ebp - 0xac], 0x45
mov byte [ebp - 0xa4], 0
mov byte [ebp - 0xa4], 0
movzx eax, word [ecx + edx*2 + 0x58]
push eax
movzx eax, word [ecx + edx*2 + 0x50]
mov dl, 0x65
push eax
mov al, 0x60
mov cl, 0x21
mov dh, al
mov byte [ebp - 0x6a], cl
xor al, byte [ebp - 0xac]
mov ch, dl
mov byte [ebp - 0xab], al
mov ah, 0x6a
mov al, byte [ebp - 0xac]
xor cl, al
xor dl, al
xor ch, al
mov byte [ebp - 0xa9], dl
xor dh, al
mov byte [ebp - 0xaa], cl
xor ah, al
mov byte [ebp - 0xa6], dh
mov al, byte [ebp - 0x6a]
xor al, byte [ebp - 0xac]
sub esp, 0x18
mov edx, esp
mov byte [ebp - 0xa7], ch
lea ecx, [ebp - 0xab]
mov byte [ebp - 0xa8], ah
mov byte [ebp - 0xa5], al
lea eax, [ecx + 1]
mov dword [ebp - 0x60], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003aa30
sub ecx, dword [ebp - 0x60]
lea eax, [ebp - 0xab]
push ecx
push eax
mov ecx, edx
call fcn.10005240
lea eax, [ebp - 0x168]
push eax
call fcn.10004de0
add esp, 0x24
mov edx, eax
mov byte [ebp - 4], 5
cmp dword [edx + 0x14], 0xf
jbe 0x1003aa66
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0xd8], 0
xorps xmm0, xmm0
mov dword [ebp - 0xd4], 0
movups xmmword [ebp - 0xe8], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x60], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003aa90
sub ecx, dword [ebp - 0x60]
push ecx
push edx
lea ecx, [ebp - 0xe8]
call fcn.10005240
mov eax, dword [ebp - 0x94]
mov byte [ebp - 4], 6
lea eax, [eax + eax*4]
mov eax, dword [edi + eax*4 + 0xb4]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x1003aadb
push 4
push eax
call esi
test eax, eax
jne 0x1003aadb
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0xe8]
push eax
call dword [0x1009dfc8]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0xf
jbe 0x1003ab19
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003ab0f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b3a6
push ecx
push edx
call fcn.100675d1
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0xf
mov byte [ebp - 0xe8], 0
cmp ecx, 0xf
jbe 0x1003ab72
mov edx, dword [ebp - 0x168]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003ab68
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b3a6
push ecx
push edx
call fcn.100675d1
add esp, 8
mov eax, dword [edi + 0x158]
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0xf
mov byte [ebp - 0x168], 0
movzx eax, word [eax + ecx*2 + 0x58]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [edi + eax*4 + 0xb8]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x1003ac06
push 4
push eax
call esi
test eax, eax
jne 0x1003ac06
mov eax, dword [ebp - 0x60]
add eax, 0x128
push 4
push eax
mov dword [ebp - 0xf0], eax
call esi
test eax, eax
jne 0x1003ac06
mov eax, dword [ebp - 0x60]
add eax, 0x124
push 4
push eax
mov dword [ebp - 0xec], eax
call esi
test eax, eax
jne 0x1003ac06
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x80]
mov dword [eax], 0
mov eax, dword [ebp - 0xec]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x60]
call dword [0x1009dfb4]
mov eax, dword [edi + 0x158]
mov esi, dword [ebp - 0x78]
movzx esi, word [eax + esi*2 + 0x50]
mov eax, dword [ebp - 0x5c]
mov eax, dword [edi + eax*4 + 0xb8]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x1003ac53
push 4
push eax
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
call eax
test eax, eax
jne 0x1003ac53
mov ecx, dword [ebp - 0x80]
sub esp, 0xc
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x1009dfb8]
mov ecx, dword [ebp - 0x94]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov eax, dword [edi + ecx*4 + 0x84]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x1003ac81
push 4
push eax
call esi
test eax, eax
jne 0x1003ac81
mov ecx, dword [ebp - 0x80]
push 1
call dword [0x1009df64]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1003acb9
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003acaf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b3a6
push ecx
push edx
call fcn.100675d1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1003acf4
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003acea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b3a6
push ecx
push edx
call fcn.100675d1
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
jmp 0x1003ad29
mov eax, dword [edi + ecx*4 + 0x84]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x1003ad29
push 4
push eax
call esi
test eax, eax
jne 0x1003ad29
mov ecx, dword [ebp - 0x80]
push eax
call dword [0x1009df64]
mov al, byte [ebp - 0x61]
mov edx, dword [ebp - 0x68]
inc al
mov byte [ebp - 0x61], al
cmp al, 4
jb 0x1003a552
xor al, al
imul ecx, dword [ebp - 0x70], 0x1a
mov byte [ebp - 0x61], al
mov dword [ebp - 0x80], ecx
movzx eax, al
add ecx, eax
mov dword [ebp - 0x70], eax
mov eax, dword [edi + 0x158]
mov esi, dword [eax + ecx*4 + 0x20]
mov eax, dword [eax + ecx*4 + 0x34]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], esi
lea eax, [esi - 1]
cmp eax, 0x5f5e0fe
ja 0x1003aef9
mov esi, 0x35a4f8a0
mov dword [ebp - 0x60], esi
mov eax, 0x10624dd3
mul esi
shr edx, 6
imul eax, edx, 0x3e8
push eax
call dword [0x1009df18]
mov dword [ebp - 0x78], eax
test eax, eax
je 0x1003b0f1
xorps xmm0, xmm0
mov word [ebp - 0x88], 0x1a
lea ecx, [ebp - 0x87]
mov byte [ebp - 0x87], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x44], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003add0
sub ecx, edx
lea eax, [ebp - 0x87]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10005240
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 4], 7
cmp dword [ecx], 0
je 0x1003af08
test esi, esi
je 0x1003af08
mov eax, 0x12e0be83
mul esi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 0x1d
cmp esi, 4
jae 0x1003af08
cmp byte [ecx + 4], 0x2d
jae 0x1003af08
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push 0x10b8050
call eax
test eax, eax
jne 0x1003af08
mov eax, 0x10624dd3
mul dword [ebp - 0x60]
shr edx, 6
sub esi, edx
imul eax, esi, 0x3e8
add eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x78]
movzx ecx, byte [eax + 4]
mov ecx, dword [ecx*4 + 0x10b8050]
call dword [0x1009df1c]
mov dword [ebp - 0x68], eax
mov esi, eax
test eax, eax
je 0x1003af0a
cmp dword [eax + 0x3c], 0
je 0x1003af0a
push dword [ebp - 0x60]
xor edx, edx
lea ecx, [ebp - 0x180]
push eax
call fcn.1000b1e0
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.1000bc40
mov ecx, dword [ebp - 0x16c]
cmp ecx, 0xf
jbe 0x1003aed6
mov edx, dword [ebp - 0x180]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003aecc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b3a6
push ecx
push edx
call fcn.100675d1
add esp, 8
mov esi, dword [ebp - 0x68]
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0xf
mov byte [ebp - 0x180], 0
jmp 0x1003af7e
test esi, esi
jne 0x1003ad7a
xor eax, eax
jmp 0x1003ad91
xor esi, esi
push dword [ebp - 0x60]
mov edx, dword [ebp - 0x78]
lea ecx, [ebp - 0x198]
push 0
call fcn.1000b1e0
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.1000bc40
mov ecx, dword [ebp - 0x184]
cmp ecx, 0xf
jbe 0x1003af63
mov edx, dword [ebp - 0x198]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003af59
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b3a6
push ecx
push edx
call fcn.100675d1
add esp, 8
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0xf
mov byte [ebp - 0x198], 0
mov ecx, dword [ebp - 0x70]
lea eax, [ecx + ecx*2]
mov edx, dword [edi + eax*4 + 0xf8]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x68], edx
test edx, edx
je 0x1003b023
add edx, 4
je 0x1003afc1
push 4
push edx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003afbb
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ecx + 4]
call dword [0x1009df2c]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x70]
mov eax, dword [edi + eax*4 + 0xf8]
mov edx, dword [ebp - 0x78]
mov dword [eax + 0x60], edx
lea eax, [ecx + ecx*2]
mov eax, dword [edi + eax*4 + 0xf8]
mov dword [eax + 0x64], esi
lea eax, [ecx + ecx*2]
mov eax, dword [edi + eax*4 + 0xf8]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 0x68], ecx
mov ecx, dword [ebp - 0x70]
test esi, esi
je 0x1003b010
movsx eax, word [edx + 0x5e]
movsx esi, word [esi + 0x4e]
add esi, eax
mov edx, esi
mov dword [ebp - 0x68], esi
lea esi, [ecx + ecx*2]
mov eax, dword [edi + esi*4 + 0xf8]
mov dword [eax + 0x6c], edx
jmp 0x1003b026
movsx edx, word [edx + 0x5e]
lea esi, [ecx + ecx*2]
mov eax, dword [edi + esi*4 + 0xf8]
mov dword [eax + 0x6c], edx
jmp 0x1003b026
lea esi, [ecx + ecx*2]
lea eax, [ecx + ecx*2]
mov eax, dword [edi + eax*4 + 0xfc]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1003b050
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003b050
push dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x68]
call dword [0x1009dfcc]
mov eax, dword [edi + esi*4 + 0x100]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1003b07a
push 4
push eax
call esi
test eax, eax
jne 0x1003b07a
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x58]
push eax
call dword [0x1009df98]
mov eax, dword [ebp - 0x70]
mov eax, dword [edi + eax*4 + 0x94]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1003b09f
push 4
push eax
call esi
test eax, eax
jne 0x1003b09f
mov ecx, dword [ebp - 0x68]
push 1
call dword [0x1009df64]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x1003b0da
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b0d0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b3a6
push ecx
push edx
call fcn.100675d1
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
jmp 0x1003b353
mov esi, dword [ebp - 0x70]
mov eax, dword [edi + esi*4 + 0x94]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1003b119
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003b119
mov ecx, dword [ebp - 0x68]
push eax
call dword [0x1009df64]
lea eax, [esi + esi*2]
mov eax, dword [edi + eax*4 + 0xfc]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1003b141
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003b141
mov ecx, dword [ebp - 0x68]
push eax
call dword [0x1009dfcc]
xorps xmm0, xmm0
mov word [ebp - 0x8c], 0x2e
lea ecx, [ebp - 0x8b]
mov byte [ebp - 0x8b], 0
movups xmmword [ebp - 0x138], xmm0
mov dword [ebp - 0x128], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x124], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003b178
sub ecx, edx
lea eax, [ebp - 0x8b]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.10005240
lea esi, [esi + esi*2]
mov dword [ebp - 4], 8
mov eax, dword [edi + esi*4 + 0x100]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1003b1c9
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003b1c9
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x138]
push eax
call dword [0x1009df98]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x124]
cmp ecx, 0xf
jbe 0x1003b20a
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b200
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b3a6
push ecx
push edx
call fcn.100675d1
add esp, 8
cmp dword [edi + esi*4 + 0xf8], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
je 0x1003b353
xorps xmm0, xmm0
mov word [ebp - 0x90], 0x4f
lea ecx, [ebp - 0x8f]
mov byte [ebp - 0x8f], 0
movups xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x140], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x13c], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003b270
sub ecx, edx
lea eax, [ebp - 0x8f]
push ecx
push eax
lea ecx, [ebp - 0x150]
call fcn.10005240
mov dword [ebp - 4], 9
mov eax, dword [edi + esi*4 + 0xf8]
add eax, 4
mov dword [ebp - 0x68], eax
je 0x1003b2bf
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003b2bf
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x150]
push eax
call dword [0x1009df2c]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x13c]
cmp ecx, 0xf
jbe 0x1003b300
mov edx, dword [ebp - 0x150]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b2f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b3a6
push ecx
push edx
call fcn.100675d1
add esp, 8
mov eax, dword [edi + esi*4 + 0xf8]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
mov dword [eax + 0x60], 0
mov eax, dword [edi + esi*4 + 0xf8]
mov dword [eax + 0x64], 0
mov eax, dword [edi + esi*4 + 0xf8]
mov dword [eax + 0x68], 0
mov eax, dword [edi + esi*4 + 0xf8]
mov dword [eax + 0x6c], 0
mov al, byte [ebp - 0x61]
mov ecx, dword [ebp - 0x80]
inc al
mov byte [ebp - 0x61], al
cmp al, 5
jb 0x1003ad48
movaps xmm1, xmmword [0x1009fbd0]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov al, byte [ebp - 0x71]
inc al
mov byte [ebp - 0x71], al
cmp al, 4
jb 0x1003a260
mov al, 1
jmp 0x1003b389
xor al, al
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.10067570
mov esp, ebp
pop ebp
ret 8
call fcn.1006cd3b
int3