Function at 0x10029e60
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067530
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1c0
mov eax, dword [0x1007c040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xb0], 0
xorps xmm0, xmm0
movq qword [ebp - 0x64], xmm0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 4], 0
lea edx, [edi + 0xd8]
mov al, byte [edi + 0x13a]
mov byte [edi + 0x13c], al
mov eax, dword [edi + 0x114]
mov dword [edi + 0x144], eax
movzx eax, word [edi + 0x136]
mov word [edi + 0x13e], ax
movzx eax, word [edi + 0x138]
mov word [edi + 0x140], ax
cmp dword [edx + 0x14], 0xf
jbe 0x10029f1a
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x100], 0
movups xmmword [ebp - 0x110], xmm0
mov dword [ebp - 0xfc], 0
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10029f40
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x110]
call fcn.100051a0
mov byte [ebp - 4], 1
mov eax, dword [edi + 8]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x10029f89
push 4
push eax
call esi
test eax, eax
jne 0x10029f89
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0x110]
push eax
call dword [0x10073638]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xfc]
cmp ecx, 0xf
jbe 0x10029fc9
mov edx, dword [ebp - 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10029fbf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10029fbf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
cmp byte [edi + 0x13c], 0
movzx eax, word [edi + 0x140]
movzx ecx, word [edi + 0x13e]
push eax
push ecx
je 0x1002a08d
movaps xmm0, xmmword [0x100756e0]
xor ecx, ecx
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd0], 0x2b66272a
mov byte [ebp - 0xcc], 0
nop word [eax + eax]
mov al, byte [ebp - 0xe0]
xor byte [ebp + ecx - 0xdf], al
inc ecx
cmp ecx, 0x13
jb 0x1002a010
sub esp, 0x18
mov byte [ebp - 0xcc], 0
mov edx, esp
lea ecx, [ebp - 0xdf]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0xb8], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a052
sub ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0xdf]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x1b8]
push eax
call fcn.10004d30
add esp, 0x24
mov edx, eax
mov byte [ebp - 4], 2
mov eax, 1
jmp 0x1002a179
mov al, 0x77
mov byte [ebp - 0xf4], 0x52
mov byte [ebp - 0xa5], al
mov cl, 0x36
xor al, byte [ebp - 0xf4]
mov dl, 0x72
mov byte [ebp - 0xa6], cl
mov dh, dl
xor cl, byte [ebp - 0xf4]
mov ah, 0x3d
mov byte [ebp - 0xf3], al
mov ch, 0x34
mov al, byte [ebp - 0xa5]
xorps xmm0, xmm0
mov byte [ebp - 0xf2], cl
mov cl, byte [ebp - 0xf4]
xor al, cl
mov byte [ebp - 0xeb], 0
mov byte [ebp - 0xed], al
xor dl, cl
mov al, byte [ebp - 0xa6]
xor ah, cl
xor dh, cl
mov byte [ebp - 0xf1], dl
xor al, cl
mov byte [ebp - 0xee], dh
xor ch, cl
mov byte [ebp - 0xf0], ah
sub esp, 0x18
mov byte [ebp - 0xef], ch
mov edx, esp
mov byte [ebp - 0xec], al
lea ecx, [ebp - 0xf3]
mov byte [ebp - 0xeb], 0
lea eax, [ecx + 1]
mov dword [ebp - 0xb8], 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 0x1002a140
sub ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0xf3]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x1a0]
push eax
call fcn.10004d30
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 3
mov eax, 2
cmp dword [edx + 0x14], 0xf
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
jbe 0x1002a18d
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x130], 0
xorps xmm0, xmm0
mov dword [ebp - 0x12c], 0
movups xmmword [ebp - 0x140], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0xb8], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a1b6
sub ecx, dword [ebp - 0xb8]
push ecx
push edx
lea ecx, [ebp - 0x140]
call fcn.100051a0
mov dword [ebp - 4], 4
mov eax, dword [edi + 0xc]
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x1002a200
push 4
push eax
call esi
test eax, eax
jne 0x1002a200
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0x140]
push eax
call dword [0x10073638]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0xf
jbe 0x1002a23e
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a234
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a301
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
test al, 2
je 0x1002a2ca
mov ecx, dword [ebp - 0x18c]
and eax, 0xfffffffd
mov dword [ebp - 0xac], eax
cmp ecx, 0xf
jbe 0x1002a2af
mov edx, dword [ebp - 0x1a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a29f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a301
push ecx
push edx
call fcn.100641c5
mov eax, dword [ebp - 0xac]
add esp, 8
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0xf
mov byte [ebp - 0x1a0], 0
mov dword [ebp - 4], 0
test al, 1
je 0x1002a32c
mov ecx, dword [ebp - 0x1a4]
cmp ecx, 0xf
jbe 0x1002a311
mov edx, dword [ebp - 0x1b8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a307
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002a307
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0xf
mov byte [ebp - 0x1b8], 0
xor al, al
xor cl, cl
mov byte [ebp - 0xa6], al
mov byte [ebp - 0xa5], al
nop dword [eax]
movzx eax, al
movzx edx, cl
mov dword [ebp - 0xac], edx
movzx eax, word [edi + eax*2 + 0x124]
lea ecx, [edx + edx*2]
mov dword [edi + ecx*8 + 0x44], eax
lea edx, [edx + edx*2]
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xa4], ecx
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]
test edx, edx
jne 0x1002a38d
xor eax, eax
jmp 0x1002a39b
mov eax, dword [0x10073590]
push edx
call eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x1002a8c3
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xdc], 0xd162b63
mov dword [ebp - 0xd8], 0x434e4317
mov dword [ebp - 0xd4], 0x434c4353
lea eax, [ecx + ecx*2]
mov word [ebp - 0xd0], 0x746
movzx ecx, word [edi + eax*8 + 0x48]
xor eax, eax
push ecx
mov cl, 0x63
mov byte [ebp - 0xce], 0
nop word [eax + eax]
xor byte [ebp + eax - 0xdb], cl
inc eax
cmp eax, 0xd
jae 0x1002a405
mov cl, byte [ebp - 0xdc]
jmp 0x1002a3f0
sub esp, 0x18
mov byte [ebp - 0xce], 0
mov edx, esp
lea ecx, [ebp - 0xdb]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0xb0], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a434
sub ecx, dword [ebp - 0xb0]
lea eax, [ebp - 0xdb]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x170]
push eax
call fcn.10004d30
add esp, 0x20
mov edx, eax
mov byte [ebp - 4], 5
cmp dword [edx + 0x14], 0xf
jbe 0x1002a46d
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x118], 0
xorps xmm0, xmm0
mov dword [ebp - 0x114], 0
movups xmmword [ebp - 0x128], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0xb0], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a496
sub ecx, dword [ebp - 0xb0]
push ecx
push edx
lea ecx, [ebp - 0x128]
call fcn.100051a0
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 6
mov eax, dword [edi + eax*8 + 0x50]
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x1002a4e4
push 4
push eax
call esi
test eax, eax
jne 0x1002a4e4
mov ecx, dword [ebp - 0xb0]
lea eax, [ebp - 0x128]
push eax
call dword [0x10073638]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x114]
cmp ecx, 0xf
jbe 0x1002a522
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a518
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029fb9
push ecx
push edx
call fcn.100641c5
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
cmp ecx, 0xf
jbe 0x1002a57b
mov edx, dword [ebp - 0x170]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a571
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029fb9
push ecx
push edx
call fcn.100641c5
add esp, 8
mov eax, dword [ebp - 0xa4]
mov ecx, dword [edi + eax*8 + 0x50]
mov dword [ebp - 0xb0], ecx
test ecx, ecx
je 0x1002a5ac
push 4
push ecx
call esi
test eax, eax
jne 0x1002a5a6
mov ecx, dword [ebp - 0xb0]
push 0xffffffffffffffff
call dword [0x10073640]
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xac]
lea ecx, [edx + edx*2]
movzx ecx, word [edi + ecx*8 + 0x48]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [edi + eax*8 + 0x54]
mov dword [ebp - 0xb0], ecx
test ecx, ecx
je 0x1002a62b
push 4
push ecx
call esi
test eax, eax
jne 0x1002a625
mov eax, dword [ebp - 0xb0]
add eax, 0x128
push 4
push eax
mov dword [ebp - 0x68], eax
call esi
test eax, eax
jne 0x1002a625
mov eax, dword [ebp - 0xb0]
add eax, 0x124
push 4
push eax
mov dword [ebp - 0x44], eax
call esi
test eax, eax
jne 0x1002a625
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xa0]
mov dword [eax], 0
mov eax, dword [ebp - 0x44]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xb0]
call dword [0x10073624]
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xac]
mov eax, dword [edi + eax*8 + 0x54]
mov dword [ebp - 0xa0], eax
movzx esi, word [edi + ecx*2 + 0x130]
test eax, eax
je 0x1002a678
push 4
push eax
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
call eax
test eax, eax
jne 0x1002a678
mov ecx, dword [ebp - 0xa0]
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 [0x10073628]
mov edx, dword [ebp - 0xb8]
add edx, 4
cmp dword [edx + 0x14], 0xf
jbe 0x1002a689
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x118], 0
xorps xmm0, xmm0
mov dword [ebp - 0x114], 0
movups xmmword [ebp - 0x128], xmm0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a6b0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x128]
call fcn.100051a0
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 7
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov eax, dword [edi + eax*8 + 0x58]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1002a700
push 4
push eax
call esi
test eax, eax
jne 0x1002a700
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x128]
push eax
call dword [0x10073638]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x114]
cmp ecx, 0xf
jbe 0x1002a73e
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a734
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029fb9
push ecx
push edx
call fcn.100641c5
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
mov byte [ebp - 4], 8
mov eax, dword [0x10073588]
push 0x35a4fc88
call eax
test eax, eax
je 0x1002a80a
push 0x35a4fc88
push 0
mov edx, eax
lea ecx, [ebp - 0x170]
call fcn.1000caa0
add esp, 8
lea ecx, [ebp - 0x9c]
push eax
call fcn.1000d630
mov ecx, dword [ebp - 0x15c]
cmp ecx, 0xf
jbe 0x1002a7ef
mov edx, dword [ebp - 0x170]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a7e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029fb9
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0xf
mov byte [ebp - 0x170], 0
mov eax, dword [ebp - 0xa4]
mov eax, dword [edi + eax*8 + 0x4c]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1002a83a
push 4
push eax
call esi
test eax, eax
jne 0x1002a83a
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
push eax
call dword [0x10073608]
mov eax, dword [ebp - 0xac]
mov eax, dword [edi + eax*4 + 0x24]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1002a865
push 4
push eax
call esi
test eax, eax
jne 0x1002a865
mov ecx, dword [ebp - 0xa0]
push 1
call dword [0x100735d4]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x88]
cmp ecx, 0xf
jbe 0x1002a8a3
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a899
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029fb9
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
jmp 0x1002b27e
cmp dword [edi + ecx*8 + 0x44], 1
jne 0x1002ae22
cmp byte [edi + ecx*8 + 0x4a], 0
je 0x1002ae22
mov ecx, dword [ebp - 0xac]
mov dl, 0x31
mov byte [ebp - 0x40], 0x1e
mov dh, 0x7a
xorps xmm0, xmm0
mov byte [ebp - 0x39], 0
mov byte [ebp - 0x39], 0
lea eax, [ecx + ecx*2]
mov cl, 0x3e
movzx eax, word [edi + eax*8 + 0x48]
mov ch, 0x3b
push eax
mov al, 0x2e
mov ah, cl
xor al, byte [ebp - 0x40]
mov byte [ebp - 0x3f], al
mov al, byte [ebp - 0x40]
xor cl, al
xor dl, al
xor ch, al
mov byte [ebp - 0x3d], dl
xor dh, al
mov byte [ebp - 0x3e], cl
xor ah, al
mov byte [ebp - 0x3a], dh
sub esp, 0x18
mov byte [ebp - 0x3b], ch
mov edx, esp
mov byte [ebp - 0x3c], ah
lea ecx, [ebp - 0x3f]
lea eax, [ecx + 1]
mov dword [ebp - 0xa0], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a947
sub ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x3f]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x188]
push eax
call fcn.10004d30
add esp, 0x20
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 9
mov eax, dword [edi + eax*8 + 0x50]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1002a9a2
push 4
push eax
call esi
test eax, eax
jne 0x1002a9a2
push dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x44]
call dword [0x10073638]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x174]
cmp ecx, 0xf
jbe 0x1002a9e0
mov edx, dword [ebp - 0x188]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a9d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029fb9
push ecx
push edx
call fcn.100641c5
add esp, 8
mov eax, dword [ebp - 0xa4]
mov ecx, dword [edi + eax*8 + 0x50]
mov dword [ebp - 0xa0], ecx
test ecx, ecx
je 0x1002aa11
push 4
push ecx
call esi
test eax, eax
jne 0x1002aa0b
mov ecx, dword [ebp - 0xa0]
push 0xffffffffffffffff
call dword [0x10073640]
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xac]
lea ecx, [edx + edx*2]
movzx ecx, word [edi + ecx*8 + 0x48]
mov dword [ebp - 0x68], ecx
mov ecx, dword [edi + eax*8 + 0x54]
mov dword [ebp - 0xb0], ecx
test ecx, ecx
je 0x1002aa90
push 4
push ecx
call esi
test eax, eax
jne 0x1002aa8a
mov eax, dword [ebp - 0xb0]
add eax, 0x128
push 4
push eax
mov dword [ebp - 0xa0], eax
call esi
test eax, eax
jne 0x1002aa8a
mov eax, dword [ebp - 0xb0]
add eax, 0x124
push 4
push eax
mov dword [ebp - 0x44], eax
call esi
test eax, eax
jne 0x1002aa8a
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x68]
mov dword [eax], 0
mov eax, dword [ebp - 0x44]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xb0]
call dword [0x10073624]
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xac]
mov eax, dword [edi + eax*8 + 0x54]
mov dword [ebp - 0xa0], eax
movzx esi, word [edi + ecx*2 + 0x130]
test eax, eax
je 0x1002aadd
push 4
push eax
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
call eax
test eax, eax
jne 0x1002aadd
mov ecx, dword [ebp - 0xa0]
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 [0x10073628]
mov esi, dword [ebp - 0xa4]
cmp byte [edi + esi*8 + 0x4a], 1
jne 0x1002ab79
mov byte [ebp - 0x54], 0x7a
mov al, 0x46
xor al, byte [ebp - 0x54]
mov cl, 0x3f
xor cl, byte [ebp - 0x54]
mov dl, 0x16
mov byte [ebp - 0x53], al
mov dh, 0x15
mov byte [ebp - 0xa5], 8
mov ah, 0x5a
mov al, byte [ebp - 0xa5]
mov ch, 0x37
mov byte [ebp - 0x52], cl
mov cl, byte [ebp - 0x54]
xor al, cl
mov byte [ebp - 0xe1], 0x1b
mov byte [ebp - 0x4d], al
xor dl, cl
mov al, byte [ebp - 0xe1]
xor dh, cl
xor al, cl
mov byte [ebp - 0xe2], 0x1e
mov byte [ebp - 0x4c], al
xor ah, cl
mov al, byte [ebp - 0xe2]
xor ch, cl
xor al, cl
mov byte [ebp - 0xb1], 0x44
mov byte [ebp - 0x4b], al
mov al, byte [ebp - 0xb1]
xor al, cl
mov byte [ebp - 0x49], 0
mov byte [ebp - 0x51], dl
mov byte [ebp - 0x4e], dh
lea edx, [ebp - 0x53]
mov byte [ebp - 0x50], ah
mov byte [ebp - 0x4f], ch
mov byte [ebp - 0x4a], al
mov byte [ebp - 0x49], 0
jmp 0x1002abf2
mov byte [ebp - 0xf4], 0x72
mov al, 0x4e
xor al, byte [ebp - 0xf4]
xor ah, ah
mov byte [ebp - 0xf3], al
mov dl, 0x13
mov al, byte [ebp - 0xf4]
mov dh, 1
xor dl, al
mov byte [ebp - 0xec], ah
xor dh, al
mov byte [ebp - 0xb1], 0x4c
mov cl, 0x39
mov byte [ebp - 0xf1], dl
mov ch, 7
mov byte [ebp - 0xee], dh
xor cl, al
mov byte [ebp - 0xec], 0
xor ah, al
mov byte [ebp - 0xf2], cl
xor ch, al
mov byte [ebp - 0xf0], ah
mov al, byte [ebp - 0xb1]
lea edx, [ebp - 0xf3]
xor al, byte [ebp - 0xf4]
mov byte [ebp - 0xef], ch
mov byte [ebp - 0xed], al
mov ecx, edx
mov dword [ebp - 0x148], 0
xorps xmm0, xmm0
mov dword [ebp - 0x144], 0
movups xmmword [ebp - 0x158], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0xa0], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002ac20
sub ecx, dword [ebp - 0xa0]
push ecx
push edx
lea ecx, [ebp - 0x158]
call fcn.100051a0
mov byte [ebp - 4], 0xa
mov eax, dword [edi + esi*8 + 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1002ac6e
push 4
push eax
call esi
test eax, eax
jne 0x1002ac6e
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x158]
push eax
call dword [0x10073638]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x144]
cmp ecx, 0xf
jbe 0x1002acac
mov edx, dword [ebp - 0x158]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002aca2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029fb9
push ecx
push edx
call fcn.100641c5
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x148], 0
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
mov byte [ebp - 4], 0xb
mov eax, dword [0x10073588]
push 0x35a50840
call eax
test eax, eax
je 0x1002ad72
push 0x35a50840
push 0
mov edx, eax
lea ecx, [ebp - 0x188]
call fcn.1000caa0
add esp, 8
lea ecx, [ebp - 0x84]
push eax
call fcn.1000d630
mov ecx, dword [ebp - 0x174]
cmp ecx, 0xf
jbe 0x1002ad57
mov edx, dword [ebp - 0x188]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002ad4d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029fb9
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0xf
mov byte [ebp - 0x188], 0
mov eax, dword [ebp - 0xa4]
mov eax, dword [edi + eax*8 + 0x4c]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1002ada2
push 4
push eax
call esi
test eax, eax
jne 0x1002ada2
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x84]
push eax
call dword [0x10073608]
mov eax, dword [ebp - 0xac]
mov eax, dword [edi + eax*4 + 0x24]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1002adcd
push 4
push eax
call esi
test eax, eax
jne 0x1002adcd
mov ecx, dword [ebp - 0xa0]
push 1
call dword [0x100735d4]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x70]
cmp ecx, 0xf
jbe 0x1002ae08
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002adfe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029fb9
push ecx
push edx
call fcn.100641c5
add esp, 8
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
jmp 0x1002b27e
mov eax, dword [ebp - 0xac]
mov eax, dword [edi + eax*4 + 0x24]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1002ae4c
push 4
push eax
call esi
test eax, eax
jne 0x1002ae4c
mov ecx, dword [ebp - 0xa0]
push eax
call dword [0x100735d4]
mov ecx, dword [ebp - 0xac]
xorps xmm0, xmm0
mov word [ebp - 0xc4], 0x1b
mov byte [ebp - 0xc3], 0
lea eax, [ecx + ecx*2]
movzx eax, word [edi + eax*8 + 0x48]
lea ecx, [ebp - 0xc3]
push eax
sub esp, 0x18
lea eax, [ecx + 1]
mov edx, esp
mov dword [ebp - 0xa0], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002ae93
sub ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0xc3]
push ecx
push eax
mov ecx, edx
call fcn.100051a0
lea eax, [ebp - 0x1d0]
push eax
call fcn.10004d30
add esp, 0x20
mov edx, eax
mov byte [ebp - 4], 0xc
cmp dword [edx + 0x14], 0xf
jbe 0x1002aecc
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x100], 0
xorps xmm0, xmm0
mov dword [ebp - 0xfc], 0
movups xmmword [ebp - 0x110], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0xa0], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002aef5
sub ecx, dword [ebp - 0xa0]
push ecx
push edx
lea ecx, [ebp - 0x110]
call fcn.100051a0
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 0xd
mov eax, dword [edi + eax*8 + 0x50]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1002af43
push 4
push eax
call esi
test eax, eax
jne 0x1002af43
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x110]
push eax
call dword [0x10073638]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xfc]
cmp ecx, 0xf
jbe 0x1002af81
mov edx, dword [ebp - 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002af77
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029fb9
push ecx
push edx
call fcn.100641c5
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1bc]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
cmp ecx, 0xf
jbe 0x1002afda
mov edx, dword [ebp - 0x1d0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002afd0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029fb9
push ecx
push edx
call fcn.100641c5
add esp, 8
mov ecx, dword [ebp - 0xac]
lea eax, [ecx + ecx*2]
movzx eax, word [edi + eax*8 + 0x48]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xa4]
mov ecx, dword [edi + eax*8 + 0x54]
mov dword [ebp - 0xb0], ecx
test ecx, ecx
je 0x1002b05f
push 4
push ecx
call esi
test eax, eax
jne 0x1002b059
mov eax, dword [ebp - 0xb0]
add eax, 0x128
push 4
push eax
mov dword [ebp - 0xa0], eax
call esi
test eax, eax
jne 0x1002b059
mov eax, dword [ebp - 0xb0]
add eax, 0x124
push 4
push eax
mov dword [ebp - 0x44], eax
call esi
test eax, eax
jne 0x1002b059
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x68]
mov dword [eax], 0
mov eax, dword [ebp - 0x44]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xb0]
call dword [0x10073624]
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xac]
mov eax, dword [edi + eax*8 + 0x54]
mov dword [ebp - 0xa0], eax
movzx esi, word [edi + ecx*2 + 0x130]
test eax, eax
je 0x1002b0ac
push 4
push eax
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
call eax
test eax, eax
jne 0x1002b0ac
mov ecx, dword [ebp - 0xa0]
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 [0x10073628]
xorps xmm0, xmm0
mov word [ebp - 0xc0], 0x17
lea ecx, [ebp - 0xbf]
mov byte [ebp - 0xbf], 0
movups xmmword [ebp - 0x110], xmm0
mov dword [ebp - 0x100], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xfc], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b0e3
sub ecx, edx
lea eax, [ebp - 0xbf]
push ecx
push eax
lea ecx, [ebp - 0x110]
call fcn.100051a0
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 0xe
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov eax, dword [edi + eax*8 + 0x58]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1002b139
push 4
push eax
call esi
test eax, eax
jne 0x1002b139
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x110]
push eax
call dword [0x10073638]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xfc]
cmp ecx, 0xf
jbe 0x1002b177
mov edx, dword [ebp - 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b16d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029fb9
push ecx
push edx
call fcn.100641c5
add esp, 8
xorps xmm0, xmm0
mov word [ebp - 0xbc], 0x1c
lea ecx, [ebp - 0xbb]
mov byte [ebp - 0xbb], 0
movups xmmword [ebp - 0x110], xmm0
mov dword [ebp - 0x100], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xfc], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b1b0
sub ecx, edx
lea eax, [ebp - 0xbb]
push ecx
push eax
lea ecx, [ebp - 0x110]
call fcn.100051a0
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 0xf
mov eax, dword [edi + eax*8 + 0x4c]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1002b200
push 4
push eax
call esi
test eax, eax
jne 0x1002b200
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x110]
push eax
call dword [0x10073608]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xfc]
cmp ecx, 0xf
jbe 0x1002b23e
mov edx, dword [ebp - 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b234
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029fb9
push ecx
push edx
call fcn.100641c5
add esp, 8
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
cmp eax, dword [ebp - 0x5c]
je 0x1002b26e
mov cl, byte [ebp - 0xa6]
mov byte [eax], cl
inc dword [ebp - 0x60]
jmp 0x1002b27e
lea ecx, [ebp - 0xa5]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.1002e040
mov ah, byte [ebp - 0xa6]
inc ah
mov al, ah
mov byte [ebp - 0xa6], ah
mov byte [ebp - 0xa5], ah
mov cl, ah
cmp al, 3
jae 0x1002b2a5
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
jmp 0x1002a340
mov esi, dword [ebp - 0x64]
cmp esi, dword [ebp - 0x60]
je 0x1002b45b
lea eax, [edi + 0x30]
mov dword [ebp - 0xac], eax
nop word [eax + eax]
movzx edx, byte [esi]
mov ecx, dword [ebp - 0x60]
sub ecx, dword [ebp - 0x64]
cmp ecx, 2
mov dword [ebp - 0x40], 0
lea eax, [edx - 1]
mov dword [ebp - 0x3c], 0
cmovae edx, eax
mov dword [ebp - 0xb8], edx
mov eax, dword [edi + edx*4 + 0x24]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1002b317
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002b311
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x40]
push eax
call dword [0x100735c8]
mov edx, dword [ebp - 0xb8]
mov eax, dword [edi + edx*4 + 0x24]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
test eax, eax
je 0x1002b350
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002b350
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x6c]
push eax
call dword [0x100735c8]
mov eax, dword [edi + 0x30]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1002b37c
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002b37c
push dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xa0]
push dword [ebp - 0x6c]
call dword [0x100735cc]
mov eax, dword [edi]
xorps xmm0, xmm0
mov dword [ebp - 0xa0], eax
movups xmmword [ebp - 0xf8], xmm0
movups xmmword [ebp - 0xe0], xmm0
test eax, eax
je 0x1002b3ec
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002b3e5
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ecx + 0xc4]
mov dword [ebp - 0xe0], eax
mov eax, dword [ecx + 0xc8]
mov dword [ebp - 0xdc], eax
mov eax, dword [ecx + 0xcc]
mov dword [ebp - 0xd8], eax
mov eax, dword [ecx + 0xd0]
mov dword [ebp - 0xd4], eax
movups xmm0, xmmword [ebp - 0xe0]
jmp 0x1002b3ec
movups xmm0, xmmword [ebp - 0xf8]
mov eax, dword [edi + 0x30]
xor ecx, ecx
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x44], ecx
movups xmmword [ebp - 0x58], xmm0
test eax, eax
je 0x1002b420
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002b41d
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0xd0]
jmp 0x1002b420
mov ecx, dword [ebp - 0x44]
mov eax, dword [edi]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1002b44c
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002b44c
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x58]
push eax
call dword [0x100735c0]
inc esi
cmp esi, dword [ebp - 0x60]
jne 0x1002b2c0
jmp 0x1002b5c5
mov eax, dword [edi + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
test eax, eax
je 0x1002b495
push 4
push eax
call esi
test eax, eax
jne 0x1002b495
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x40]
push eax
call dword [0x100735c8]
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
test eax, eax
je 0x1002b4c9
push 4
push eax
call esi
test eax, eax
jne 0x1002b4c9
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x48]
push eax
call dword [0x100735c8]
mov eax, dword [edi + 0x30]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1002b4f5
push 4
push eax
call esi
test eax, eax
jne 0x1002b4f5
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xa0]
add eax, 0x32
push eax
push dword [ebp - 0x48]
call dword [0x100735cc]
mov eax, dword [edi]
xorps xmm0, xmm0
mov dword [ebp - 0xa0], eax
movups xmmword [ebp - 0xe0], xmm0
test eax, eax
je 0x1002b556
push 4
push eax
call esi
test eax, eax
jne 0x1002b553
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ecx + 0xc4]
mov dword [ebp - 0xe0], eax
mov eax, dword [ecx + 0xc8]
mov dword [ebp - 0xdc], eax
mov eax, dword [ecx + 0xcc]
mov dword [ebp - 0xd8], eax
mov eax, dword [ecx + 0xd0]
mov dword [ebp - 0xd4], eax
movups xmm0, xmmword [ebp - 0xe0]
jmp 0x1002b556
xorps xmm0, xmm0
mov ecx, dword [edi + 0x30]
lea eax, [edi + 0x30]
xor edx, edx
mov dword [ebp - 0xa0], ecx
movups xmmword [ebp - 0x58], xmm0
test ecx, ecx
je 0x1002b588
push 4
push ecx
call esi
test eax, eax
jne 0x1002b583
mov eax, dword [ebp - 0xa0]
mov edx, dword [eax + 0xd0]
jmp 0x1002b585
xor edx, edx
lea eax, [edi + 0x30]
mov ecx, dword [edi]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xac], eax
test ecx, ecx
je 0x1002b5c5
push 4
push ecx
mov dword [ebp - 0xac], eax
call esi
test eax, eax
jne 0x1002b5c5
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x58]
push eax
call dword [0x100735c0]
lea eax, [edi + 0x30]
mov dword [ebp - 0xac], eax
mov eax, dword [edi + 0xfc]
mov ecx, edi
movss xmm0, dword [edi + 0x118]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x100]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x104]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x108]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x10c]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x110]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x38]
push eax
movss dword [ebp - 0x38], xmm0
lea eax, [ebp - 0x2c]
movss xmm0, dword [edi + 0x11c]
push eax
movss dword [ebp - 0x34], xmm0
lea eax, [ebp - 0x20]
movss xmm0, dword [edi + 0x120]
push eax
movss dword [ebp - 0x30], xmm0
call fcn.1002c780
mov eax, dword [edi + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov byte [edi + 0xd4], 1
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1002b665
push 4
push eax
call esi
test eax, eax
jne 0x1002b665
mov ecx, dword [ebp - 0xa0]
push eax
call dword [0x100735d4]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1002b689
push 4
push eax
call esi
test eax, eax
jne 0x1002b689
mov ecx, dword [ebp - 0xa0]
push 1
call dword [0x100735d4]
mov eax, dword [edi + 0x20]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1002b6ad
push 4
push eax
call esi
test eax, eax
jne 0x1002b6ad
mov ecx, dword [ebp - 0xa0]
push 1
call dword [0x100735d4]
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1002b6d6
push 4
push eax
call esi
test eax, eax
jne 0x1002b6d6
mov ecx, dword [ebp - 0xa0]
push 1
call dword [0x100735d4]
mov ecx, edi
call fcn.100297b0
mov ecx, edi
call fcn.10028180
cmp byte [edi + 0xd4], 0
je 0x1002b706
mov edi, dword [edi]
test edi, edi
je 0x1002b706
push 4
push edi
call esi
test eax, eax
jne 0x1002b706
push 1
mov ecx, edi
call dword [0x100735d4]
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x1002b73c
mov edx, dword [ebp - 0x5c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1002b732
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002b732
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100641c5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10064164
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret