Function at 0x40317f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x4dd3c0
sub esp, 0x74
mov ecx, dword [0x563a20]
push ebx
push ebp
push esi
push edi
xor esi, esi
xor edi, edi
inc ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], esi
mov dword [0x563a20], ecx
call fcn.0050f2e2
cdq
mov ecx, 0x1e
idiv ecx
mov ecx, dword [0x5552b0]
mov eax, 0x549d74
add edx, 0xa
mov dword [esp + 0x58], edx
lea edx, [ecx + 0x708]
cmp dword [edx], 1
jne 0x4dd433
add edi, dword [eax]
add eax, 4
add edx, 0x784
cmp eax, 0x549d94
jl 0x4dd42c
mov edx, dword [0x549da0]
lea ebx, [edx + 1]
cmp ebx, esi
mov dword [esp + 0x3c], ebx
jle 0x4dd45f
mov eax, edi
cdq
idiv ebx
mov dword [esp + 0x48], eax
jmp 0x4dd463
mov dword [esp + 0x48], edi
mov edx, dword [esp + 0x88]
mov ebx, dword [ecx + 0x5d0]
lea eax, [edx + edx*2]
shl eax, 3
sub eax, edx
lea eax, [eax + eax*2]
shl eax, 2
add ebx, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], ebx
mov eax, dword [ebx + 0x24]
push eax
call fcn.004027e8
lea ecx, [eax + eax*8]
lea edx, [eax + ecx*4]
mov eax, dword [0x5552b0]
mov ecx, dword [eax + 0x5d4]
mov eax, dword [ecx + edx*4 + 4]
push eax
lea edi, [ecx + edx*4]
mov dword [esp + 0x1c], edi
call fcn.004037b0
mov ecx, dword [0x5552b0]
add esp, 4
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], esi
jmp 0x4dd4ce
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x18]
mov dword [ecx + 0x5a04], esi
mov esi, dword [0x5552b0]
mov eax, dword [esi + 0x5a04]
push eax
lea ecx, [eax + eax*2]
lea edx, [ecx + ecx*4]
shl edx, 5
add edx, eax
lea esi, [esi + edx*4 + 0x698]
mov dword [esp + 0x30], esi
call fcn.00401e10
mov ecx, dword [0x5552b0]
mov dword [esp + 0x34], eax
mov eax, dword [0x549d64]
add esp, 4
mov ebp, dword [ecx + 0x5a04]
cmp eax, ebp
je 0x4ddf89
cmp dword [esi + 0x70], 1
jne 0x4ddf89
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4ddf89
mov eax, dword [esp + 0x3c]
test eax, eax
mov eax, dword [esi + 0x388]
jle 0x4dd544
cdq
idiv dword [esp + 0x3c]
mov ebp, dword [ebp*4 + 0x549d74]
mov dword [esp + 0x34], eax
lea edx, [ebp + ebp*4]
shl edx, 1
mov dword [esp + 0x40], edx
fild dword [esp + 0x40]
fstp dword [esp + 0x40]
fild dword [ecx + 0x5a20]
lea ecx, [esp + 0x14]
fstp dword [esp + 0x28]
fld dword [esp + 0x40]
fdiv dword [esp + 0x28]
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
push eax
push ecx
call fcn.00401889
mov eax, dword [esp + 0x1c]
add esp, 8
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x5c]
shl edx, 1
cmp edx, eax
jge 0x4dd60f
mov eax, dword [esi + 0x39c]
push eax
call fcn.004020f9
mov ebp, eax
push 0x549b78
push ebp
call fcn.00402fea
add esp, 0xc
test eax, eax
jne 0x4dd60f
mov ebx, dword [ebx + 0x24]
push ebp
push ebx
call fcn.00402fea
add esp, 8
test eax, eax
jne 0x4dd60f
mov eax, dword [esi + 0x5c]
lea edx, [esp + 0x14]
imul eax, dword [esp + 0x34]
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fdiv dword [0x5296cc]
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
push ecx
push edx
call fcn.00401889
mov eax, dword [0x5552ac]
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp eax, ecx
jg 0x4ddf83
mov eax, dword [edi + 4]
push eax
call fcn.00403bb1
mov dword [esp + 0x44], eax
mov eax, dword [edi + 4]
mov edi, dword [0x5552b0]
add esp, 4
lea ecx, [eax + eax*8]
xor ebp, ebp
mov dword [esp + 0x20], ebp
lea edx, [eax + ecx*4]
mov eax, dword [edi + 0x5d4]
mov ecx, dword [eax + edx*4 + 0x28]
lea edx, [eax + edx*4]
inc ecx
mov eax, dword [edx + 0x24]
cmp eax, ecx
jge 0x4dd681
mov ebx, dword [edi + 0x5d0]
lea esi, [eax + eax*2]
shl esi, 3
sub esi, eax
sub ecx, eax
mov eax, 1
lea esi, [esi + esi*2]
lea esi, [ebx + esi*4 + 0x48]
cmp dword [esi - 4], eax
jne 0x4dd678
mov ebx, dword [esi]
cmp ebx, dword [edi + 0x5a04]
jne 0x4dd678
inc dword [esp + 0x20]
add esi, 0x114
dec ecx
jne 0x4dd665
mov ecx, dword [edx + 0x24]
mov edx, dword [edx + 0x28]
xor esi, esi
inc edx
cmp ecx, edx
mov dword [esp + 0x28], esi
jge 0x4dd6cf
mov ebx, dword [edi + 0x5d0]
lea eax, [ecx + ecx*2]
shl eax, 3
sub eax, ecx
sub edx, ecx
lea eax, [eax + eax*2]
lea eax, [ebx + eax*4 + 0x48]
mov ebx, 1
cmp dword [eax - 4], ebx
jne 0x4dd6c3
mov ecx, dword [eax]
cmp ecx, dword [edi + 0x5a04]
je 0x4dd6c3
cmp ecx, 0xffffffff
je 0x4dd6c3
inc esi
add eax, 0x114
dec edx
jne 0x4dd6ae
mov dword [esp + 0x28], esi
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov edi, dword [ecx + 0xc]
sub edi, ebx
sub edi, esi
mov esi, dword [esp + 0x88]
push esi
call fcn.00401f0f
push esi
mov dword [esp + 0x64], eax
call fcn.004038fa
push esi
mov dword [esp + 0x44], eax
call fcn.004030e9
mov edx, dword [0x5552b0]
mov eax, dword [esp + 0x5c]
add esp, 0xc
mov esi, dword [edx + 0x5d0]
add esi, eax
xor ebx, ebx
lea eax, [esi + 0x2c]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x28], ebx
push 0x549b78
mov eax, dword [ecx]
push eax
call fcn.00402fea
add esp, 8
test eax, eax
jne 0x4dd76d
mov edx, dword [esi + 0x28]
mov ecx, dword [0x5552b0]
mov eax, dword [esi + edx*4 + 0x2c]
push eax
call fcn.0040209f
lea ecx, [eax + eax*2]
shl ecx, 3
sub ecx, eax
lea eax, [ecx + ecx*2]
mov ecx, dword [0x5552b0]
mov edx, dword [ecx + 0x5d0]
lea eax, [edx + eax*4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x24]
inc ebx
add ecx, 4
cmp ebx, 6
mov dword [esp + 0x24], ecx
jl 0x4dd721
mov ecx, dword [0x5552b0]
mov esi, dword [esp + 0x88]
mov edx, dword [ecx + 0x5a04]
push edx
push esi
call fcn.00402702
mov ecx, dword [0x5552b0]
mov dword [esp + 0x68], eax
mov eax, dword [0x549d64]
add esp, 8
cmp eax, dword [ecx + 0x5a04]
je 0x4dd7c0
push eax
push esi
call fcn.00402702
add esp, 8
mov ebx, eax
jmp 0x4dd7c2
xor ebx, ebx
lea eax, [edi + edi*4]
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
lea edx, [eax + eax*4]
shl edx, 2
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
fstp dword [esp + 0x24]
fild dword [esi + 0xc]
fstp dword [esp + 0x10]
fld dword [esp + 0x24]
fdiv dword [esp + 0x10]
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
push eax
push ecx
call fcn.00401889
mov eax, dword [esp + 0x1c]
add esp, 8
cmp eax, 0x1a
mov dword [esp + 0x24], eax
jge 0x4dd9d1
mov esi, dword [esp + 0x40]
lea eax, [esi + esi*4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x18]
shl edx, 2
mov dword [esp + 0x40], edx
lea edx, [esp + 0x14]
fild dword [esp + 0x40]
fstp dword [esp + 0x40]
fild dword [eax + 0xc]
fstp dword [esp + 0x30]
fld dword [esp + 0x40]
fdiv dword [esp + 0x30]
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
push ecx
push edx
call fcn.00401889
mov edi, dword [esp + 0x1c]
add esp, 8
cmp edi, 0x28
jl 0x4dd964
mov edx, dword [0x5552b0]
mov eax, dword [0x549d64]
cmp eax, dword [edx + 0x5a2c]
jne 0x4dd964
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*4]
shl ecx, 5
add ecx, eax
lea ecx, [edx + ecx*4 + 0x698]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0xc]
sub eax, esi
cmp eax, 3
jge 0x4dd958
mov edx, 1
cmp eax, edx
mov eax, dword [ecx + 0x10]
jne 0x4dd8ea
cmp eax, edx
jne 0x4dd8ba
mov eax, dword [esp + 0x18]
mov ebp, dword [eax + 8]
imul ebp, edi
jmp 0x4dd958
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x14]
imul edx, edi
mov dword [esp + 0x40], edx
fild dword [esp + 0x40]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fdiv dword [0x52904c]
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
push eax
push ecx
jmp 0x4dd94c
cmp eax, edx
jne 0x4dd91e
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 8]
lea edx, [esp + 0x14]
imul eax, edi
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fdiv dword [0x52904c]
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
push ecx
push edx
jmp 0x4dd94c
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
lea eax, [esp + 0x14]
imul ecx, edi
mov dword [esp + 0x40], ecx
fild dword [esp + 0x40]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fdiv dword [0x529044]
fstp dword [esp + 0x10]
mov edx, dword [esp + 0x10]
push edx
push eax
call fcn.00401889
mov ebp, dword [esp + 0x1c]
add esp, 8
cmp ebx, 2
jle 0x4dd964
lea ecx, [ebx + ebx*4]
lea ebp, [ebp + ecx*4]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
lea eax, [ebx + ebx*4]
lea edx, [eax + eax*4]
shl edx, 2
mov dword [esp + 0x40], edx
fild dword [esp + 0x40]
fstp dword [esp + 0x40]
fild dword [esi + 0xc]
fstp dword [esp + 0x30]
fld dword [esp + 0x40]
fdiv dword [esp + 0x30]
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
push eax
push ecx
call fcn.00401889
mov eax, dword [esp + 0x1c]
add esp, 8
cmp eax, 0x32
jl 0x4dda4d
cmp dword [esi + 8], 5
jge 0x4dd9c4
lea edx, [eax + ebp]
lea ebp, [edx + eax*2]
jmp 0x4ddca8
mov esi, dword [esp + 0x18]
lea ebp, [ebp + eax*2]
jmp 0x4ddca8
cmp eax, 0x4a
jle 0x4ddc2f
cmp eax, 0x64
jne 0x4dda56
mov ecx, dword [esi + 0xc]
cmp ecx, 7
jge 0x4ddca4
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x30]
cmp edx, eax
jne 0x4dda09
mov eax, 0xc
sub eax, ecx
lea ebp, [eax + eax*4]
lea ebp, [ebp + ebp*4]
jmp 0x4ddca4
mov edx, dword [0x5552b0]
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [edx + 0x5a04]
mov esi, dword [ecx + 0x388]
push eax
call fcn.00401e51
mov edx, dword [0x549d64]
add esp, 8
add eax, edx
cmp esi, eax
jle 0x4dda49
mov ecx, dword [esp + 0x18]
mov ebp, 0xb4
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
sub ebp, edx
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
jmp 0x4ddca8
mov eax, dword [esi + 0xc]
cmp eax, 6
mov dword [esp + 0x10], eax
jge 0x4ddb9d
mov ebx, dword [esp + 0x20]
test ebx, ebx
jle 0x4ddca8
add edi, ebx
lea ecx, [edi + edi*4]
lea ecx, [ecx + ecx*4]
shl ecx, 2
sub eax, ecx
mov dword [esp + 0x40], eax
lea eax, [esp + 0x14]
fild dword [esp + 0x40]
fstp dword [esp + 0x40]
fild dword [esp + 0x10]
fstp dword [esp + 0x20]
fld dword [esp + 0x40]
fdiv dword [esp + 0x20]
fstp dword [esp + 0x10]
mov edx, dword [esp + 0x10]
push edx
push eax
call fcn.00401889
mov eax, dword [esi + 0xc]
add esp, 8
cmp edi, eax
jne 0x4ddb23
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
jne 0x4ddad9
mov ecx, dword [esp + 0x24]
mov ebp, 0x6e
sub ebp, ecx
lea ebp, [ebp + ebp*4]
shl ebp, 1
jmp 0x4ddca8
mov edx, dword [0x5552b0]
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [edx + 0x5a04]
mov esi, dword [ecx + 0x388]
push eax
call fcn.00401e51
mov edx, dword [0x549d64]
add esp, 8
add eax, edx
cmp esi, eax
jle 0x4dda4d
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
mov ebp, 0x67
sub ebp, ecx
lea ebp, [ebp + ebp*4]
shl ebp, 1
jmp 0x4ddca8
cmp dword [esp + 0x14], 0x19
jge 0x4ddca8
cmp ebx, dword [esp + 0x28]
jl 0x4ddca8
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
jne 0x4ddb57
mov eax, dword [esp + 0x24]
mov ebp, 0x64
sub ebp, eax
lea ebp, [ebp + ebp*4]
jmp 0x4ddca8
mov edx, dword [0x5552b0]
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [edx + 0x5a04]
mov esi, dword [ecx + 0x388]
push eax
call fcn.00401e51
mov edx, dword [0x549d64]
add esp, 8
add eax, edx
cmp esi, eax
jle 0x4dda4d
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
mov ebp, 0x64
sub ebp, ecx
shl ebp, 1
jmp 0x4ddca8
jne 0x4ddca4
mov ebx, dword [esp + 0x20]
test ebx, ebx
jle 0x4ddca8
add edi, ebx
mov edx, 6
lea eax, [edi + edi*4]
lea ecx, [eax + eax*4]
shl ecx, 2
sub edx, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], edx
fild dword [esp + 0x40]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fdiv dword [0x529074]
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
push eax
push ecx
call fcn.00401889
mov eax, dword [esi + 0xc]
add esp, 8
cmp edi, eax
jne 0x4ddc09
mov eax, dword [esp + 0x24]
mov ebp, 0x26c
lea edx, [eax + eax*2]
shl edx, 1
sub ebp, edx
jmp 0x4ddca8
cmp dword [esp + 0x14], 0x19
jge 0x4ddca8
cmp ebx, dword [esp + 0x28]
jl 0x4ddca8
mov eax, dword [esp + 0x24]
mov ebp, 0x64
sub ebp, eax
lea ebp, [ebp + ebp*2]
jmp 0x4ddca8
mov eax, dword [esi + 0xc]
cmp eax, 6
mov dword [esp + 0x10], eax
jge 0x4ddca4
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jg 0x4ddc4d
cmp eax, dword [esp + 0x28]
jne 0x4ddca4
mov ecx, dword [0x5552b0]
mov edx, dword [0x549d64]
cmp edx, dword [ecx + 0x5a2c]
jne 0x4ddca4
lea eax, [eax + eax*4]
lea edx, [esp + 0x14]
lea eax, [eax + eax*4]
shl eax, 2
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
fstp dword [esp + 0x40]
fild dword [esp + 0x10]
fstp dword [esp + 0x30]
fld dword [esp + 0x40]
fdiv dword [esp + 0x30]
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
push ecx
push edx
call fcn.00401889
mov ebp, dword [esp + 0x1c]
add esp, 8
lea ebp, [ebp + ebp*2]
mov ebx, dword [esp + 0x20]
call fcn.0050f2e2
cdq
mov ecx, 0xc8
idiv ecx
cmp edx, ebp
jge 0x4ddccd
mov edx, dword [0x5552b0]
mov eax, dword [edx + 0x5a04]
lea eax, [esp + eax*4 + 0x64]
mov dword [eax], ebp
jmp 0x4ddce3
mov ecx, dword [0x5552b0]
mov edx, dword [ecx + 0x5a04]
lea eax, [esp + edx*4 + 0x64]
mov dword [eax], 0
mov edx, dword [0x5552ac]
mov ecx, dword [esp + 0x58]
cmp edx, ecx
jge 0x4ddd0b
cmp dword [0x549d5c], 2
jne 0x4ddd04
sub ecx, edx
inc ecx
lea ecx, [ecx + ecx*4]
shl ecx, 1
jmp 0x4ddd09
sub ecx, edx
add ecx, 0xa
add dword [eax], ecx
mov edi, dword [esp + 0x44]
cmp dword [edi + 8], 1
jne 0x4ddd81
lea eax, [ebx + ebx*4]
lea ecx, [esp + 0x14]
lea edx, [eax + eax*4]
shl edx, 2
mov dword [esp + 0x40], edx
fild dword [esp + 0x40]
fstp dword [esp + 0x40]
fild dword [esi + 0xc]
fstp dword [esp + 0x30]
fld dword [esp + 0x40]
fdiv dword [esp + 0x30]
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
push eax
push ecx
call fcn.00401889
mov eax, dword [esp + 0x1c]
add esp, 8
cmp eax, 0x31
jg 0x4ddd5f
cmp dword [esp + 0x24], 0x64
jne 0x4ddd81
mov edx, dword [0x5552b0]
mov ecx, dword [edi + 0x64]
mov eax, dword [edx + 0x5a04]
mov edx, dword [esi + 8]
lea ecx, [ecx + ecx*4]
shl ecx, 1
lea eax, [esp + eax*4 + 0x64]
sub ecx, edx
add ecx, 0xc
add dword [eax], ecx
test ebx, ebx
jle 0x4dddb6
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4dddb6
mov edx, dword [0x5552b0]
mov eax, dword [edi + 0xd0]
push eax
mov ecx, dword [edx + 0x5a04]
lea esi, [esp + ecx*4 + 0x68]
call fcn.00401bd1
mov ecx, dword [esi]
add esp, 4
add ecx, eax
mov dword [esi], ecx
mov esi, dword [esp + 0x18]
cmp dword [edi + 8], 1
jne 0x4dde1b
mov eax, dword [esi + 0x50]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv dword [esi + 0xc]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x14]
fild dword [esp + 0x40]
fstp dword [esp + 0x10]
mov edx, dword [esp + 0x10]
push edx
push eax
call fcn.00401889
mov eax, dword [esp + 0x1c]
add esp, 8
cmp eax, 0x31
jg 0x4dddfa
cmp dword [esp + 0x24], 0x64
jne 0x4dde1b
mov ecx, dword [0x5552b0]
mov ebp, dword [esi + 8]
mov eax, 0xc
mov edx, dword [ecx + 0x5a04]
sub eax, ebp
lea ecx, [esp + edx*4 + 0x64]
lea eax, [eax + eax*4]
shl eax, 1
add dword [ecx], eax
test ebx, ebx
jle 0x4dde4c
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4dde4c
mov ecx, dword [0x5552b0]
mov eax, dword [edi + 0xd0]
push eax
mov edx, dword [ecx + 0x5a04]
lea esi, [esp + edx*4 + 0x68]
call fcn.00401bd1
mov ecx, dword [esi]
add esp, 4
add ecx, eax
mov dword [esi], ecx
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov eax, dword [edi + 0x5c]
cmp ecx, eax
jle 0x4ddea0
mov ecx, dword [0x5552b0]
mov esi, dword [ecx + 0x5a04]
mov ecx, dword [0x549d64]
cmp ecx, esi
je 0x4ddea0
mov ecx, 0x64
sub ecx, eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
lea edx, [edx + eax + 0x14]
mov eax, dword [0x5552ac]
cmp eax, edx
jge 0x4ddea0
mov edx, dword [esp + esi*4 + 0x64]
lea eax, [esp + esi*4 + 0x64]
lea ecx, [ecx + ecx*2]
add edx, ecx
mov dword [eax], edx
mov edx, dword [0x5552b0]
mov ecx, dword [esp + 0x60]
mov eax, dword [edx + 0x5a04]
mov edx, dword [esp + 0x5c]
add ecx, edx
mov esi, dword [esp + eax*4 + 0x64]
lea eax, [esp + eax*4 + 0x64]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx*4 - 0x14]
add esi, ecx
test edx, edx
mov dword [eax], esi
jle 0x4ddee4
mov ecx, dword [esp + 0x38]
lea ecx, [ecx + ecx*4]
lea edx, [ecx + ecx*4]
mov ecx, dword [edi + 0x54]
lea edx, [ecx + edx*2]
add edx, esi
mov dword [eax], edx
mov esi, dword [edi + 0x58]
call fcn.0050f2e2
cdq
mov ecx, 0x64
idiv ecx
mov ecx, dword [0x5552b0]
cmp edx, esi
jge 0x4ddf13
mov edx, dword [ecx + 0x5a04]
mov esi, dword [esp + edx*4 + 0x64]
lea eax, [esp + edx*4 + 0x64]
mov edx, dword [edi + 0x58]
sub esi, edx
mov dword [eax], esi
mov edx, dword [0x5552ac]
mov esi, dword [esp + 0x48]
cmp edx, esi
jle 0x4ddf53
mov ebp, dword [edi + 0x5c]
mov eax, esi
sub eax, ebp
add eax, 0x64
cmp edx, eax
jle 0x4ddf3f
mov edx, dword [ecx + 0x5a04]
mov dword [esp + edx*4 + 0x64], 0
jmp 0x4ddf53
mov eax, dword [ecx + 0x5a04]
sub esi, edx
mov edx, dword [esp + eax*4 + 0x64]
lea eax, [esp + eax*4 + 0x64]
add edx, esi
mov dword [eax], edx
mov ecx, dword [ecx + 0x5a04]
mov eax, dword [esp + ecx*4 + 0x64]
push eax
push 0
push eax
call fcn.00403a30
mov ecx, dword [0x5552b0]
add esp, 0xc
test eax, eax
mov edx, dword [ecx + 0x5a04]
mov dword [esp + edx*4 + 0x64], eax
jle 0x4ddf89
add dword [esp + 0x1c], eax
jmp 0x4ddf89
mov ecx, dword [0x5552b0]
mov esi, dword [esp + 0x4c]
inc esi
cmp esi, 8
mov dword [esp + 0x4c], esi
jl 0x4dd4c6
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
push eax
call fcn.004027e8
cmp eax, 5
ja case.default.0x4ddfb0
jmp dword [eax*4 + 0x4de214]
mov ecx, dword [0x5552b0]
mov eax, dword [ecx + 0x58bc]
lea edx, [eax + eax*4]
shl edx, 3
mov dword [esp + 0x60], edx
fild dword [esp + 0x60]
fstp dword [esp + 0x5c]
fild dword [esp + 0x1c]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fmul dword [0x5296b8]
fadd dword [esp + 0x5c]
jmp 0x4de125
mov edx, dword [0x5552b0]
mov eax, dword [edx + 0x58bc]
lea eax, [eax + eax*4]
shl eax, 3
mov dword [esp + 0x60], eax
fild dword [esp + 0x60]
fstp dword [esp + 0x5c]
fild dword [esp + 0x1c]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fmul dword [0x529890]
fadd dword [esp + 0x5c]
jmp 0x4de09b
mov eax, dword [0x5552b0]
mov eax, dword [eax + 0x58bc]
lea ecx, [eax + eax*4]
shl ecx, 3
mov dword [esp + 0x60], ecx
fild dword [esp + 0x60]
fstp dword [esp + 0x5c]
fild dword [esp + 0x1c]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fmul dword [0x52988c]
fadd dword [esp + 0x5c]
call fcn.0050ef70
mov dword [esp + 0x1c], eax
jmp case.default.0x4ddfb0
mov edx, dword [0x5552b0]
mov eax, dword [edx + 0x58bc]
lea eax, [eax + eax*4]
shl eax, 3
mov dword [esp + 0x60], eax
fild dword [esp + 0x60]
fstp dword [esp + 0x5c]
fild dword [esp + 0x1c]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fmul dword [0x5296b8]
fadd dword [esp + 0x5c]
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
jmp 0x4de133
mov eax, dword [0x5552b0]
mov eax, dword [eax + 0x58bc]
lea ecx, [eax + eax*4]
lea eax, [esp + 0x1c]
shl ecx, 3
mov dword [esp + 0x60], ecx
fild dword [esp + 0x60]
fstp dword [esp + 0x5c]
fild dword [esp + 0x1c]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fmul dword [0x529888]
fadd dword [esp + 0x5c]
fstp dword [esp + 0x10]
mov edx, dword [esp + 0x10]
push edx
push eax
jmp 0x4de133
mov ecx, dword [0x5552b0]
mov eax, dword [ecx + 0x58bc]
lea edx, [eax + eax*4]
shl edx, 3
mov dword [esp + 0x60], edx
fild dword [esp + 0x60]
fstp dword [esp + 0x5c]
fild dword [esp + 0x1c]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fmul dword [0x529890]
fadd dword [esp + 0x5c]
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00401889
add esp, 8
call fcn.0050f2e2
cdq
idiv dword [esp + 0x1c]
mov eax, dword [0x5552b0]
mov ebx, 7
mov ebp, 1
lea esi, [eax + 0x5a04]
mov dword [esi], ebx
mov edi, dword [0x5552b0]
mov eax, dword [edi + 0x5a04]
lea esi, [edi + 0x5a04]
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*4]
shl ecx, 5
add ecx, eax
cmp dword [edi + ecx*4 + 0x708], ebp
lea ecx, [edi + ecx*4 + 0x698]
jne 0x4de1ba
cmp dword [ecx + 0x10], 0
jne 0x4de1ba
cmp dword [0x549d64], eax
je 0x4de1ba
sub edx, dword [esp + eax*4 + 0x64]
jns 0x4de1ba
mov ecx, dword [esp + 0x38]
mov eax, dword [eax*4 + 0x549d74]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*2]
mov eax, dword [0x5552ac]
add eax, 5
cmp ecx, eax
jge 0x4de1c7
dec ebx
jns 0x4de15a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x74
ret
mov dword [edi + 0x5a10], 5
mov ecx, dword [0x5552b0]
mov edx, dword [ecx + 0x5a04]
cmp dword [esp + edx*4 + 0x64], 0x1f4
jle 0x4de209
call fcn.0050f2e2
and eax, 0x8000000f
jns 0x4de1f8
dec eax
or eax, 0xfffffff0
inc eax
jne 0x4de209
mov eax, dword [0x5552b0]
mov dword [eax + 0x5a10], 0xa
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x74
ret