Function at 0x4632b0
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4cc
mov eax, 0x7fff
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov eax, 0xffff8001
push edi
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov al, byte [esi + 4]
mov dword [esp + 0x20], 0
cmp al, 0x1c
jne 0x463321
mov edx, dword [esi + 0x1e]
mov ecx, dword [edx + 0x6e]
test ecx, ecx
je 0x463362
cmp ecx, 1
je 0x463362
cmp ecx, 2
jne 0x46330f
mov al, 9
jmp 0x463364
cmp ecx, 4
jne 0x463364
mov edi, dword [edx + 0x1c]
test edi, edi
setne al
add eax, 8
jmp 0x463364
cmp al, 0x24
jne 0x463364
mov edx, dword [esi + 0x1e]
mov ecx, dword [edx + 0x9a]
test ecx, ecx
je 0x46333b
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edx + 0x6e]
test ecx, ecx
je 0x463362
cmp ecx, 1
je 0x463362
cmp ecx, 2
jne 0x463350
mov al, 9
jmp 0x463364
cmp ecx, 4
jne 0x463364
mov edi, dword [edx + 0x1c]
test edi, edi
setne al
add eax, 8
jmp 0x463364
mov al, 8
mov edi, dword [sym.imp.USER32.dll_InflateRect]
mov ebx, dword [sym.imp.USER32.dll_PtInRect]
movsx eax, al
add eax, 0xfffffffb
cmp eax, 0x21
ja case.0x46337f.16
jmp dword [eax*4 + 0x465f18]
mov edi, dword [esi + 0x1e]
lea eax, [esp + 0x9c]
push edi
lea ecx, [esp + 0x16c]
push eax
push ecx
mov dword [esp + 0xc4], edi
call fcn.00460450
mov edx, dword [eax]
add esp, 0xc
mov dword [esp + 0x9c], edx
mov dword [esp + 0x30], 0
mov ecx, dword [eax + 4]
mov dword [esp + 0xa0], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0xa4], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0xa8], eax
mov eax, dword [edi + 0x14]
dec eax
test eax, eax
mov dword [esp + 0x80], eax
jle case.0x46337f.16
movsx eax, byte [edi + 0x18]
mov edx, dword [edi + 0x23]
mov ecx, dword [edi + 0x1f]
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov eax, dword [edi + 0x27]
add eax, 8
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esi - 8]
sub edx, ecx
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fmul qword [edi + 0x2b]
call fcn.00496fa4
mov edx, dword [esp + 0xa0]
mov ebx, eax
mov eax, dword [esp + 0x38]
add ebx, eax
mov eax, dword [esi - 4]
sub eax, edx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [edi + 0x33]
call fcn.00496fa4
mov ecx, dword [esp + 0x44]
add eax, ecx
mov ecx, dword [esi]
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x64], eax
sub ecx, esi
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fmul qword [edi + 0x2b]
call fcn.00496fa4
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0xa0]
mov esi, eax
add esi, edx
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
sub eax, ecx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [edi + 0x33]
call fcn.00496fa4
mov edx, dword [esp + 0x44]
mov ecx, ebx
add eax, edx
cmp ebx, esi
jl 0x4634b8
mov ecx, esi
mov edx, dword [esp + 0x2c]
cmp edx, 3
jg 0x4634c6
mov edx, 3
sub ecx, edx
mov edx, dword [esp + 0x18]
cmp edx, ecx
jl 0x4635b1
cmp ebx, esi
mov edx, ebx
jg 0x4634dc
mov edx, esi
mov ecx, dword [esp + 0x2c]
cmp ecx, 3
jg 0x4634ea
mov ecx, 3
add ecx, edx
mov edx, dword [esp + 0x18]
cmp edx, ecx
jg 0x4635b1
mov edx, dword [esp + 0x64]
cmp edx, eax
jl 0x463502
mov edx, eax
mov edi, dword [esp + 0x2c]
cmp edi, 3
jg 0x463510
mov edi, 3
mov ecx, dword [ebp + 0x18]
sub edx, edi
mov ecx, dword [ecx + 4]
cmp ecx, edx
jl 0x4635aa
mov edi, dword [esp + 0x64]
cmp edi, eax
jg 0x46352a
mov edi, eax
mov edx, dword [esp + 0x2c]
cmp edx, 3
jg 0x463538
mov edx, 3
add edx, edi
cmp ecx, edx
jg 0x4635aa
mov edx, dword [esp + 0x64]
sub esi, ebx
sub eax, edx
sub ecx, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
fild dword [esp + 0x10]
mov dword [esp + 0x10], esi
sub eax, ebx
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fadd qword [0x4be4b0]
fdivp st(1)
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fmul st(1)
fild dword [esp + 0x10]
fsubp st(1)
fld st(1)
fmul st(2)
fadd qword [0x4bcfe0]
fsqrt
fdivp st(1)
call fcn.00496fa4
mov ecx, dword [esp + 0x2c]
cmp ecx, 3
fstp st(0)
jg 0x46359d
mov ecx, 3
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jle 0x4636f4
mov edi, dword [esp + 0xb8]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x80]
inc eax
add edx, 8
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edx
jl 0x463419
jmp case.0x46337f.16
mov edi, dword [esi + 0x1e]
mov ebx, dword [edi + 0x14]
mov ecx, dword [edi + 0x1c]
cmp ebx, ecx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x38], ecx
jge 0x4635f3
mov ecx, ebx
movsx eax, byte [edi + 0x24]
cdq
sub eax, edx
sar eax, 1
cmp eax, 3
mov dword [esp + 0x44], eax
mov edx, eax
jg 0x46360c
mov edx, 3
mov esi, dword [ebp + 0x18]
sub ecx, edx
mov esi, dword [esi]
cmp esi, ecx
jl case.0x46337f.16
mov ecx, dword [esp + 0x38]
cmp ebx, ecx
jg 0x463625
mov ebx, ecx
cmp eax, 3
mov ecx, eax
jg 0x463631
mov ecx, 3
add ecx, ebx
cmp esi, ecx
jg case.0x46337f.16
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
cmp edx, ecx
mov edi, edx
jl 0x463649
mov edi, ecx
cmp eax, 3
mov ebx, eax
jg 0x463655
mov ebx, 3
mov eax, dword [ebp + 0x18]
sub edi, ebx
mov eax, dword [eax + 4]
cmp eax, edi
jl case.0x46337f.16
cmp edx, ecx
mov ebx, edx
jg 0x46366d
mov ebx, ecx
mov edi, dword [esp + 0x44]
cmp edi, 3
jg 0x46367b
mov edi, 3
add edi, ebx
cmp eax, edi
jg case.0x46337f.16
mov edi, dword [esp + 0x80]
sub ecx, edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x38]
fild dword [esp + 0x10]
sub ecx, edi
sub esi, edi
mov dword [esp + 0x10], ecx
sub eax, edx
fild dword [esp + 0x10]
mov dword [esp + 0x10], esi
fadd qword [0x4be4b0]
fdivp st(1)
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul st(1)
fild dword [esp + 0x10]
fsubp st(1)
fld st(1)
fmul st(2)
fadd qword [0x4bcfe0]
fsqrt
fdivp st(1)
call fcn.00496fa4
mov ecx, dword [esp + 0x44]
cmp ecx, 3
fstp st(0)
jg 0x4636e7
mov ecx, 3
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jg case.0x46337f.16
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x20], 1
mov dword [0x4d6da0], ecx
jmp case.0x46337f.16
mov ebx, dword [esi + 0x1e]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x1c]
cmp eax, ecx
jge 0x463719
mov ecx, eax
movsx eax, byte [ebx + 0x24]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
cmp edi, 3
mov eax, edi
jg 0x463730
mov eax, 3
mov edx, dword [ebp + 0x18]
sub ecx, eax
mov esi, dword [edx]
cmp esi, ecx
mov dword [esp + 0x18], esi
jl case.0x46337f.16
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x1c]
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], ecx
jle 0x463757
mov ecx, eax
cmp edi, 3
mov eax, edi
jg 0x463763
mov eax, 3
add eax, ecx
cmp esi, eax
jg case.0x46337f.16
mov esi, dword [ebx + 0x18]
mov eax, dword [ebx + 0x20]
cmp esi, eax
mov dword [esp + 0x28], eax
jge 0x46377d
mov eax, esi
cmp edi, 3
mov ecx, edi
jg 0x463789
mov ecx, 3
mov edx, dword [edx + 4]
sub eax, ecx
cmp edx, eax
mov dword [esp + 0x1c], edx
jl case.0x46337f.16
mov ecx, dword [esp + 0x28]
cmp esi, ecx
jle 0x4637a4
mov ecx, esi
cmp edi, 3
mov eax, edi
jg 0x4637b0
mov eax, 3
add eax, ecx
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jg case.0x46337f.16
mov eax, dword [ebx + 0x2b]
test eax, eax
jne 0x463952
mov eax, dword [0x4d7018]
test eax, eax
jne 0x463952
cmp edi, 3
mov ecx, edi
jg 0x4637e2
mov ecx, 3
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jg 0x463835
mov edx, dword [esp + 0x28]
mov eax, esi
cmp esi, edx
jl 0x463801
mov eax, edx
cmp edi, 3
mov ecx, edi
jg 0x46380d
mov ecx, 3
mov ebx, dword [esp + 0x1c]
sub eax, ecx
cmp ebx, eax
jl 0x463835
cmp esi, edx
mov ecx, esi
jg 0x46381f
mov ecx, edx
cmp edi, 3
mov eax, edi
jg 0x46382b
mov eax, 3
add eax, ecx
cmp ebx, eax
jle 0x463952
cmp edi, 3
mov ecx, edi
jg 0x463841
mov ecx, 3
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jg 0x463898
mov edx, dword [esp + 0x28]
mov eax, esi
cmp esi, edx
jl 0x463860
mov eax, edx
cmp edi, 3
mov ecx, edi
jg 0x46386c
mov ecx, 3
sub eax, ecx
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jl 0x463898
cmp esi, edx
mov ecx, esi
jg 0x46387e
mov ecx, edx
cmp edi, 3
mov eax, edi
jg 0x46388a
mov eax, 3
add eax, ecx
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jle 0x463952
cmp edi, 3
mov ecx, edi
jg 0x4638a4
mov ecx, 3
mov eax, dword [esp + 0x1c]
sub eax, esi
mov esi, dword [esp + 0x30]
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jg 0x4638ef
cmp esi, ebx
mov eax, esi
jl 0x4638bf
mov eax, ebx
cmp edi, 3
mov ecx, edi
jg 0x4638cb
mov ecx, 3
mov edx, dword [esp + 0x18]
sub eax, ecx
cmp edx, eax
jl 0x4638ef
cmp esi, ebx
mov ecx, esi
jg 0x4638dd
mov ecx, ebx
cmp edi, 3
mov eax, edi
jg 0x4638e9
mov eax, 3
add eax, ecx
cmp edx, eax
jle 0x463952
cmp edi, 3
mov ecx, edi
jg 0x4638fb
mov ecx, 3
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jg case.0x46337f.16
cmp esi, ebx
mov eax, esi
jl 0x46391a
mov eax, ebx
cmp edi, 3
mov ecx, edi
jg 0x463926
mov ecx, 3
mov edx, dword [esp + 0x18]
sub eax, ecx
cmp edx, eax
jl case.0x46337f.16
cmp esi, ebx
mov ecx, esi
jg 0x46393c
mov ecx, ebx
cmp edi, 3
mov eax, edi
jg 0x463948
mov eax, 3
add eax, ecx
cmp edx, eax
jg case.0x46337f.16
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x20], 1
mov dword [0x4d6da0], edx
jmp case.0x46337f.16
mov eax, dword [ebp + 0x14]
mov esi, dword [eax + 0x1e]
mov ebx, dword [esi + 0x14]
mov ecx, dword [esi + 0x1c]
cmp ebx, ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ecx
jge 0x463982
mov ecx, ebx
mov al, byte [esi + 0x24]
mov byte [esp + 0x17], al
movsx eax, al
mov dword [esp + 0x34], eax
cdq
sub eax, edx
mov edi, eax
sar edi, 1
cmp edi, 3
mov dword [esp + 0x70], edi
mov eax, edi
jg 0x4639a7
mov eax, 3
mov edx, dword [ebp + 0x18]
sub ecx, eax
mov edx, dword [edx]
cmp edx, ecx
mov dword [esp + 0x18], edx
jl case.0x46337f.16
mov eax, dword [esp + 0x30]
cmp ebx, eax
jg 0x4639c4
mov ebx, eax
cmp edi, 3
mov eax, edi
jg 0x4639d0
mov eax, 3
add eax, ebx
cmp edx, eax
jg case.0x46337f.16
mov ebx, dword [esi + 0x18]
mov esi, dword [esi + 0x20]
cmp ebx, esi
mov dword [esp + 0x44], esi
mov eax, ebx
jl 0x4639ec
mov eax, esi
cmp edi, 3
mov ecx, edi
jg 0x4639f8
mov ecx, 3
mov edx, dword [ebp + 0x18]
sub eax, ecx
mov edx, dword [edx + 4]
cmp edx, eax
mov dword [esp + 0x1c], edx
jl case.0x46337f.16
cmp ebx, esi
jle 0x463a12
mov esi, ebx
cmp edi, 3
mov eax, edi
jg 0x463a1e
mov eax, 3
add eax, esi
cmp edx, eax
jg case.0x46337f.16
cmp edi, 3
mov esi, edi
jg 0x463a34
mov esi, 3
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
sub eax, ecx
inc eax
cdq
xor eax, edx
sub eax, edx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, esi
cmp edi, 3
mov dword [esp + 0x90], ecx
jg 0x463a5e
mov edi, 3
mov eax, dword [esp + 0x44]
sub eax, ebx
inc eax
cdq
xor eax, edx
sub eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
mov esi, eax
mov eax, dword [esp + 0x30]
add eax, edx
cdq
sar esi, 1
sub eax, edx
add esi, edi
mov edi, eax
mov eax, dword [esp + 0x44]
add eax, ebx
mov dword [esp + 0x80], esi
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [esp + 0x18]
sar edi, 1
sub eax, edi
mov edx, eax
imul edx, eax
mov eax, ecx
mov dword [esp + 0x10], edx
imul eax, ecx
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
sar ebx, 1
fdivp st(1)
fsubr qword [0x4bcfe0]
fabs
fsqrt
fimul dword [esp + 0x80]
call fcn.00496fa4
mov ecx, ebx
mov edx, esi
sub ecx, eax
add eax, ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
sub eax, ebx
mov dword [esp + 0x38], ecx
mov ecx, eax
imul edx, esi
imul ecx, eax
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fdivp st(1)
fsubr qword [0x4bcfe0]
fabs
fsqrt
fimul dword [esp + 0x90]
call fcn.00496fa4
mov ecx, edi
sub ecx, eax
add eax, edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0x1e]
mov eax, dword [edx + 0x2b]
test eax, eax
jne 0x463b36
mov eax, dword [0x4d7018]
test eax, eax
je 0x463b7f
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
cmp edi, edx
jge 0x463b44
mov edx, edi
mov eax, dword [esp + 0x70]
cmp eax, 3
mov esi, eax
jg 0x463b54
mov esi, 3
mov ebx, dword [esp + 0x1c]
sub edx, esi
cmp ebx, edx
jl 0x463b8d
mov esi, dword [esp + 0x28]
cmp edi, esi
jle 0x463b68
mov esi, edi
cmp eax, 3
mov edx, eax
jg 0x463b74
mov edx, 3
add edx, esi
cmp ebx, edx
jg 0x463b8d
jmp 0x4636f4
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x38]
jmp 0x463b91
mov esi, dword [esp + 0x28]
cmp ebx, edi
jl 0x463c12
mov al, byte [esp + 0x17]
mov edx, dword [esp + 0x34]
cmp al, 6
jg 0x463ba6
mov edx, 6
mov eax, ebx
sub eax, edi
cmp eax, edx
jle 0x4636f4
mov al, byte [esp + 0x17]
mov edi, dword [esp + 0x34]
cmp ebx, esi
jg 0x463bd3
cmp al, 6
mov edx, edi
jg 0x463bc9
mov edx, 6
sub esi, ebx
cmp esi, edx
jle 0x4636f4
mov esi, dword [esp + 0x18]
cmp esi, ecx
jl 0x463bf2
cmp al, 6
mov edx, edi
jg 0x463be6
mov edx, 6
mov ebx, esi
sub ebx, ecx
cmp ebx, edx
jle 0x4636f4
mov edx, dword [esp + 0x10]
cmp esi, edx
jg case.0x46337f.16
cmp al, 6
mov ecx, edi
jg 0x463c09
mov ecx, 6
sub edx, esi
cmp edx, ecx
jmp 0x4636ee
mov edi, dword [esp + 0x34]
mov al, byte [esp + 0x17]
jmp 0x463bba
mov esi, dword [esi + 0x1e]
mov dword [esp + 0x38], esi
mov ebx, dword [esi + 0x14]
mov ecx, dword [esi + 0x1c]
cmp ebx, ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x4c], ecx
jge 0x463c37
mov ecx, ebx
mov al, byte [esi + 0x24]
mov byte [esp + 0x17], al
movsx eax, al
mov dword [esp + 0x34], eax
cdq
sub eax, edx
mov edi, eax
sar edi, 1
cmp edi, 3
mov dword [esp + 0x24], edi
mov eax, edi
jg 0x463c5c
mov eax, 3
mov edx, dword [ebp + 0x18]
sub ecx, eax
mov esi, dword [edx]
cmp esi, ecx
mov dword [esp + 0x18], esi
jl case.0x46337f.16
mov ecx, dword [esp + 0x4c]
cmp ebx, ecx
jle 0x463c79
mov ecx, ebx
cmp edi, 3
mov eax, edi
jg 0x463c85
mov eax, 3
add eax, ecx
cmp esi, eax
jg case.0x46337f.16
mov eax, dword [esp + 0x38]
mov ebx, dword [eax + 0x18]
mov esi, dword [eax + 0x20]
cmp ebx, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], esi
mov eax, ebx
jl 0x463ca9
mov eax, esi
cmp edi, 3
mov ecx, edi
jg 0x463cb5
mov ecx, 3
mov edx, dword [edx + 4]
sub eax, ecx
cmp edx, eax
mov dword [esp + 0x1c], edx
jl case.0x46337f.16
cmp ebx, esi
mov ecx, ebx
jg 0x463cce
mov ecx, esi
cmp edi, 3
mov eax, edi
jg 0x463cda
mov eax, 3
add eax, ecx
cmp edx, eax
jg case.0x46337f.16
mov eax, esi
mov edi, dword [esp + 0x2c]
sub eax, ebx
inc eax
cdq
mov ecx, eax
mov eax, dword [esp + 0x4c]
xor ecx, edx
sub eax, edi
sub ecx, edx
inc eax
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jl 0x463d06
mov eax, ecx
mov edx, dword [esp + 0x38]
movsx ecx, byte [edx + 0x48]
cdq
idiv ecx
mov ecx, dword [esp + 0x4c]
mov edi, eax
mov eax, dword [esp + 0x2c]
cmp eax, ecx
jl 0x463d21
mov eax, ecx
lea ecx, [edi + eax]
cmp ebx, esi
mov eax, ebx
jl 0x463d2c
mov eax, esi
mov edx, dword [esp + 0x4c]
lea ebx, [edi + eax]
mov eax, dword [esp + 0x2c]
cmp eax, edx
jg 0x463d3d
mov eax, edx
mov edx, dword [esp + 0x48]
sub eax, edi
mov esi, eax
mov eax, dword [esp + 0x28]
cmp eax, edx
jg 0x463d4f
mov eax, edx
mov edx, dword [esp + 0x24]
sub eax, edi
mov dword [esp + 0x8c], eax
cmp edx, 6
mov eax, edx
jg 0x463d68
mov eax, 6
add edi, eax
mov eax, dword [esp + 0x18]
cmp eax, ecx
mov dword [esp + 0x38], edi
jle 0x463de5
cmp eax, esi
jge 0x463de5
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1e]
mov ecx, dword [eax + 0x2b]
test ecx, ecx
jne 0x4640f5
mov eax, dword [0x4d7018]
test eax, eax
jne 0x4640f5
cmp edx, 3
mov ecx, edx
jg 0x463da4
mov ecx, 3
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov eax, esi
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jle 0x4640f5
mov ecx, dword [esp + 0x24]
cmp ecx, 3
jg 0x463dcb
mov ecx, 3
mov ebx, dword [esp + 0x48]
mov eax, esi
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jg case.0x46337f.16
jmp 0x4640f5
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
cmp eax, edx
jl 0x463df3
mov eax, edx
mov edx, dword [esp + 0x24]
cmp edx, 3
jg 0x463e01
mov edx, 3
sub eax, edx
mov edx, dword [esp + 0x18]
cmp edx, eax
jl 0x463f94
cmp edx, ecx
jg 0x463f94
fild dword [esp + 0x38]
mov esi, edx
sub ecx, esi
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fld st(0)
fmul st(1)
fstp qword [esp + 0x60]
fstp st(0)
fld st(0)
fmul st(1)
fsub qword [esp + 0x60]
fsqrt
call fcn.00496fa4
mov edx, dword [ebp + 0x14]
mov esi, dword [esp + 0x8c]
mov ecx, ebx
mov edx, dword [edx + 0x1e]
sub ecx, eax
add eax, esi
cmp dword [edx + 0x2b], 0
fstp st(0)
jne 0x463f5b
mov edx, dword [0x4d7018]
test edx, edx
jne 0x463f5b
mov edx, dword [esp + 0x1c]
cmp edx, ebx
jle 0x463ead
cmp edx, esi
jge 0x463ead
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
cmp eax, edx
jge 0x463e87
mov edx, eax
mov ecx, dword [esp + 0x24]
cmp ecx, 3
jg 0x463e95
mov ecx, 3
mov eax, dword [esp + 0x18]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jg case.0x46337f.16
jmp 0x4640f5
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jl 0x463ebb
mov eax, ecx
mov ecx, dword [esp + 0x24]
cmp ecx, 3
jg 0x463ec9
mov ecx, 3
sub eax, ecx
cmp edx, eax
jl 0x463f17
cmp edx, ebx
jg 0x463f17
sub ebx, edx
mov dword [esp + 0x10], ebx
fild dword [esp + 0x10]
fld st(0)
fmul st(1)
fadd qword [esp + 0x60]
fsqrt
call fcn.00496fa4
cmp edi, eax
fstp st(0)
jl case.0x46337f.16
mov cl, byte [esp + 0x17]
cmp cl, 6
mov ecx, dword [esp + 0x34]
jg 0x463f08
mov ecx, 6
sub edi, eax
cmp edi, ecx
jg case.0x46337f.16
jmp 0x4640f5
sub edx, esi
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fld st(0)
fmul st(1)
fadd qword [esp + 0x60]
fsqrt
call fcn.00496fa4
cmp edi, eax
fstp st(0)
jl case.0x46337f.16
mov cl, byte [esp + 0x17]
cmp cl, 6
mov ecx, dword [esp + 0x34]
jg 0x463f4c
mov ecx, 6
sub edi, eax
cmp edi, ecx
jg case.0x46337f.16
jmp 0x4640f5
mov esi, dword [esp + 0x24]
cmp esi, 3
mov edx, esi
jg 0x463f6b
mov edx, 3
sub ecx, edx
mov edx, dword [esp + 0x1c]
cmp edx, ecx
jl case.0x46337f.16
cmp esi, 3
mov ecx, esi
jg 0x463f85
mov ecx, 3
add ecx, eax
cmp edx, ecx
jg case.0x46337f.16
jmp 0x4640f5
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
jle 0x463fa2
mov ecx, eax
mov eax, dword [esp + 0x24]
cmp eax, 3
jg 0x463fb0
mov eax, 3
add eax, ecx
cmp edx, eax
jg case.0x46337f.16
cmp edx, esi
jl case.0x46337f.16
mov eax, dword [esp + 0x18]
fild dword [esp + 0x38]
sub eax, esi
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld st(0)
fmul st(1)
fstp qword [esp + 0x60]
fstp st(0)
fld st(0)
fmul st(1)
fsub qword [esp + 0x60]
fsqrt
call fcn.00496fa4
mov edx, dword [esp + 0x8c]
mov ecx, ebx
sub ecx, eax
add eax, edx
mov edx, dword [ebp + 0x14]
fstp st(0)
mov edx, dword [edx + 0x1e]
mov esi, dword [edx + 0x2b]
test esi, esi
jne 0x4640c1
mov edx, dword [0x4d7018]
test edx, edx
jne 0x4640c1
mov edx, dword [esp + 0x1c]
cmp edx, ebx
jle 0x46404c
cmp edx, dword [esp + 0x8c]
jge 0x46404c
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
cmp eax, edx
jle 0x46403a
mov edx, eax
mov ecx, dword [esp + 0x24]
cmp ecx, 3
jg 0x463e95
jmp 0x463e90
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jl 0x46405a
mov eax, ecx
mov ecx, dword [esp + 0x24]
cmp ecx, 3
jg 0x464068
mov ecx, 3
sub eax, ecx
cmp edx, eax
jl 0x46407e
cmp edx, ebx
jg 0x46407e
sub ebx, edx
mov dword [esp + 0x10], ebx
fild dword [esp + 0x10]
jmp 0x46408d
sub edx, dword [esp + 0x8c]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fld st(0)
fmul st(1)
fadd qword [esp + 0x60]
fsqrt
call fcn.00496fa4
cmp edi, eax
fstp st(0)
jl case.0x46337f.16
mov cl, byte [esp + 0x17]
cmp cl, 6
mov ecx, dword [esp + 0x34]
jg 0x4640b8
mov ecx, 6
sub edi, eax
cmp edi, ecx
jmp 0x463ea2
mov esi, dword [esp + 0x24]
cmp esi, 3
mov edx, esi
jg 0x4640d1
mov edx, 3
sub ecx, edx
mov edx, dword [esp + 0x1c]
cmp edx, ecx
jl case.0x46337f.16
cmp esi, 3
mov ecx, esi
jg 0x4640eb
mov ecx, 3
add ecx, eax
cmp edx, ecx
jg case.0x46337f.16
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x20], 1
mov dword [0x4d6da0], eax
jmp case.0x46337f.16
mov edx, dword [esi + 0x1e]
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x1c]
cmp eax, ecx
mov edi, eax
jl 0x46411b
mov edi, ecx
mov esi, dword [ebp + 0x18]
mov ebx, dword [esi]
cmp ebx, edi
jl case.0x46337f.16
cmp eax, ecx
jg 0x46412e
mov eax, ecx
cmp ebx, eax
jg case.0x46337f.16
mov eax, dword [edx + 0x18]
mov edx, dword [edx + 0x20]
cmp eax, edx
mov ecx, eax
jl 0x465ce6
jmp 0x465ce4
mov edx, dword [ebp + 0x14]
mov esi, dword [edx + 0x1e]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x1c]
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x464163
mov dword [esp + 0x30], ecx
mov edx, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
cmp edx, edi
mov dword [esp + 0x34], edx
jl 0x464175
mov dword [esp + 0x34], edi
cmp eax, ecx
mov dword [esp + 0x1c], eax
jg 0x464181
mov dword [esp + 0x1c], ecx
cmp edx, edi
mov ebx, edx
jg 0x464189
mov ebx, edi
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], ebx
mov edi, dword [eax]
cmp edi, ecx
jl case.0x46337f.16
cmp edi, dword [esp + 0x1c]
jg case.0x46337f.16
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x34]
cmp edx, ecx
jl case.0x46337f.16
cmp edx, ebx
jg case.0x46337f.16
cmp dword [esi + 0x30], 2
je 0x4641d0
mov ecx, dword [ebp + 0x14]
mov dword [0x4d6da0], ecx
jmp 0x4641fa
mov cl, byte [esi + 0x38]
test cl, cl
jne 0x4641ea
mov ebx, dword [esp + 0x1c]
add ebx, 0xfffffff0
cmp edi, ebx
jle 0x4641f1
mov ebx, dword [esp + 0x18]
test cl, cl
je 0x46421e
lea ecx, [ebx - 0x10]
cmp edx, ecx
jg 0x46421e
mov edx, dword [ebp + 0x14]
mov dword [0x4d6da0], edx
push eax
push esi
call fcn.00463150
add esp, 8
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne case.0x46337f.16
mov dword [esp + 0x20], 1
jmp case.0x46337f.16
mov al, byte [ebp + 0x10]
test al, al
je case.0x46337f.16
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
mov byte [esp + 0x17], 1
mov dword [esp + 0x50], eax
mov al, byte [esi + 0x38]
test al, al
jne 0x464258
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
mov dword [esp + 0x50], ecx
jmp 0x46425b
lea edi, [ebx - 0x10]
mov eax, dword [ebp + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x24]
sub esp, 0x10
mov ecx, esp
push esi
mov dword [ecx], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 4], edi
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
call fcn.004629b0
add esp, 0x1c
mov ebx, eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x24], 1
push 1
push ebx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
sub esp, 0x10
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x68]
mov eax, esp
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x34]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
push esi
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov edx, dword [ebp + 8]
push edx
mov dword [eax + 0xc], ecx
call fcn.00462c00
add esp, 0x20
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
push ebx
push eax
mov eax, dword [esp + 0x58]
push ecx
sub esp, 0x10
mov ecx, dword [esp + 0x38]
mov edx, esp
push esi
mov dword [edx], eax
mov eax, dword [esp + 0x38]
mov dword [edx + 4], edi
mov dword [edx + 8], ecx
mov ecx, dword [ebp + 0xc]
push ecx
mov dword [edx + 0xc], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
call fcn.00462f30
add esp, 0x28
mov byte [esp + 0x77], al
mov ecx, dword [ebp + 8]
push 1
push 0
push 0
mov edx, dword [ecx + 0x1c]
lea eax, [esp + 0xa8]
push edx
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x464442
mov eax, dword [esp + 0xa0]
cmp eax, 0x202
je 0x464555
cmp eax, 0x205
je 0x464555
mov al, byte [esp + 0x17]
test al, al
je 0x46436d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x38]
cmp eax, 0x1f4
jb 0x46430f
mov byte [esp + 0x17], 0
mov edx, dword [ebp + 8]
lea ecx, [esp + 0xb0]
push ecx
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0x50]
push ecx
push eax
mov dword [esp + 0x6c], ecx
sub esp, 0x10
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x34]
mov ecx, esp
push esi
mov dword [ecx], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 4], edi
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
call fcn.004629b0
add esp, 0x1c
cmp eax, ebx
je 0x4643fd
cmp ebx, 5
je 0x4643fd
mov eax, dword [esp + 0x24]
test eax, eax
je 0x46430f
mov ecx, dword [esp + 0x50]
push 0
push ebx
mov edx, dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
push esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov edx, dword [ebp + 8]
push edx
mov dword [eax + 0xc], ecx
jmp 0x4644cc
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4642d0
mov ecx, dword [esp + 0x50]
push 1
push ebx
mov edx, dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
push esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov edx, dword [ebp + 8]
push edx
mov dword [eax + 0xc], ecx
call fcn.00462c00
add esp, 0x20
mov dword [esp + 0x24], 1
jmp 0x4642d0
mov al, byte [esp + 0x17]
test al, al
je 0x464464
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x38]
cmp eax, 0x1f4
jb 0x46430f
mov byte [esp + 0x17], 0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
push esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
call fcn.004629b0
add esp, 0x1c
cmp eax, ebx
je 0x4644e1
cmp ebx, 5
je 0x4644e1
mov eax, dword [esp + 0x24]
test eax, eax
je 0x46430f
mov eax, dword [esp + 0x50]
push 0
push ebx
mov ecx, dword [esp + 0x24]
sub esp, 0x10
mov edx, esp
push esi
mov dword [edx], eax
mov eax, dword [esp + 0x34]
mov dword [edx + 4], edi
mov dword [edx + 8], ecx
mov ecx, dword [ebp + 8]
push ecx
mov dword [edx + 0xc], eax
call fcn.00462c00
add esp, 0x20
mov dword [esp + 0x24], 0
jmp 0x46430f
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x46451d
mov eax, dword [esp + 0x50]
push 1
push ebx
mov ecx, dword [esp + 0x24]
sub esp, 0x10
mov edx, esp
push esi
mov dword [edx], eax
mov eax, dword [esp + 0x34]
mov dword [edx + 4], edi
mov dword [edx + 8], ecx
mov ecx, dword [ebp + 8]
push ecx
mov dword [edx + 0xc], eax
call fcn.00462c00
add esp, 0x20
mov dword [esp + 0x24], 1
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
push ebx
push edx
mov edx, dword [esp + 0x58]
push eax
sub esp, 0x10
mov eax, dword [esp + 0x38]
mov ecx, esp
push esi
mov dword [ecx], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 4], edi
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0xc]
push eax
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
push edx
jmp 0x464303
mov eax, dword [esp + 0x24]
test eax, eax
je 0x464591
mov al, byte [esp + 0x77]
test al, al
je 0x464591
mov ecx, dword [esp + 0x50]
push 0
push ebx
mov edx, dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
push esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov edx, dword [ebp + 8]
push edx
mov dword [eax + 0xc], ecx
call fcn.00462c00
add esp, 0x20
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x60], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x64], edx
lea eax, [esp + 0x60]
mov edx, dword [ecx + 0x1c]
push eax
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0xa8]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [ebp + 0xc]
mov eax, 1
cmp ecx, eax
jne 0x46460d
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x20], eax
mov dword [0x4d6da0], ecx
jmp case.0x46337f.16
mov dword [0x4d6da0], 0
mov dword [esp + 0x20], 2
jmp case.0x46337f.16
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov eax, dword [edx + 0x1e]
mov ecx, dword [esi]
mov edx, dword [eax + 0x14]
cmp ecx, edx
jl case.0x46337f.16
mov edi, dword [esi + 4]
mov ebx, dword [eax + 0x18]
cmp edi, ebx
jl case.0x46337f.16
mov esi, dword [eax + 0x1c]
add esi, edx
cmp ecx, esi
jg case.0x46337f.16
mov eax, dword [eax + 0x20]
add eax, ebx
cmp edi, eax
jmp 0x4636ee
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x50]
mov eax, dword [edx + 0x1e]
lea edx, [esp + 0x1a8]
push eax
push ecx
push edx
call fcn.00460520
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
add esp, 0xc
mov dword [esp + 0x9c], eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x9c]
push 2
push 2
push eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], esi
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], esi
call edi
push 0xfffffffffffffffd
lea ecx, [esp + 0x64]
push 0xfffffffffffffffd
push ecx
call edi
mov esi, dword [ebp + 0x18]
lea ecx, [esp + 0x9c]
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
push eax
push ecx
call ebx
test eax, eax
je case.0x46337f.16
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
lea ecx, [esp + 0x64]
push eax
push ecx
call ebx
test eax, eax
jne case.0x46337f.16
jmp 0x463952
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0xc0]
lea edx, [esp + 0x178]
mov esi, dword [eax + 0x1e]
push esi
push ecx
push edx
mov dword [esp + 0x3c], esi
call fcn.00460520
mov ecx, dword [eax]
add esp, 0xc
mov dword [esp + 0x9c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xa0], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0xa4], ecx
lea ecx, [esp + 0xc0]
mov edx, dword [eax + 0xc]
mov dword [esp + 0xa8], edx
call fcn.004afcaa
movsx eax, byte [esi + 0x24]
cdq
sub eax, edx
sar eax, 1
cmp eax, 6
mov dword [esp + 0x4c], eax
mov ecx, eax
jg 0x464778
mov ecx, 6
mov edi, dword [ebp + 0x18]
mov ebx, dword [esp + 0xc0]
sub ebx, ecx
mov edx, dword [edi]
cmp edx, ebx
mov dword [esp + 0x18], edx
jl case.0x46337f.16
cmp eax, 6
mov ecx, eax
jg 0x46479e
mov ecx, 6
mov ebx, dword [esp + 0xc8]
add ebx, ecx
cmp edx, ebx
jg case.0x46337f.16
cmp eax, 6
mov ecx, eax
jg 0x4647bb
mov ecx, 6
mov edx, dword [edi + 4]
mov edi, dword [esp + 0xc4]
sub edi, ecx
mov dword [esp + 0x1c], edx
cmp edx, edi
jl case.0x46337f.16
cmp eax, 6
jg 0x4647dd
mov eax, 6
mov ecx, dword [esp + 0xcc]
add ecx, eax
cmp edx, ecx
jg case.0x46337f.16
mov eax, dword [esi + 0x48]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x48], eax
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x9c]
lea edi, [eax + 2]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x90], edi
mov eax, dword [edi]
mov ebx, dword [edi + 4]
sub eax, edx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [esi + 0x4d]
call fcn.00496fa4
add eax, dword [esp + 0x8c]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xa0]
sub ebx, eax
mov dword [esp + 0x10], ebx
fild dword [esp + 0x10]
fmul qword [esi + 0x55]
call fcn.00496fa4
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x60]
add eax, edx
add edi, 8
cmp word [ecx], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0xb8], 0
jle 0x464a41
movsx eax, word [edi + 2]
add edi, 4
mov dword [esp + 0x80], eax
test eax, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x44], 0
jle 0x464a23
mov edx, dword [esp + 0x2c]
lea eax, [esp + edx*4 + 0x1b8]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov ecx, dword [esp + 0x9c]
sub eax, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [ecx + 0x4d]
call fcn.00496fa4
mov edx, dword [esp + 0xa0]
mov esi, eax
sub edi, edx
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
add esi, eax
fmul qword [edx + 0x55]
call fcn.00496fa4
mov ecx, dword [esp + 0x28]
mov edi, eax
add edi, ecx
cmp ebx, esi
mov eax, ebx
jl 0x464913
mov eax, esi
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jl 0x4649f2
cmp ebx, esi
mov eax, ebx
jg 0x464927
mov eax, esi
cmp ecx, eax
jg 0x4649f2
mov ecx, dword [esp + 0x24]
mov eax, edi
sub eax, ecx
mov ecx, esi
mov dword [esp + 0x10], eax
sub ecx, ebx
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x18]
fild dword [esp + 0x10]
sub edx, ebx
mov dword [esp + 0x10], edx
fadd qword [0x4be4b0]
fdivp st(1)
fild dword [esp + 0x10]
fst qword [esp + 0x50]
fmul st(1)
fiadd dword [esp + 0x24]
call fcn.00496fa4
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
inc ebx
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
add ecx, 4
cmp eax, edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ecx
jge 0x464992
mov ecx, eax
jmp 0x464998
mov eax, dword [esp + 0x24]
mov ecx, edi
mov edx, dword [esp + 0x1c]
cmp edx, ecx
jl 0x4649f0
cmp eax, edi
mov ecx, eax
jg 0x4649a8
mov ecx, edi
cmp edx, ecx
jg 0x4649f0
fld st(0)
fmul qword [esp + 0x50]
sub edx, eax
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fsubp st(1)
fld st(1)
fmul st(2)
fadd qword [0x4bcfe0]
fsqrt
fdivp st(1)
call fcn.00496fa4
mov ecx, dword [esp + 0x4c]
cmp ecx, 3
fstp st(0)
jg 0x4649e1
mov ecx, 3
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jle 0x4640f5
jmp 0x4649f2
fstp st(0)
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x80]
mov ebx, esi
mov esi, dword [esp + 0x34]
add esi, 8
inc eax
cmp eax, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x44], eax
jl 0x4648b5
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0xb8]
inc eax
movsx edx, word [ecx]
cmp eax, edx
mov dword [esp + 0xb8], eax
jl 0x464884
mov ecx, dword [ebp + 0x14]
mov al, byte [ecx + 4]
cmp al, 0x12
je 0x464a53
cmp al, 0xf
jne case.0x46337f.16
mov ecx, dword [esp + 0x90]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x64], edx
sub eax, ecx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [esi + 0x4d]
call fcn.00496fa4
mov edx, dword [esp + 0xa0]
mov edi, eax
mov eax, dword [esp + 0x8c]
add edi, eax
mov eax, dword [esp + 0x64]
sub eax, edx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [esi + 0x55]
call fcn.00496fa4
mov ecx, dword [esp + 0x28]
add eax, ecx
cmp ebx, edi
mov dword [esp + 0x64], eax
mov ecx, ebx
jl 0x464ab6
mov ecx, edi
mov eax, dword [esp + 0x18]
cmp eax, ecx
jl 0x464b92
cmp ebx, edi
mov ecx, ebx
jg 0x464aca
mov ecx, edi
cmp eax, ecx
jg 0x464b92
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x24]
sub ecx, edx
sub edi, ebx
mov dword [esp + 0x10], ecx
sub eax, ebx
fild dword [esp + 0x10]
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fadd qword [0x4be4b0]
fdivp st(1)
fild dword [esp + 0x10]
fst qword [esp + 0x50]
fmul st(1)
fiadd dword [esp + 0x24]
call fcn.00496fa4
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x64]
mov dword [esp + edi*4 + 0x1b8], eax
mov eax, dword [esp + 0x24]
inc edi
cmp eax, edx
jge 0x464b2d
mov ecx, eax
mov edx, ecx
jmp 0x464b35
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
cmp eax, edx
jl 0x464b8e
mov edx, dword [esp + 0x64]
cmp ecx, edx
jle 0x464b47
mov edx, ecx
cmp eax, edx
jg 0x464b8e
fld st(0)
fmul qword [esp + 0x50]
sub eax, ecx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fsubp st(1)
fld st(1)
fmul st(2)
fadd qword [0x4bcfe0]
fsqrt
fdivp st(1)
call fcn.00496fa4
mov ecx, dword [esp + 0x4c]
cmp ecx, 3
fstp st(0)
jg 0x464b80
mov ecx, 3
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jg 0x464b96
jmp 0x4640f5
fstp st(0)
jmp 0x464b96
mov edi, dword [esp + 0x2c]
mov eax, dword [esi + 0x2b]
test eax, eax
jne 0x464baa
mov eax, dword [0x4d7018]
test eax, eax
je case.0x46337f.16
cmp edi, 1
jle case.0x46337f.16
push 0x4629a0
push 4
lea ecx, [esp + 0x1c0]
push edi
push ecx
call fcn.00498efb
lea edx, [edi - 1]
add esp, 0x10
xor ecx, ecx
test edx, edx
jle case.0x46337f.16
mov eax, dword [ebp + 0x18]
mov esi, dword [eax + 4]
lea eax, [esp + 0x1bc]
cmp esi, dword [eax - 4]
jl 0x464bee
cmp esi, dword [eax]
jle 0x464bfb
inc ecx
add eax, 4
cmp ecx, edx
jl 0x464be5
jmp case.0x46337f.16
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
shl eax, 1
cmp ecx, eax
jne case.0x46337f.16
jmp 0x4636f4
mov edx, dword [ebp + 0x14]
lea eax, [esp + 0xc0]
lea ecx, [esp + 0x198]
mov ebx, dword [edx + 0x1e]
push ebx
push eax
push ecx
mov dword [esp + 0x54], ebx
call fcn.00460520
mov edx, dword [eax]
add esp, 0xc
mov dword [esp + 0x9c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0xa0], ecx
lea ecx, [esp + 0xc0]
mov edx, dword [eax + 8]
mov dword [esp + 0xa4], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0xa8], eax
call fcn.004afcaa
movsx eax, byte [ebx + 0x24]
cdq
sub eax, edx
sar eax, 1
cmp eax, 3
mov dword [esp + 0x10], eax
mov ecx, eax
jg 0x464c80
mov ecx, 3
mov esi, dword [ebp + 0x18]
mov edi, dword [esp + 0xc0]
sub edi, ecx
mov edx, dword [esi]
cmp edx, edi
mov dword [esp + 0x18], edx
jl case.0x46337f.16
cmp eax, 3
mov ecx, eax
jg 0x464ca6
mov ecx, 3
mov edi, dword [esp + 0xc8]
add edi, ecx
cmp edx, edi
jg case.0x46337f.16
cmp eax, 3
mov ecx, eax
jg 0x464cc3
mov ecx, 3
mov edx, dword [esi + 4]
mov esi, dword [esp + 0xc4]
sub esi, ecx
mov dword [esp + 0x1c], edx
cmp edx, esi
jl case.0x46337f.16
cmp eax, 3
jg 0x464ce5
mov eax, 3
mov ecx, dword [esp + 0xcc]
add ecx, eax
cmp edx, ecx
jg case.0x46337f.16
mov eax, dword [ebx + 0x48]
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x80], eax
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x9c]
lea ecx, [eax + 2]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x28], 0
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
sub eax, edx
add ecx, 8
mov dword [esp + 0x90], eax
mov dword [esp + 0x34], ecx
fild dword [esp + 0x90]
fmul qword [ebx + 0x4d]
call fcn.00496fa4
mov esi, eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x8c]
sub edi, eax
mov dword [esp + 0x90], edi
add esi, ecx
fild dword [esp + 0x90]
mov dword [esp + 0x60], esi
fmul qword [ebx + 0x55]
call fcn.00496fa4
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x80]
add eax, edi
mov dword [esp + 0x90], 0
cmp word [ecx], 0
mov dword [esp + 0x64], eax
mov edi, eax
jle 0x465236
mov ecx, dword [esp + 0x34]
movsx edx, word [ecx + 2]
mov eax, dword [ecx + 4]
add ecx, 4
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x9c]
mov ebx, dword [ecx + 4]
sub eax, edx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x48]
fild dword [esp + 0x70]
add ecx, 8
mov dword [esp + 0x34], ecx
fmul qword [eax + 0x4d]
call fcn.00496fa4
mov ecx, dword [esp + 0x8c]
add eax, ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xa0]
sub ebx, eax
mov dword [esp + 0x70], ebx
fild dword [esp + 0x70]
fmul qword [ecx + 0x55]
call fcn.00496fa4
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x60]
add eax, edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x4c], eax
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x44], eax
jle 0x465209
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
add ecx, 8
mov dword [esp + 0x64], edx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x9c]
sub eax, ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x48]
fild dword [esp + 0x70]
fmul qword [eax + 0x4d]
call fcn.00496fa4
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0xa0]
add eax, edx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x64]
sub eax, ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x70], eax
fild dword [esp + 0x70]
fmul qword [ecx + 0x55]
call fcn.00496fa4
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
add eax, edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x64], eax
lea eax, [edx - 1]
cmp ecx, eax
je 0x464ec9
mov eax, dword [esp + 0x60]
add eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x64]
mov ecx, eax
mov eax, dword [esp + 0x4c]
add eax, edx
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
jmp 0x464ed9
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xf0], ecx
mov dword [esp + 0x114], eax
lea eax, [ecx + esi]
mov dword [esp + 0x78], eax
mov dword [esp + 0xd0], esi
cdq
sub eax, edx
mov dword [esp + 0xf4], edi
sar eax, 1
add eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
mov dword [esp + 0xe0], eax
lea eax, [edx + edi]
mov dword [esp + 0x78], eax
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
sar eax, 1
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x104], eax
lea eax, [ebx + esi]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xe0]
add eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0xb8]
sar eax, 1
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
sar eax, 1
mov dword [esp + 0xd8], eax
lea eax, [edx + edi]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x104]
add eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x70]
sar eax, 1
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0xe0]
sar eax, 1
mov dword [esp + 0xfc], eax
lea eax, [edx + ecx]
cdq
sub eax, edx
mov edx, eax
lea eax, [ecx + ebx]
sar edx, 1
mov ecx, edx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, dword [esp + 0x2c]
cdq
sub eax, edx
mov edx, dword [esp + 0x104]
sar eax, 1
mov dword [esp + 0xe8], eax
lea eax, [edx + ecx]
cdq
sub eax, edx
mov edx, eax
mov eax, dword [esp + 0x4c]
sar edx, 1
add eax, ecx
mov ecx, edx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, dword [esp + 0x24]
cdq
sub eax, edx
sub ecx, esi
sar eax, 1
mov dword [esp + 0x10c], eax
mov eax, ebx
sub eax, esi
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x4c]
sub eax, edi
sub esi, edi
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0xf8], eax
mov eax, ecx
cdq
and edx, 7
add eax, edx
mov edx, dword [esp + 0xb8]
sar eax, 3
add eax, edx
mov dword [esp + 0xdc], eax
mov eax, esi
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, edi
mov dword [esp + 0x100], eax
lea eax, [ecx + ecx*2]
cdq
and edx, 7
mov ecx, dword [esp + 0x4c]
add eax, edx
mov edx, dword [esp + 0xb8]
sar eax, 3
add eax, edx
mov dword [esp + 0xe4], eax
lea eax, [esi + esi*2]
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, edi
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x24]
sub eax, ebx
lea eax, [eax + eax*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, ebx
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x2c]
sub eax, ecx
lea eax, [eax + eax*2]
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x28]
sar eax, 2
add eax, ecx
xor ebx, ebx
mov dword [esp + 0x110], eax
lea eax, [esp + edx*4 + 0x118]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + ebx + 0xd0]
mov eax, dword [esp + ebx + 0xd4]
cmp ecx, eax
mov edx, ecx
jl 0x4650ef
mov edx, eax
cmp dword [esp + 0x18], edx
jl 0x4651d4
cmp ecx, eax
mov edx, ecx
jg 0x465101
mov edx, eax
cmp dword [esp + 0x18], edx
jg 0x4651d4
mov edi, dword [esp + ebx + 0xf8]
mov esi, dword [esp + ebx + 0xf4]
mov edx, edi
sub eax, ecx
sub edx, esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0x78], edx
fild dword [esp + 0x78]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x18]
fild dword [esp + 0x78]
sub eax, ecx
mov dword [esp + 0x78], eax
fadd qword [0x4be4b0]
fdivp st(1)
fild dword [esp + 0x78]
fst qword [esp + 0x78]
fmul st(1)
fiadd dword [esp + 0xb8]
call fcn.00496fa4
mov ecx, dword [esp + 0x70]
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
inc eax
add ecx, 4
mov dword [esp + 0x28], eax
cmp esi, edi
mov dword [esp + 0x70], ecx
mov eax, esi
jl 0x46517c
mov eax, edi
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jl 0x4651d2
cmp esi, edi
jle 0x46518a
mov edi, esi
cmp ecx, edi
jg 0x4651d2
fld qword [esp + 0x78]
sub ecx, esi
fmul st(1)
mov dword [esp + 0x78], ecx
fild dword [esp + 0x78]
fsubp st(1)
fld st(1)
fmul st(2)
fadd qword [0x4bcfe0]
fsqrt
fdivp st(1)
call fcn.00496fa4
mov ecx, dword [esp + 0x10]
cmp ecx, 3
fstp st(0)
jg 0x4651c3
mov ecx, 3
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jle 0x463952
jmp 0x4651d4
fstp st(0)
add ebx, 4
cmp ebx, 0x20
jl 0x4650d9
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x38]
inc eax
cmp eax, ecx
mov dword [esp + 0x44], eax
jl 0x464e2b
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x90]
inc eax
movsx ecx, word [edx]
cmp eax, ecx
mov dword [esp + 0x90], eax
jl 0x464da1
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov ebx, dword [esp + 0x48]
mov ecx, dword [ebp + 0x14]
cmp byte [ecx + 4], 0x11
jne case.0x46337f.16
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], esi
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
sub eax, dword [esp + 0x9c]
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
fmul qword [ebx + 0x4d]
call fcn.00496fa4
mov edx, dword [esp + 0xa0]
mov esi, eax
mov eax, dword [esp + 0x8c]
sub edi, edx
mov dword [esp + 0x50], edi
add esi, eax
fild dword [esp + 0x50]
fmul qword [ebx + 0x55]
call fcn.00496fa4
mov ecx, dword [esp + 0x30]
mov edi, eax
mov eax, dword [esp + 0x38]
add edi, ecx
cmp eax, esi
jge 0x4652a5
mov ecx, eax
mov edx, ecx
jmp 0x4652ab
mov ecx, dword [esp + 0x38]
mov edx, esi
mov eax, dword [esp + 0x18]
cmp eax, edx
jl 0x465371
cmp ecx, esi
mov edx, ecx
jg 0x4652bf
mov edx, esi
cmp eax, edx
jg 0x465371
mov edx, edi
sub esi, ecx
sub edx, dword [esp + 0x44]
sub eax, ecx
mov dword [esp + 0x50], edx
fild dword [esp + 0x50]
mov dword [esp + 0x50], esi
fild dword [esp + 0x50]
mov dword [esp + 0x50], eax
fadd qword [0x4be4b0]
fdivp st(1)
fild dword [esp + 0x50]
fst qword [esp + 0x60]
fmul st(1)
fiadd dword [esp + 0x44]
call fcn.00496fa4
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
mov edx, ecx
mov dword [esp + esi*4 + 0x118], eax
inc esi
cmp ecx, edi
jl 0x465318
mov edx, edi
mov eax, dword [esp + 0x1c]
cmp eax, edx
jl 0x46536d
cmp ecx, edi
jle 0x465326
mov edi, ecx
cmp eax, edi
jg 0x46536d
fld qword [esp + 0x60]
sub eax, ecx
fmul st(1)
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
fsubp st(1)
fld st(1)
fmul st(2)
fadd qword [0x4bcfe0]
fsqrt
fdivp st(1)
call fcn.00496fa4
mov ecx, dword [esp + 0x10]
cmp ecx, 3
fstp st(0)
jg 0x46535f
mov ecx, 3
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jg 0x465375
jmp 0x4640f5
fstp st(0)
jmp 0x465375
mov esi, dword [esp + 0x28]
mov eax, dword [ebx + 0x2b]
test eax, eax
jne 0x465389
mov eax, dword [0x4d7018]
test eax, eax
je case.0x46337f.16
cmp esi, 1
jle case.0x46337f.16
push 0x4629a0
push 4
lea ecx, [esp + 0x120]
push esi
push ecx
call fcn.00498efb
lea eax, [esi - 1]
add esp, 0x10
mov dword [esp + 0x38], eax
lea eax, [esp + 0x118]
xor edx, edx
or ecx, 0xffffffff
lea edi, [esp + 0x118]
sub eax, 4
inc edx
add edi, 4
add eax, 4
inc ecx
cmp edx, esi
mov dword [esp + 0x78], edx
mov dword [esp + 0x50], edi
jge 0x46541a
mov ebx, dword [edi]
sub ebx, dword [edi - 4]
cmp ebx, 1
jg 0x4653c7
mov ebx, dword [esp + 0x38]
cmp ecx, ebx
jge 0x465406
mov edi, ebx
mov edx, eax
sub edi, ecx
mov ebx, dword [edx + 4]
mov dword [edx], ebx
add edx, 4
dec edi
jne 0x4653f3
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x38]
dec esi
dec ebx
dec edx
sub edi, 4
sub eax, 4
mov dword [esp + 0x38], ebx
dec ecx
jmp 0x4653c7
xor ecx, ecx
dec esi
test esi, esi
jle case.0x46337f.16
mov edx, dword [ebp + 0x18]
lea eax, [esp + 0x11c]
mov edx, dword [edx + 4]
cmp edx, dword [eax - 4]
jl 0x46543b
cmp edx, dword [eax]
jle 0x465448
inc ecx
add eax, 4
cmp ecx, esi
jl 0x465432
jmp case.0x46337f.16
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
shl eax, 1
cmp ecx, eax
jne case.0x46337f.16
jmp 0x4640f5
mov edi, dword [esi + 0x1e]
mov ebx, dword [edi + 0x14]
mov ecx, dword [edi + 0x1c]
cmp ebx, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x38], ecx
jge 0x465475
mov ecx, ebx
movsx eax, byte [edi + 0x24]
mov dword [esp + 0x30], eax
cdq
sub eax, edx
mov esi, eax
sar esi, 1
cmp esi, 3
mov eax, esi
jg 0x465490
mov eax, 3
mov edx, dword [ebp + 0x18]
sub ecx, eax
mov edx, dword [edx]
cmp edx, ecx
mov dword [esp + 0x18], edx
jl case.0x46337f.16
mov eax, dword [esp + 0x38]
cmp ebx, eax
jg 0x4654ad
mov ebx, eax
cmp esi, 3
mov eax, esi
jg 0x4654b9
mov eax, 3
add eax, ebx
cmp edx, eax
jg case.0x46337f.16
mov ebx, dword [edi + 0x18]
mov edi, dword [edi + 0x20]
cmp ebx, edi
mov dword [esp + 0x80], edi
mov eax, ebx
jl 0x4654d8
mov eax, edi
cmp esi, 3
mov ecx, esi
jg 0x4654e4
mov ecx, 3
mov edx, dword [ebp + 0x18]
sub eax, ecx
mov edx, dword [edx + 4]
cmp edx, eax
mov dword [esp + 0x1c], edx
jl case.0x46337f.16
cmp ebx, edi
jle 0x4654fe
mov edi, ebx
cmp esi, 3
mov eax, esi
jg 0x46550a
mov eax, 3
add eax, edi
cmp edx, eax
jg case.0x46337f.16
cmp esi, 3
mov edi, esi
jg 0x465520
mov edi, 3
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
sub eax, ecx
inc eax
cdq
xor eax, edx
sub eax, edx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, edi
cmp esi, 3
mov dword [esp + 0x90], ecx
mov edi, esi
jg 0x46554c
mov edi, 3
mov eax, dword [esp + 0x80]
sub eax, ebx
inc eax
cdq
xor eax, edx
sub eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [esp + 0x38]
add eax, edx
cdq
sar esi, 1
sub eax, edx
add esi, edi
mov edi, eax
mov eax, dword [esp + 0x80]
add eax, ebx
mov dword [esp + 0x50], esi
cdq
fild dword [esp + 0x50]
sub eax, edx
mov edx, dword [esp + 0x18]
sar edi, 1
sub edx, edi
mov ebx, eax
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x1c]
fild dword [esp + 0x78]
sar ebx, 1
sub eax, ebx
fmul st(1)
fild dword [esp + 0x90]
mov dword [esp + 0x10], eax
fstp qword [esp + 0x60]
fild dword [esp + 0x10]
fmul qword [esp + 0x60]
fld st(1)
fcomp qword [0x4bcfe8]
fnstsw ax
test ah, 0x40
je 0x4655da
fcom qword [0x4bcfe8]
fnstsw ax
test ah, 0x40
jne 0x465e0f
fxch st(1)
fpatan
mov eax, edx
fmul qword [0x4bdd48]
imul eax, edx
fdiv qword [0x4be4a8]
mov edx, ecx
mov dword [esp + 0x50], eax
fstp qword [esp + 0x78]
imul edx, ecx
fild dword [esp + 0x50]
mov dword [esp + 0x50], edx
fild dword [esp + 0x50]
fdivp st(1)
fsubr qword [0x4bcfe0]
fabs
fsqrt
fmulp st(1)
call fcn.00496fa4
mov ecx, ebx
add ebx, eax
sub ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x80], ecx
mov ecx, eax
imul ecx, eax
mov edx, esi
mov dword [esp + 0x50], ecx
imul edx, esi
fild dword [esp + 0x50]
mov dword [esp + 0x50], edx
fild dword [esp + 0x50]
fdivp st(1)
fsubr qword [0x4bcfe0]
fabs
fsqrt
fmul qword [esp + 0x60]
call fcn.00496fa4
mov edx, dword [esp + 0x1c]
mov ecx, edi
sub ecx, eax
add edi, eax
mov eax, dword [esp + 0x80]
cmp edx, eax
jl 0x465696
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x1e]
mov dl, byte [eax + 0x24]
cmp dl, 6
mov edx, dword [esp + 0x30]
jg 0x465687
mov edx, 6
mov esi, dword [esp + 0x1c]
sub esi, dword [esp + 0x80]
cmp esi, edx
jle 0x46570b
mov esi, dword [esp + 0x1c]
cmp esi, ebx
jg 0x4656bb
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1e]
mov dl, byte [eax + 0x24]
cmp dl, 6
mov edx, dword [esp + 0x30]
jg 0x4656b5
mov edx, 6
sub ebx, esi
cmp ebx, edx
jle 0x46570b
mov esi, dword [esp + 0x18]
cmp esi, ecx
jl 0x4656e2
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x1e]
mov dl, byte [eax + 0x24]
cmp dl, 6
mov edx, dword [esp + 0x30]
jg 0x4656da
mov edx, 6
mov ebx, esi
sub ebx, ecx
cmp ebx, edx
jle 0x46570b
cmp esi, edi
jg case.0x46337f.16
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1e]
mov cl, byte [eax + 0x24]
cmp cl, 6
mov ecx, dword [esp + 0x30]
jg 0x465701
mov ecx, 6
sub edi, esi
cmp edi, ecx
jg case.0x46337f.16
mov ecx, dword [eax + 0x2f]
mov edx, dword [eax + 0x2b]
fld qword [esp + 0x78]
push ecx
push edx
call fcn.00496fa4
push eax
call fcn.004628c0
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
je case.0x46337f.16
mov eax, dword [ebp + 0x14]
mov dword [0x4d6da0], eax
jmp case.0x46337f.16
mov ebx, dword [esi + 0x1e]
mov edi, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x1c]
cmp edi, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x38], ecx
jge 0x465755
mov ecx, edi
movsx eax, byte [ebx + 0x24]
mov dword [esp + 0x30], eax
cdq
sub eax, edx
mov esi, eax
sar esi, 1
cmp esi, 3
mov dword [esp + 0x44], esi
mov eax, esi
jg 0x465774
mov eax, 3
mov edx, dword [ebp + 0x18]
sub ecx, eax
mov edx, dword [edx]
cmp edx, ecx
mov dword [esp + 0x18], edx
jl case.0x46337f.16
mov eax, dword [esp + 0x38]
cmp edi, eax
jg 0x465791
mov edi, eax
cmp esi, 3
mov eax, esi
jg 0x46579d
mov eax, 3
add eax, edi
cmp edx, eax
jg case.0x46337f.16
mov edi, dword [ebx + 0x18]
mov ebx, dword [ebx + 0x20]
cmp edi, ebx
mov dword [esp + 0x80], ebx
mov eax, edi
jl 0x4657bc
mov eax, ebx
cmp esi, 3
mov ecx, esi
jg 0x4657c8
mov ecx, 3
mov edx, dword [ebp + 0x18]
sub eax, ecx
mov edx, dword [edx + 4]
cmp edx, eax
mov dword [esp + 0x1c], edx
jl case.0x46337f.16
cmp edi, ebx
jle 0x4657e2
mov ebx, edi
cmp esi, 3
mov eax, esi
jg 0x4657ee
mov eax, 3
add eax, ebx
cmp edx, eax
jg case.0x46337f.16
cmp esi, 3
mov ebx, esi
jg 0x465804
mov ebx, 3
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
sub eax, ecx
inc eax
cdq
xor eax, edx
sub eax, edx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, ebx
cmp esi, 3
mov dword [esp + 0x90], ecx
mov ebx, esi
jg 0x465830
mov ebx, 3
mov eax, dword [esp + 0x80]
sub eax, edi
inc eax
cdq
xor eax, edx
sub eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [esp + 0x38]
add eax, edx
cdq
sar esi, 1
sub eax, edx
add esi, ebx
mov ebx, eax
mov eax, dword [esp + 0x80]
add eax, edi
mov dword [esp + 0x78], esi
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar ebx, 1
sub edx, ebx
mov edi, eax
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x1c]
fild dword [esp + 0x50]
sar edi, 1
sub eax, edi
mov dword [esp + 0x70], ebx
fstp qword [esp + 0x38]
fild dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov dword [esp + 0x80], edi
fst qword [esp + 0x78]
fmul qword [esp + 0x38]
fild dword [esp + 0x10]
fstp qword [esp + 0xb8]
fild dword [esp + 0x90]
fst qword [esp + 0x60]
fmul qword [esp + 0xb8]
fld st(1)
fcomp qword [0x4bcfe8]
fnstsw ax
test ah, 0x40
je 0x4658dd
fcom qword [0x4bcfe8]
fnstsw ax
test ah, 0x40
jne 0x465e11
fxch st(1)
fpatan
mov eax, edx
fmul qword [0x4bdd48]
imul eax, edx
fdiv qword [0x4be4a8]
mov edx, ecx
mov dword [esp + 0x50], eax
fstp qword [esp + 0x90]
imul edx, ecx
fild dword [esp + 0x50]
mov dword [esp + 0x50], edx
fild dword [esp + 0x50]
fdivp st(1)
fsubr qword [0x4bcfe0]
fabs
fsqrt
fmul qword [esp + 0x78]
call fcn.00496fa4
mov ecx, edi
mov edx, esi
sub ecx, eax
add eax, edi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov ecx, eax
imul ecx, eax
imul edx, esi
mov dword [esp + 0x50], ecx
fild dword [esp + 0x50]
mov dword [esp + 0x50], edx
fild dword [esp + 0x50]
fdivp st(1)
fsubr qword [0x4bcfe0]
fabs
fsqrt
fmul qword [esp + 0x60]
call fcn.00496fa4
mov ecx, ebx
lea edx, [ebx + eax]
sub ecx, eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 0x1e]
mov esi, dword [eax + 0x2b]
test esi, esi
jne 0x465c56
mov eax, dword [0x4d7018]
test eax, eax
jne 0x465c56
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
cmp esi, eax
jl 0x4659c2
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1e]
mov dword [esp + 0x28], eax
cmp byte [eax + 0x24], 6
mov eax, dword [esp + 0x30]
jg 0x4659b2
mov eax, 6
sub esi, dword [esp + 0x2c]
cmp esi, eax
jle 0x465a45
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
cmp esi, eax
jg 0x4659ed
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 0x1e]
mov dword [esp + 0x28], edx
cmp byte [edx + 0x24], 6
mov edx, dword [esp + 0x30]
jg 0x4659e3
mov edx, 6
sub eax, esi
cmp eax, edx
jle 0x465a45
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x18]
cmp esi, ecx
jl 0x465a18
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1e]
mov dword [esp + 0x28], eax
cmp byte [eax + 0x24], 6
mov eax, dword [esp + 0x30]
jg 0x465a0e
mov eax, 6
sub esi, ecx
cmp esi, eax
jle 0x465a45
mov esi, dword [esp + 0x18]
cmp esi, edx
jg 0x465a56
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx + 0x1e]
mov al, byte [ecx + 0x24]
cmp al, 6
mov eax, dword [esp + 0x30]
jg 0x465a32
mov eax, 6
sub edx, esi
cmp edx, eax
jg 0x465a56
mov edx, dword [ecx + 0x4c]
mov eax, dword [ecx + 0x48]
push edx
push eax
jmp 0x465c7e
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x4c]
mov eax, dword [ecx + 0x48]
push edx
push eax
jmp 0x465c7e
mov ecx, dword [ebp + 0x14]
mov esi, dword [ecx + 0x1e]
fild dword [esi + 0x48]
fmul qword [0x4be4a8]
fmul qword [0x4bdd38]
fild dword [esp + 0x70]
fstp qword [esp + 0x50]
fld st(0)
fcos
fmul qword [esp + 0x60]
fadd qword [esp + 0x50]
call fcn.00496fa4
fild dword [esp + 0x80]
mov dword [esp + 0x10], eax
fstp qword [esp + 0x80]
fsin
fmul qword [esp + 0x78]
fadd qword [esp + 0x80]
call fcn.00496fa4
fild dword [esi + 0x4c]
mov dword [esp + 0x2c], eax
fmul qword [0x4be4a8]
fmul qword [0x4bdd38]
fld st(0)
fcos
fmul qword [esp + 0x60]
fadd qword [esp + 0x50]
call fcn.00496fa4
fsin
mov dword [esp + 0x34], eax
fmul qword [esp + 0x78]
fadd qword [esp + 0x80]
call fcn.00496fa4
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x10]
sub edx, edi
mov dword [esp + 0x50], edx
sub eax, ebx
fild dword [esp + 0x50]
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
fadd qword [0x4be4b0]
fdivp st(1)
fld st(0)
fmul qword [esp + 0x38]
fsub qword [esp + 0xb8]
fld st(1)
fmul st(2)
fadd qword [0x4bcfe0]
fsqrt
fdivp st(1)
call fcn.00496fa4
mov esi, dword [esp + 0x44]
cmp esi, 3
mov ecx, esi
fstp st(0)
jg 0x465b3c
mov ecx, 3
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jg 0x465b96
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov ecx, eax
jl 0x465b51
mov ecx, ebx
mov edx, dword [esp + 0x18]
cmp edx, ecx
jl 0x465b96
cmp eax, ebx
jg 0x465b5f
mov eax, ebx
cmp edx, eax
jg 0x465b96
mov eax, dword [esp + 0x2c]
cmp eax, edi
mov ecx, eax
jl 0x465b6f
mov ecx, edi
mov edx, dword [esp + 0x1c]
cmp edx, ecx
jl 0x465b96
cmp eax, edi
jg 0x465b7d
mov eax, edi
cmp edx, eax
jg 0x465b96
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x20], 1
mov dword [0x4d6da0], eax
jmp case.0x46337f.16
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
sub ecx, edi
sub edx, ebx
mov dword [esp + 0x50], ecx
fild dword [esp + 0x50]
mov dword [esp + 0x50], edx
fild dword [esp + 0x50]
fadd qword [0x4be4b0]
fdivp st(1)
fld st(0)
fmul qword [esp + 0x38]
fsub qword [esp + 0xb8]
fld st(1)
fmul st(2)
fadd qword [0x4bcfe0]
fsqrt
fdivp st(1)
call fcn.00496fa4
cmp esi, 3
mov ecx, esi
fstp st(0)
jg 0x465be8
mov ecx, 3
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jg case.0x46337f.16
mov ecx, dword [esp + 0x34]
mov eax, ebx
cmp ebx, ecx
jl 0x465c01
mov eax, ecx
mov edx, dword [esp + 0x18]
cmp edx, eax
jl case.0x46337f.16
cmp ebx, ecx
jg 0x465c13
mov ebx, ecx
cmp edx, ebx
jg case.0x46337f.16
mov ecx, dword [esp + 0x48]
mov eax, edi
cmp edi, ecx
jl 0x465c27
mov eax, ecx
mov edx, dword [esp + 0x1c]
cmp edx, eax
jl case.0x46337f.16
cmp edi, ecx
jg 0x465c39
mov edi, ecx
cmp edx, edi
jg case.0x46337f.16
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x20], 1
mov dword [0x4d6da0], eax
jmp case.0x46337f.16
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jl case.0x46337f.16
cmp eax, dword [esp + 0x48]
jg case.0x46337f.16
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x1e]
mov ecx, dword [eax + 0x4c]
mov edx, dword [eax + 0x48]
push ecx
push edx
fld qword [esp + 0x98]
call fcn.00496fa4
push eax
call fcn.004628c0
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
je case.0x46337f.16
mov eax, dword [ebp + 0x14]
mov dword [0x4d6da0], eax
jmp case.0x46337f.16
mov edx, dword [esi + 0x1e]
mov eax, dword [edx + 0x1c]
mov ecx, dword [edx + 0x24]
cmp eax, ecx
mov edi, eax
jl 0x465cbd
mov edi, ecx
mov esi, dword [ebp + 0x18]
mov ebx, dword [esi]
cmp ebx, edi
jl case.0x46337f.16
cmp eax, ecx
jg 0x465cd0
mov eax, ecx
cmp ebx, eax
jg case.0x46337f.16
mov eax, dword [edx + 0x20]
mov edx, dword [edx + 0x28]
cmp eax, edx
mov ecx, eax
jl 0x465ce6
mov ecx, edx
mov edi, dword [esi + 4]
cmp edi, ecx
jl case.0x46337f.16
cmp eax, edx
jg 0x465cf7
mov eax, edx
cmp edi, eax
jmp 0x4636ee
cmp dword [ebp + 0xc], 1
jne 0x465d41
test byte [esi + 0x1a], 2
je 0x465d41
lea edx, [esp + 0x9c]
push 0
push edx
lea eax, [esp + 0x190]
push esi
push eax
call fcn.00460650
mov eax, dword [ebp + 0x18]
add esp, 0x10
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
lea eax, [esp + 0xa0]
push edx
push eax
call ebx
test eax, eax
jne 0x464211
mov ecx, dword [esi + 0x26]
push 4
push ecx
call fcn.00497013
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x80], edi
je case.0x46337f.16
lea ecx, [esi + 0x22]
mov dword [esp + 0x50], ecx
call fcn.0043d720
mov ecx, dword [esi + 0x26]
mov edx, 1
cmp ecx, edx
jl 0x465d87
sub ecx, edx
inc edx
mov dword [edi + ecx*4], eax
mov ecx, dword [esi + 0x26]
mov eax, dword [eax]
cmp edx, ecx
jle 0x465d78
mov eax, dword [esi + 0x26]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x465ddc
mov ebx, dword [ebp + 0x1c]
mov esi, edi
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
mov eax, dword [esi]
mov ecx, dword [ebp + 0x10]
push ebx
push edx
mov edx, dword [ebp + 0xc]
push eax
push ecx
push edx
push edi
call fcn.004632b0
add esp, 0x18
mov dword [esp + 0x20], eax
test eax, eax
jne 0x465de7
mov ecx, dword [ebp + 0x14]
mov eax, dword [esp + 0x10]
inc eax
add esi, 4
mov edx, dword [ecx + 0x26]
mov dword [esp + 0x10], eax
cmp eax, edx
jl 0x465d9e
mov edi, dword [esp + 0x80]
push edi
call fcn.00496fcb
add esp, 4
jmp case.0x46337f.16
test ebx, ebx
je 0x465dfd
mov eax, dword [ebx + 4]
test eax, eax
je 0x465dfd
cmp dword [ebx], 0
jne 0x465dfd
mov edx, dword [esp + 0x50]
mov dword [ebx], edx
mov eax, dword [esp + 0x80]
push eax
call fcn.00496fcb
add esp, 4
jmp case.0x46337f.16
fstp st(0)
fstp st(0)
fstp st(0)
mov ebx, dword [ebp + 0x14]
cmp byte [ebx + 4], 0x24
jne 0x465f01
mov eax, dword [ebx + 0x1e]
mov ecx, dword [eax + 0x7a]
mov edx, dword [eax + 0x7e]
mov esi, dword [eax + 0x72]
mov eax, dword [eax + 0x76]
mov dword [esp + 0xa4], ecx
lea ecx, [esp + 0x9c]
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], edx
call fcn.004afcaa
mov ecx, dword [esp + 0xa0]
mov esi, dword [esp + 0xa8]
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x54], ecx
push 2
lea ecx, [esp + 0x64]
mov dword [esp + 0x70], esi
mov dword [esp + 0x60], esi
mov esi, dword [sym.imp.USER32.dll_InflateRect]
push 2
push ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], edx
call esi
push 0xfffffffffffffffd
lea edx, [esp + 0x54]
push 0xfffffffffffffffd
push edx
call esi
mov esi, dword [ebp + 0x18]
mov edi, dword [sym.imp.USER32.dll_PtInRect]
lea edx, [esp + 0x60]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
push edx
call edi
test eax, eax
je 0x465f01
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
lea edx, [esp + 0x54]
push ecx
push edx
call edi
test eax, eax
jne 0x465f01
mov eax, 1
mov dword [0x4d6da0], ebx
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x465efa
mov edx, dword [ecx + 4]
test edx, edx
jne 0x465efa
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x465ee9
pop edi
pop esi
mov dword [0x4d6da0], eax
pop ebx
mov esp, ebp
pop ebp
ret