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

Disassembly:
push 0xffffffffffffffff
push 0x4cf8c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
fld qword [0x4d5418]
push ebx
push ebp
push esi
push edi
sub esp, 8
xor esi, esi
fstp qword [esp]
push str.CCharacter::AttackCID
mov edi, ecx
mov dword [esp + 0x40], str.CCharacter::AttackCID
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call fcn.004098b0
mov ecx, eax
call fcn.00409660
lea eax, [esp + 0x24]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
rdtsc
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
cmp byte [edi + 0x1a0], 1
mov dword [esp + 0x6c], esi
je 0x41d529
cmp word [edi + 0x94], si
je 0x41d529
mov ebx, dword [esp + 0x78]
mov al, byte [ebx]
cmp al, 0xa
mov byte [esp + 0x10], 0xa
ja 0x41d008
mov byte [esp + 0x10], al
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov al, byte [esp + 0x10]
test al, al
mov dword [esp + 0x3c], esi
mov byte [esp + 0x14], 3
jne 0x41d07f
mov ecx, dword [esp + 0x74]
mov edx, dword [edi]
add ebx, 0x29
push ebx
lea eax, [esp + 0x40]
push eax
push esi
push ecx
mov ecx, edi
call dword [edx + 0x2c]
lea ecx, [esp + 0x24]
mov bl, al
mov dword [esp + 0x6c], 0xffffffff
call fcn.00406970
mov al, bl
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0xc
mov ebp, dword [esp + 0x74]
mov eax, ebp
and eax, 0x8000
mov dword [esp + 0x18], eax
je 0x41d18f
mov ecx, dword [0x53d984]
push ebp
call fcn.0043a120
mov esi, eax
test esi, esi
jne 0x41d0ba
mov eax, dword [edi + 0x20]
movzx edx, bp
push edx
push eax
push 0x4d8a40
push 0x60
jmp 0x41d1df
fld dword [esi + 0x1ec]
fld dword [0x4fcf9c]
fucompp
fnstsw ax
test ah, 0x44
jp 0x41d0fd
fld dword [esi + 0x1f0]
fld dword [0x4fcf9c]
fucompp
fnstsw ax
test ah, 0x44
jp 0x41d0fd
mov eax, dword [edi + 0x20]
cmp eax, dword [ebx + 1]
je 0x41d0fd
movzx ecx, bp
push ecx
push eax
push 0x4d9108
push 0x69
jmp 0x41d1df
mov dx, word [edi + 0x194]
test dx, dx
je 0x41d220
mov ecx, dword [ebx + 1]
mov eax, ecx
call fcn.004213c0
cmp al, 2
jne 0x41d141
push edx
call fcn.0044d710
mov ecx, eax
call fcn.0044b310
test eax, eax
je 0x41d166
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x41d166
mov edx, dword [ebx + 1]
push edx
call fcn.0045a500
jmp 0x41d230
push ecx
call fcn.00413c20
mov ecx, eax
call fcn.00410e30
test eax, eax
je 0x41d166
mov cx, word [eax + 0x194]
cmp cx, word [edi + 0x194]
je 0x41d230
mov eax, dword [esi + 0x1cc]
cmp eax, 2
je 0x41d18a
cmp eax, 4
je 0x41d18a
cmp eax, 9
je 0x41d18a
cmp eax, 6
je 0x41d18a
cmp eax, 8
je 0x41d18a
cmp eax, 0xb
jne 0x41d18f
mov byte [esp + 0x14], 2
mov cl, byte [esp + 0x10]
xor al, al
test cl, cl
mov byte [esp + 0x78], al
ja 0x41d290
cmp word [esp + 0x18], 0
je 0x41d4e9
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x41d4e9
mov ecx, dword [0x53d984]
push ebp
call fcn.0043a120
test eax, eax
jne 0x41d3e2
mov edx, dword [edi + 0x20]
movzx ecx, bp
push ecx
push edx
push 0x4d8a40
push 0x10c
push 0x4d8ee8
push str.CCharacter::AttackCID
push 5
push 0x50ef58
call fcn.00408780
add esp, 0x20
lea ecx, [esp + 0x24]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00406970
xor al, al
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0xc
mov eax, dword [ebx + 1]
push eax
call fcn.00413c20
mov ecx, eax
call fcn.00410e30
test eax, eax
je 0x41d166
fld dword [edi + 0xc]
fsub dword [eax + 0xc]
fld dword [edi + 4]
fsub dword [eax + 4]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp st(2)
fstp st(0)
fld dword [esi + 0x1ec]
fadd dword [0x4d9104]
fld st(0)
fmulp st(1)
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x41d166
mov ecx, dword [esp + 0x7c]
mov word [ecx], 3
jmp 0x41d1f8
mov al, byte [esp + 0x78]
jmp 0x41d290
movzx ebp, al
xor ecx, ecx
mov cx, word [edi + 0x194]
shl ebp, 2
test cx, cx
mov eax, dword [ebx + ebp + 1]
je 0x41d301
test eax, eax
jns 0x41d2d8
push ecx
call fcn.0044d710
mov ecx, eax
call fcn.0044b310
test eax, eax
je 0x41d377
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x41d377
mov edx, dword [ebx + ebp + 1]
push edx
call fcn.0045a500
jmp 0x41d30e
push eax
call fcn.00413c20
mov ecx, eax
call fcn.00410e30
mov esi, eax
test esi, esi
je 0x41d377
mov ax, word [esi + 0x194]
cmp ax, word [edi + 0x194]
jne 0x41d377
jmp 0x41d310
push eax
call fcn.00413c20
mov ecx, eax
call fcn.00410e30
mov esi, eax
test esi, esi
je 0x41d377
cmp byte [esp + 0x14], 2
jne 0x41d396
mov eax, dword [esi + 0x20]
test eax, 0xd0000000
jne 0x41d355
test dword [esi + 0x19c], 0x40000000
jne 0x41d377
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test al, al
jne 0x41d367
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
cmp al, 1
jne 0x41d367
mov edx, dword [esp + 0x7c]
mov word [edx], 5
jmp 0x41d1f8
call fcn.004213c0
cmp al, 5
je 0x41d3d4
cmp byte [esi + 0x26c], 8
je 0x41d377
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx + 8]
test eax, eax
jne 0x41d377
mov dword [esp + ebp + 0x3c], esi
mov al, byte [esp + 0x78]
mov cl, byte [esp + 0x10]
inc al
cmp al, cl
mov byte [esp + 0x78], al
jb 0x41d281
mov ebp, dword [esp + 0x74]
jmp 0x41d1a1
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 8]
cmp eax, 2
je 0x41d373
cmp esi, edi
je 0x41d373
lea ecx, [edi + 0x4b4]
push ecx
push eax
push 0x4d90e4
push 0xfc
push 0x4d8ee8
push str.CCharacter::AttackCID
push 5
push 0x50ef58
call fcn.00408780
add esp, 0x20
jmp 0x41d377
mov eax, dword [esp + 0x7c]
mov word [eax], 7
jmp 0x41d1f8
movzx ecx, byte [esp + 0x76]
shr ecx, 4
shl ecx, 9
lea esi, [ecx + eax]
fld dword [esi + 0x1f0]
fld dword [0x4fcf9c]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x41d4e9
cmp dword [esi + 0x1cc], 8
jne 0x41d46b
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x10]
test eax, eax
je 0x41d4e9
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
mov ecx, dword [esi + 0x1f0]
push ecx
push edi
add ebx, 0x29
push ebx
lea ecx, [esp + 0x4c]
push ecx
push ebp
mov ecx, eax
call dword [edx + 0x38]
lea ecx, [esp + 0x24]
mov bl, al
mov dword [esp + 0x6c], 0xffffffff
call fcn.00406970
mov al, bl
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0xc
mov edx, dword [esp + 0x14]
fld dword [0x509770]
mov eax, dword [esp + 0x3c]
fadd st(0), st(0)
push edx
mov edx, dword [eax + 4]
push ecx
mov ecx, dword [esi + 0x1f0]
fstp dword [esp]
push ecx
push 0
sub esp, 0xc
mov ecx, esp
add eax, 4
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x90], esp
mov dword [ecx + 8], eax
add ebx, 0x29
push ebx
lea ecx, [esp + 0x5c]
push ecx
push edx
push ebp
mov ecx, edi
call fcn.00422400
lea ecx, [esp + 0x24]
mov bl, al
mov dword [esp + 0x6c], 0xffffffff
call fcn.00406970
mov al, bl
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [edi]
add ebx, 0x29
push ebx
lea ecx, [esp + 0x40]
push ecx
push edx
push ebp
mov ecx, edi
call dword [eax + 0x2c]
lea ecx, [esp + 0x24]
mov bl, al
mov dword [esp + 0x6c], 0xffffffff
call fcn.00406970
mov al, bl
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0xc
add edi, 0x4b4
push edi
push 0x4d90d4
push 0x49
push 0x4d8ee8
push str.CCharacter::AttackCID
push 5
push 0x50ef58
call fcn.00408780
mov eax, dword [esp + 0x98]
add esp, 0x1c
lea ecx, [esp + 0x24]
mov word [eax], 2
mov dword [esp + 0x6c], 0xffffffff
call fcn.00406970
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 0xc