Function at 0x101b40d0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
cmp esi, 4
ja 0x101b4bfb
cmp dword [ebp + 0x20], 0
jne 0x101b40f9
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0xc]
mov dword [ebp + 0x20], ecx
mov ebx, 1
mov byte [ebp - 5], 0
mov byte [ebp - 6], 0
cmp esi, ebx
jbe 0x101b4182
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + ebx*4]
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x80], eax
mov eax, ecx
and eax, 0x4200000
xor edx, edx
or eax, edx
je 0x101b412d
mov byte [ebp - 5], 1
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 0x3c]
and eax, 0xfff00000
cmp eax, 0x20700000
jne 0x101b414e
mov eax, ecx
and eax, 0x20
xor edx, edx
or eax, edx
je 0x101b414e
mov byte [ebp - 5], 1
mov eax, ecx
and eax, 0x1000
xor edx, edx
or eax, edx
je 0x101b4168
and ecx, 0x40
xor eax, eax
or ecx, eax
jne 0x101b4168
mov byte [ebp - 6], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov edi, dword [edx]
push ecx
call fcn.101b3de0
mov esi, dword [ebp + 0x10]
test al, al
je 0x101b4182
inc ebx
cmp ebx, esi
jb 0x101b410a
cmp ebx, esi
je 0x101b4634
cmp byte [ebp - 5], 0
jne 0x101b4bfb
cmp byte [ebp - 6], 0
jne 0x101b4bfb
xor eax, eax
mov word [ebp - 0x1f], ax
mov byte [ebp - 0x1d], al
lea eax, [esi*4]
push eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x5c]
push ecx
mov byte [ebp - 0x20], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp dword [ebp + 0x14], 0
mov byte [ebp - 6], 0
jne 0x101b41d4
mov byte [ebp - 6], 1
mov edx, dword [ebp + 0x1c]
mov ecx, dword [edx + 0x3c]
mov eax, ecx
shr eax, 0x1c
cmp eax, 1
jb 0x101b42c3
cmp eax, 4
ja 0x101b42c3
mov edx, dword [ebp + 8]
test byte [edx + 0x7fcf], 0x10
jne 0x101b4202
cmp eax, 1
jne 0x101b4222
mov eax, ecx
and eax, 0xfff00000
cmp eax, 0x10000000
je 0x101b4222
cmp eax, 0x10100000
je 0x101b4222
cmp eax, 0x30000000
je 0x101b4222
mov byte [ebp - 6], 1
test byte [edx + 0x7fcc], 2
mov byte [ebp - 5], 0
je 0x101b42c3
and ecx, 0xfff00000
cmp ecx, 0x10000000
je 0x101b42c3
lea eax, [ebp - 0x5c]
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0xc], esi
jae 0x101b42bf
mov ecx, dword [ebp - 0x28]
mov edi, dword [ecx]
mov eax, dword [edi + 0x50]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
mov eax, ecx
mov dword [ebp - 0x80], edx
and eax, 0x200
xor edx, edx
or eax, edx
je 0x101b4280
mov eax, ecx
and eax, 0x100
or eax, edx
je 0x101b42ad
and ecx, 2
xor eax, eax
or ecx, eax
jne 0x101b42c3
mov ebx, dword [ebp - 0xc]
lea esp, [esp]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + ebx*4 - 0x5c]
push eax
call fcn.101b3de0
test al, al
jne 0x101b42a9
inc ebx
cmp ebx, dword [ebp + 0x10]
jb 0x101b4290
jmp 0x101b42ad
mov byte [ebp - 5], 1
inc dword [ebp - 0xc]
add dword [ebp - 0x28], 4
cmp byte [ebp - 5], 0
jne 0x101b42c3
mov esi, dword [ebp + 0x10]
jmp 0x101b4252
mov byte [ebp - 6], 1
mov ecx, dword [ebp + 8]
mov cl, byte [ecx + 0x7fcc]
mov byte [ebp - 5], cl
test cl, 2
je 0x101b432c
cmp byte [ebp - 6], 0
je 0x101b432c
mov edi, dword [ebp + 0x1c]
mov eax, dword [edi + 0x3c]
shr eax, 0x1c
cmp eax, 1
jb 0x101b42ed
cmp eax, 4
jbe 0x101b432f
mov ebx, dword [ebp + 0x10]
xor esi, esi
test ebx, ebx
jbe 0x101b4332
mov edx, dword [ebp + esi*4 - 0x5c]
mov eax, dword [edx + 0x50]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x80], eax
mov eax, ecx
and eax, 0x200
xor edx, edx
or eax, edx
je 0x101b4322
and ecx, 0x100
xor eax, eax
or ecx, eax
jne 0x101b4322
mov byte [ebp - 6], cl
inc esi
cmp esi, ebx
jb 0x101b42f6
mov cl, byte [ebp - 5]
jmp 0x101b4332
mov edi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x10]
test cl, 1
je 0x101b436c
cmp byte [ebp - 6], 0
je 0x101b436c
mov eax, dword [edi + 8]
test eax, eax
jbe 0x101b436c
mov edx, dword [edi + 0xc]
mov esi, eax
lea esp, [esp]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x50]
mov eax, dword [eax + 8]
and eax, 0x20
xor ecx, ecx
or eax, ecx
je 0x101b4364
mov byte [ebp - 6], cl
add edx, 4
sub esi, 1
jne 0x101b4350
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], eax
cmp ebx, eax
jbe 0x101b461b
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x101b4602
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0xc]
cmp eax, 0xffffffff
je 0x101b43f8
cmp eax, dword [ebp + 0x24]
jb 0x101b45e9
cmp eax, dword [ebp + 0x28]
jae 0x101b45e9
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov cl, byte [eax + 0x6c]
mov eax, dword [eax + 0x68]
cmp eax, 0xffffffff
je 0x101b43df
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x68]
lea esp, [esp]
cmp eax, edx
je 0x101b43df
mov cl, byte [eax + 0x6c]
mov eax, dword [eax + 0x68]
cmp eax, 0xffffffff
jne 0x101b43d0
mov edx, dword [ebp - 0x18]
cmp eax, dword [edx + 0x68]
jne 0x101b45e9
mov eax, edx
cmp cl, byte [eax + 0x6c]
jne 0x101b45e9
mov ecx, edx
fld1
mov dword [ebp - 0xc], ecx
fstp qword [ebp - 0x6c]
fldz
fstp qword [ebp - 0x74]
cmp ecx, 0xffffffff
je 0x101b45e9
mov esi, dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
mov eax, dword [ecx + 0x50]
mov eax, dword [eax + 8]
and eax, 0x100
xor edx, edx
or eax, edx
je 0x101b4446
mov eax, dword [ecx + 0x40]
and eax, 0x800000
or eax, edx
je 0x101b4446
test byte [edi + 0x7fd3], 8
je 0x101b4465
mov eax, dword [esi + 0x3c]
call fcn.10171b60
test al, al
jne 0x101b4465
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0x6c]
push eax
push edi
mov eax, ecx
call fcn.101b3ed0
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x101b4414
mov dword [ebp - 0xc], ecx
jmp 0x101b45e9
fld qword [ebp - 0x6c]
mov dword [ebp - 0xc], ecx
fcomp qword [0x100a2fe0]
fnstsw ax
test ah, 0x44
jp 0x101b448c
fld qword [ebp - 0x74]
fcomp qword [0x100a2ff8]
fnstsw ax
test ah, 0x44
jnp 0x101b45c7
lea edx, [ebp - 0x64]
push edx
mov ebx, ecx
call fcn.101658d0
test eax, eax
jl 0x101b4bfb
fld qword [ebp - 0x64]
or esi, 0xffffffff
fmul qword [ebp - 0x6c]
fadd qword [ebp - 0x74]
fst qword [ebp - 0x64]
fst dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
cdq
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x34], ecx
inc esi
cmp esi, dword [ebp - 0x34]
jae 0x101b459d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x7f2c]
mov eax, dword [eax + esi*4]
cmp dword [eax + 0x24], 0
je 0x101b44c4
mov ecx, dword [eax + 0xc]
mov edi, dword [eax + 8]
mov dword [ebp - 0x80], ecx
mov ecx, edi
and ecx, 0x100
xor ebx, ebx
or ecx, ebx
je 0x101b44c4
and edi, 0xc00
xor ecx, ecx
or edi, ecx
jne 0x101b44c4
mov edi, dword [eax + 0x24]
mov eax, edx
mov ecx, dword [eax + 0x7f2c]
mov dword [ebp - 0x48], ecx
mov edx, dword [edi]
cmp edi, 0xffffffff
je 0x101b454d
mov eax, dword [edi + 0x50]
mov ecx, dword [eax + 8]
and ecx, 0x100
xor eax, eax
or ecx, eax
je 0x101b454d
mov ecx, dword [edi + 0x40]
and ecx, 0x800000
or ecx, eax
je 0x101b454d
mov eax, dword [edi + 0xc0]
mov ecx, dword [edi + 0xc4]
cmp dword [ebp - 0x7c], eax
jne 0x101b454d
cmp dword [ebp - 0x78], ecx
je 0x101b4597
test edx, edx
je 0x101b4557
mov edi, edx
mov edx, dword [edx]
jmp 0x101b4513
mov edx, dword [ebp - 0x48]
lea edx, [edx + esi*4]
inc esi
add edx, 4
cmp esi, dword [ebp - 0x34]
jae 0x101b459d
mov ebx, dword [edx]
cmp dword [ebx + 0x24], 0
je 0x101b455d
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov ecx, edi
mov dword [ebp - 0x80], eax
and ecx, 0x100
xor eax, eax
or ecx, eax
je 0x101b455d
and edi, 0xc00
or edi, eax
jne 0x101b455d
mov edi, dword [ebx + 0x24]
jmp 0x101b4511
fstp st(0)
mov ecx, edi
jmp 0x101b45c7
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x8024]
sub esp, 8
fstp qword [esp]
push ecx
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, 4
call fcn.10169cc0
test eax, eax
jl 0x101b4bfb
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
fld1
inc dword [ebp - 0x28]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
fstp qword [ebp + eax*8 - 0xbc]
fldz
fstp qword [ebp + eax*8 - 0xdc]
cmp ecx, 0xffffffff
jne 0x101b4602
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x78]
mov edx, dword [ebp - 0x1c]
cmp dword [edx], eax
je 0x101b4602
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
jne 0x101b4393
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x1c], 4
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp + 0x10]
jb 0x101b4382
mov ebx, dword [ebp + 0x10]
xor eax, eax
cmp dword [ebp - 0x28], ebx
jne 0x101b463f
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x5c]
push ecx
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov dword [ebp - 0x14], eax
cmp ebx, eax
jbe 0x101b4a12
lea ebx, [ebx]
mov eax, dword [ebp - 0x14]
cmp byte [ebp + eax - 0x20], 0
jne 0x101b4a02
mov edx, eax
mov ecx, dword [ebp + edx*4 - 0x5c]
mov dword [ebp - 0x38], ecx
cmp ecx, 0xffffffff
je 0x101b46b2
mov eax, dword [ecx + 0x50]
mov eax, dword [eax + 8]
and eax, 0x100
xor esi, esi
or eax, esi
je 0x101b46b2
mov eax, dword [ecx + 0x40]
and eax, 0x800000
or eax, esi
je 0x101b46b2
mov ecx, dword [ebp + 8]
test byte [ecx + 0x7fd3], 8
je 0x101b4a02
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 0x3c]
call fcn.10171b60
test al, al
jne 0x101b4a02
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x38]
fld1
xor eax, eax
fstp qword [ebp - 0x74]
mov dword [ebp - 0x40], ecx
fldz
mov dword [ebp - 0x34], eax
fstp qword [ebp - 0x7c]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], ecx
cmp ecx, 0xffffffff
je 0x101b48c0
mov eax, dword [ecx + 0xc]
cmp eax, 0xffffffff
je 0x101b4724
cmp eax, dword [ebp + 0x24]
jb 0x101b48a6
cmp eax, dword [ebp + 0x28]
jae 0x101b48a6
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov dl, byte [eax + 0x6c]
mov eax, dword [eax + 0x68]
cmp eax, 0xffffffff
je 0x101b4712
mov esi, dword [ecx + 0x68]
cmp eax, esi
je 0x101b4712
mov dl, byte [eax + 0x6c]
mov eax, dword [eax + 0x68]
cmp eax, 0xffffffff
jne 0x101b4703
cmp eax, dword [ecx + 0x68]
jne 0x101b48a6
cmp dl, byte [ecx + 0x6c]
jne 0x101b48a6
fld1
mov dword [ebp - 0x18], ecx
fstp qword [ebp - 0x6c]
fldz
fstp qword [ebp - 0x64]
cmp ecx, 0xffffffff
je 0x101b48a6
mov edx, dword [ebp - 0x18]
xor ecx, ecx
or eax, 0xffffffff
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], ecx
cmp dword [edx + 0xc], eax
jne 0x101b4750
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
jmp 0x101b4762
xor ecx, ecx
cmp byte [ebp + eax - 0x20], 0
jne 0x101b4844
mov edi, dword [ebp + eax*4 - 0x5c]
mov ebx, edi
mov dword [ebp - 0x28], ecx
mov byte [ebp - 5], 0
mov dword [ebp - 0x48], edi
cmp ebx, 0xffffffff
je 0x101b4841
mov eax, dword [ebx + 0xc]
cmp eax, 0xffffffff
je 0x101b47cf
cmp eax, dword [ebp + 0x24]
jb 0x101b4820
cmp eax, dword [ebp + 0x28]
jae 0x101b4820
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
mov cl, byte [eax + 0x6c]
mov eax, dword [eax + 0x68]
cmp eax, 0xffffffff
je 0x101b47c5
mov edx, dword [ebx + 0x68]
cmp eax, edx
je 0x101b47c5
mov cl, byte [eax + 0x6c]
mov eax, dword [eax + 0x68]
cmp eax, 0xffffffff
jne 0x101b47b6
cmp eax, dword [ebx + 0x68]
jne 0x101b4820
cmp cl, byte [ebx + 0x6c]
jne 0x101b4820
mov esi, ebx
cmp ebx, 0xffffffff
je 0x101b4820
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 0x18]
push edx
call fcn.101b3de0
test al, al
je 0x101b4801
cmp dword [esi + 0xc], 0xffffffff
mov byte [ebp - 5], 1
je 0x101b4801
mov eax, dword [esi + 0xc]
sub eax, dword [ebp + 0x24]
imul eax, eax
cmp eax, dword [ebp - 0x28]
jbe 0x101b4801
mov dword [ebp - 0x28], eax
cmp byte [ebp - 6], 0
jne 0x101b481d
mov eax, dword [ebp + 8]
push 0
push 0
push eax
mov eax, esi
call fcn.101b3ed0
mov esi, eax
cmp esi, 0xffffffff
jne 0x101b47d6
mov edi, dword [ebp - 0x48]
mov eax, dword [ebx + 0x78]
cmp edi, eax
je 0x101b4832
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x101b4786
cmp byte [ebp - 5], 0
je 0x101b4841
mov ecx, dword [ebp - 0x28]
add dword [ebp - 0xc], ecx
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp eax, dword [ebp + 0x10]
jb 0x101b4760
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
jb 0x101b4865
jne 0x101b4880
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 0xc]
jae 0x101b4880
fld qword [ebp - 0x6c]
mov eax, dword [ebp - 0x18]
fstp qword [ebp - 0x74]
mov dword [ebp - 0x34], ecx
fld qword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
fstp qword [ebp - 0x7c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
cmp byte [ebp - 6], 0
jne 0x101b48a6
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x18]
push ecx
call fcn.101b3ed0
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
jne 0x101b473a
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 0x78]
cmp dword [ebp - 0x38], ecx
je 0x101b48bd
mov dword [ebp - 0x30], ecx
cmp ecx, 0xffffffff
jne 0x101b46d3
mov edx, dword [ebp - 0x14]
fld qword [ebp - 0x74]
mov eax, dword [ebp - 0x40]
fstp qword [ebp + edx*8 - 0xbc]
lea ecx, [ebp - 0x5c]
fld qword [ebp - 0x7c]
mov dword [ebp + edx*4 - 0x5c], eax
fstp qword [ebp + edx*8 - 0xdc]
mov byte [ebp + edx - 0x20], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x18]
cmp byte [ebp + edx - 0x20], 0
jne 0x101b49ee
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x48], ebx
cmp ebx, 0xffffffff
je 0x101b49ee
mov edi, dword [ebp - 0x40]
mov eax, dword [ebx + 0xc]
cmp eax, 0xffffffff
je 0x101b4969
cmp eax, dword [ebp + 0x24]
jb 0x101b49db
cmp eax, dword [ebp + 0x28]
jae 0x101b49db
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov cl, byte [eax + 0x6c]
mov eax, dword [eax + 0x68]
cmp eax, 0xffffffff
je 0x101b495f
mov edx, dword [ebx + 0x68]
lea ecx, [ecx]
cmp eax, edx
je 0x101b495f
mov cl, byte [eax + 0x6c]
mov eax, dword [eax + 0x68]
cmp eax, 0xffffffff
jne 0x101b4950
cmp eax, dword [ebx + 0x68]
jne 0x101b49db
cmp cl, byte [ebx + 0x6c]
jne 0x101b49db
fld1
mov esi, ebx
fstp qword [ebp - 0x64]
fldz
fstp qword [ebp - 0x6c]
cmp ebx, 0xffffffff
je 0x101b49db
lea ebx, [ebx]
mov eax, dword [ebp + 8]
push eax
call fcn.101b3de0
test al, al
je 0x101b4a69
or ecx, 0xffffffff
cmp dword [esi + 0xc], ecx
je 0x101b4a60
mov eax, dword [esi + 0xc]
sub eax, dword [ebp + 0x24]
imul eax, eax
cmp dword [ebp - 0xc], ecx
je 0x101b49b4
cmp eax, dword [ebp - 0x34]
jbe 0x101b4a69
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
fld qword [ebp - 0x64]
mov ecx, dword [ebp - 0x1c]
fstp qword [ebp + eax*8 - 0xbc]
fld qword [ebp - 0x6c]
mov dword [ebp - 0xc], esi
fstp qword [ebp + eax*8 - 0xdc]
mov dword [ecx], esi
mov byte [ebp + eax - 0x20], 1
mov eax, dword [ebx + 0x78]
cmp dword [ebp - 0x48], eax
je 0x101b49ee
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x101b491d
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x1c], 4
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp + 0x10]
jb 0x101b48ed
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp + 0x10]
jb 0x101b4650
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 0x3c]
xor ebx, ebx
shr eax, 0x1c
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x30], ebx
cmp eax, 1
jb 0x101b4a37
mov byte [ebp + 0x2b], 1
cmp eax, 4
jbe 0x101b4a3b
mov byte [ebp + 0x2b], 0
mov byte [ebp - 5], 1
mov byte [ebp - 0xd], 1
mov byte [ebp + 0x27], 1
cmp dword [ebp + 0x10], ebx
jbe 0x101b4bad
mov eax, dword [ebp + 0x20]
mov esi, dword [ebp - 0x5c]
lea ecx, [ebp - 0x5c]
sub eax, ecx
mov dword [ebp - 0x48], eax
jmp 0x101b4a94
cmp dword [ebp - 0xc], ecx
je 0x101b49b7
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x64]
push edx
push eax
mov eax, esi
call fcn.101b3ed0
mov esi, eax
cmp esi, 0xffffffff
jne 0x101b4980
jmp 0x101b49db
fstp st(0)
fstp st(0)
cmp byte [ebp + 0x27], 0
mov edi, dword [ebp + ebx*4 - 0x5c]
je 0x101b4ab0
mov eax, dword [edi + 0x40]
and eax, 0x800000
xor ecx, ecx
or eax, ecx
mov byte [ebp + 0x27], 1
jne 0x101b4ab4
mov byte [ebp + 0x27], 0
mov edx, dword [ebp + 8]
push edx
call fcn.101b3de0
test al, al
jne 0x101b4b23
mov dword [ebp - 0x28], 1
cmp byte [ebp + 0x2b], al
je 0x101b4b1d
mov eax, dword [ebp - 0x48]
lea ecx, [eax + ebx*4]
mov ecx, dword [ebp + ecx - 0x5c]
mov eax, dword [ecx + 0x40]
and eax, 0x800000
xor edx, edx
or eax, edx
je 0x101b4b1d
mov edx, dword [ebp + 8]
test byte [edx + 0x7fcc], 1
je 0x101b4b00
mov eax, dword [ecx + 0x50]
mov eax, dword [eax + 8]
and eax, 0x20
xor edx, edx
or eax, edx
jne 0x101b4b1d
mov eax, dword [ecx + 0x50]
mov eax, dword [eax + 8]
and eax, 0x20
xor edx, edx
or eax, edx
jne 0x101b4b35
mov eax, dword [ecx + 0x50]
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x8040]
je 0x101b4b35
mov byte [ebp - 5], 0
jmp 0x101b4b35
mov edx, dword [edi + 0x50]
mov eax, dword [ebp + 8]
cmp edx, dword [eax + 0x8040]
je 0x101b4b35
mov byte [ebp - 0xd], 0
fld qword [ebp + ebx*8 - 0xbc]
mov edx, 1
fld1
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x101b4b51
mov dword [ebp - 0x1c], edx
fld qword [ebp + ebx*8 - 0xdc]
fldz
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x101b4b68
mov dword [ebp - 0x44], edx
cmp edi, 0xffffffff
je 0x101b4b8d
mov eax, dword [edi + 0x50]
mov eax, dword [eax + 8]
and eax, 0x100
xor ecx, ecx
or eax, ecx
je 0x101b4b8d
mov eax, dword [edi + 0x40]
and eax, 0x800000
or eax, ecx
je 0x101b4b8d
mov dword [ebp - 0x30], edx
add ebx, edx
cmp ebx, dword [ebp + 0x10]
jb 0x101b4a90
xor edi, edi
cmp dword [ebp - 0x1c], edi
jne 0x101b4bcc
cmp dword [ebp - 0x44], edi
jne 0x101b4bcc
cmp dword [ebp - 0x28], edi
jne 0x101b4bd1
fstp st(0)
fstp st(0)
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x5c]
push edx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
cmp dword [ebp - 0x28], edi
je 0x101b4c06
cmp byte [ebp + 0x27], 0
jne 0x101b4c06
cmp byte [ebp - 5], 0
je 0x101b4c06
cmp byte [ebp - 0xd], 0
je 0x101b4c06
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 0x3c]
and edx, 0xfff00000
cmp edx, 0x10100000
je 0x101b4c06
fstp st(0)
fstp st(0)
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
cmp byte [ebp - 6], 0
jne 0x101b4bf7
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x7fcc]
mov byte [ebp - 5], al
shr al, 2
and al, 1
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x14], edi
mov byte [ebp - 6], al
cmp byte [ebp - 6], 0
mov edx, dword [ebp + edi*4 - 0x5c]
jne 0x101b4d3e
test byte [ebp - 5], 2
jne 0x101b4d3e
cmp edx, 0xffffffff
je 0x101b4cd3
mov eax, dword [edx + 0x50]
mov eax, dword [eax + 8]
and eax, 0x100
xor ecx, ecx
or eax, ecx
je 0x101b4cd3
mov eax, dword [edx + 0x40]
and eax, 0x800000
or eax, ecx
je 0x101b4cd3
xor esi, esi
test edi, edi
jbe 0x101b4d45
mov ecx, dword [ebp + esi*4 - 0x5c]
cmp ecx, 0xffffffff
je 0x101b4ccc
mov edi, dword [ecx + 0x50]
mov eax, dword [edi + 8]
and eax, 0x100
xor ebx, ebx
or eax, ebx
je 0x101b4cc9
mov eax, dword [ecx + 0x40]
and eax, 0x800000
or eax, ebx
je 0x101b4cc9
mov eax, dword [ecx + 0xc0]
mov ebx, dword [ecx + 0xc4]
cmp dword [edx + 0x50], edi
jne 0x101b4cc9
mov edi, dword [edx + 0x5c]
cmp edi, dword [ecx + 0x5c]
jne 0x101b4cc9
mov edi, dword [edx + 0x58]
cmp edi, dword [ecx + 0x58]
jne 0x101b4cc9
cmp dword [edx + 0xc0], eax
jne 0x101b4cc9
cmp dword [edx + 0xc4], ebx
je 0x101b4d42
mov edi, dword [ebp - 0x14]
inc esi
cmp esi, edi
jb 0x101b4c6e
jmp 0x101b4d45
xor esi, esi
test edi, edi
jbe 0x101b4d45
fld qword [ebp + esi*8 - 0xbc]
mov ecx, dword [ebp + esi*4 - 0x5c]
fcomp qword [ebp + edi*8 - 0xbc]
fnstsw ax
test ah, 0x44
jp 0x101b4d37
fld qword [ebp + esi*8 - 0xdc]
fcomp qword [ebp + edi*8 - 0xdc]
fnstsw ax
test ah, 0x44
jp 0x101b4d37
mov eax, dword [edx + 0x50]
cmp eax, dword [ecx + 0x50]
jne 0x101b4d37
mov eax, dword [edx + 0x54]
cmp eax, dword [ecx + 0x54]
jne 0x101b4d37
mov eax, dword [edx + 0x60]
cmp eax, dword [ecx + 0x60]
jne 0x101b4d37
mov eax, dword [edx + 0x64]
cmp eax, dword [ecx + 0x64]
jne 0x101b4d37
mov eax, dword [edx + 0x5c]
cmp eax, dword [ecx + 0x5c]
jne 0x101b4d37
mov eax, dword [edx + 0x58]
cmp eax, dword [ecx + 0x58]
je 0x101b4d45
inc esi
cmp esi, edi
jb 0x101b4cd9
jmp 0x101b4d45
mov esi, edi
jmp 0x101b4d45
mov edi, dword [ebp - 0x14]
mov dword [ebp + edi*4 - 0xec], esi
cmp edi, esi
jne 0x101b4d53
inc dword [ebp - 0x28]
inc edi
mov dword [ebp - 0x14], edi
cmp edi, dword [ebp + 0x10]
jb 0x101b4c26
xor eax, eax
mov byte [ebp + 0x27], 1
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x18], eax
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
lea ecx, [eax*4]
mov byte [ebp + 0x2b], 0
cmp eax, dword [ebp + ecx - 0xec]
jne 0x101b4e65
mov ebx, dword [ebp + ecx - 0x5c]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x8040]
mov dword [ebp - 0x34], eax
cmp eax, dword [ebx + 0x50]
jne 0x101b4e65
mov edi, dword [ebp - 0x28]
xor edx, edx
jmp 0x101b4db5
mov eax, dword [ebp - 0x34]
cmp edx, dword [ebp + edx*4 - 0xec]
jne 0x101b4e11
mov ecx, dword [ebp + edx*4 - 0x5c]
mov esi, dword [ecx + 0x50]
cmp eax, esi
jne 0x101b4df4
mov eax, dword [ebx + 0x60]
cmp eax, dword [ecx + 0x60]
jne 0x101b4df4
fld qword [ebp + edx*8 - 0xbc]
fucomp st(2)
fnstsw ax
test ah, 0x44
jp 0x101b4df4
fld qword [ebp + edx*8 - 0xdc]
fucomp st(1)
fnstsw ax
test ah, 0x44
jp 0x101b4df4
dec edi
jmp 0x101b4e11
cmp dword [ebp - 0x34], esi
jne 0x101b4e11
mov eax, dword [ebx + 0x60]
mov ecx, dword [ecx + 0x64]
mov esi, dword [ebp + 0x14]
cmp ecx, dword [esi + eax*4]
jae 0x101b4e11
test byte [ebp - 5], 2
je 0x101b4e11
mov byte [ebp + 0x2b], 1
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x101b4db2
mov edx, dword [ebx + 0x60]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + edx*4]
lea ecx, [edi + eax]
cmp ecx, 4
ja 0x101b4e65
mov dl, byte [ebp - 0xd]
cmp byte [ebp + 0x2b], dl
jae 0x101b4e65
mov ecx, dword [ebp - 0x4c]
cmp edi, ecx
jb 0x101b4e4b
jne 0x101b4e65
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + ecx - 0x5c]
mov ecx, dword [edx + 0x60]
mov edx, dword [ebp + 0x14]
cmp eax, dword [edx + ecx*4]
jbe 0x101b4e65
mov al, byte [ebp + 0x2b]
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
add eax, eax
add eax, eax
mov byte [ebp + 0x27], 0
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp + 0x10]
jb 0x101b4d7a
cmp byte [ebp - 6], 0
fstp st(0)
fstp st(0)
jne 0x101b4e89
test byte [ebp - 5], 2
je 0x101b508a
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx + 0x3c]
shr eax, 0x1c
cmp eax, 1
jb 0x101b508a
cmp eax, 4
ja 0x101b508a
cmp dword [ebp + 0x14], 0
jne 0x101b4fd2
mov ebx, 1
mov byte [ebp + 0x2b], 0
cmp ebx, dword [ebp + 0x10]
jae 0x101b4f10
mov esi, dword [ebp - 0x5c]
nop
mov edi, dword [ebp + ebx*4 - 0x5c]
cmp edi, 0xffffffff
je 0x101b4ee6
mov eax, dword [edi + 0x50]
mov eax, dword [eax + 8]
and eax, 0x100
xor ecx, ecx
or eax, ecx
je 0x101b4ee6
mov eax, dword [edi + 0x40]
and eax, 0x800000
or eax, ecx
jne 0x101b4f07
cmp dword [edi + 0x5c], 0xffffffff
jne 0x101b4f07
cmp dword [edi + 0x58], 0xffffffff
jne 0x101b4f07
mov edx, dword [ebp + 8]
push edx
call fcn.101b3de0
test al, al
je 0x101b4f0d
mov eax, dword [edi + 0x64]
cmp eax, dword [esi + 0x64]
jne 0x101b4f0d
inc ebx
cmp ebx, dword [ebp + 0x10]
jb 0x101b4ec0
cmp ebx, dword [ebp + 0x10]
jne 0x101b4f16
mov byte [ebp + 0x2b], 1
cmp byte [ebp + 0x2b], 0
mov dword [ebp - 0xc], 0
jne 0x101b508a
mov eax, dword [ebp - 0xc]
cmp eax, 0x18
jae 0x101b4fbd
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x1c]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [edx + 0x2c]
call eax
test al, al
je 0x101b4fab
mov esi, dword [ebp + 0x20]
lea ebx, [ebp - 0x5c]
xor edi, edi
sub ebx, esi
mov ecx, dword [ebx + esi]
cmp ecx, 0xffffffff
je 0x101b4f75
mov eax, dword [ecx + 0x50]
mov eax, dword [eax + 8]
and eax, 0x100
xor edx, edx
or eax, edx
je 0x101b4f75
mov eax, dword [ecx + 0x40]
and eax, 0x800000
or eax, edx
jne 0x101b4f99
or eax, 0xffffffff
cmp dword [ecx + 0x5c], eax
jne 0x101b4f99
cmp dword [ecx + 0x58], eax
jne 0x101b4f99
mov edx, dword [esi]
mov eax, dword [edx + 0x64]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x64]
lea eax, [eax + edx*4]
cmp ecx, dword [eax*4 + 0x1004bd78]
jne 0x101b4fa2
inc edi
add esi, 4
cmp edi, dword [ebp + 0x10]
jb 0x101b4f50
cmp edi, dword [ebp + 0x10]
jne 0x101b4fab
mov byte [ebp + 0x2b], 1
inc dword [ebp - 0xc]
cmp byte [ebp + 0x2b], 0
je 0x101b4f27
jmp 0x101b508a
cmp byte [ebp + 0x2b], 0
jne 0x101b508a
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 0x20]
lea ecx, [ebp - 0x5c]
mov esi, eax
sub ecx, eax
mov dword [ebp - 0x14], 0
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x28], ecx
jmp 0x101b4ff3
mov ecx, dword [ebp + 0x28]
cmp byte [ebp + 0x27], 0
jne 0x101b508a
mov ecx, dword [esi + ecx]
or edi, 0xffffffff
cmp ecx, edi
je 0x101b502e
mov eax, dword [ecx + 0x50]
mov eax, dword [eax + 8]
and eax, 0x100
xor edx, edx
or eax, edx
je 0x101b502e
mov eax, dword [ecx + 0x40]
and eax, 0x800000
or eax, edx
je 0x101b502e
cmp dword [ecx + 0x5c], edi
jne 0x101b5071
cmp dword [ecx + 0x58], edi
jne 0x101b5071
mov edx, dword [esi]
mov eax, dword [ecx + 0x64]
cmp eax, dword [edx + 0x64]
je 0x101b5071
mov esi, dword [ecx + 0x50]
xor edi, edi
xor edx, edx
nop
mov eax, dword [ebp + edx*4 - 0x5c]
cmp dword [eax + 0x50], esi
jne 0x101b505a
mov ebx, dword [eax + 0x60]
cmp ebx, dword [ecx + 0x60]
jne 0x101b505a
mov eax, dword [eax + 0x5c]
cmp eax, dword [ecx + 0x5c]
jne 0x101b505a
inc edi
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x101b5040
cmp edi, 1
ja 0x101b506d
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x18]
jne 0x101b5071
mov byte [ebp + 0x27], 1
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp + 0x20]
inc eax
add esi, 4
mov dword [ebp - 0x14], eax
mov dword [ebp + 0x20], esi
cmp eax, dword [ebp + 0x10]
jb 0x101b4ff0
mov edx, dword [ebp + 8]
test byte [edx + 0x7fcc], 6
mov ebx, dword [ebp + 0x1c]
je 0x101b51ed
mov eax, dword [ebx + 0x3c]
mov ecx, eax
and ecx, 0xfff00000
cmp ecx, 0x50000000
je 0x101b50bc
cmp ecx, 0x70800000
jne 0x101b51ed
and eax, 0xfffff
add eax, eax
xor edi, edi
add eax, eax
mov dword [ebp + 0x20], eax
lea ebx, [ebx]
cmp byte [ebp + 0x27], 0
jne 0x101b51ed
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx + eax]
mov esi, dword [eax + edi*4]
mov eax, dword [ebp + 8]
test byte [eax + 0x7fd0], 0x10
mov dword [ebp + 0x28], edx
je 0x101b5153
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx + 0x50]
mov eax, dword [eax + 8]
and eax, 0x100
xor edx, edx
or eax, edx
je 0x101b5118
mov eax, dword [esi + 0x40]
and eax, 0x800000
or eax, edx
je 0x101b5121
cmp dword [esi + 0x64], edi
je 0x101b5121
mov byte [ebp + 0x27], 1
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax + ecx]
mov eax, dword [ecx + 0x50]
mov eax, dword [eax + 8]
and eax, 0x100
xor ecx, ecx
or eax, ecx
je 0x101b5147
mov edx, dword [ebp + 0x28]
mov eax, dword [edx + 0x40]
and eax, 0x800000
or eax, ecx
je 0x101b5153
mov eax, dword [ebp + 0x28]
cmp dword [eax + 0x64], edi
je 0x101b5153
mov byte [ebp + 0x27], 1
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx + 0x50]
mov eax, dword [eax + 8]
and eax, 0x100
xor edx, edx
or eax, edx
je 0x101b5176
mov eax, dword [esi + 0x40]
and eax, 0x800000
or eax, edx
je 0x101b51dc
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax + ecx]
mov eax, dword [ecx + 0x50]
mov eax, dword [eax + 8]
and eax, 0x100
xor ecx, ecx
or eax, ecx
je 0x101b5199
mov eax, dword [esi + 0x40]
and eax, 0x800000
or eax, ecx
je 0x101b51dc
mov edx, dword [esi + 0x64]
mov eax, dword [ebp + 0x28]
cmp edx, dword [eax + 0x64]
je 0x101b51dc
mov edx, dword [esi + 0x50]
xor ecx, ecx
mov dword [ebp + 0x28], ecx
lea esp, [esp]
mov eax, dword [ebp + ecx*4 - 0x5c]
cmp dword [eax + 0x50], edx
jne 0x101b51cc
mov ebx, dword [eax + 0x60]
cmp ebx, dword [esi + 0x60]
jne 0x101b51cc
mov eax, dword [eax + 0x5c]
cmp eax, dword [esi + 0x5c]
jne 0x101b51cc
inc dword [ebp + 0x28]
inc ecx
cmp ecx, dword [ebp + 0x10]
jb 0x101b51b0
cmp dword [ebp + 0x28], 1
jbe 0x101b51dc
mov byte [ebp + 0x27], 1
add dword [ebp + 0x20], 4
mov ebx, dword [ebp + 0x1c]
inc edi
cmp edi, dword [ebp + 0x10]
jb 0x101b50d0
mov esi, dword [ebx + 0x3c]
mov ecx, esi
and ecx, 0xfff00000
cmp ecx, 0x10000000
jne 0x101b5224
mov edx, dword [ebp + 8]
test byte [edx + 0x7fcc], 8
jne 0x101b5224
mov eax, dword [ebx + 0xc]
mov edx, dword [eax]
mov eax, dword [edx + 0x50]
mov eax, dword [eax + 8]
and eax, 0x20
xor edx, edx
or eax, edx
jne 0x101b52eb
cmp ecx, 0x11400000
je 0x101b52eb
cmp ecx, 0x10000000
jne 0x101b5294
cmp dword [ebp - 0x1c], 0
jne 0x101b52eb
cmp dword [ebp - 0x44], 0
jne 0x101b52eb
cmp dword [ebp - 0x30], 0
jne 0x101b52eb
mov eax, dword [ebx + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + 8]
and eax, 0x1000
xor ecx, ecx
or eax, ecx
je 0x101b5275
cmp byte [ebp + 0x27], cl
je 0x101b52eb
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x5c]
push edx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, esi
shr eax, 0x1c
cmp eax, 1
jb 0x101b52eb
cmp eax, 4
ja 0x101b52eb
cmp ecx, 0x50700000
je 0x101b52eb
xor edi, edi
lea ebx, [edi + 2]
mov esi, dword [ebp + edi*4 - 0x5c]
mov eax, dword [esi + 0x50]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
mov eax, ecx
mov dword [ebp - 0x80], edx
and eax, 0x200
xor edx, edx
or eax, edx
je 0x101b52e2
and ecx, 0x100
xor eax, eax
or ecx, eax
jne 0x101b52e2
cmp dword [esi + 0x20], ebx
jb 0x101b4bfb
inc edi
cmp edi, dword [ebp + 0x10]
jb 0x101b52b0
mov ebx, dword [ebp + 0x1c]
cmp byte [ebp + 0x27], 0
mov dword [ebp - 0x4c], 0xffffffff
je 0x101b5307
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
lea ecx, [edx + 1]
mov dword [ebp - 0x3c], edx
mov dword [eax], ecx
jmp 0x101b5316
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + edx*4 - 0x5c]
mov ecx, dword [eax + 0x60]
mov dword [ebp - 0x3c], ecx
mov edx, ecx
mov eax, dword [ebx + 0xc]
fld1
mov eax, dword [eax]
fldz
mov ecx, dword [eax + 0x68]
mov al, byte [eax + 0x6c]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x48], ecx
xor ecx, ecx
mov byte [ebp - 0xd], al
mov dword [ebp - 0x20], ecx
cmp ecx, dword [ebp + ecx*4 - 0xec]
jne 0x101b5370
mov eax, dword [ebp + ecx*4 - 0x5c]
mov edi, dword [esi + 0x8040]
cmp edi, dword [eax + 0x50]
jne 0x101b5375
cmp edx, dword [eax + 0x60]
jne 0x101b5375
fld qword [ebp + ecx*8 - 0xbc]
fucomp st(2)
fnstsw ax
test ah, 0x44
jp 0x101b5375
fld qword [ebp + ecx*8 - 0xdc]
fucomp st(1)
fnstsw ax
test ah, 0x44
jp 0x101b5375
mov byte [ebp + ecx - 0x20], 1
inc ecx
cmp ecx, dword [ebp + 0x10]
jb 0x101b5333
cmp byte [ebp + 0x27], 0
fstp st(1)
fstp st(0)
jne 0x101b5499
xor eax, eax
mov dword [ebp - 0x14], eax
cmp byte [ebp + eax - 0x20], 0
jne 0x101b5489
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + eax*4 - 0x5c]
mov edx, dword [ecx + 0x8040]
cmp edx, dword [edi + 0x50]
jne 0x101b5489
xor ebx, ebx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ebx
cmp byte [ebp + ebx - 0x20], 0
jne 0x101b53fd
mov eax, dword [ebp + 8]
mov esi, dword [ebp + ebx*4 - 0x5c]
inc dword [ebp + 0x20]
push eax
call fcn.101b3de0
test al, al
je 0x101b53fd
fld qword [ebp + ebx*8 - 0xbc]
inc dword [ebp + 0x24]
fcomp qword [0x100a2fe0]
fnstsw ax
test ah, 0x44
jp 0x101b5405
fld qword [ebp + ebx*8 - 0xdc]
fcomp qword [0x100a2ff8]
fnstsw ax
test ah, 0x44
jp 0x101b5405
inc ebx
cmp ebx, dword [ebp + 0x10]
jb 0x101b53b7
jmp 0x101b540e
cmp ebx, dword [ebp + 0x10]
jb 0x101b5489
mov eax, dword [ebp + 0x14]
mov esi, dword [edi + 0x60]
mov ecx, dword [eax + esi*4]
sub ecx, dword [ebp + 0x24]
mov edx, dword [ebp - 0x3c]
add ecx, dword [ebp + 0x20]
add ecx, dword [eax + edx*4]
cmp ecx, 4
ja 0x101b5489
mov edx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
xor eax, eax
cmp byte [ebp + eax - 0x20], 0
jne 0x101b5450
mov ecx, dword [ebp + eax*4 - 0x5c]
mov ebx, dword [edx + 0x8040]
cmp ebx, dword [ecx + 0x50]
jne 0x101b5450
cmp esi, dword [ecx + 0x60]
jne 0x101b5450
mov byte [ebp + eax - 0x20], 1
inc eax
cmp eax, edi
jb 0x101b5430
mov eax, dword [edx + 0x8040]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp + 0x14]
test eax, eax
je 0x101b547c
cmp esi, dword [eax + 0x60]
jne 0x101b5476
mov dword [eax + 0x60], edx
mov edi, dword [ecx + edx*4]
add dword [eax + 0x64], edi
mov eax, dword [eax]
test eax, eax
jne 0x101b5468
mov eax, dword [ecx + esi*4]
add dword [ecx + edx*4], eax
mov dword [ecx + esi*4], 0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp + 0x10]
jb 0x101b538e
mov eax, dword [ebp + 8]
test byte [eax + 0x7fcc], 6
jne 0x101b55b7
test byte [eax + 0x7fd3], 8
jne 0x101b55b7
xor eax, eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x14], eax
mov dword [ebp + 0x20], ecx
cmp byte [ebp + eax - 0x20], 0
jne 0x101b55a3
mov edx, dword [ebp + 0x20]
mov edi, dword [edx]
cmp edi, 0xffffffff
je 0x101b54f7
mov eax, dword [edi + 0x50]
mov eax, dword [eax + 8]
and eax, 0x100
xor ecx, ecx
or eax, ecx
je 0x101b54f7
mov eax, dword [edi + 0x40]
and eax, 0x800000
or eax, ecx
jne 0x101b55a3
xor ebx, ebx
mov dword [ebp + 0x24], ebx
lea esp, [esp]
cmp byte [ebp + ebx - 0x20], 0
jne 0x101b551b
mov eax, dword [ebp + 8]
mov esi, dword [ebp + ebx*4 - 0x5c]
push eax
call fcn.101b3de0
test al, al
je 0x101b551b
inc dword [ebp + 0x24]
inc ebx
cmp ebx, dword [ebp + 0x10]
jb 0x101b5500
xor esi, esi
cmp dword [ebp + 0x24], 4
jae 0x101b55a3
cmp byte [ebp + esi - 0x20], 0
jne 0x101b559d
mov ecx, dword [ebp + esi*4 - 0x5c]
cmp ecx, 0xffffffff
je 0x101b559d
mov eax, dword [ecx + 0x50]
mov eax, dword [eax + 8]
and eax, 0x100
xor edx, edx
or eax, edx
je 0x101b559d
mov eax, dword [ecx + 0x40]
and eax, 0x800000
or eax, edx
je 0x101b559d
mov edi, dword [ebp + 8]
lea edx, [ebp - 0x64]
push edx
mov ebx, ecx
call fcn.101658d0
test eax, eax
jl 0x101b4bfb
fld qword [ebp + esi*8 - 0xbc]
mov eax, dword [ebp + 0x20]
fmul qword [ebp - 0x64]
mov ecx, dword [eax]
inc dword [ebp + 0x24]
mov dword [ebp + esi*4 - 0x5c], ecx
fadd qword [ebp + esi*8 - 0xdc]
fstp qword [ebp + esi*8 - 0xdc]
fldz
fstp qword [ebp + esi*8 - 0xbc]
inc esi
cmp esi, dword [ebp + 0x10]
jb 0x101b5523
mov eax, dword [ebp - 0x14]
add dword [ebp + 0x20], 4
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp + 0x10]
jb 0x101b54c1
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x3c]
cmp dword [edx + eax*4], 0
mov byte [ebp + 0x2b], 0
jne 0x101b55cb
mov byte [ebp + 0x2b], 1
xor eax, eax
mov dword [ebp - 0x14], eax
cmp byte [ebp + eax - 0x20], 0
jne 0x101b5ff1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + ecx*4 - 0x5c]
xor ebx, ebx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp + 0x23], 1
mov dword [ebp - 0x44], ebx
mov byte [ebp + 0x27], 1
jmp 0x101b5600
cmp byte [ebp + ebx - 0x20], 0
jne 0x101b5684
mov eax, dword [ebp + 8]
mov esi, dword [ebp + ebx*4 - 0x5c]
mov edi, dword [ebp - 0x88]
push eax
call fcn.101b3de0
test al, al
je 0x101b5684
fld qword [ebp + ebx*8 - 0xbc]
mov ecx, 1
fcomp qword [0x100a2fe0]
add dword [ebp - 0x18], ecx
fnstsw ax
test ah, 0x44
jnp 0x101b5641
mov dword [ebp - 0x1c], ecx
fld qword [ebp + ebx*8 - 0xbc]
fcomp qword [0x100a3028]
fnstsw ax
test ah, 0x44
jnp 0x101b5659
mov byte [ebp + 0x23], 0
fld qword [ebp + ebx*8 - 0xdc]
fldz
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x101b5670
mov dword [ebp - 0x44], ecx
fld qword [ebp + ebx*8 - 0xbc]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x101b5684
mov byte [ebp + 0x27], 0
inc ebx
cmp ebx, dword [ebp + 0x10]
jb 0x101b5600
mov eax, 0xffffffff
xor ebx, ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], eax
cmp byte [ebp + 0x27], bl
je 0x101b5764
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x44], ebx
mov esi, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push 0xffffffffffffffff
and ecx, 0xfffff
or ecx, 0x10000000
push ecx
lea edx, [ebp - 0x40]
push edx
push eax
call fcn.10169e20
cmp eax, ebx
jl 0x101b4bfb
mov eax, dword [ebp - 0x40]
mov ecx, dword [esi + 0x34]
mov dword [eax + 0x34], ecx
mov edx, dword [esi + 0x38]
mov dword [eax + 0x38], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x38], ebx
mov edi, edi
cmp byte [ebp + ebx - 0x20], 0
lea eax, [ebp + ebx - 0x20]
mov dword [ebp - 0x68], eax
jne 0x101b5f63
mov esi, dword [ebp + ebx*4 - 0x5c]
mov edi, dword [ebp - 0x88]
lea eax, [ebp + ebx*4 - 0x5c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 8]
push eax
call fcn.101b3de0
test al, al
je 0x101b5f63
cmp byte [ebp + 0x27], 0
je 0x101b581b
mov esi, dword [ebp + 8]
fld qword [ebp + ebx*8 - 0xdc]
mov ecx, dword [esi + 0x8024]
sub esp, 8
fstp qword [esp]
push ecx
lea edx, [ebp - 0x34]
push edx
push esi
mov eax, 4
call fcn.10169cc0
test eax, eax
jl 0x101b4bfb
mov eax, dword [ebp - 0x34]
jmp 0x101b5823
cmp dword [ebp - 0x1c], ebx
je 0x101b57bc
mov ecx, dword [ebp - 0x18]
push eax
and ecx, 0xfffff
cmp byte [ebp + 0x23], 0
push eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x40]
je 0x101b5788
or ecx, 0x10100000
jmp 0x101b578e
or ecx, 0x20500000
push ecx
push edx
push eax
call fcn.10169e20
cmp eax, ebx
jl 0x101b4bfb
mov esi, dword [ebp + 0x1c]
mov ecx, dword [esi + 0x34]
mov eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0x44]
mov dword [eax + 0x34], ecx
mov edx, dword [esi + 0x38]
mov dword [eax + 0x38], edx
cmp edi, ebx
jne 0x101b57ca
jmp 0x101b56e5
mov edi, dword [ebp - 0x44]
cmp edi, ebx
je 0x101b56aa
mov esi, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push 0xffffffffffffffff
and ecx, 0xfffff
or ecx, 0x20400000
push ecx
lea edx, [ebp - 0x30]
push edx
push eax
call fcn.10169e20
cmp eax, ebx
jl 0x101b4bfb
mov ecx, dword [esi + 0x34]
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x34], ecx
mov edx, dword [esi + 0x38]
mov dword [eax + 0x38], edx
cmp dword [ebp - 0x1c], ebx
jne 0x101b56e8
mov dword [ebp - 0x40], eax
cmp edi, ebx
jne 0x101b56e8
jmp 0x101b56ad
mov eax, esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x34], eax
cmp byte [ebp + 0x27], 0
mov edx, dword [ebp - 0x40]
mov edi, dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov dword [edi + ecx*4], eax
je 0x101b5838
mov dword [eax + 0x78], eax
xor edi, edi
cmp dword [ebp - 0x1c], edi
je 0x101b5adb
cmp byte [ebp + 0x23], 0
jne 0x101b587a
mov eax, dword [esi + 0x8024]
fld qword [ebp + ebx*8 - 0xbc]
mov edx, dword [edx + 4]
sub esp, 8
fstp qword [esp]
push eax
mov eax, dword [ebp - 0x18]
add ecx, eax
lea eax, [edx + ecx*4]
push eax
push esi
lea eax, [edi + 4]
call fcn.10169cc0
cmp eax, edi
jl 0x101b4bfb
cmp dword [ebp - 0x44], edi
je 0x101b5bff
mov edi, dword [ebp - 0x4c]
cmp edi, 0xffffffff
jne 0x101b5899
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx]
mov dword [ebp - 0x4c], eax
mov edi, dword [ebp - 0x4c]
inc eax
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax + edi*4]
lea ecx, [ebx + 1]
mov dword [eax + edi*4], ecx
mov eax, dword [0x101e316c]
mov edx, dword [esi + 0x8040]
mov dword [ebp - 0x28], edx
test eax, eax
jge 0x101b58bb
xor eax, eax
jmp 0x101b58c2
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [eax + 0xc], 0
je 0x101b58e9
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x101b58d3
mov esi, ecx
jmp 0x101b58fa
mov edx, dword [ecx]
mov dword [eax + 0xc], edx
test edx, edx
jne 0x101b58df
mov dword [eax + 0x10], edx
mov dword [ecx], 0xfefefefe
mov esi, ecx
jmp 0x101b58fa
mov ecx, dword [eax + 8]
push 0x10
push pe_nt_image_headers32
call fcn.101d8457
mov esi, eax
test esi, esi
je 0x101b4bfb
xor eax, eax
push ebx
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x28]
push edi
or ecx, 0xffffffff
push eax
mov eax, esi
mov dword [esi + 0x50], ecx
mov dword [esi + 0x48], ecx
call fcn.10165570
mov dword [ebp - 0x28], eax
test eax, eax
jl 0x101b5955
mov edi, dword [ebp + 8]
push 0
mov ebx, esi
call fcn.10169830
mov dword [ebp - 0x28], eax
test eax, eax
jl 0x101b5955
mov edi, esi
mov dword [ebp - 0x98], edi
jmp 0x101b5a7a
mov ecx, dword [esi + 0x50]
xor ebx, ebx
cmp ecx, ebx
je 0x101b5989
cmp ecx, 0xffffffff
je 0x101b5989
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x101b5970
mov edx, dword [esi]
mov dword [eax], edx
jmp 0x101b5975
mov eax, dword [esi]
mov dword [ecx + 0x24], eax
mov eax, dword [esi]
cmp eax, ebx
je 0x101b5983
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
jmp 0x101b5989
mov edx, dword [esi + 4]
mov dword [ecx + 0x28], edx
mov edi, dword [esi + 0x94]
cmp edi, ebx
je 0x101b59d6
cmp byte [edi + 0xc], 0
mov dword [edi + 8], ebx
je 0x101b59c8
mov ebx, dword [edi]
test ebx, ebx
je 0x101b59c2
mov eax, dword [0x101e316c]
test eax, eax
jge 0x101b59af
xor eax, eax
jmp 0x101b59b6
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax]
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [edi + 0xc], 0
xor ebx, ebx
push edi
mov dword [edi], ebx
mov dword [edi + 4], ebx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, dword [esi + 0x98]
mov dword [esi + 0x94], ebx
cmp edi, ebx
je 0x101b5a29
cmp byte [edi + 0xc], 0
mov dword [edi + 8], ebx
je 0x101b5a1b
mov ebx, dword [edi]
test ebx, ebx
je 0x101b5a15
mov eax, dword [0x101e316c]
test eax, eax
jge 0x101b5a02
xor eax, eax
jmp 0x101b5a09
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax]
push ebx
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [edi + 0xc], 0
xor ebx, ebx
push edi
mov dword [edi], ebx
mov dword [edi + 4], ebx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 0x98], ebx
mov eax, dword [0x101e316c]
cmp eax, ebx
jge 0x101b5a3c
xor edi, edi
jmp 0x101b5a45
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
push pe_nt_image_headers32
push 0xfe
push esi
call sub.msvcrt.dll_memset
mov dword [esi], ebx
mov eax, dword [edi + 0x10]
add esp, 0xc
cmp eax, ebx
je 0x101b5a65
mov dword [eax], esi
jmp 0x101b5a68
mov dword [edi + 0xc], esi
cmp dword [ebp - 0x28], ebx
mov dword [edi + 0x10], esi
jl 0x101b4bfb
mov edi, dword [ebp - 0x98]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 0x14]
cmp dword [eax + edx*4], 4
jbe 0x101b5a9a
mov esi, dword [ebp + 8]
push 0x10095b50
xor ecx, ecx
xor edx, edx
call fcn.10168ee0
add esp, 4
mov ecx, dword [ebp - 0x48]
mov dl, byte [ebp - 0xd]
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x38]
mov byte [edi + 0x6c], dl
mov dword [edi + 0x68], ecx
mov dword [edi + 0x78], edi
mov ecx, dword [eax + 0x4c]
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x88], eax
mov dword [edi + 0x4c], ecx
mov edx, dword [eax + 0x10]
mov dword [edi + 0xc], edx
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x30]
mov dword [ecx + eax*4], edi
mov ecx, dword [edx + 4]
mov dword [ecx + eax*4], edi
xor edi, edi
cmp dword [ebp - 0x44], edi
je 0x101b5bff
mov eax, dword [esi + 8]
mov dword [ebp - 0x28], edi
cmp eax, edi
jbe 0x101b5af8
mov edx, dword [esi + 0x7f2c]
mov ecx, dword [edx]
jmp 0x101b5afa
xor ecx, ecx
mov dword [ebp - 0x60], edi
cmp eax, edi
jbe 0x101b5baf
mov eax, dword [ecx + 8]
and eax, 0x100
xor edx, edx
or eax, edx
je 0x101b5b7d
mov esi, dword [ecx + 0x24]
test esi, esi
je 0x101b5b7d
lea ebx, [ebx]
cmp esi, 0xffffffff
je 0x101b5b6e
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 8]
and eax, 0x100
xor ecx, ecx
or eax, ecx
je 0x101b5b6e
mov eax, dword [esi + 0x40]
and eax, 0x800000
or eax, ecx
je 0x101b5b6e
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x84]
push eax
mov ebx, esi
call fcn.101658d0
test eax, eax
jne 0x101b5b6e
mov ecx, dword [ebp - 0x38]
fld qword [ebp + ecx*8 - 0xdc]
fcomp qword [ebp - 0x84]
fnstsw ax
test ah, 0x44
jnp 0x101b5b7a
test esi, esi
je 0x101b5b7d
mov esi, dword [esi]
test esi, esi
jne 0x101b5b20
jmp 0x101b5b7d
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
inc eax
mov dword [ebp - 0x60], eax
cmp eax, edx
jb 0x101b5b97
mov eax, edx
xor ecx, ecx
mov dword [ebp - 0x60], eax
jmp 0x101b5ba0
mov ecx, dword [ecx + 0x7f2c]
mov ecx, dword [ecx + eax*4]
cmp eax, edx
jb 0x101b5b05
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x101b5be6
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
fld qword [ebp + edx*8 - 0xdc]
mov ecx, dword [eax + 0x8024]
sub esp, 8
fstp qword [esp]
push ecx
lea edx, [ebp - 0x28]
push edx
push eax
mov eax, 4
call fcn.10169cc0
test eax, eax
jl 0x101b4bfb
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x78], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x38]
add edx, ecx
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx + 4]
mov dword [ecx + edx*4], eax
xor edi, edi
cmp byte [ebp + 0x2b], 0
je 0x101b5c0a
mov dword [ebp - 0x28], ebx
jmp 0x101b5c1a
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
inc eax
mov dword [edx + ecx*4], eax
mov eax, dword [0x101e316c]
cmp eax, edi
mov edx, dword [esi + 0x8040]
mov dword [ebp - 0x90], edx
jge 0x101b5c33
xor eax, eax
jmp 0x101b5c3a
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [eax + 0xc], edi
je 0x101b5c62
mov ecx, dword [eax + 0xc]
cmp ecx, edi
jne 0x101b5c4c
xor ecx, ecx
mov esi, ecx
jmp 0x101b5c73
mov edx, dword [ecx]
mov dword [eax + 0xc], edx
cmp edx, edi
jne 0x101b5c58
mov dword [eax + 0x10], edi
mov dword [ecx], 0xfefefefe
mov esi, ecx
jmp 0x101b5c73
mov ecx, dword [eax + 8]
push 0x10
push pe_nt_image_headers32
call fcn.101d8457
mov esi, eax
cmp esi, edi
je 0x101b4bfb
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x90]
or eax, 0xffffffff
mov dword [esi + 0x50], eax
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x28]
push eax
push ecx
push edx
mov eax, esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x24], edi
call fcn.10165570
cmp eax, edi
mov dword [ebp - 0x28], eax
jl 0x101b5cd5
mov edi, dword [ebp + 8]
push 0
mov ebx, esi
call fcn.10169830
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
test eax, eax
jl 0x101b5cd5
mov edi, esi
mov dword [ebp - 0x78], edi
jmp 0x101b5e11
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x101b5d07
cmp ecx, 0xffffffff
je 0x101b5d07
mov eax, dword [esi + 4]
test eax, eax
je 0x101b5cee
mov edx, dword [esi]
mov dword [eax], edx
jmp 0x101b5cf3
mov eax, dword [esi]
mov dword [ecx + 0x24], eax
mov eax, dword [esi]
test eax, eax
je 0x101b5d01
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
jmp 0x101b5d07
mov edx, dword [esi + 4]
mov dword [ecx + 0x28], edx
mov edi, dword [esi + 0x94]
xor ecx, ecx
cmp edi, ecx
je 0x101b5d60
mov dword [edi + 8], ecx
cmp byte [edi + 0xc], cl
je 0x101b5d48
mov ebx, dword [edi]
test ebx, ebx
je 0x101b5d41
mov eax, dword [0x101e316c]
test eax, eax
jge 0x101b5d2e
xor eax, eax
jmp 0x101b5d35
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax]
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [ebp - 0x38]
mov byte [edi + 0xc], 0
push edi
mov dword [edi], 0
mov dword [edi + 4], 0
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
mov edi, dword [esi + 0x98]
mov dword [esi + 0x94], ecx
cmp edi, ecx
je 0x101b5dbe
cmp byte [edi + 0xc], 0
mov dword [edi + 8], ecx
je 0x101b5da6
mov ebx, dword [edi]
test ebx, ebx
je 0x101b5d9f
mov eax, dword [0x101e316c]
test eax, eax
jge 0x101b5d8c
xor eax, eax
jmp 0x101b5d93
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax]
push ebx
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [ebp - 0x38]
mov byte [edi + 0xc], 0
push edi
mov dword [edi], 0
mov dword [edi + 4], 0
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
mov dword [esi + 0x98], ecx
mov eax, dword [0x101e316c]
cmp eax, ecx
jge 0x101b5dd1
xor edi, edi
jmp 0x101b5dda
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
push pe_nt_image_headers32
push 0xfe
push esi
call sub.msvcrt.dll_memset
mov dword [esi], 0
mov eax, dword [edi + 0x10]
add esp, 0xc
test eax, eax
je 0x101b5dfe
mov dword [eax], esi
jmp 0x101b5e01
mov dword [edi + 0xc], esi
cmp dword [ebp - 0x28], 0
mov dword [edi + 0x10], esi
jl 0x101b4bfb
mov edi, dword [ebp - 0x78]
cmp byte [ebp + 0x2b], 0
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x3c]
je 0x101b5e28
cmp ebx, dword [ecx + eax*4]
jb 0x101b5e28
lea edx, [ebx + 1]
mov dword [ecx + eax*4], edx
cmp dword [ecx + eax*4], 4
jbe 0x101b5e42
mov esi, dword [ebp + 8]
push 0x10095b50
xor ecx, ecx
xor edx, edx
call fcn.10168ee0
add esp, 4
mov eax, dword [ebp - 0x48]
mov cl, byte [ebp - 0xd]
mov dword [edi + 0x68], eax
mov eax, dword [ebp + 0xc]
mov byte [edi + 0x6c], cl
xor edx, edx
mov dword [edi + 0x40], edx
mov dword [edi + 0x44], edx
mov ecx, dword [eax + ebx*4]
mov ecx, dword [ecx + 0x4c]
mov dword [edi + 0x4c], ecx
mov ecx, dword [ebp - 0x30]
mov dword [edi + 0x88], ecx
mov esi, dword [ecx + 0x10]
mov dword [edi + 0xc], esi
mov ecx, dword [ecx + 0xc]
mov esi, dword [ebp - 0xc]
mov dword [ecx + esi*4], edi
mov ecx, dword [eax + ebx*4]
mov ecx, dword [ecx + 0x78]
mov dword [edi + 0x78], ecx
mov ecx, dword [eax + ebx*4]
mov dword [ecx + 0x78], edi
mov eax, dword [eax + ebx*4]
mov eax, dword [eax + 0x40]
and eax, 0x800000
xor ecx, ecx
or eax, ecx
je 0x101b5f45
fld1
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x38]
fstp qword [ebp - 0x2c]
fldz
mov ecx, dword [edx + eax*4]
fstp qword [ebp - 0x94]
cmp ecx, 0xffffffff
je 0x101b5f45
mov esi, dword [ebp + 8]
mov eax, dword [ecx + 0x50]
mov eax, dword [eax + 8]
and eax, 0x100
xor edx, edx
or eax, edx
je 0x101b5f27
mov eax, dword [ecx + 0x40]
and eax, 0x800000
or eax, edx
je 0x101b5f27
fld qword [ebp - 0x2c]
fcomp qword [0x100a2fe0]
fnstsw ax
test ah, 0x44
jp 0x101b5f27
fld qword [ebp - 0x94]
fcomp qword [0x100a2ff8]
fnstsw ax
test ah, 0x44
jp 0x101b5f27
cmp ecx, edi
je 0x101b5f27
mov edx, dword [edi + 0x78]
mov eax, edx
cmp eax, edi
je 0x101b5f1b
lea ecx, [ecx]
cmp eax, ecx
je 0x101b5f27
mov eax, dword [eax + 0x78]
cmp eax, edi
jne 0x101b5f10
mov eax, dword [ecx + 0x78]
mov eax, dword [eax + 0x78]
mov dword [edi + 0x78], eax
mov dword [ecx + 0x78], edx
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x2c]
push eax
push esi
mov eax, ecx
call fcn.101b3ed0
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x101b5ec0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [edx + eax*4]
mov edx, dword [ebp - 0x70]
mov ebx, dword [ebp - 0x38]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x68]
inc eax
mov byte [ecx], 1
mov dword [ebp - 0xc], eax
inc ebx
mov dword [ebp - 0x38], ebx
cmp ebx, dword [ebp + 0x10]
jb 0x101b56f0
mov esi, dword [ebp - 0x40]
mov dword [ebp + 0x24], 0xffffffff
cmp esi, 0xffffffff
je 0x101b5fb4
mov eax, dword [esi + 0x3c]
mov ecx, dword [ebp + 8]
shr eax, 0x14
mov edx, dword [ecx + eax*4 + 0x8270]
test edx, edx
je 0x101b4bfb
mov eax, dword [ecx + eax*4 + 0xc270]
push 1
lea edi, [ebp + 0x24]
push edi
push esi
push eax
push edx
call fcn.1019bc80
test eax, eax
jl 0x101b4bfb
mov esi, dword [ebp - 0x30]
cmp esi, 0xffffffff
je 0x101b5ff1
mov eax, dword [esi + 0x3c]
mov ecx, dword [ebp + 8]
shr eax, 0x14
mov edx, dword [ecx + eax*4 + 0x8270]
test edx, edx
je 0x101b4bfb
mov eax, dword [ecx + eax*4 + 0xc270]
push 1
lea edi, [ebp + 0x24]
push edi
push esi
push eax
push edx
call fcn.1019bc80
test eax, eax
jl 0x101b4bfb
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp + 0x10]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, esi
jb 0x101b55d0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0xec]
sub ecx, eax
mov edx, esi
mov edi, dword [ecx + eax]
mov edi, dword [ebp + edi*4 - 0x5c]
mov dword [eax], edi
add eax, 4
sub edx, 1
jne 0x101b6010
xor eax, eax
cmp byte [ebp + eax - 0x20], 0
je 0x101b4bfb
inc eax
cmp eax, esi
jb 0x101b6023
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x24