Function at 0x10039580
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009a90a
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x100bd078]
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 - 0xe8], edi
xor esi, esi
mov dword [ebp - 0x98], 0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], esi
lea edx, [edi + 0xd8]
mov al, byte [edi + 0x13a]
mov ecx, dword [edi + 8]
mov byte [edi + 0x140], al
mov eax, dword [edi + 0x114]
mov dword [edi + 0x148], eax
movzx eax, word [edi + 0x136]
mov word [edi + 0x142], ax
movzx eax, word [edi + 0x138]
mov word [edi + 0x144], ax
call fcn.100170e0
cmp byte [edi + 0x140], 0
movzx eax, word [edi + 0x144]
push eax
movzx eax, word [edi + 0x142]
push eax
je 0x100396f2
movaps xmm0, xmmword [str.cF_aC6]
xor ecx, ecx
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xa8], 0x4a07464b
mov byte [ebp - 0xa4], 0
nop dword [eax]
mov al, byte [ebp - 0xb8]
xor byte [ebp + ecx - 0xb7], al
inc ecx
cmp ecx, 0x13
jb 0x10039660
sub esp, 0x18
mov byte [ebp - 0xa4], 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 0x100396a5
mov eax, dword [edx]
jmp 0x100396a7
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0xb7], 0
jne 0x100396b7
xor ecx, ecx
jmp 0x100396c9
lea ecx, [ebp - 0xb7]
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100396c0
sub ecx, ebx
push ecx
lea eax, [ebp - 0xb7]
mov ecx, edx
push eax
call fcn.10002880
lea eax, [ebp - 0x54]
push eax
call fcn.10009ac0
add esp, 0x24
mov byte [ebp - 4], 1
mov ebx, 1
jmp 0x100397b0
mov byte [ebp - 0x1c], 0x72
mov al, 0x57
mov dh, al
mov byte [ebp - 0x13], 0
xor al, byte [ebp - 0x1c]
mov dl, 0x52
mov byte [ebp - 0x1b], al
mov ch, dl
mov al, byte [ebp - 0x1c]
mov cl, 0x16
xor dl, al
mov byte [ebp - 0x13], 0
mov byte [ebp - 0x19], dl
xor dh, al
mov byte [ebp - 0x15], dh
sub esp, 0x18
mov edx, esp
mov bh, cl
mov bl, 0x1d
mov ah, 0x14
xor cl, al
xor bl, al
mov byte [ebp - 0x1a], cl
xor ah, al
mov byte [ebp - 0x18], bl
xor ch, al
mov byte [ebp - 0x17], ah
xor bh, al
mov byte [ebp - 0x16], ch
mov byte [ebp - 0x14], bh
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 0x10039765
mov eax, dword [edx]
jmp 0x10039767
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x1b], 0
jne 0x10039774
xor ecx, ecx
jmp 0x10039789
lea ecx, [ebp - 0x1b]
lea ebx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10039780
sub ecx, ebx
push ecx
lea eax, [ebp - 0x1b]
mov ecx, edx
push eax
call fcn.10002880
lea eax, [ebp - 0xd0]
push eax
call fcn.10009ac0
add esp, 0x24
mov dword [ebp - 4], 2
mov ebx, 2
mov ecx, dword [edi + 0xc]
mov edx, eax
mov dword [ebp - 0x98], ebx
call fcn.100170e0
test bl, 2
je 0x10039801
mov eax, dword [ebp - 0xbc]
and ebx, 0xfffffffd
cmp eax, 0x10
jb 0x100397e6
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.10002760
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
mov dword [ebp - 4], 0
test bl, 1
je 0x10039822
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x10039822
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.10002760
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
xor al, al
mov byte [ebp - 0x8d], al
movzx edx, al
mov dword [ebp - 0x94], edx
movzx eax, word [edi + edx*2 + 0x124]
lea ecx, [edx + edx*2]
mov dword [edi + ecx*8 + 0x44], eax
lea edx, [edx + edx*2]
mov eax, dword [ebp - 0x94]
mov ax, word [edi + eax*2 + 0x12a]
mov word [edi + edx*8 + 0x48], ax
mov al, byte [edi + 0x13b]
mov byte [edi + ecx*8 + 0x4a], al
mov edx, dword [edi + ecx*8 + 0x44]
mov byte [ebp - 0x99], al
mov eax, dword [0x100c1e24]
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x10039894
cmp dword [ecx + 0x10], edx
jae 0x1003988a
mov ecx, dword [ecx + 8]
jmp 0x1003988e
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x10039880
mov ecx, dword [0x100c1e24]
cmp eax, ecx
je 0x100398a3
cmp edx, dword [eax + 0x10]
jae 0x100398a5
mov eax, ecx
cmp eax, ecx
jne 0x100398ad
xor eax, eax
jmp 0x100398b0
add eax, 0x14
mov dword [ebp - 0x58], eax
test eax, eax
je 0x10039d49
mov ecx, dword [ebp - 0x94]
lea eax, [ecx + ecx*2]
mov cl, 0x2f
movzx eax, word [edi + eax*8 + 0x48]
push eax
mov dword [ebp - 0xb4], 0x415a672f
xor eax, eax
mov dword [ebp - 0xb0], 0xf020f5b
mov dword [ebp - 0xac], 0xf000f1f
mov word [ebp - 0xa8], 0x4b0a
mov byte [ebp - 0xa6], 0
nop dword [eax]
xor byte [ebp + eax - 0xb3], cl
inc eax
cmp eax, 0xd
jae 0x10039915
mov cl, byte [ebp - 0xb4]
jmp 0x10039900
sub esp, 0x18
mov byte [ebp - 0xa6], 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 0x10039947
mov eax, dword [edx]
jmp 0x10039949
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0xb3], 0
jne 0x10039959
xor ecx, ecx
jmp 0x10039975
lea ecx, [ebp - 0xb3]
lea eax, [ecx + 1]
mov dword [ebp - 0x98], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10039968
sub ecx, dword [ebp - 0x98]
push ecx
lea eax, [ebp - 0xb3]
mov ecx, edx
push eax
call fcn.10002880
lea eax, [ebp - 0xd0]
push eax
call fcn.10009ac0
add esp, 0x20
mov edx, eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x94]
lea ecx, [eax + eax*2]
mov ecx, dword [edi + ecx*8 + 0x50]
call fcn.100170e0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xbc]
cmp eax, 0x10
jb 0x100399cd
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.10002760
mov edx, dword [ebp - 0x94]
lea eax, [edx + edx*2]
mov eax, dword [edi + eax*8 + 0x50]
mov dword [ebp - 0x98], eax
test eax, eax
je 0x10039a01
push 4
push eax
call ebx
test eax, eax
jne 0x100399fb
mov ecx, dword [ebp - 0x98]
push 0xffffffffffffffff
call dword [0x100b0df4]
mov edx, dword [ebp - 0x94]
lea eax, [edx + edx*2]
movzx eax, word [edi + eax*8 + 0x48]
mov dword [ebp - 0x2c], eax
lea eax, [edx + edx*2]
mov eax, dword [edi + eax*8 + 0x54]
mov dword [ebp - 0x98], eax
test eax, eax
je 0x10039a83
push 4
push eax
call ebx
test eax, eax
jne 0x10039a7d
mov eax, dword [ebp - 0x98]
add eax, 0x140
push 4
push eax
mov dword [ebp - 0xe0], eax
call ebx
test eax, eax
jne 0x10039a7d
mov eax, dword [ebp - 0x98]
add eax, 0x13c
push 4
push eax
mov dword [ebp - 0xe4], eax
call ebx
test eax, eax
jne 0x10039a7d
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], 0
mov eax, dword [ebp - 0xe4]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x98]
call dword [0x100b0dd4]
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0xe8]
lea ecx, [edx + edx*2]
movzx edi, word [edi + edx*2 + 0x130]
mov eax, dword [eax + ecx*8 + 0x54]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10039ac8
push 4
push eax
call ebx
test eax, eax
jne 0x10039ac8
mov ecx, dword [ebp - 0x2c]
sub esp, 0xc
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x100b0dd8]
mov ecx, dword [ebp - 0x94]
mov edi, dword [ebp - 0xe8]
mov edx, dword [ebp - 0x58]
add edx, 4
lea eax, [ecx + ecx*2]
mov ecx, dword [edi + eax*8 + 0x58]
call fcn.100170e0
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
push 0x35a4fc88
mov ecx, 0xd78ae8
mov byte [ebp - 4], 4
call fcn.100173f0
mov ecx, eax
call dword [0x100b0d3c]
test eax, eax
je 0x10039b89
push 0x35a4fc88
push 0
mov edx, eax
lea ecx, [ebp - 0xd0]
call fcn.1000b960
add esp, 8
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x74]
cmp ecx, eax
je 0x10039b67
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x10039b4a
inc eax
push eax
push dword [ebp - 0x74]
call fcn.10002760
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
call fcn.10006190
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xbc]
cmp eax, 0x10
jb 0x10039b89
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.10002760
mov ecx, dword [ebp - 0x94]
lea edx, [ebp - 0x74]
lea eax, [ecx + ecx*2]
mov ecx, dword [edi + eax*8 + 0x4c]
call fcn.10016df0
mov ecx, dword [ebp - 0x94]
mov eax, dword [edi + ecx*4 + 0x24]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10039bc3
push 4
push eax
call ebx
test eax, eax
jne 0x10039bc3
mov ecx, dword [ebp - 0x2c]
push 1
call dword [0x100b0d90]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x10039bdc
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.10002760
mov ecx, dword [ebp - 0x38]
mov al, byte [ebp - 0x8d]
add al, 1
mov byte [ebp - 0x8d], al
cmp al, 3
jb 0x10039830
cmp esi, ecx
je 0x1003a4f6
sub ecx, esi
mov dword [ebp - 0xe0], ecx
mov al, byte [esi]
movzx eax, al
cmp ecx, 2
jb 0x10039c10
dec eax
mov ecx, dword [edi + eax*4 + 0x24]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
test ecx, ecx
je 0x10039c4b
push 4
push ecx
call ebx
test eax, eax
jne 0x10039c45
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push eax
call dword [0x100b0d84]
mov eax, dword [ebp - 0x98]
mov eax, dword [edi + eax*4 + 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
test eax, eax
je 0x10039c7a
push 4
push eax
call ebx
test eax, eax
jne 0x10039c7a
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x5c]
push eax
call dword [0x100b0d84]
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10039c9c
push 4
push eax
call ebx
test eax, eax
jne 0x10039c9c
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
push dword [ebp - 0x5c]
call dword [0x100b0d88]
mov ebx, dword [edi]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb8], 0
test ebx, ebx
je 0x10039d07
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10039d07
mov eax, dword [ebx + 0xdc]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebx + 0xe0]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebx + 0xe4]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebx + 0xe8]
mov dword [ebp - 0xac], eax
movups xmm0, xmmword [ebp - 0xb8]
mov eax, dword [edi + 0x30]
xor ecx, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xe4], ecx
movups xmmword [ebp - 0x4c], xmm0
test eax, eax
je 0x1003a4bf
push 4
push eax
call ebx
test eax, eax
jne 0x1003a4b9
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xe8]
jmp 0x1003a4bf
cmp edx, 1
jne 0x1003a18f
cmp byte [ebp - 0x99], 0
je 0x1003a18f
mov ecx, dword [ebp - 0x94]
mov dh, 0x3f
mov dl, 0x10
xor dl, dh
lea eax, [ecx + ecx*2]
mov cl, 0x1f
movzx eax, word [edi + eax*8 + 0x48]
mov bl, cl
push eax
mov byte [ebp - 0x24], dh
mov al, 0xf
mov byte [ebp - 0x21], dl
mov ah, 0x1a
mov ch, 0x5b
mov byte [ebp - 0x1d], 0
xor al, dh
mov byte [ebp - 0x1d], 0
xor cl, dh
mov byte [ebp - 0x23], al
xor bl, dh
mov byte [ebp - 0x22], cl
xor ah, dh
mov byte [ebp - 0x20], bl
xor ch, dh
mov byte [ebp - 0x1f], ah
sub esp, 0x18
mov byte [ebp - 0x1e], ch
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 0x10039dd0
mov eax, dword [edx]
jmp 0x10039dd2
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x23], 0
jne 0x10039ddf
xor ecx, ecx
jmp 0x10039dee
lea ecx, [ebp - 0x23]
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10039de5
sub ecx, ebx
push ecx
lea eax, [ebp - 0x23]
mov ecx, edx
push eax
call fcn.10002880
lea eax, [ebp - 0xd0]
push eax
call fcn.10009ac0
add esp, 0x20
mov edx, eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x94]
lea ebx, [eax + eax*2]
mov ecx, dword [edi + ebx*8 + 0x50]
call fcn.100170e0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xbc]
cmp eax, 0x10
jb 0x10039e43
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.10002760
mov eax, dword [edi + ebx*8 + 0x50]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10039e68
push 4
push eax
call ebx
test eax, eax
jne 0x10039e68
mov ecx, dword [ebp - 0x2c]
push 0xffffffffffffffff
call dword [0x100b0df4]
mov edx, dword [ebp - 0x94]
lea eax, [edx + edx*2]
movzx eax, word [edi + eax*8 + 0x48]
mov dword [ebp - 0xe0], eax
lea eax, [edx + edx*2]
mov eax, dword [edi + eax*8 + 0x54]
mov dword [ebp - 0x98], eax
test eax, eax
je 0x10039ef0
push 4
push eax
call ebx
test eax, eax
jne 0x10039eea
mov eax, dword [ebp - 0x98]
add eax, 0x140
push 4
push eax
mov dword [ebp - 0x2c], eax
call ebx
test eax, eax
jne 0x10039eea
mov eax, dword [ebp - 0x98]
add eax, 0x13c
push 4
push eax
mov dword [ebp - 0xe4], eax
call ebx
test eax, eax
jne 0x10039eea
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xe0]
mov dword [eax], 0
mov eax, dword [ebp - 0xe4]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x98]
call dword [0x100b0dd4]
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0xe8]
lea ecx, [edx + edx*2]
movzx edi, word [edi + edx*2 + 0x130]
mov eax, dword [eax + ecx*8 + 0x54]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10039f3b
push 4
push eax
call ebx
test eax, eax
jne 0x10039f35
mov ecx, dword [ebp - 0x2c]
sub esp, 0xc
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x100b0dd8]
mov edx, dword [ebp - 0x94]
mov edi, dword [ebp - 0xe8]
lea eax, [edx + edx*2]
cmp byte [edi + eax*8 + 0x4a], 1
jne 0x10039fbc
mov byte [ebp - 0x48], 0x61
mov al, 0x5d
xor al, byte [ebp - 0x48]
mov cl, 0x24
xor cl, byte [ebp - 0x48]
xor bh, bh
mov byte [ebp - 0x47], al
mov dl, 0xd
mov byte [ebp - 0x99], 5
mov dh, 0x13
mov al, byte [ebp - 0x99]
mov bl, 0x41
mov byte [ebp - 0x46], cl
mov ah, 0x2c
mov cl, byte [ebp - 0x48]
mov ch, 0xe
xor al, cl
mov byte [ebp - 0xd1], 0x5f
mov byte [ebp - 0x3f], al
xor dl, cl
mov al, byte [ebp - 0xd1]
xor dh, cl
mov byte [ebp - 0x3d], bh
xor bl, cl
xor ah, cl
mov byte [ebp - 0x45], dl
xor ch, cl
mov byte [ebp - 0x41], dh
xor bh, cl
mov byte [ebp - 0x44], bl
xor al, cl
mov byte [ebp - 0x43], ah
mov byte [ebp - 0x42], ch
lea edx, [ebp - 0x47]
mov byte [ebp - 0x40], bh
mov byte [ebp - 0x3e], al
mov byte [ebp - 0x3d], 0
jmp 0x10039ffd
mov bh, 0x5e
mov byte [ebp - 0x14], 0
mov dl, 0x3f
mov byte [ebp - 0x1c], bh
mov al, 0x62
mov byte [ebp - 0x14], 0
mov cl, 0x15
mov bl, 0x2c
mov ah, 0x2b
mov ch, 0x2d
mov dh, 0x60
xor dl, bh
xor al, bh
mov byte [ebp - 0x19], dl
xor cl, bh
mov byte [ebp - 0x1b], al
xor bl, bh
mov byte [ebp - 0x1a], cl
xor ah, bh
mov byte [ebp - 0x18], bl
xor ch, bh
mov byte [ebp - 0x17], ah
xor dh, bh
mov byte [ebp - 0x16], ch
mov byte [ebp - 0x15], dh
lea edx, [ebp - 0x1b]
cmp byte [edx], 0
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
jne 0x1003a021
xor ecx, ecx
jmp 0x1003a02f
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a026
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0xd0]
call fcn.10002880
mov ebx, dword [ebp - 0x94]
lea edx, [ebp - 0xd0]
mov byte [ebp - 4], 7
lea eax, [ebx + ebx*2]
mov ecx, dword [edi + eax*8 + 0x58]
call fcn.100170e0
mov eax, dword [ebp - 0xbc]
cmp eax, 0x10
jb 0x1003a076
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.10002760
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
push 0x35a50840
mov ecx, 0xd78ae8
mov byte [ebp - 4], 8
call fcn.100173f0
mov ecx, eax
call dword [0x100b0d3c]
test eax, eax
je 0x1003a135
push 0x35a50840
push 0
mov edx, eax
lea ecx, [ebp - 0xd0]
call fcn.1000b960
add esp, 8
mov ebx, eax
lea eax, [ebp - 0x8c]
cmp eax, ebx
je 0x1003a10d
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x1003a0ec
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.10002760
push ebx
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
call fcn.10006190
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xbc]
cmp eax, 0x10
jb 0x1003a12f
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.10002760
mov ebx, dword [ebp - 0x94]
lea eax, [ebx + ebx*2]
mov ecx, dword [edi + eax*8 + 0x4c]
lea edx, [ebp - 0x8c]
call fcn.10016df0
mov eax, dword [edi + ebx*4 + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1003a16c
push 4
push eax
call ebx
test eax, eax
jne 0x1003a16c
mov ecx, dword [ebp - 0x2c]
push 1
call dword [0x100b0d90]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x10039bdc
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
jmp 0x10039bd7
mov eax, dword [ebp - 0x94]
mov eax, dword [edi + eax*4 + 0x24]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1003a1b3
push 4
push eax
call ebx
test eax, eax
jne 0x1003a1b3
mov ecx, dword [ebp - 0x2c]
push eax
call dword [0x100b0d90]
mov ecx, dword [ebp - 0x94]
lea eax, [ecx + ecx*2]
movzx eax, word [edi + eax*8 + 0x48]
push eax
sub esp, 0x18
mov word [ebp - 0xa0], 0x51
mov edx, esp
mov byte [ebp - 0x9f], 0
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 0x1003a1fd
mov eax, dword [edx]
jmp 0x1003a1ff
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x9f], 0
jne 0x1003a20f
xor ecx, ecx
jmp 0x1003a22a
lea ecx, [ebp - 0x9f]
lea eax, [ecx + 1]
mov dword [ebp - 0x2c], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a220
sub ecx, dword [ebp - 0x2c]
push ecx
lea eax, [ebp - 0x9f]
mov ecx, edx
push eax
call fcn.10002880
lea eax, [ebp - 0xd0]
push eax
call fcn.10009ac0
add esp, 0x20
mov ecx, dword [ebp - 0x94]
mov edx, eax
mov byte [ebp - 4], 0xa
lea eax, [ecx + ecx*2]
mov ecx, dword [edi + eax*8 + 0x50]
call fcn.100170e0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xbc]
cmp eax, 0x10
jb 0x1003a282
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.10002760
mov edx, dword [ebp - 0x94]
lea eax, [edx + edx*2]
movzx eax, word [edi + eax*8 + 0x48]
mov dword [ebp - 0xe0], eax
lea eax, [edx + edx*2]
mov eax, dword [edi + eax*8 + 0x54]
mov dword [ebp - 0x98], eax
test eax, eax
je 0x1003a30a
push 4
push eax
call ebx
test eax, eax
jne 0x1003a304
mov eax, dword [ebp - 0x98]
add eax, 0x140
push 4
push eax
mov dword [ebp - 0x2c], eax
call ebx
test eax, eax
jne 0x1003a304
mov eax, dword [ebp - 0x98]
add eax, 0x13c
push 4
push eax
mov dword [ebp - 0xe4], eax
call ebx
test eax, eax
jne 0x1003a304
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xe0]
mov dword [eax], 0
mov eax, dword [ebp - 0xe4]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x98]
call dword [0x100b0dd4]
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0xe8]
lea ecx, [edx + edx*2]
movzx edi, word [edi + edx*2 + 0x130]
mov eax, dword [eax + ecx*8 + 0x54]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1003a34f
push 4
push eax
call ebx
test eax, eax
jne 0x1003a34f
mov ecx, dword [ebp - 0x2c]
sub esp, 0xc
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x100b0dd8]
push 0
lea eax, [ebp - 0xd7]
mov word [ebp - 0xd8], 0x29
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 0xd7], 0
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
call fcn.10002880
mov ecx, dword [ebp - 0x94]
lea edx, [ebp - 0xd0]
mov edi, dword [ebp - 0xe8]
mov byte [ebp - 4], 0xb
lea eax, [ecx + ecx*2]
mov ecx, dword [edi + eax*8 + 0x58]
call fcn.100170e0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xbc]
cmp eax, 0x10
jb 0x1003a3d2
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.10002760
push 0
lea eax, [ebp - 0xdb]
mov word [ebp - 0xdc], 0x45
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 0xdb], 0
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
call fcn.10002880
mov ecx, dword [ebp - 0x94]
lea edx, [ebp - 0xd0]
mov byte [ebp - 4], 0xc
lea eax, [ecx + ecx*2]
mov ecx, dword [edi + eax*8 + 0x4c]
call fcn.10016df0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xbc]
cmp eax, 0x10
jb 0x1003a44f
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.10002760
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x8d]
cmp eax, ecx
jae 0x1003a48f
cmp esi, eax
ja 0x1003a48f
sub eax, esi
mov dword [ebp - 0x2c], eax
cmp ecx, dword [ebp - 0x34]
jne 0x1003a47d
push 1
lea ecx, [ebp - 0x3c]
call fcn.1000b390
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x1003a486
mov al, byte [esi + eax]
mov byte [ecx], al
inc ecx
mov dword [ebp - 0x38], ecx
jmp 0x10039bdf
cmp ecx, dword [ebp - 0x34]
jne 0x1003a4a4
push 1
lea ecx, [ebp - 0x3c]
call fcn.1000b390
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x1003a4b0
mov al, byte [ebp - 0x8d]
mov byte [ecx], al
inc ecx
mov dword [ebp - 0x38], ecx
jmp 0x10039bdf
mov ecx, dword [ebp - 0xe4]
mov eax, dword [edi]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1003a4e1
push 4
push eax
call ebx
test eax, eax
jne 0x1003a4e1
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x4c]
push eax
call dword [0x100b0d78]
mov ecx, dword [ebp - 0xe0]
inc esi
cmp esi, dword [ebp - 0x38]
jne 0x10039c05
jmp 0x1003a618
mov esi, dword [edi + 0x2c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
test esi, esi
je 0x1003a520
push 4
push esi
call ebx
test eax, eax
jne 0x1003a520
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call dword [0x100b0d84]
mov esi, dword [edi + 0x2c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
test esi, esi
je 0x1003a54a
push 4
push esi
call ebx
test eax, eax
jne 0x1003a54a
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call dword [0x100b0d84]
mov esi, dword [edi + 0x30]
test esi, esi
je 0x1003a56c
push 4
push esi
call ebx
test eax, eax
jne 0x1003a56c
mov eax, dword [ebp - 0x20]
mov ecx, esi
add eax, 0x32
push eax
push dword [ebp - 0x30]
call dword [0x100b0d88]
mov esi, dword [edi]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb8], 0
test esi, esi
je 0x1003a5d3
push 4
push esi
call ebx
test eax, eax
jne 0x1003a5d3
mov eax, dword [esi + 0xdc]
mov dword [ebp - 0xb8], eax
mov eax, dword [esi + 0xe0]
mov dword [ebp - 0xb4], eax
mov eax, dword [esi + 0xe4]
mov dword [ebp - 0xb0], eax
mov eax, dword [esi + 0xe8]
mov dword [ebp - 0xac], eax
movups xmm0, xmmword [ebp - 0xb8]
mov esi, dword [edi + 0x30]
xor eax, eax
movups xmmword [ebp - 0x4c], xmm0
test esi, esi
je 0x1003a5fa
push 4
push esi
call ebx
test eax, eax
jne 0x1003a5f8
mov eax, dword [esi + 0xe8]
jmp 0x1003a5fa
xor eax, eax
mov esi, dword [edi]
mov dword [ebp - 0x40], eax
test esi, esi
je 0x1003a618
push 4
push esi
call ebx
test eax, eax
jne 0x1003a618
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call dword [0x100b0d78]
mov eax, dword [edi + 0xfc]
mov ecx, edi
movss xmm0, dword [edi + 0x118]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x100]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x104]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x108]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x10c]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x110]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x48]
push eax
movss dword [ebp - 0x48], xmm0
lea eax, [ebp - 0x1c]
movss xmm0, dword [edi + 0x11c]
push eax
movss dword [ebp - 0x44], xmm0
lea eax, [ebp - 0x28]
movss xmm0, dword [edi + 0x120]
push eax
movss dword [ebp - 0x40], xmm0
call fcn.1003b0b0
mov esi, dword [edi + 0x18]
mov byte [edi + 0xd4], 1
test esi, esi
je 0x1003a6a8
push 4
push esi
call ebx
test eax, eax
jne 0x1003a6a8
push eax
mov ecx, esi
call dword [0x100b0d90]
mov esi, dword [edi + 0x14]
test esi, esi
je 0x1003a6c2
push 4
push esi
call ebx
test eax, eax
jne 0x1003a6c2
push 1
mov ecx, esi
call dword [0x100b0d90]
mov esi, dword [edi + 0x20]
test esi, esi
je 0x1003a6dc
push 4
push esi
call ebx
test eax, eax
jne 0x1003a6dc
push 1
mov ecx, esi
call dword [0x100b0d90]
mov esi, dword [edi + 0x30]
test esi, esi
je 0x1003a6f6
push 4
push esi
call ebx
test eax, eax
jne 0x1003a6f6
push 1
mov ecx, esi
call dword [0x100b0d90]
mov ecx, edi
call fcn.10039020
mov ecx, edi
call fcn.10037d10
cmp byte [edi + 0xd4], 0
je 0x1003a726
mov esi, dword [edi]
test esi, esi
je 0x1003a726
push 4
push esi
call ebx
test eax, eax
jne 0x1003a726
push 1
mov ecx, esi
call dword [0x100b0d90]
lea ecx, [ebp - 0x3c]
call fcn.1000b5b0
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.10067c75
mov esp, ebp
pop ebp
ret