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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x80], ebx
je 0x410ef9
cmp dword [esi + 0x30], ebx
lea ecx, [esi + 0x30]
fld1
fstp dword [ebp - 4]
je 0x410e02
fld dword [0x6b242c]
jmp 0x410e0d
cmp dword [esi + 0x34], ebx
je 0x410e10
fld dword [0x6b24a8]
fstp dword [ebp - 4]
fld dword [esi + 0x6c]
fsub dword [esi + 0x70]
fstp dword [ebp - 8]
fld dword [esi + 0x70]
fmul dword [0x6b24f8]
fcomp dword [ebp - 8]
fnstsw ax
sahf
jbe 0x410e35
fld dword [ebp - 4]
fmul dword [0x6b24a8]
jmp 0x410e97
fld dword [ebp - 8]
fcomp dword [0x6b23a4]
fnstsw ax
sahf
jae 0x410e4e
fld dword [ebp - 4]
fmul dword [0x6b24f4]
jmp 0x410e97
fld dword [ebp - 8]
fcomp dword [esi + 0x70]
fnstsw ax
sahf
jbe 0x410e64
fld dword [ebp - 4]
fmul dword [0x6b24f0]
jmp 0x410e97
fld dword [esi + 0x70]
fmul dword [0x6b23b4]
fcomp dword [ebp - 8]
fnstsw ax
sahf
jae 0x410e80
fld dword [ebp - 4]
fmul dword [0x6b242c]
jmp 0x410e97
fld dword [ebp - 8]
fcomp dword [0x6b23a4]
fnstsw ax
sahf
jbe 0x410e9a
fld dword [ebp - 4]
fmul dword [0x6b24ec]
fstp dword [ebp - 4]
mov eax, dword [esi + 0xc]
or edi, 0xffffffff
cmp eax, edi
je 0x410eb9
mov edx, dword [esi]
fld dword [ebp - 4]
fmul dword [edx + eax*4 + 0x5d8]
lea eax, [edx + eax*4 + 0x5d8]
fstp dword [eax]
push ecx
mov ecx, dword [esi]
add ecx, 0x560
call fcn.00413e08
mov eax, dword [esi]
cmp dword [eax + 0x578], 5
jbe 0x410ef0
fldz
lea ecx, [ebp - 0x4c]
fstp dword [ebp - 0x44]
fldz
push ecx
lea ecx, [eax + 0x560]
fstp dword [ebp - 0x40]
fldz
fstp dword [ebp - 0x3c]
call fcn.00413e35
mov ecx, dword [esi]
call fcn.00404f74
jmp 0x410efc
or edi, 0xffffffff
cmp dword [esi + 8], edi
je 0x410f3a
cmp dword [esi], ebx
je 0x410f3a
mov dword [ebp - 8], ebx
push dword [ebp - 8]
mov ecx, dword [esi]
call fcn.00405859
cmp eax, ebx
je 0x410f31
cmp dword [eax + 0x7c], ebx
je 0x410f31
mov ecx, dword [eax + 0x78]
cmp ecx, dword [esi + 8]
jne 0x410f26
mov dword [eax + 0x78], edi
mov ecx, dword [eax + 0x74]
cmp ecx, dword [esi + 8]
jne 0x410f31
mov dword [eax + 0x74], edi
inc dword [ebp - 8]
cmp dword [ebp - 8], 8
jb 0x410f08
mov dword [esi], ebx
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov eax, 0xffff
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x7c], ebx
push 0x20
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
lea eax, [esi + 0x250]
pop edx
mov dword [eax + 0xc], edi
mov dword [eax + 8], edi
mov dword [eax + 4], ebx
mov ecx, dword [eax]
cmp ecx, ebx
je 0x410f8c
mov dword [ecx + 0x75c], edi
mov dword [eax], ebx
mov dword [eax + 0x10], ebx
add eax, 0x14
dec edx
jne 0x410f77
lea edx, [esi + 0x44]
push 0xa
pop ecx
xor eax, eax
mov edi, edx
push 0x28
fldz
rep stosd dword es:[edi], eax
fstp dword [esi + 0x6c]
fldz
fstp dword [esi + 0x70]
fldz
mov dword [esi + 0x34], ebx
push ebx
fstp dword [esi + 0x38]
fldz
push edx
fstp dword [esi + 0x3c]
fldz
fstp dword [esi + 0x40]
mov dword [esi + 0x30], ebx
call fcn.006a10b0
fldz
or dword [esi + 0x74], 0xffffffff
add esp, 0xc
fstp dword [esi + 0x1ac]
fldz
or dword [esi + 0x78], 0xffffffff
mov dword [esi + 0x20c], ebx
fstp dword [esi + 0x1b0]
fldz
mov dword [esi + 0x90], ebx
mov dword [esi + 0x28], ebx
fstp dword [esi + 0x1b4]
fldz
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
fstp dword [esi + 0x1b8]
fldz
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
fstp dword [esi + 0x1bc]
fldz
mov dword [esi + 0x9c], ebx
fstp dword [esi + 0x1c0]
fldz
fstp dword [esi + 0x1c4]
fldz
fstp dword [esi + 0x1c8]
fldz
fstp dword [esi + 0x1cc]
fldz
fstp dword [esi + 0x1d0]
fldz
fstp dword [esi + 0x1d4]
fldz
fstp dword [esi + 0x1d8]
fldz
fstp dword [esi + 0x1dc]
fldz
fstp dword [esi + 0x1e0]
fldz
fstp dword [esi + 0x1e4]
fldz
fstp dword [esi + 0x1e8]
fldz
fstp dword [esi + 0x1ec]
fldz
fstp dword [esi + 0x1f0]
fldz
fstp dword [esi + 0x1f4]
fldz
fstp dword [esi + 0x1f8]
fldz
fstp dword [esi + 0x1fc]
fldz
fstp dword [esi + 0x200]
fldz
fstp dword [esi + 0x204]
fldz
fstp dword [esi + 0x208]
push 9
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
lea eax, [esi + 0xb0]
pop ecx
fldz
fstp dword [eax - 8]
fldz
fstp dword [eax - 4]
fldz
fstp dword [eax]
add eax, 0xc
dec ecx
jne 0x4110d8
lea ecx, [esi + 0x114]
call fcn.00596bbd
lea ecx, [esi + 0x13c]
call fcn.00596bbd
lea eax, [esi + 0x18c]
push 5
fldz
push 0x20
lea ecx, [esi + 0x164]
fstp dword [eax]
fldz
fstp dword [eax + 4]
fldz
fstp dword [eax + 8]
lea eax, [esi + 0x198]
fldz
fstp dword [eax]
fldz
fstp dword [eax + 4]
fldz
fstp dword [eax + 8]
call fcn.00527fa6
mov dword [esi + 0x1a4], ebx
mov dword [esi + 0x1a8], ebx
mov dword [esi + 0x210], ebx
mov dword [esi + 0x214], ebx
mov dword [esi + 0x218], ebx
mov dword [esi + 0x21c], ebx
mov dword [esi + 0x220], ebx
mov dword [esi + 0x224], ebx
mov dword [esi + 0x228], ebx
mov dword [esi + 0x22c], ebx
mov dword [esi + 0x230], ebx
mov dword [esi + 0x234], ebx
mov dword [esi + 0x238], ebx
mov dword [esi + 0x23c], ebx
mov dword [esi + 0x240], ebx
mov dword [esi + 0x244], ebx
mov dword [esi + 0x248], ebx
mov dword [esi + 0x24c], ebx
pop edi
pop esi
pop ebx
leave
ret