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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x36c
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx + 0x34]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
fldz
mov esi, dword [ebp + 8]
fstp dword [ebx + 0x90]
xor edi, edi
cmp esi, edi
pop ecx
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x40], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x38], edi
mov dword [ebx + 0x34], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edi
mov dword [ebx + 0x38], 1
mov byte [ebp - 0x19], 0
je 0x584fee
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
push ecx
push edi
push esi
call dword [eax + 0x4c]
test eax, eax
jge 0x584701
mov eax, dword [ebp - 0x40]
mov dword [ebx + 0x38], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x24]
test ax, 0x440
jne 0x584fee
mov eax, dword [esi]
lea ecx, [ebp - 0x36c]
push ecx
push esi
call dword [eax + 0x1c]
cmp eax, edi
jl 0x584ff3
xor dl, dl
mov byte [ebp - 0x1b], dl
mov byte [ebp - 0x1a], dl
xor esi, esi
mov eax, esi
shl eax, 3
cmp word [ebp + eax - 0x36c], 0xff
jne 0x584758
push 0x41
pop esi
jmp 0x584798
mov cl, byte [ebp + eax - 0x366]
test cl, cl
jne 0x584770
cmp byte [ebp + eax - 0x365], cl
jne 0x584770
mov dl, 1
jmp 0x584798
cmp cl, 3
jne 0x584785
cmp byte [ebp + eax - 0x365], 0
jne 0x584785
mov byte [ebp - 0x1b], 1
jmp 0x584798
cmp cl, 5
jne 0x584798
cmp byte [ebp + eax - 0x365], 0
jne 0x584798
mov byte [ebp - 0x1a], 1
inc esi
cmp esi, 0x41
jb 0x584742
test dl, dl
je 0x584fee
cmp byte [ebp - 0x1b], 0
je 0x584fee
cmp dword [ebp + 0xc], edi
je 0x5847bf
cmp byte [ebp - 0x1a], 0
je 0x584fee
mov ecx, dword [ebp - 0x28]
cmp ecx, edi
je 0x584fee
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x584fee
mov esi, dword [ebp + 0x10]
cmp esi, edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], eax
je 0x58486c
mov eax, dword [esi]
push esi
call dword [eax + 0x14]
add eax, dword [ebp - 0x28]
push esi
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call dword [eax + 0x10]
add eax, dword [ebp - 0x2c]
push esi
mov dword [ebp - 8], eax
mov eax, dword [esi]
call dword [eax + 0x14]
mov dword [ebx + 0x3c], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x10]
mov dword [ebx + 0x40], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x24]
test ax, 0x440
jne 0x584fee
mov eax, dword [esi]
lea ecx, [ebp - 0x36c]
push ecx
push esi
call dword [eax + 0x1c]
cmp eax, edi
jl 0x584ff3
xor al, al
cmp word [ebp + edi*8 - 0x36c], 0xff
jne 0x584848
push 0x41
pop edi
jmp 0x58485e
cmp byte [ebp + edi*8 - 0x366], 0
jne 0x58485e
cmp byte [ebp + edi*8 - 0x365], 0
jne 0x58485e
mov al, 1
inc edi
cmp edi, 0x41
jb 0x584837
test al, al
je 0x584fee
mov eax, dword [ebp - 0x14]
add eax, eax
lea ecx, [ebx + 0x14]
push eax
call fcn.005845b9
mov edi, eax
test edi, edi
jl 0x584fb2
push dword [ebp - 8]
lea ecx, [ebx + 0x24]
call fcn.005825dd
mov edi, eax
test edi, edi
jl 0x584fb2
cmp dword [ebp + 0xc], 0
je 0x5848b4
push dword [ebp - 0x14]
lea ecx, [ebx + 4]
call fcn.00584602
mov edi, eax
test edi, edi
jl 0x584fb2
test esi, esi
je 0x584ae6
mov eax, dword [esi]
lea ecx, [ebp - 0x36c]
push ecx
push esi
call dword [eax + 0x1c]
mov edi, eax
test edi, edi
jl 0x584fb2
lea ecx, [ebp - 0x164]
call fcn.004c809b
lea eax, [ebp - 0x36c]
push eax
lea ecx, [ebp - 0x164]
call fcn.004c80b3
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push ecx
push esi
call dword [eax + 0x34]
mov edi, eax
test edi, edi
jl 0x584fb2
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push 0x10
lea edx, [ebp - 0x38]
push edx
push 0
push 0
push eax
call dword [ecx + 0x2c]
mov edi, eax
test edi, edi
jl 0x584fb2
mov eax, dword [esi]
push esi
call dword [eax + 0x20]
mov edi, eax
mov eax, dword [esi]
push esi
call dword [eax + 0x14]
push edi
push dword [ebp - 0x38]
xor esi, esi
push esi
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x18], eax
call fcn.004c80d5
cmp dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
jbe 0x5849f2
fldz
fstp dword [ebp - 0x34]
fldz
fstp dword [ebp - 0x30]
fldz
fstp dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x14]
lea esi, [eax + eax*2]
push 3
shl esi, 3
add ecx, esi
push ecx
push eax
push 0
push 0
lea ecx, [ebp - 0x164]
mov dword [ebp - 8], esi
call fcn.005818f5
cmp dword [ebp - 0x14], 0
mov eax, dword [ebx + 0x14]
lea edi, [esi + eax + 0xc]
lea esi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x5849af
mov eax, dword [ebx + 0x14]
lea edi, [ebx + 0x54]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x48]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x19], 1
movsd dword es:[edi], dword [esi]
jmp 0x5849e3
mov edx, dword [ebp - 8]
push 3
lea ecx, [ebx + 0x54]
pop esi
mov eax, dword [ebx + 0x14]
fld dword [edx + eax]
fcom dword [ecx - 0xc]
fnstsw ax
test ah, 5
jp 0x5849cb
fst dword [ecx - 0xc]
fcom dword [ecx]
fnstsw ax
test ah, 0x41
jne 0x5849d8
fstp dword [ecx]
jmp 0x5849da
fstp st(0)
add edx, 4
add ecx, 4
dec esi
jne 0x5849b8
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jb 0x58495f
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
and dword [ebp - 0x20], 0
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x38]
mov edi, eax
test edi, edi
jl 0x584fb2
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x54]
push edx
push eax
call dword [ecx + 0x34]
mov edi, eax
test edi, edi
jl 0x584fb2
cmp dword [ebp - 0x54], 0x65
je 0x584a46
cmp dword [ebp - 0x54], 0x66
jne 0x584fb2
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push 0x10
lea edx, [ebp - 0x24]
push edx
push 0
push 0
push eax
call dword [ecx + 0x2c]
mov edi, eax
test edi, edi
jl 0x584fb2
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x54], 0x65
mov esi, eax
mov dword [ebp - 8], esi
jne 0x584aa4
test esi, esi
jbe 0x584ac7
xor eax, eax
xor ecx, ecx
mov dword [ebp + 0x10], esi
push 3
pop edx
mov esi, dword [ebp - 0x24]
movzx esi, word [eax + esi]
mov edi, dword [ebx + 0x24]
inc eax
mov dword [ecx + edi], esi
inc eax
add ecx, 4
dec edx
jne 0x584a85
dec dword [ebp + 0x10]
jne 0x584a82
mov esi, dword [ebp - 8]
jmp 0x584ac7
test esi, esi
jbe 0x584ac7
xor eax, eax
mov dword [ebp + 0x10], esi
push 3
pop ecx
mov edi, dword [ebp - 0x24]
mov edi, dword [eax + edi]
mov edx, dword [ebx + 0x24]
mov dword [eax + edx], edi
add eax, 4
dec ecx
jne 0x584ab0
dec dword [ebp + 0x10]
jne 0x584aad
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
and dword [ebp - 4], 0
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x36c]
push edx
push eax
call dword [ecx + 0x1c]
mov edi, eax
test edi, edi
jl 0x584fb2
lea ecx, [ebp - 0xdc]
call fcn.004c809b
lea eax, [ebp - 0x36c]
push eax
lea ecx, [ebp - 0xdc]
call fcn.004c80b3
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0x34]
mov edi, eax
test edi, edi
jl 0x584fb2
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push 0x10
lea edx, [ebp - 0x38]
push edx
push 0
push 0
push eax
call dword [ecx + 0x2c]
mov edi, eax
test edi, edi
jl 0x584fb2
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push esi
call dword [eax + 0x20]
mov edi, eax
mov eax, dword [esi]
push esi
call dword [eax + 0x14]
push edi
push dword [ebp - 0x38]
xor esi, esi
push esi
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x28], eax
call fcn.004c80d5
cmp dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
jbe 0x584cb6
mov eax, dword [ebp - 0x18]
add eax, esi
lea edi, [eax + eax*2]
mov eax, dword [ebx + 0x14]
push 3
shl edi, 3
add eax, edi
push eax
push esi
push 0
push 0
lea ecx, [ebp - 0xdc]
call fcn.005818f5
mov eax, dword [ebx + 0x14]
push 3
lea eax, [eax + edi + 0xc]
push eax
push esi
push 0
push 3
lea ecx, [ebp - 0xdc]
call fcn.005818f5
cmp dword [ebp + 0xc], 0
je 0x584c4d
mov ecx, dword [ebx + 4]
mov eax, esi
push 2
shl eax, 3
add ecx, eax
push ecx
push esi
push 0
push 5
lea ecx, [ebp - 0xdc]
call fcn.005818f5
test esi, esi
jne 0x584c06
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
jmp 0x584c51
mov ecx, dword [ebx + 4]
mov eax, esi
shl eax, 3
add ecx, eax
and dword [ebp + 0x10], 0
mov edx, dword [ebp + 0x10]
fld dword [ecx]
lea edx, [ebp + edx - 0xc]
fcomp dword [edx]
fnstsw ax
test ah, 5
jp 0x584c2a
mov eax, dword [ecx]
mov dword [edx], eax
mov edx, dword [ebp + 0x10]
fld dword [ecx]
lea edx, [ebp + edx - 0x30]
fcomp dword [edx]
fnstsw ax
test ah, 0x41
jne 0x584c40
mov eax, dword [ecx]
mov dword [edx], eax
add dword [ebp + 0x10], 4
add ecx, 4
cmp dword [ebp + 0x10], 8
jb 0x584c14
test esi, esi
jne 0x584c78
cmp byte [ebp - 0x19], 0
jne 0x584c78
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x14]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
lea edi, [ebx + 0x54]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x48]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x14]
jmp 0x584ca9
push 3
lea ecx, [ebx + 0x54]
pop edx
mov eax, dword [ebx + 0x14]
fld dword [edi + eax]
fcom dword [ecx - 0xc]
fnstsw ax
test ah, 5
jp 0x584c91
fst dword [ecx - 0xc]
fcom dword [ecx]
fnstsw ax
test ah, 0x41
jne 0x584c9e
fstp dword [ecx]
jmp 0x584ca0
fstp st(0)
add edi, 4
add ecx, 4
dec edx
jne 0x584c7e
inc esi
cmp esi, dword [ebp - 0x28]
mov dword [ebp - 0x14], esi
jb 0x584b83
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
and dword [ebp - 0x20], 0
lea ecx, [ebp - 4]
push ecx
push esi
call dword [eax + 0x38]
mov edi, eax
test edi, edi
jl 0x584fb2
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x54]
push edx
push eax
call dword [ecx + 0x34]
mov edi, eax
test edi, edi
jl 0x584fb2
cmp dword [ebp - 0x54], 0x65
je 0x584d0a
cmp dword [ebp - 0x54], 0x66
jne 0x584fb2
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push 0x10
lea edx, [ebp - 0x24]
push edx
push 0
push 0
push eax
call dword [ecx + 0x2c]
mov edi, eax
test edi, edi
jl 0x584fb2
mov eax, dword [esi]
push esi
call dword [eax + 0x10]
cmp dword [ebp - 0x54], 0x65
jne 0x584d6b
test eax, eax
jbe 0x584da1
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx + ecx*2]
xor edx, edx
shl ecx, 2
mov dword [ebp + 8], eax
push 3
mov eax, edx
pop edx
mov esi, dword [ebp - 0x24]
movzx esi, word [eax + esi]
add esi, dword [ebp - 0x18]
mov edi, dword [ebx + 0x24]
inc eax
mov dword [ecx + edi], esi
inc eax
add ecx, 4
dec edx
jne 0x584d4a
dec dword [ebp + 8]
mov edx, eax
jne 0x584d45
jmp 0x584da1
test eax, eax
jbe 0x584da1
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx + ecx*2]
xor edx, edx
shl ecx, 2
mov dword [ebp + 8], eax
push 3
mov eax, edx
pop edx
mov esi, dword [ebp - 0x24]
mov esi, dword [eax + esi]
add esi, dword [ebp - 0x18]
mov edi, dword [ebx + 0x24]
mov dword [ecx + edi], esi
add eax, 4
add ecx, 4
dec edx
jne 0x584d82
dec dword [ebp + 8]
mov edx, eax
jne 0x584d7d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
and dword [ebp - 4], 0
add dword [ebp - 0x18], eax
cmp dword [ebp + 0xc], 0
je 0x584e0e
fld dword [ebp - 0xc]
xor edi, edi
fcomp dword [0x4012f0]
mov ecx, 0x8876086c
fnstsw ax
test ah, 5
jnp 0x584de6
fld1
fcomp dword [ebp - 0x30]
fnstsw ax
test ah, 5
jp 0x584de8
mov edi, ecx
fld dword [ebp - 8]
fcomp dword [0x4012f0]
fnstsw ax
test ah, 5
jnp 0x584e04
fld1
fcomp dword [ebp - 0x2c]
fnstsw ax
test ah, 5
jp 0x584e06
mov edi, ecx
test edi, edi
jl 0x584fb2
lea ecx, [ebx + 0x48]
lea edx, [ebx + 0x54]
fld dword [edx]
lea eax, [ebx + 0x60]
fsub dword [ecx]
mov edi, eax
lea esi, [ebp - 0x10]
fstp dword [ebp - 0x10]
fld dword [edx + 4]
fsub dword [ecx + 4]
fstp dword [ebp - 0xc]
fld dword [edx + 8]
fsub dword [ecx + 8]
fstp dword [ebp - 8]
movsd dword es:[edi], dword [esi]
fld dword [0x4012dc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [eax]
fmul st(1)
fld dword [eax + 4]
lea edi, [ebx + 0x6c]
fmul st(2)
lea esi, [ebp - 0x10]
fld dword [eax + 8]
fmul st(3)
fstp dword [ebp - 0x2c]
fld st(1)
fadd dword [ecx]
fstp dword [ebp - 0x10]
fadd dword [ecx + 4]
fstp dword [ebp - 0xc]
fstp st(0)
fld dword [ebp - 0x2c]
fadd dword [ecx + 8]
fstp dword [ebp - 8]
movsd dword es:[edi], dword [esi]
fld dword [eax]
fst dword [ebx + 0x90]
movsd dword es:[edi], dword [esi]
fcomp dword [ebx + 0x64]
movsd dword es:[edi], dword [esi]
fnstsw ax
test ah, 5
jp 0x584e8b
mov eax, dword [ebx + 0x64]
mov dword [ebx + 0x90], eax
fld dword [ebx + 0x68]
fcomp dword [ebx + 0x90]
fnstsw ax
test ah, 0x41
jne 0x584ea4
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x90], eax
fld1
mov eax, dword [ebx + 0x90]
fdiv dword [ebx + 0x90]
mov edi, ecx
lea esi, [ebp - 0x10]
mov dword [ebx + 0x94], eax
fstp dword [ebx + 0x90]
fld dword [0x40180c]
fst dword [ebp - 0x10]
fst dword [ebp - 0xc]
fstp dword [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fst dword [ebp - 0x10]
fst dword [ebp - 0xc]
fstp dword [ebp - 8]
lea esi, [ebp - 0x10]
mov edi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [edx]
fsub dword [ecx]
mov esi, ecx
lea edi, [ebx + 0x78]
fstp dword [ebp - 0x10]
fld dword [edx + 4]
fsub dword [ecx + 4]
fstp dword [ebp - 0xc]
fld dword [edx + 8]
fsub dword [ecx + 8]
fstp dword [ebp - 8]
fld dword [0x401e0c]
fld dword [ebp - 0x10]
fmul st(1)
fld dword [ebp - 0xc]
fmul st(2)
fst dword [ebp - 0xc]
fld dword [ebp - 8]
fmul st(3)
fst dword [ebp - 8]
fld dword [ecx]
fsub st(3)
fstp dword [ecx]
fld dword [ecx + 4]
fsub st(2)
fstp dword [ecx + 4]
fld dword [ecx + 8]
fsub st(1)
fstp dword [ecx + 8]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
fstp st(0)
fstp st(0)
fadd dword [edx]
fstp dword [edx]
fstp st(0)
fld dword [ebp - 0xc]
fadd dword [edx + 4]
fstp dword [edx + 4]
fld dword [ebp - 8]
fadd dword [edx + 8]
fstp dword [edx + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x84]
mov esi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jbe 0x584fb0
xor eax, eax
mov edx, dword [ebx + 0x14]
lea edi, [eax + edx]
fld dword [edi]
lea esi, [ebp - 0x10]
fsub dword [ebx + 0x6c]
add eax, 0x18
dec ecx
fld dword [edi + 4]
fsub dword [ebx + 0x70]
fstp dword [ebp - 0x30]
fld dword [edi + 8]
fsub dword [ebx + 0x74]
fld dword [ebx + 0x90]
fld st(2)
fmul st(1)
fstp dword [ebp - 0x10]
fld dword [ebp - 0x30]
fmul st(1)
fstp dword [ebp - 0xc]
fld st(1)
fmul st(1)
fstp dword [ebp - 8]
movsd dword es:[edi], dword [esi]
fstp st(0)
movsd dword es:[edi], dword [esi]
fstp st(0)
fstp st(0)
movsd dword es:[edi], dword [esi]
jne 0x584f68
xor edi, edi
xor esi, esi
cmp edi, esi
je 0x584fcd
push dword [ebx + 0x34]
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x28], esi
mov dword [ebx + 8], esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [ebx + 0x34], esi
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x584fdd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x20]
cmp eax, esi
je 0x584fea
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x584ff3
mov eax, 0x8876086c
pop edi
pop esi
pop ebx
leave
ret 0xc