Function at 0x10020e90
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006eee6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp + 0x1c]
push ebx
push esi
mov ebx, ecx
mov ecx, dword [ebp + 0x20]
push edi
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
mov ecx, ebx
mov dword [esp + 0xb0], ebx
call fcn.1001efa0
xor edi, edi
mov eax, 0xd
lea ecx, [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x60], eax
push edi
mov eax, 0x66666666
push ecx
mov ecx, dword [ebp + 0x28]
push 0x1008d9c8
mov dword [esp + 0xd0], edi
mov dword [ebx], 0x100712e8
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], 0x3fee6666
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x94], 0xbfd66666
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x7c], edi
mov dword [ebx + 0x70], edi
mov dword [ebx + 0x74], edi
mov dword [ebx + 0x68], edi
mov dword [ebx + 0x6c], edi
mov dword [ebx + 0x60], edi
mov dword [ebx + 0x64], edi
mov dword [ebx + 0xa0], edi
mov dword [ebx + 0xa4], edi
mov dword [ebx + 0xa8], edi
mov dword [ebx + 0xac], 1
mov dword [ebx + 0xb0], edi
mov dword [ebx + 0xb4], 0x3ff00000
mov dword [ebx + 0xb8], edi
mov dword [ebx + 0xbc], 0xbff00000
mov dword [ebx + 0xc0], 0xc28f5c29
mov dword [ebx + 0xc4], 0x3fec28f5
mov dword [ebx + 0xc8], edi
mov dword [ebx + 0xcc], edi
mov dword [ebx + 0xd0], edi
mov dword [ebx + 0xd4], edi
mov dword [ebx + 0xd8], edi
mov dword [ebx + 0xdc], edi
call fcn.1000bbe0
cmp dword [eax], 6
jne 0x10021c69
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0xc], edi
je 0x10021c69
lea edx, [esp + 0x80]
push edx
push edi
call fcn.10004df0
cmp dword [eax], 7
je 0x10021026
push 0x1008dd98
push 0xffffffffffffffff
push 1
call fcn.1000bd30
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.10045c00
lea ecx, [esp + 0x80]
jmp 0x10021c7e
lea ecx, [esp + 0x18]
call fcn.10045c00
mov eax, dword [esp + 0x88]
mov ecx, ebx
mov esi, eax
push eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], esi
push eax
call fcn.1001f690
lea ecx, [esp + 0x18]
push edi
push ecx
push 0x1008dd88
mov ecx, esi
call fcn.1000bbe0
cmp dword [eax], 7
je 0x10021085
push 0x1008dd4c
push 0xffffffffffffffff
push 1
call fcn.1000bd30
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.10045c00
lea ecx, [esp + 0x80]
jmp 0x10021c7e
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x30]
push edi
push edx
push 0x1008dd40
call fcn.1000bbe0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x40]
push edi
push eax
push 0x1008dd34
call fcn.1000bbe0
mov ecx, dword [esp + 0x30]
mov eax, 3
cmp ecx, eax
jne 0x10021c34
cmp dword [esp + 0x40], eax
jne 0x10021c34
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x48]
push 8
mov dword [esp + 0x10], ecx
call fcn.10060e1a
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0xc4], 1
je 0x100210fc
mov edx, dword [esp + 0xc]
mov ecx, eax
push edx
call fcn.100327f0
jmp 0x100210fe
xor eax, eax
push esi
push 0x2d
mov ecx, eax
mov byte [esp + 0xcc], 0
call fcn.10032970
mov ecx, eax
call fcn.10032a90
lea ecx, [esp + 0x40]
mov dword [ebx + 0xa0], eax
call fcn.10045c00
lea ecx, [esp + 0x30]
call fcn.10045c00
lea ecx, [esp + 0x18]
call fcn.10045c00
mov eax, dword [ebp + 0x28]
push edi
push 0x10
push eax
mov ecx, ebx
call fcn.1001f920
cmp eax, edi
mov dword [ebx + 0xa8], eax
jne 0x100211bf
mov ecx, dword [ebx + 0xa0]
push 0x1008dd24
mov dword [ebx + 0xac], edi
call fcn.10033c20
test eax, eax
je 0x100211b4
mov ecx, dword [ebx + 0xa0]
push 0x1008dd18
call fcn.10033c20
test eax, eax
je 0x100211b4
mov ecx, dword [ebx + 0xa0]
push ecx
mov ecx, dword [0x101e5e58]
call fcn.10032110
cmp eax, edi
mov dword [ebx + 0xa8], eax
jne 0x100211bf
mov edx, dword [ebx + 0xa0]
push edx
push 0x1008dcf0
push 0xffffffffffffffff
push 1
call fcn.1000bd30
add esp, 0x10
jmp 0x100211bf
call fcn.10006650
mov dword [ebx + 0xa8], eax
mov eax, dword [ebx + 0x14]
cmp eax, edi
je 0x1002125c
mov ecx, dword [0x101e5e58]
push eax
call fcn.10032170
cmp eax, edi
mov dword [esp + 0xc], eax
je 0x1002125c
mov ecx, dword [ebx + 0xa8]
cmp ecx, edi
je 0x10021252
mov eax, dword [ecx + 8]
xor esi, esi
cmp eax, edi
jbe 0x10021247
lea eax, [esp + 0x98]
push 8
push eax
push esi
call fcn.10007780
cmp eax, 1
jl 0x1002123b
mov edx, dword [esp + 0x98]
lea ecx, [esp + 0x98]
push 8
push ecx
mov ecx, dword [esp + 0x14]
push edx
call fcn.10007780
cmp eax, 1
jl 0x1002123b
mov ecx, dword [ebx + 0xa8]
push eax
lea eax, [esp + 0x9c]
push eax
push esi
call fcn.100076c0
mov ecx, dword [ebx + 0xa8]
inc esi
cmp esi, dword [ecx + 8]
jb 0x100211f1
mov ecx, dword [esp + 0xc]
call fcn.10007670
jmp 0x1002125c
mov ecx, dword [esp + 0xc]
mov dword [ebx + 0xa8], ecx
mov ecx, dword [ebp + 0x28]
lea edx, [esp + 0x18]
push edi
push edx
push 0x1008db70
call fcn.1000bbe0
cmp dword [eax], 5
jne 0x1002129a
push 0x1008dcc8
push 0xffffffffffffffff
push 1
call fcn.1000bd30
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.10045c00
lea ecx, [esp + 0x80]
jmp 0x10021c7e
mov ecx, dword [ebx + 0xa0]
lea eax, [esp + 0x18]
push eax
push ecx
push edi
call fcn.10007980
add esp, 0xc
cmp eax, edi
mov dword [ebx + 0xa4], eax
je 0x10021c57
lea ecx, [esp + 0x18]
call fcn.10045c00
mov eax, dword [ebx + 0x18]
cmp eax, 0xa
je 0x100212d7
cmp eax, 9
jne 0x100213e0
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x18]
push edi
push edx
push 0x1008dcbc
call fcn.1000bbe0
mov eax, dword [esp + 0x18]
cmp eax, 8
jne 0x100213a4
mov edi, 0x40
push 4
push edi
mov dword [ebx + 0xdc], 0
call fcn.10032570
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0xd8], eax
add esp, 8
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov esi, eax
cmp esi, 0xffffffff
je 0x100213d5
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
je 0x100213d5
cmp dword [ebx + 0xdc], edi
jne 0x1002136d
mov ecx, dword [ebx + 0xd8]
add edi, edi
push 4
push edi
push ecx
call fcn.100325c0
add esp, 0xc
mov dword [ebx + 0xd8], eax
mov edx, dword [esp + 0xc]
mov eax, dword [ebx + 0xd8]
shl esi, 8
add esi, edx
mov edx, dword [ebx + 0xdc]
mov dword [eax + edx*4], esi
mov ecx, dword [ebx + 0xdc]
inc ecx
mov dword [ebx + 0xdc], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10021335
jmp 0x100213d5
cmp eax, 4
jne 0x100213bf
mov esi, dword [esp + 0x20]
mov edi, 0x10086998
mov ecx, 9
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x100213c4
jmp 0x100213d5
cmp eax, 5
je 0x100213d5
push 0x1008dc94
push 0xffffffffffffffff
push 1
call fcn.1000bd30
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.10045c00
xor edi, edi
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x18]
push edi
push ecx
push 0x1008dc90
mov ecx, esi
call fcn.1000bbe0
cmp dword [eax], 1
jne 0x1002140b
fild dword [esp + 0x20]
fmul qword [0x100712c8]
fstp qword [ebx + 0xb0]
lea ecx, [esp + 0x18]
call fcn.10045c00
lea edx, [esp + 0x18]
push edi
push edx
push str.WUIBDSF
mov ecx, esi
call fcn.1000bbe0
cmp dword [eax], 6
jne 0x1002170e
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], edi
cmp dword [ecx + 0xc], 1
jle 0x100216eb
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 2
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
push edx
call fcn.10004df0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.10004df0
mov eax, dword [esp + 0x30]
mov esi, 1
cmp eax, esi
jne 0x1002169d
mov eax, dword [esp + 0x40]
cmp eax, esi
jne 0x10021589
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0xc]
cmp edi, dword [ecx + 0xc]
jge 0x1002169d
lea edx, [esp + 0x50]
push edx
push edi
call fcn.10004df0
mov eax, dword [eax]
cmp eax, esi
je 0x100214bf
cmp eax, 2
jne 0x1002154c
mov eax, dword [esp + 0x28]
mov ecx, dword [ebx + 0xcc]
cmp ecx, eax
jne 0x100214ec
add eax, 0x10
push 0x10
mov dword [esp + 0x2c], eax
push eax
mov eax, dword [ebx + 0xc8]
push eax
call fcn.100325c0
add esp, 0xc
mov dword [ebx + 0xc8], eax
mov ecx, dword [ebx + 0xcc]
mov edx, dword [ebx + 0xc8]
mov eax, dword [esp + 0x38]
shl ecx, 4
mov dword [ecx + edx], eax
mov ecx, dword [ebx + 0xcc]
mov edx, dword [ebx + 0xc8]
mov eax, dword [esp + 0x48]
shl ecx, 4
mov dword [ecx + edx + 4], eax
mov eax, dword [esp + 0x50]
cmp eax, esi
jne 0x10021527
fild dword [esp + 0x58]
jmp 0x1002152b
fld qword [esp + 0x58]
fmul qword [0x100712c8]
mov ecx, dword [ebx + 0xcc]
mov edx, dword [ebx + 0xc8]
shl ecx, 4
fstp qword [ecx + edx + 8]
inc dword [ebx + 0xcc]
jmp 0x1002155c
push 0x1008dc70
push 0xffffffffffffffff
push esi
call fcn.1000bd30
add esp, 0xc
lea ecx, [esp + 0x50]
call fcn.10045c00
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, 3
add esi, eax
add edi, eax
add ecx, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
jmp 0x100216c8
cmp eax, 6
jne 0x1002169d
mov ecx, dword [esp + 0x48]
mov edx, dword [ebx + 0xcc]
mov eax, dword [ecx + 0xc]
add eax, edx
mov edx, dword [esp + 0x28]
cmp eax, edx
jle 0x100215ce
add eax, 0xf
push 0x10
and al, 0xf0
mov dword [esp + 0x2c], eax
push eax
mov eax, dword [ebx + 0xc8]
push eax
call fcn.100325c0
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov dword [ebx + 0xc8], eax
mov eax, dword [ecx + 0xc]
mov edi, dword [esp + 0x38]
xor esi, esi
test eax, eax
jle 0x10021678
lea edx, [esp + 0x50]
push edx
push esi
call fcn.10004df0
mov eax, dword [eax]
cmp eax, 1
je 0x100215f6
cmp eax, 2
jne 0x10021650
mov eax, dword [ebx + 0xcc]
mov ecx, dword [ebx + 0xc8]
shl eax, 4
mov dword [eax + ecx], edi
mov edx, dword [ebx + 0xcc]
mov eax, dword [ebx + 0xc8]
shl edx, 4
mov dword [edx + eax + 4], edi
mov eax, dword [esp + 0x50]
cmp eax, 1
jne 0x1002162a
fild dword [esp + 0x58]
jmp 0x1002162e
fld qword [esp + 0x58]
fmul qword [0x100712c8]
mov ecx, dword [ebx + 0xcc]
mov edx, dword [ebx + 0xc8]
shl ecx, 4
inc edi
fstp qword [ecx + edx + 8]
inc dword [ebx + 0xcc]
jmp 0x10021661
push 0x1008dc70
push 0xffffffffffffffff
push 1
call fcn.1000bd30
add esp, 0xc
lea ecx, [esp + 0x50]
call fcn.10045c00
mov ecx, dword [esp + 0x48]
inc esi
cmp esi, dword [ecx + 0xc]
jl 0x100215df
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, 2
add esi, eax
add edx, eax
add ecx, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
jmp 0x100216c8
push 0x1008dc70
push 0xffffffffffffffff
push esi
call fcn.1000bd30
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add esp, 0xc
inc edx
inc ecx
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x40]
call fcn.10045c00
lea ecx, [esp + 0x30]
call fcn.10045c00
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
cmp eax, dword [ecx + 0xc]
jl 0x10021455
mov ecx, dword [ebx + 0xcc]
mov edx, dword [ebx + 0xc8]
push 0x10021ca0
push 0x10
push ecx
push edx
call fcn.1006205b
mov esi, dword [esp + 0x3c]
add esp, 0x10
xor edi, edi
lea ecx, [esp + 0x18]
call fcn.10045c00
lea eax, [esp + 0x18]
push edi
push eax
push 0x1008dc6c
mov ecx, esi
call fcn.1000bbe0
cmp dword [eax], 6
jne 0x100217bb
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0xc], 2
jne 0x100217bb
lea edx, [esp + 0x30]
push edx
push edi
call fcn.10004df0
mov eax, dword [eax]
cmp eax, 1
je 0x10021753
cmp eax, 2
jne 0x10021770
cmp dword [esp + 0x30], 1
jne 0x10021760
fild dword [esp + 0x38]
jmp 0x10021764
fld qword [esp + 0x38]
fmul qword [0x100712c8]
fstp qword [ebx + 0xc0]
lea ecx, [esp + 0x30]
call fcn.10045c00
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x30]
push eax
push 1
call fcn.10004df0
mov eax, dword [eax]
cmp eax, 1
je 0x10021795
cmp eax, 2
jne 0x100217b2
cmp dword [esp + 0x30], 1
jne 0x100217a2
fild dword [esp + 0x38]
jmp 0x100217a6
fld qword [esp + 0x38]
fmul qword [0x100712c8]
fstp qword [ebx + 0xb8]
lea ecx, [esp + 0x30]
call fcn.10045c00
lea ecx, [esp + 0x18]
call fcn.10045c00
lea ecx, [esp + 0x18]
push edi
push ecx
push 0x1008dc68
mov ecx, esi
call fcn.1000bbe0
cmp dword [eax], 6
jne 0x10021c13
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], edi
cmp dword [ecx + 0xc], 1
jle 0x10021bf6
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 4
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x30]
push edx
push esi
call fcn.10004df0
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x40]
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.10004df0
mov eax, dword [esp + 0x30]
mov edi, 1
cmp eax, edi
jne 0x10021bac
mov eax, dword [esp + 0x40]
cmp eax, edi
jne 0x100219c9
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
cmp edx, dword [ecx + 0xc]
jge 0x10021bac
lea eax, [esp + 0x50]
lea edx, [esi + 2]
push eax
push edx
call fcn.10004df0
mov eax, dword [eax]
cmp eax, edi
je 0x10021872
cmp eax, 2
jne 0x10021994
lea eax, [esp + 0x70]
lea ecx, [esi + 3]
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.10004df0
mov eax, dword [eax]
cmp eax, edi
je 0x10021893
cmp eax, 2
jne 0x10021994
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x60]
push edx
push eax
call fcn.10004df0
mov eax, dword [eax]
cmp eax, edi
je 0x100218b5
cmp eax, 2
jne 0x10021994
mov eax, dword [esp + 0x28]
mov ecx, dword [ebx + 0xd4]
cmp ecx, eax
jne 0x100218e2
mov ecx, dword [ebx + 0xd0]
add eax, 0x10
push 0x20
push eax
push ecx
mov dword [esp + 0x34], eax
call fcn.100325c0
add esp, 0xc
mov dword [ebx + 0xd0], eax
mov edx, dword [ebx + 0xd4]
mov eax, dword [ebx + 0xd0]
mov ecx, dword [esp + 0x38]
shl edx, 5
mov dword [edx + eax], ecx
mov edx, dword [ebx + 0xd4]
mov eax, dword [ebx + 0xd0]
mov ecx, dword [esp + 0x48]
shl edx, 5
mov dword [edx + eax + 4], ecx
mov eax, dword [esp + 0x50]
cmp eax, edi
jne 0x1002191d
fild dword [esp + 0x58]
jmp 0x10021921
fld qword [esp + 0x58]
fmul qword [0x100712c8]
mov edx, dword [ebx + 0xd4]
mov eax, dword [ebx + 0xd0]
shl edx, 5
fstp qword [edx + eax + 8]
cmp dword [esp + 0x70], edi
jne 0x10021946
fild dword [esp + 0x78]
jmp 0x1002194a
fld qword [esp + 0x78]
fmul qword [0x100712c8]
mov ecx, dword [ebx + 0xd4]
mov edx, dword [ebx + 0xd0]
shl ecx, 5
fstp qword [ecx + edx + 0x10]
cmp dword [esp + 0x60], edi
jne 0x1002196f
fild dword [esp + 0x68]
jmp 0x10021973
fld qword [esp + 0x68]
fmul qword [0x100712c8]
mov eax, dword [ebx + 0xd4]
mov ecx, dword [ebx + 0xd0]
shl eax, 5
fstp qword [eax + ecx + 0x18]
inc dword [ebx + 0xd4]
jmp 0x100219a4
push 0x1008dc40
push 0xffffffffffffffff
push edi
call fcn.1000bd30
add esp, 0xc
lea ecx, [esp + 0x60]
call fcn.10045c00
lea ecx, [esp + 0x70]
call fcn.10045c00
lea ecx, [esp + 0x50]
call fcn.10045c00
mov eax, 5
jmp 0x10021b94
cmp eax, 6
jne 0x10021bac
mov ecx, dword [esp + 0x48]
mov eax, 0x55555556
mov edx, dword [ecx + 0xc]
imul edx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebx + 0xd4]
add eax, edx
mov edx, dword [esp + 0x28]
cmp eax, edx
jle 0x10021a1c
mov ecx, dword [ebx + 0xd0]
add eax, 0xf
and al, 0xf0
push 0x20
push eax
push ecx
mov dword [esp + 0x34], eax
call fcn.100325c0
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov dword [ebx + 0xd0], eax
mov eax, dword [ecx + 0xc]
mov edx, dword [esp + 0x38]
xor edi, edi
mov dword [esp + 0x2c], edx
test eax, eax
jle 0x10021b8b
lea eax, [esp + 0x50]
push eax
push edi
call fcn.10004df0
mov eax, dword [eax]
cmp eax, 1
je 0x10021a4c
cmp eax, 2
jne 0x10021b4f
lea esi, [edi + 2]
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x4c]
lea edx, [esi - 1]
push edx
call fcn.10004df0
mov eax, dword [eax]
cmp eax, 1
je 0x10021a71
cmp eax, 2
jne 0x10021b4f
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x60]
push eax
push esi
call fcn.10004df0
mov eax, dword [eax]
cmp eax, 1
je 0x10021a90
cmp eax, 2
jne 0x10021b4f
mov ecx, dword [ebx + 0xd4]
mov edx, dword [ebx + 0xd0]
mov eax, dword [esp + 0x2c]
shl ecx, 5
mov dword [ecx + edx], eax
mov ecx, dword [ebx + 0xd4]
mov edx, dword [ebx + 0xd0]
shl ecx, 5
mov dword [ecx + edx + 4], eax
mov edx, dword [esp + 0x50]
mov ecx, 1
cmp edx, ecx
jne 0x10021acc
fild dword [esp + 0x58]
jmp 0x10021ad0
fld qword [esp + 0x58]
fmul qword [0x100712c8]
mov edx, dword [ebx + 0xd4]
mov esi, dword [ebx + 0xd0]
shl edx, 5
fstp qword [edx + esi + 8]
cmp dword [esp + 0x70], ecx
jne 0x10021af5
fild dword [esp + 0x78]
jmp 0x10021af9
fld qword [esp + 0x78]
fmul qword [0x100712c8]
mov edx, dword [ebx + 0xd4]
mov esi, dword [ebx + 0xd0]
shl edx, 5
fstp qword [edx + esi + 0x10]
cmp dword [esp + 0x60], ecx
jne 0x10021b1e
fild dword [esp + 0x68]
jmp 0x10021b22
fld qword [esp + 0x68]
fmul qword [0x100712c8]
mov ecx, dword [ebx + 0xd4]
mov edx, dword [ebx + 0xd0]
shl ecx, 5
inc eax
fstp qword [ecx + edx + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0xd4]
inc eax
mov dword [ebx + 0xd4], eax
jmp 0x10021b60
push 0x1008dc40
push 0xffffffffffffffff
push 1
call fcn.1000bd30
add esp, 0xc
lea ecx, [esp + 0x60]
call fcn.10045c00
lea ecx, [esp + 0x70]
call fcn.10045c00
lea ecx, [esp + 0x50]
call fcn.10045c00
mov ecx, dword [esp + 0x48]
add edi, 3
cmp edi, dword [ecx + 0xc]
jl 0x10021a31
mov esi, dword [esp + 0x14]
mov eax, 2
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add esi, eax
add edx, eax
add ecx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
jmp 0x10021bcf
push 0x1008dc40
push 0xffffffffffffffff
push edi
call fcn.1000bd30
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add esp, 0xc
inc esi
inc ecx
inc eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x14], esi
call fcn.10045c00
lea ecx, [esp + 0x30]
call fcn.10045c00
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
cmp eax, dword [ecx + 0xc]
jl 0x10021805
mov ecx, dword [ebx + 0xd4]
mov edx, dword [ebx + 0xd0]
push 0x10021ca0
push 0x20
push ecx
push edx
call fcn.1006205b
add esp, 0x10
lea ecx, [esp + 0x18]
call fcn.10045c00
lea ecx, [esp + 0x80]
call fcn.10045c00
mov dword [ebx + 0x98], 1
jmp 0x10021c83
push 0x1008dc04
push 0xffffffffffffffff
push 1
call fcn.1000bd30
add esp, 0xc
lea ecx, [esp + 0x40]
call fcn.10045c00
lea ecx, [esp + 0x30]
call fcn.10045c00
lea ecx, [esp + 0x18]
call fcn.10045c00
lea ecx, [esp + 0x80]
jmp 0x10021c7e
push 0x1008dbcc
push 0xffffffffffffffff
push 1
call fcn.1000bd30
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.10045c00
mov ecx, dword [esp + 0xbc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x24