Function at 0x41cb40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c6686
mov eax, dword fs:[0]
push eax
sub esp, 0x108
push ebx
push esi
push edi
mov eax, dword [0x521da0]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
xor esi, esi
or eax, 0xffffffff
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0x120], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
lea eax, [esp + 0xc4]
push eax
mov byte [esp + 0x124], 1
mov dword [esp + 0x5c], vtable.AnimationDataFrame.0
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], esi
mov dword [esp + 0xe0], esi
call dword [0x4ce574]
cmp dword [edi + 0x104], esi
mov dword [esp + 0x18], esi
jle 0x41d0fd
lea ebx, [edi + 0xbc]
jmp 0x41cc79
mov edi, edx
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, edi
call fcn.00418710
test eax, eax
je 0x41cddd
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xe4]
push eax
mov ecx, ebx
call fcn.00419600
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x90], ecx
test edi, edi
je 0x41ccc2
cmp edi, eax
je 0x41ccc7
call fcn.00496353
cmp esi, dword [esp + 0x90]
je 0x41d0c8
test edi, edi
jne 0x41cd6f
call fcn.00496353
cmp esi, dword [edi + 0x18]
jne 0x41cceb
call fcn.00496353
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov edi, dword [esi + 0x10]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x28], edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
cmp edi, 0xffffffff
je 0x41cd76
cmp edi, 0xfffffb2e
je 0x41cd76
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x11c]
sub ecx, dword [esi + 0x118]
sar ecx, 2
cmp edi, ecx
jb 0x41cd53
call fcn.00496353
mov edx, dword [esi + 0x118]
mov ecx, dword [edx + edi*4]
mov eax, 1
cmp dword [ecx + 0xd4], eax
jne 0x41cd7a
mov dword [esp + 0x24], eax
jmp 0x41cd7a
mov edi, dword [edi]
jmp 0x41cce1
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
call fcn.004180c0
mov ebx, dword [ebx + 0x18]
mov eax, dword [ebx + 4]
cmp byte [eax + 0x41], 0
mov dword [esp + 0x14], ebx
jne 0x41cdad
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0xc]
jge 0x41cda4
mov dword [esp + 0x14], eax
mov eax, dword [eax]
jmp 0x41cda7
mov eax, dword [eax + 8]
cmp byte [eax + 0x41], 0
je 0x41cd93
mov edi, dword [esp + 0x1c]
mov eax, dword [esi + 0xbc]
lea ebx, [esi + 0xbc]
test edi, edi
je 0x41cdc5
cmp edi, eax
je 0x41cdca
call fcn.00496353
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x14]
jne 0x41ccd4
jmp 0x41d0c8
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xec]
push ecx
mov ecx, ebx
call fcn.00419600
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x88], edx
test edi, edi
je 0x41ce12
cmp edi, eax
je 0x41ce17
call fcn.00496353
cmp esi, dword [esp + 0x88]
je 0x41d0c8
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [ebx]
test edi, edi
je 0x41ce38
cmp edi, eax
je 0x41ce3d
call fcn.00496353
cmp esi, dword [esp + 0x80]
je 0x41d0c8
test edi, edi
jne 0x41cf90
call fcn.00496353
cmp esi, dword [edi + 0x18]
jne 0x41ce61
call fcn.00496353
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov edi, dword [esi + 0x10]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x34], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0x30]
mov dword [esp + 0x28], edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
cmp edi, 0xffffffff
je 0x41d063
cmp edi, 0xfffffb2e
je 0x41d063
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x11c]
sub eax, dword [ebx + 0x118]
sar eax, 2
cmp edi, eax
jb 0x41ced1
call fcn.00496353
mov ecx, dword [ebx + 0x118]
mov esi, dword [ecx + edi*4]
mov eax, 1
cmp dword [esi + 0xd4], eax
jne 0x41d067
lea edx, [ebx + 0x164]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x10]
push edx
push eax
lea ecx, [esp + 0xf8]
push ecx
lea ecx, [esi + 0xd8]
call fcn.0045c1a0
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [edx]
lea ecx, [esp + 0x5c]
call eax
cmp dword [esp + 0x5c], 0xa
jne 0x41cf49
mov ecx, dword [esi + 0x128]
cmp ecx, dword [esp + 0x60]
jne 0x41cf49
mov edx, dword [esi + 0x14c]
cmp edx, dword [esp + 0x68]
jne 0x41cf49
mov eax, dword [esi + 0x148]
cmp eax, dword [esp + 0x64]
je 0x41d067
cmp dword [esi + 0x138], 0
je 0x41cfb2
cmp dword [esi + 0x15c], 0xffffffff
lea eax, [esi + 0x15c]
mov dword [esi + 0x138], 0
je 0x41cf97
push eax
lea ecx, [esi + 0x164]
call fcn.00412930
mov ecx, dword [esi + 0x28c]
push 0
add ecx, 0x18
mov edi, eax
call dword [0x4ce6a0]
mov ecx, dword [edi]
mov dword [eax], ecx
jmp 0x41cfb2
mov edi, dword [edi]
jmp 0x41ce57
mov ecx, dword [esi + 0x28c]
push 0
add ecx, 0x68
call dword [0x4ce6cc]
fldz
mov edx, dword [eax]
fstp dword [edx + 0x17c]
cmp dword [esp + 0x60], 0xffffffff
je 0x41d067
mov ecx, dword [esi + 0x160]
push 0
add ecx, 0x18
call dword [0x4ce6a0]
mov ebx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea ecx, [esi + 0x164]
call fcn.00412930
mov ecx, dword [esi + 0x160]
mov edi, dword [eax]
push 0
add ecx, 0x18
call dword [0x4ce6a0]
mov dword [eax], edi
fld dword [ebx + 0x44]
fld dword [edi + 0x44]
fucompp
fnstsw ax
test ah, 0x44
jp 0x41d023
fld dword [ebx + 0x40]
fld dword [edi + 0x40]
fucompp
fnstsw ax
test ah, 0x44
jp 0x41d023
mov ecx, dword [ebx + 0x24]
cmp ecx, dword [edi + 0x24]
jne 0x41d023
mov edx, dword [ebx + 0x28]
cmp edx, dword [edi + 0x28]
je 0x41d063
mov eax, dword [esp + 0x10]
fld dword [eax + 0x18b8]
mov ecx, dword [eax + 0x189c]
fsub qword [0x4f03c8]
mov eax, dword [ecx + 4]
sub esp, 8
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 4]
fld dword [ecx + 0x26c]
mov ecx, dword [esi + 0x160]
fstp dword [esp]
push 0
push eax
call dword [0x4ce6c8]
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
call fcn.004180c0
mov ecx, dword [ebx + 0xd4]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x41], 0
mov dword [esp + 0x14], ecx
jne 0x41d09d
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0xc]
jge 0x41d094
mov dword [esp + 0x14], eax
mov eax, dword [eax]
jmp 0x41d097
mov eax, dword [eax + 8]
cmp byte [eax + 0x41], 0
je 0x41d083
mov edi, dword [esp + 0x1c]
mov eax, dword [ebx + 0xbc]
add ebx, 0xbc
test edi, edi
je 0x41d0b5
cmp edi, eax
je 0x41d0ba
call fcn.00496353
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x14]
jne 0x41ce24
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
inc eax
cmp eax, dword [edx + 0x104]
mov dword [esp + 0x18], eax
jl 0x41cc77
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, esi
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14