Function at 0x503868
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x23f3a06
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x241f8d0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
mov edx, 0x241f9a8
mov eax, 0x241f970
call fcn.0050067c
mov dword [0x241f8a0], eax
mov eax, dword [ebp - 0x30]
add eax, 0xe6
mov dword [ebp - 0x24], eax
mov eax, dword [0x241f978]
add eax, dword [0x241f930]
mov edx, dword [0x241fa3c]
add edx, dword [0x241f978]
cmp eax, edx
jge 0x503915
mov eax, dword [0x241f978]
mov dword [0x241f9d4], eax
mov eax, dword [0x241f8c8]
mov dword [0x241f9f4], eax
mov eax, dword [0x241f9d4]
cmp eax, dword [0x241f9f4]
jge 0x50390a
mov eax, dword [0x241f878]
call fcn.00407df4
mov dword [0x241f878], eax
jmp 0x503942
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
jmp 0x503942
mov eax, dword [0x241fa44]
mov dword [0x241fa4c], eax
mov eax, dword [0x241f878]
cmp eax, dword [0x241fa4c]
jle 0x503942
mov eax, dword [ebp - 0x14]
add eax, 0xf2
mov dword [ebp - 0x58], eax
fild dword [ebp - 0x58]
call fcn.0040822c
mov dword [ebp - 0x20], eax
mov eax, dword [0x241fa34]
call fcn.00407df4
mov dword [0x241fa34], eax
mov eax, dword [0x241f878]
cmp eax, dword [0x241fa34]
jge 0x503987
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [0x241f928]
mov eax, dword [ebp - 0x24]
call fcn.004ffbd0
mov dword [0x241f9dc], eax
mov eax, dword [0x241f970]
sub eax, 0x2a
mov dword [0x241f9b8], eax
jmp 0x5039b4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x50399e
mov eax, dword [ebp - 0x4c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xcc
jle 0x5039b4
mov eax, dword [0x241f9f4]
sub eax, 0x54
mov dword [0x241f970], eax
imul eax, dword [0x241f9cc], 0xe6
mov dword [0x241f8e8], eax
mov eax, dword [0x241f9c0]
mov dword [0x241f958], eax
mov byte [ebp - 9], 0
mov eax, dword [0x241f880]
mov dword [0x241f968], eax
mov eax, dword [ebp - 0x34]
add eax, 0x3f
mov dword [ebp - 0x2c], eax
mov eax, dword [0x241f9cc]
mov dword [0x241f9f4], eax
lea eax, [ebp - 0x10]
push eax
xor ecx, ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.0040b7d8
push 0x241f980
lea eax, [ebp - 0x2c]
push eax
push 0x241f9d4
mov ecx, 0x241f8c0
mov edx, 0x241f908
lea eax, [ebp - 0x30]
call fcn.004fcdfc
mov eax, dword [ebp - 0x14]
shl eax, 5
lea eax, [eax + eax*4]
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x23f3928
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [0x241f8f8]
mov dword [0x241f8e8], eax
mov eax, dword [0x241fa14]
mov dword [0x241f928], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x1c]
jle 0x503a7c
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x34]
jne 0x503a86
mov eax, dword [0x241f9f4]
mov dword [0x241f858], eax
jmp 0x503a86
imul eax, dword [ebp - 0x1c], 0x85
mov dword [ebp - 0x20], eax
imul eax, dword [ebp - 0x30], 0x73
mov dword [ebp - 0x24], eax
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], 0xa
jne 0x503a40
imul eax, dword [0x241f878], 0xab
mov dword [0x241fa4c], eax
mov eax, dword [0x241f948]
add eax, dword [0x241f888]
mov dword [0x241f930], eax
mov eax, dword [0x241f9a8]
mov dword [0x241f978], eax
mov eax, dword [0x241f9dc]
add eax, 0x6c
mov dword [0x241f898], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004aab9c
mov eax, dword [0x241f9a8]
mov dword [0x241f880], eax
mov eax, dword [0x241f8a0]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [0x241f8f8]
push eax
mov eax, dword [0x241f948]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
call fcn.004f8734
mov dword [0x241fa14], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [0x241fa3c]
mov dword [0x241f970], eax
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0x10
jne 0x503b0e
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov eax, 0x53
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
push 0x241f868
push 0x241f9fc
push 0x241f870
push 0x241fa14
lea ecx, [ebp - 0x30]
mov edx, 0x241f858
lea eax, [ebp - 0x1c]
call fcn.004f8a44
mov dword [0x241f8c8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004aab9c
imul eax, dword [ebp - 0x2c], 0xb2
mov dword [ebp - 0x20], eax
mov eax, dword [0x241f938]
add eax, dword [0x241f9fc]
cmp eax, dword [0x241f9fc]
jle 0x503b9b
mov eax, dword [ebp - 0x38]
add eax, 4
mov dword [ebp - 0x58], eax
fild dword [ebp - 0x58]
call fcn.00408238
mov dword [ebp - 0x30], eax
jmp 0x503bc4
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x10]
call fcn.0040ac1c
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [0x241f900]
sub eax, dword [0x241f948]
mov dword [0x241f9f4], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xd
jne 0x503bab
mov eax, 0x32
sub eax, dword [0x241f888]
mov dword [0x241f9e4], eax
mov eax, dword [0x241fa14]
add eax, 0xc5
mov dword [0x241f900], eax
imul eax, dword [0x241f898], 0x27
mov dword [0x241fa24], eax
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x40]
push eax
call dword [0x241f90c]
test eax, eax
je 0x50445b
lea eax, [ebp - 0x44]
push eax
push 0x4000001
push 1
mov eax, dword [ebp - 0x40]
push eax
call dword [0x241f954]
test eax, eax
je 0x50436e
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 7
push 0
mov eax, dword [ebp - 0x44]
push eax
call dword [0x241f95c]
test eax, eax
je 0x504303
fild dword [ebp - 0x28]
call fcn.00408238
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 5
jge 0x503c84
inc dword [ebp - 0x2c]
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x10]
call fcn.0040ac1c
mov eax, dword [0x241f8c8]
mov dword [0x241f8a8], eax
mov eax, dword [ebp - 0x38]
imul dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x2c], 5
jl 0x503c5d
mov eax, dword [0x241fa04]
mov dword [0x241f9f4], eax
mov eax, dword [0x241f8e8]
mov dword [0x241fa2c], eax
mov eax, dword [0x241f9fc]
mov dword [0x241f858], eax
mov eax, dword [0x241f858]
cmp eax, dword [0x241fa2c]
jle 0x503cc9
mov eax, dword [0x241fa44]
mov dword [0x241f8e8], eax
mov edx, dword [0x241f9f4]
mov eax, dword [0x241f858]
call fcn.004fc04c
mov ecx, 1
mov edx, dword [0x241fa0c]
mov eax, 0x23f3a24
call fcn.0040b9e8
cmp eax, 0xb8
jge 0x503cf8
lea eax, [ebp - 0x10]
push eax
xor ecx, ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.0040b7d8
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 6
jge 0x503d31
inc dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 8
jge 0x503d2b
inc dword [ebp - 0x3c]
imul eax, dword [0x241f940], 0xaa
mov dword [0x241f860], eax
jmp 0x503d2b
cmp dword [ebp - 0x18], 6
jl 0x503d03
mov eax, dword [ebp - 0x48]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x241f858]
call fcn.00407df4
mov dword [0x241f858], eax
fild dword [ebp - 0x14]
call fcn.00408238
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 4
jge 0x503dc6
inc dword [ebp - 0x30]
mov eax, dword [0x241f910]
mov edx, dword [0x241f950]
call fcn.0040b7a0
jne 0x503d8d
mov eax, dword [ebp - 0x24]
add eax, 0x18
mov dword [ebp - 0x34], eax
jmp 0x503d9d
fild dword [0x241fa4c]
call fcn.00408238
mov dword [0x241f8e8], eax
mov eax, dword [0x241f9dc]
sub eax, dword [0x241f930]
cmp eax, dword [0x241f980]
jne 0x503dc0
fild dword [0x241f8b0]
call fcn.0040822c
mov dword [0x241f8b8], eax
cmp dword [ebp - 0x30], 4
jl 0x503d6d
mov eax, dword [0x241f880]
add eax, 4
mov dword [ebp - 0x58], eax
fild dword [ebp - 0x58]
call fcn.00408238
mov dword [0x241f8a0], eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 4]
push eax
push 0
push 7
push 0
mov eax, dword [ebp - 0x44]
push eax
call dword [0x241f95c]
test eax, eax
je 0x504303
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [0x241fa14]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [0x241f968]
mov eax, dword [0x241f8e0]
call fcn.004f8d44
mov dword [0x241f8e8], eax
xor eax, eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xd
jge 0x503e56
inc dword [ebp - 0x24]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [0x241f870]
mov dword [0x241f8d8], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jne 0x503e3d
cmp dword [ebp - 0x24], 0xd
jl 0x503e35
mov eax, dword [ebp - 0x28]
add eax, 0x1a
mov dword [ebp - 0x30], eax
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], 0xa
jne 0x503e08
mov eax, dword [0x241f9d4]
mov dword [0x241f938], eax
mov eax, dword [0x241f938]
cmp eax, dword [0x241f8d8]
jge 0x503ea9
xor eax, eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xe
jge 0x503ea9
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
add eax, 0xa0
mov dword [ebp - 0x58], eax
fild dword [ebp - 0x58]
call fcn.0040822c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x38], 0xe
jl 0x503e8a
imul eax, dword [0x241f960], 0x5d
mov dword [0x241f8e8], eax
mov eax, dword [0x241f988]
add eax, 0x25
mov dword [ebp - 0x58], eax
fild dword [ebp - 0x58]
call fcn.0040822c
mov dword [0x241fa24], eax
mov eax, dword [0x241f880]
add eax, 0x20
mov dword [0x241f8f0], eax
mov eax, dword [0x241f9b0]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov dword [0x241fa4c], eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 6
push 0
mov eax, dword [ebp - 0x44]
push eax
call dword [0x241f95c]
test eax, eax
je 0x504226
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [0x241f8d8]
mov dword [0x241fa24], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x2c]
jle 0x503f3b
mov eax, dword [0x241f878]
mov dword [0x241f8d8], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x53
mov dword [ebp - 0x24], eax
jmp 0x503fd9
mov ecx, 1
mov edx, dword [0x241f910]
mov eax, 0x23f3a5c
call fcn.0040b9e8
cmp eax, 0x59
je 0x503f81
mov eax, dword [0x241f888]
mov dword [0x241f900], eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [0x241f938]
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x241f9dc]
call fcn.004f8d44
mov dword [0x241f8e0], eax
jmp 0x503fa4
imul eax, dword [ebp - 0x20], 0xe3
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x10]
call fcn.0040ac1c
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 8
jne 0x503f90
mov eax, dword [0x241f9d4]
imul dword [0x241f980]
mov dword [0x241f978], eax
mov eax, dword [0x241f9d4]
sub eax, dword [0x241f8c8]
cmp eax, 0xd1
jge 0x503fd9
mov edx, dword [0x241f8b0]
mov eax, dword [ebp - 0x1c]
call fcn.004fc04c
mov dword [0x241f988], eax
mov eax, dword [0x241f8b0]
add eax, dword [0x241fa14]
cmp eax, dword [0x241fa14]
jne 0x503ff8
call fcn.004fda0c
mov dword [0x241f960], eax
jmp 0x50402b
mov eax, dword [0x241f860]
add eax, 4
mov dword [0x241f870], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x241f8d8
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x18]
mov eax, 0x241f878
call fcn.0050067c
mov dword [0x241fa3c], eax
mov eax, dword [0x241f900]
add eax, 0x40
mov dword [0x241f880], eax
mov eax, dword [0x241f9a8]
add eax, dword [0x241fa34]
mov dword [0x241f970], eax
mov eax, dword [ebp - 0x48]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 0x30]
add eax, 0xe9
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xf
jge 0x5040a9
inc dword [ebp - 0x2c]
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x10]
call fcn.0040ac1c
mov eax, dword [0x241f990]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x504096
mov eax, dword [ebp - 0x50]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x57
jne 0x5040a3
imul eax, dword [ebp - 0x3c], 0x2b
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x2c], 0xf
jl 0x50406f
xor eax, eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xe
jge 0x5040db
inc dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xf
jge 0x5040d5
inc dword [ebp - 0x1c]
mov eax, dword [0x241fa34]
mov dword [0x241f948], eax
cmp dword [ebp - 0x1c], 0xf
jl 0x5040c2
cmp dword [ebp - 0x38], 0xe
jl 0x5040b4
mov eax, dword [0x241f988]
add eax, 0x98
mov dword [0x241f940], eax
mov eax, dword [0x241f900]
add eax, 4
mov dword [0x241f880], eax
mov eax, dword [0x241f948]
add eax, dword [0x241f928]
mov dword [0x241f980], eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
push eax
push 0
push 6
push 0
mov eax, dword [ebp - 0x44]
push eax
call dword [0x241f95c]
test eax, eax
je 0x504226
mov eax, dword [0x241f8e8]
call fcn.00407df4
mov dword [0x241f8e8], eax
mov eax, dword [0x241f8d0]
mov dword [0x241f948], eax
mov eax, dword [ebp - 0x24]
add eax, 0x41
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x14]
call fcn.00408238
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x28]
call fcn.00408238
mov dword [ebp - 0x18], eax
mov eax, dword [0x241f9fc]
mov dword [0x241f948], eax
mov byte [ebp - 9], 1
fild dword [ebp - 0x18]
call fcn.0040822c
mov dword [ebp - 0x30], eax
mov eax, dword [0x241f948]
mov dword [0x241fa04], eax
mov eax, dword [0x241f860]
cmp eax, dword [0x241f9a8]
jle 0x5041a1
mov eax, dword [ebp - 0x24]
sub eax, 0xd3
mov dword [ebp - 0x20], eax
jmp 0x5041e6
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [0x241f890]
add eax, 4
mov dword [0x241f9dc], eax
mov eax, dword [0x241f960]
add eax, dword [0x241f960]
mov dword [0x241f928], eax
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 1
jne 0x5041a6
mov eax, dword [0x241f8d0]
sub eax, dword [0x241f878]
mov dword [0x241f8b0], eax
mov eax, dword [0x241f880]
mov dword [0x241f928], eax
mov eax, dword [ebp - 0x38]
add eax, 0xa5
cmp eax, dword [ebp - 0x30]
jge 0x50420d
mov eax, dword [0x241f858]
mov dword [0x241f8a8], eax
mov eax, dword [0x241f8d0]
sub eax, dword [0x241f890]
mov dword [0x241f9b0], eax
imul eax, dword [0x241f8f0], 0x5a
mov dword [0x241f908], eax
mov eax, dword [0x241f938]
add eax, 0x21
mov dword [0x241fa3c], eax
mov eax, dword [ebp - 0x28]
add eax, 0xdf
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x504248
mov eax, dword [ebp - 0x54]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x21
jle 0x504287
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xf
jge 0x504276
inc dword [ebp - 0x3c]
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x58], eax
fild dword [ebp - 0x58]
call fcn.00408238
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x3c], 0xf
jl 0x504259
mov eax, dword [0x241fa34]
call fcn.00407df4
mov dword [0x241fa34], eax
jmp 0x504292
mov eax, dword [ebp - 0x30]
sub eax, 0xba
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xf
jge 0x5042dd
inc dword [ebp - 0x18]
mov eax, dword [0x241f9cc]
sub eax, 0xbb
mov dword [0x241fa14], eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x34]
call fcn.00503394
mov dword [0x241f900], eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x10]
call fcn.0040ac1c
jmp 0x5042dd
mov eax, dword [0x241f880]
shl eax, 3
lea eax, [eax + eax*8]
mov dword [0x241f880], eax
imul eax, dword [0x241f860], 0x75
mov dword [0x241f9a8], eax
mov eax, dword [0x241f858]
mov dword [0x241fa04], eax
mov eax, dword [0x241f858]
mov dword [0x241f8e0], eax
push 0x241f8e8
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
mov edx, 0x241f960
mov eax, 0x241fa14
call fcn.004f9ab0
mov dword [ebp - 0x34], eax
call fcn.004fc27c
mov eax, dword [0x241f9e4]
call fcn.00407df4
mov dword [0x241f9e4], eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [0x241f930]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [0x241f928]
mov eax, dword [ebp - 0x30]
call fcn.004f8d44
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x44]
push eax
call dword [0x241f91c]
fild dword [ebp - 0x2c]
call fcn.00408238
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
add eax, 4
mov dword [ebp - 0x58], eax
fild dword [ebp - 0x58]
call fcn.00408238
mov dword [ebp - 0x28], eax
mov eax, dword [0x241f8a0]
mov dword [0x241f870], eax
mov eax, dword [0x241f9a8]
mov dword [0x241f898], eax
mov eax, dword [0x241f898]
cmp eax, dword [0x241f870]
jle 0x5043c6
mov eax, dword [0x241f9cc]
sub eax, 0xa6
mov dword [0x241fa14], eax
mov eax, dword [0x241f8a0]
imul dword [0x241f9d4]
mov dword [0x241f958], eax
mov eax, dword [0x241f8e0]
mov dword [0x241f9b0], eax
push 0
mov eax, dword [ebp - 0x40]
push eax
call dword [0x241f914]
mov eax, dword [ebp - 0x1c]
add eax, 0xfa
mov dword [ebp - 0x2c], eax
mov eax, dword [0x241f8a8]
mov dword [0x241f9f4], eax
fild dword [ebp - 0x34]
call fcn.0040822c
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xc
jge 0x504430
inc dword [ebp - 0x14]
mov eax, 0xb1
sub eax, dword [0x241f9e4]
mov dword [0x241f9cc], eax
cmp dword [ebp - 0x14], 0xc
jl 0x504417
mov eax, dword [0x241fa04]
mov edx, eax
shl eax, 6
add eax, edx
mov dword [0x241f988], eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x34]
cmp eax, edx
jge 0x50445b
mov eax, dword [0x241f988]
mov dword [0x241f868], eax
fild dword [ebp - 0x28]
call fcn.0040822c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
imul dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x5044b8
inc dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x50449a
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
add eax, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x34], 1
jl 0x504488
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x10]
call fcn.0040ac1c
mov eax, dword [0x241f930]
sub eax, 0x52
mov dword [0x241f860], eax
cmp dword [ebp - 0x14], 0
jl 0x50447a
fild dword [0x241fa24]
call fcn.00408238
mov dword [0x241f9b0], eax
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x3c]
add edx, dword [ebp - 0x38]
cmp eax, edx
jge 0x50450c
mov ecx, 1
mov edx, dword [0x241fa1c]
mov eax, 0x23f3a84
call fcn.0040b9e8
cmp eax, 0x40
jge 0x50450c
mov eax, dword [0x241f9dc]
add eax, 0xa8
mov dword [ebp - 0x58], eax
fild dword [ebp - 0x58]
call fcn.0040822c
mov dword [0x241f980], eax
mov eax, dword [0x241f868]
call fcn.00407df4
mov dword [0x241f868], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5045f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x23f3a0d
lea eax, [ebp - 0x10]
call fcn.0040a7f4
ret