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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x647356
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x2c]
mov eax, dword [edi + 0x14]
mov edx, dword [eax + ecx*4]
test dword [edx + 0x13c4], 0x40000000
jne 0x528f9e
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [edi + 0x18]
xor ebx, ebx
xor esi, esi
test ecx, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], esi
jle 0x528f93
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x528f7f
mov edx, dword [esp + 0x94]
test edx, edx
jne 0x528ca7
mov edx, dword [ecx + 0x1558]
test edx, edx
jne 0x528f7f
mov edx, dword [ecx + 0x1288]
push edx
call dword [0x8bd314]
mov ecx, dword [esp + 0x94]
add esp, 4
test ecx, ecx
je 0x528cdc
test eax, eax
jne 0x528cdc
mov eax, dword [edi + 0x14]
mov ecx, dword [eax + esi*4]
test dword [ecx + 0x13c4], 0x20000000
jne 0x528f7f
mov eax, dword [edi + 0x14]
mov edx, dword [eax + esi*4]
mov ecx, dword [esp + 0x7c]
cmp dword [edx + 0x1288], ecx
jne 0x528f7a
mov eax, dword [esp + 0x80]
cmp ax, 3
je 0x528d09
cmp ax, 4
jne 0x528f65
call fcn.006167ae
cdq
mov ecx, 6
idiv ecx
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
mov edx, 0x3f000000
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fmul dword [0x65eb20]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd dword [0x65eb1c]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcomp dword [0x64fe4c]
fnstsw ax
test ah, 0x41
je 0x528d58
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x14]
mov ecx, dword [eax + esi*4]
mov ecx, dword [ecx + 0xc]
cmp ecx, dword [ecx + 0x44]
jne 0x528d89
mov eax, dword [ecx + 0xc0]
cmp dword [eax + 8], 1
jle 0x528d89
mov eax, dword [ecx + 0xe4]
mov ebx, dword [eax + 0x1c]
add eax, 0x1c
cmp eax, ebx
jne 0x528d89
mov bl, byte [eax + 0x18]
test bl, bl
je 0x528d98
push 0
push edx
push 3
push 0x65eb10
call fcn.00595020
mov ecx, dword [edi + 0x14]
mov edx, dword [ecx + esi*4]
mov eax, dword [edx + 0xc]
lea ecx, [eax + 0x1c]
mov ebp, dword [ecx]
mov esi, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov dword [esp + 0x28], ebx
fld dword [esp + 0x28]
fadd dword [0x64fe74]
mov dword [esp + 0x24], esi
push 6
mov dword [esp + 0x24], ebp
fstp dword [esp + 0x20]
push 0x43c80000
fld dword [esp + 0x2c]
push 0xffff2200
fadd dword [0x651ebc]
sub esp, 0xc
mov edx, esp
push eax
fstp dword [esp + 0x2c]
fld dword [esp + 0x3c]
fadd dword [0x64fe74]
fstp dword [esp + 0x54]
mov ecx, dword [esp + 0x54]
mov dword [edx], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [edx + 8], ecx
call fcn.00578a80
mov dword [esp + 0x4c], esi
fld dword [esp + 0x4c]
fadd dword [0x65eb0c]
add esp, 0x1c
push 0x388
mov ecx, 0xb21d88
fstp dword [esp + 0x34]
call fcn.0057d900
mov dword [esp + 0x1c], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x74], esi
je 0x528e48
mov ecx, eax
call fcn.00584210
mov esi, eax
push esi
mov dword [esp + 0x78], 0xffffffff
call fcn.00578ac0
add esp, 4
push 1
push str.attack1.esf
mov ecx, esi
call fcn.0058b7a0
mov edx, dword [edi + 0x2c]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + edx*4]
mov ecx, dword [eax + 0x1280]
mov edx, dword [eax + 0x127c]
mov eax, dword [eax + 0x1278]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00583a00
mov ecx, dword [esp + 0x30]
push ebx
push ecx
push ebp
mov ecx, esi
call fcn.00582550
mov eax, dword [edi + 0x14]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax + edx*4]
mov edx, dword [ecx + 0xc]
mov ecx, dword [edi + 0x2c]
push edx
mov edx, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
push eax
mov ecx, esi
call fcn.0057f180
push 0xb4
call fcn.00614bf2
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x74], 1
je 0x528ee1
mov ecx, eax
call fcn.005a57a0
mov esi, eax
jmp 0x528ee3
xor esi, esi
push esi
mov dword [esp + 0x78], 0xffffffff
call fcn.005793f0
add esp, 4
push 1
push 0x65eae8
push 0x68b938
mov ecx, esi
call fcn.005a53a0
push 0
mov ecx, esi
call fcn.005a4e70
mov eax, dword [esi + 0x6c]
test eax, eax
mov dword [esi + 0x68], 0
jne 0x528f2b
push 0xc
call fcn.00614bf2
add esp, 4
mov dword [esi + 0x6c], eax
mov ecx, dword [esi + 0x6c]
mov eax, dword [esp + 0x30]
mov dword [ecx], ebp
mov edx, dword [esi + 0x6c]
mov dword [edx + 4], eax
mov ecx, dword [esi + 0x6c]
sub esp, 0xc
mov edx, esp
mov dword [edx], ebp
mov dword [edx + 4], eax
movzx eax, word [esp + 0x8c]
mov dword [ecx + 8], ebx
push eax
mov ecx, edi
mov dword [edx + 8], ebx
call fcn.005276b0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [edi + 0x14]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx + 0x1288]
mov dword [esp + ebx*4 + 0x44], edx
inc ebx
mov dword [esp + 0x18], ebx
cmp ebx, 0xa
jge 0x528f8f
mov ecx, dword [edi + 0x18]
inc esi
cmp esi, ecx
mov dword [esp + 0x14], esi
jl 0x528c80
test ebx, ebx
jg 0x528fb5
mov eax, dword [esp + 0x80]
test ah, ah
js 0x528fb5
xor al, al
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x1c
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x2c]
mov eax, dword [ecx + eax*4]
fld dword [eax + 0x1284]
mov ecx, dword [0x8bd2c0]
test ecx, ecx
fsub dword [0x64ff20]
fstp dword [esp + 0x94]
je 0x529016
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x90]
push ebx
push edx
mov edx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x94]
push 0
push edx
mov edx, dword [esp + 0xb0]
push edx
add eax, 0x1278
push eax
call ecx
add esp, 0x24
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret 0x1c