Function at 0x10039000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069bfa
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x1007e040]
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 [0x10081a28], eax
test ecx, ecx
je 0x1003a21d
cmp dword [ebp + 0xc], 1
jne 0x1003a21d
cmp dword [0x10081800], 0
je 0x1003a21d
mov eax, dword [edi + 4]
test eax, eax
je 0x10039071
cmp ecx, eax
jne 0x10039071
mov ecx, edi
call fcn.1003aeb0
mov al, 1
jmp 0x1003a21f
mov eax, dword [edi + 0x138]
test eax, eax
je 0x100390a0
cmp ecx, eax
jne 0x100390a0
mov eax, dword [edi + 0x144]
cmp eax, 1
jle 0x10039099
dec eax
push eax
mov ecx, edi
mov dword [edi + 0x144], eax
call fcn.1003cb50
mov al, 1
jmp 0x1003a21f
mov eax, dword [edi + 0x13c]
test eax, eax
je 0x100390bf
cmp ecx, eax
jne 0x100390bf
mov eax, dword [edi + 0x144]
cmp eax, dword [edi + 0x148]
jge 0x10039099
inc eax
jmp 0x1003908b
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 0x10039099
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
xor al, al
movaps xmm1, xmmword [0x10077620]
mov byte [ebp - 0x71], al
movzx ecx, al
lea eax, [ecx + ecx*2]
mov eax, dword [edi + eax*8 + 0x30]
test eax, eax
je 0x1003a203
cmp dword [ebp + 8], eax
jne 0x1003a203
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 0x1003a203
mov eax, dword [edi + 0x158]
mov edx, dword [ebp - 0x7c]
add eax, 0x18
nop dword [eax]
cmp dword [eax], edx
je 0x10039164
inc dword [ebp - 0x70]
add eax, 0x68
cmp dword [ebp - 0x70], ecx
jl 0x10039150
jmp 0x1003a203
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 0x100392a1
movups xmmword [ebp - 0x28], xmm1
mov dword [ebp - 0x18], 0x696f7267
xor ecx, ecx
mov word [ebp - 0x14], 0x5b68
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 0x100391a0
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 0x100391d5
sub ecx, edx
lea eax, [ebp - 0x27]
push ecx
push eax
lea ecx, [ebp - 0x108]
call fcn.10005220
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x7c]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x10039218
push 4
push eax
call esi
test eax, eax
jne 0x10039218
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x108]
push eax
call dword [0x10075274]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xf4]
cmp ecx, 0xf
jbe 0x10039259
mov edx, dword [ebp - 0x108]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003924f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a217
push ecx
push edx
call fcn.100662c0
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 0x10039295
push 4
push eax
call esi
test eax, eax
jne 0x10039295
mov ecx, dword [ebp - 0x7c]
push 0xff5cb9fe
call dword [0x1007527c]
mov dword [ebp - 0x7c], 0xff808080
jmp 0x100393d6
mov cl, 0x62
mov dword [ebp - 0xc8], 0xc373962
mov dword [ebp - 0xc4], 0x42100706
xor eax, eax
mov dword [ebp - 0xc0], 0x3f1b0315
mov byte [ebp - 0xbc], 0
nop word [eax + eax]
xor byte [ebp + eax - 0xc7], cl
inc eax
cmp eax, 0xb
jae 0x100392e5
mov cl, byte [ebp - 0xc8]
jmp 0x100392d0
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 0x10039313
sub ecx, edx
lea eax, [ebp - 0xc7]
push ecx
push eax
lea ecx, [ebp - 0x120]
call fcn.10005220
mov dword [ebp - 4], 1
mov eax, dword [edi + 0x7c]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x10039359
push 4
push eax
call esi
test eax, eax
jne 0x10039359
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x120]
push eax
call dword [0x10075274]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10c]
cmp ecx, 0xf
jbe 0x1003939a
mov edx, dword [ebp - 0x120]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10039390
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a217
push ecx
push edx
call fcn.100662c0
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 0x100393d6
push 4
push eax
call esi
test eax, eax
jne 0x100393d6
mov ecx, dword [ebp - 0x5c]
push 0xffc4fc03
call dword [0x1007527c]
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 0x10039b98
mov byte [ebp - 0xa0], 0x49
mov al, 0x1c
xor al, byte [ebp - 0xa0]
mov cl, 0x27
mov ah, cl
mov byte [ebp - 0x9f], al
mov al, byte [ebp - 0xa0]
mov dl, 0x22
mov ch, 0x26
mov byte [ebp - 0x69], ah
mov dh, 0x3e
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 0x10039490
sub ecx, edx
lea eax, [ebp - 0x9f]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10005220
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x83]
xorps xmm0, xmm0
mov word [ebp - 0x84], 0x34
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 0x100394e0
sub ecx, edx
lea eax, [ebp - 0x83]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10005220
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 0x1003957d
push eax
call dword [0x100751cc]
test eax, eax
je 0x1003957a
add eax, 4
lea ecx, [ebp - 0x40]
cmp ecx, eax
je 0x1003953a
cmp dword [eax + 0x14], 0xf
mov ecx, eax
jbe 0x1003952e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.10004f30
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 0x10039565
push 4
push eax
call esi
test eax, eax
jne 0x10039565
mov ecx, dword [ebp - 0x5c]
push 1
call dword [0x10075210]
mov ecx, dword [ebp - 0x94]
lea eax, [ecx + ecx*4]
mov eax, dword [edi + eax*4 + 0xac]
jmp 0x10039714
mov ecx, dword [ebp - 0x78]
mov eax, dword [edi + 0x158]
cmp word [eax + ecx*2 + 0x48], 1
jne 0x1003972e
cmp byte [0x1008187c], 0
mov eax, dword [0x10081800]
mov dword [ebp - 0x60], eax
je 0x100395e0
mov ecx, 0x10b8134
call fcn.10013c90
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x100395dd
push 4
push eax
call esi
test eax, eax
jne 0x100395dd
mov eax, dword [ebp - 0x5c]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x5c], eax
call esi
test eax, eax
jne 0x100395dd
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x100395e0
mov eax, dword [ebp - 0x60]
cmp byte [eax + 0x38], 1
jne 0x1003966f
mov byte [ebp - 0xb8], 0x16
mov al, 0x53
xor al, byte [ebp - 0xb8]
mov cl, 0x7a
xor cl, byte [ebp - 0xb8]
mov dl, 0x36
mov byte [ebp - 0xb7], al
mov dh, 0x64
mov byte [ebp - 0x69], 0x77
mov ah, 0x5b
mov al, byte [ebp - 0x69]
mov ch, 0x79
mov byte [ebp - 0xb6], cl
mov cl, byte [ebp - 0xb8]
xor al, cl
mov byte [ebp - 0x6a], 0x72
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 0x100396bd
mov dh, 0x69
mov byte [ebp - 0xca], 0
mov dl, 0x1b
mov byte [ebp - 0xd0], dh
mov al, 0x22
mov byte [ebp - 0xca], 0
mov cl, 8
mov ah, 0x1c
xor al, dh
xor cl, dh
xor dl, dh
mov byte [ebp - 0xcf], al
xor ah, dh
mov byte [ebp - 0xcd], dl
mov ch, 0x1a
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 0x100396c5
sub ecx, dword [ebp - 0x5c]
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10004f30
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 0x1003970a
push 4
push eax
call esi
test eax, eax
jne 0x10039704
mov ecx, dword [ebp - 0x5c]
push 1
call dword [0x10075210]
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 0x1003972e
push 4
push eax
call esi
test eax, eax
jne 0x1003972e
mov ecx, dword [ebp - 0x5c]
push eax
call dword [0x10075210]
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 0x10039760
sub ecx, dword [ebp - 0x5c]
push ecx
push edx
lea ecx, [ebp - 0xe8]
call fcn.10005220
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 0x100397ae
push 4
push eax
call esi
test eax, eax
jne 0x100397ae
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0xe8]
push eax
call dword [0x10075274]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0xf
jbe 0x100397ec
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100397e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a217
push ecx
push edx
call fcn.100662c0
add esp, 8
mov eax, dword [ebp - 0x5c]
mov eax, dword [edi + eax*4 + 0xb0]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x10039812
push 4
push eax
call esi
test eax, eax
jne 0x10039812
push dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x60]
call dword [0x1007527c]
mov ecx, dword [edi + 0x158]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x78]
mov byte [ebp - 0xac], 0x58
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, 0x78
push eax
mov al, 0x7d
mov cl, 0x3c
mov dh, al
mov byte [ebp - 0x6a], cl
xor al, byte [ebp - 0xac]
mov ch, dl
mov byte [ebp - 0xab], al
mov ah, 0x77
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 0x100398c0
sub ecx, dword [ebp - 0x60]
lea eax, [ebp - 0xab]
push ecx
push eax
mov ecx, edx
call fcn.10005220
lea eax, [ebp - 0x168]
push eax
call fcn.10004db0
add esp, 0x24
mov edx, eax
mov byte [ebp - 4], 5
cmp dword [edx + 0x14], 0xf
jbe 0x100398f6
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 0x10039920
sub ecx, dword [ebp - 0x60]
push ecx
push edx
lea ecx, [ebp - 0xe8]
call fcn.10005220
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 0x1003996b
push 4
push eax
call esi
test eax, eax
jne 0x1003996b
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0xe8]
push eax
call dword [0x10075274]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0xf
jbe 0x100399a9
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003999f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a217
push ecx
push edx
call fcn.100662c0
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 0x10039a02
mov edx, dword [ebp - 0x168]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100399f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a217
push ecx
push edx
call fcn.100662c0
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 0x10039a96
push 4
push eax
call esi
test eax, eax
jne 0x10039a96
mov eax, dword [ebp - 0x60]
add eax, 0x128
push 4
push eax
mov dword [ebp - 0xf0], eax
call esi
test eax, eax
jne 0x10039a96
mov eax, dword [ebp - 0x60]
add eax, 0x124
push 4
push eax
mov dword [ebp - 0xec], eax
call esi
test eax, eax
jne 0x10039a96
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 [0x10075260]
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 0x10039ae3
push 4
push eax
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
call eax
test eax, eax
jne 0x10039ae3
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 [0x10075264]
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 0x10039b11
push 4
push eax
call esi
test eax, eax
jne 0x10039b11
mov ecx, dword [ebp - 0x80]
push 1
call dword [0x10075210]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10039b49
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10039b3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a217
push ecx
push edx
call fcn.100662c0
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x10039b84
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10039b7a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a217
push ecx
push edx
call fcn.100662c0
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
jmp 0x10039bb9
mov eax, dword [edi + ecx*4 + 0x84]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x10039bb9
push 4
push eax
call esi
test eax, eax
jne 0x10039bb9
mov ecx, dword [ebp - 0x80]
push eax
call dword [0x10075210]
mov al, byte [ebp - 0x61]
mov edx, dword [ebp - 0x68]
inc al
mov byte [ebp - 0x61], al
cmp al, 4
jb 0x100393e2
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 0x10039d89
mov esi, 0x35a4f8a0
mov dword [ebp - 0x60], esi
mov eax, 0x10624dd3
mul esi
shr edx, 6
imul eax, edx, 0x3e8
push eax
call dword [0x100751c4]
mov dword [ebp - 0x78], eax
test eax, eax
je 0x10039f81
xorps xmm0, xmm0
mov word [ebp - 0x88], 0x11
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 0x10039c60
sub ecx, edx
lea eax, [ebp - 0x87]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10005220
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 4], 7
cmp dword [ecx], 0
je 0x10039d98
test esi, esi
je 0x10039d98
mov eax, 0x12e0be83
mul esi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 0x1d
cmp esi, 4
jae 0x10039d98
cmp byte [ecx + 4], 0x2d
jae 0x10039d98
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push 0x10b8050
call eax
test eax, eax
jne 0x10039d98
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 [0x100751c8]
mov dword [ebp - 0x68], eax
mov esi, eax
test eax, eax
je 0x10039d9a
cmp dword [eax + 0x3c], 0
je 0x10039d9a
push dword [ebp - 0x60]
xor edx, edx
lea ecx, [ebp - 0x180]
push eax
call fcn.1000d090
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.1000dbd0
mov ecx, dword [ebp - 0x16c]
cmp ecx, 0xf
jbe 0x10039d66
mov edx, dword [ebp - 0x180]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10039d5c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a217
push ecx
push edx
call fcn.100662c0
add esp, 8
mov esi, dword [ebp - 0x68]
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0xf
mov byte [ebp - 0x180], 0
jmp 0x10039e0e
test esi, esi
jne 0x10039c0a
xor eax, eax
jmp 0x10039c21
xor esi, esi
push dword [ebp - 0x60]
mov edx, dword [ebp - 0x78]
lea ecx, [ebp - 0x198]
push 0
call fcn.1000d090
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.1000dbd0
mov ecx, dword [ebp - 0x184]
cmp ecx, 0xf
jbe 0x10039df3
mov edx, dword [ebp - 0x198]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10039de9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a217
push ecx
push edx
call fcn.100662c0
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 0x10039eb3
add edx, 4
je 0x10039e51
push 4
push edx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10039e4b
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ecx + 4]
call dword [0x100751d8]
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 0x10039ea0
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 0x10039eb6
movsx edx, word [edx + 0x5e]
lea esi, [ecx + ecx*2]
mov eax, dword [edi + esi*4 + 0xf8]
mov dword [eax + 0x6c], edx
jmp 0x10039eb6
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 0x10039ee0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10039ee0
push dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x68]
call dword [0x10075278]
mov eax, dword [edi + esi*4 + 0x100]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x10039f0a
push 4
push eax
call esi
test eax, eax
jne 0x10039f0a
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x58]
push eax
call dword [0x10075244]
mov eax, dword [ebp - 0x70]
mov eax, dword [edi + eax*4 + 0x94]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x10039f2f
push 4
push eax
call esi
test eax, eax
jne 0x10039f2f
mov ecx, dword [ebp - 0x68]
push 1
call dword [0x10075210]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x10039f6a
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10039f60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a217
push ecx
push edx
call fcn.100662c0
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
jmp 0x1003a1e3
mov esi, dword [ebp - 0x70]
mov eax, dword [edi + esi*4 + 0x94]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x10039fa9
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10039fa9
mov ecx, dword [ebp - 0x68]
push eax
call dword [0x10075210]
lea eax, [esi + esi*2]
mov eax, dword [edi + eax*4 + 0xfc]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x10039fd1
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10039fd1
mov ecx, dword [ebp - 0x68]
push eax
call dword [0x10075278]
xorps xmm0, xmm0
mov word [ebp - 0x8c], 0x2f
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 0x1003a008
sub ecx, edx
lea eax, [ebp - 0x8b]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.10005220
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 0x1003a059
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a059
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x138]
push eax
call dword [0x10075244]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x124]
cmp ecx, 0xf
jbe 0x1003a09a
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a090
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a217
push ecx
push edx
call fcn.100662c0
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 0x1003a1e3
xorps xmm0, xmm0
mov word [ebp - 0x90], 0x6d
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 0x1003a100
sub ecx, edx
lea eax, [ebp - 0x8f]
push ecx
push eax
lea ecx, [ebp - 0x150]
call fcn.10005220
mov dword [ebp - 4], 9
mov eax, dword [edi + esi*4 + 0xf8]
add eax, 4
mov dword [ebp - 0x68], eax
je 0x1003a14f
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a14f
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x150]
push eax
call dword [0x100751d8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x13c]
cmp ecx, 0xf
jbe 0x1003a190
mov edx, dword [ebp - 0x150]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003a186
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003a217
push ecx
push edx
call fcn.100662c0
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 0x10039bd8
movaps xmm1, xmmword [0x10077620]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov al, byte [ebp - 0x71]
inc al
mov byte [ebp - 0x71], al
cmp al, 4
jb 0x100390f0
mov al, 1
jmp 0x1003a21f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
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.1006625f
mov esp, ebp
pop ebp
ret 8